From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=185.142.180.65 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796244982; b=kcdbQa1YmA3gDYWj1XkZVWVhZ4/KXFmq/Y/m1ZZT2dLDAeZzx72Yh3sWqflakPLSDqff hnIppq8LTH+juZ0wilV5hgYszZhylkChWOWRVfbf3xwUdwJt6JCXyVhoHosl3F2NT0a84 L1g+U0iPUcnZ57V9BUjmZ/8kt/sFzROXm//hPVZ6hDbhptG7gAc3eYGzCU3bUQ6TWuA8Y DNDPxSE0Fozl/aLIpdSIMUOdPtH5b/ozLE/XHaMtYZHyKRYKfUN/WTaQNlqafIGR+V3sw 1nCkMQ86+QMNTxI+UEJzDWpo3h9luVp9UJYAoiHuk5bVuMPdY3wGDTK/Wu0SfF+ISWA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796244982; h=DMARC-Filter:Received:Date:From:To:Subject:Message-ID:References: MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=A6rubyxD77II36PyuCebqJinZ50fwdjeGLfVY6Tls8s=; b=mdsFusocX4iDHdeNIdt6csSO2xIV6kSCvI10SmNDThiLaW3h78QPolI+CxYrH2LJ5gTy NFsWeYs9dCF5bVYSgm0+Z4nUxHAjJhlgG/G0Ignix73kUPUpjUMDYYbPlX6z+SeyG5KWS vDFsFxOsP0O4OpqKL5Z4lKCvVulvUkzEQWwyb5T0Jyxg8FQWo/iOZUd6uDe2FN/EWCk/6 Q0KfZAVh/HddPQDc7lFR7/3Ef7oMzF5fdF3ssRwbRdsUAFj45ZDxYP9OY4IutCTIQ9eFF /qrgS+OeUwnFCuAxY9yhYoxsEy0LDPjwAjyJrQpFKtpTu1B+2Mm22UXt05LpitdufKw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=makrotopia.org; spf=pass smtp.mailfrom=makrotopia.org; arc=none smtp.remote-ip=185.142.180.65 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 77CB8606A322; Wed, 2 Dec 2026 20:56:22 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 77CB8606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=makrotopia.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=makrotopia.org Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256:X25519MLKEM768) (Exim 4.100.1) (envelope-from ) id 1xYpmD-000000004YT-0g2q; Wed, 02 Dec 2026 20:56:17 +0000 Date: Wed, 2 Dec 2026 20:56:14 +0000 From: Daniel Golle To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Daniel Lezcano , Thomas Gleixner , Daniel Golle , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H. Peter Anvin" , Stephen Boyd , Brian Masney , Jerome Brunet , Kees Cook , John Crispin , Songjun Wu , Yi xin Zhu , Rahul Tanwar , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Message-ID: <6bc254adf8f54ce8976f14f24847e4f65a8dabf8.1796234065.git.daniel@makrotopia.org> References: X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: The CGU binding defines "intel,cgu-lgm" as the only compatible of the clock controller node. syscon_node_to_regmap() creates a regmap only for nodes which also carry the "syscon" compatible and fails for all others, with -EPROBE_DEFER since commit b73d5593bfde ("mfd: syscon: Return -EPROBE_DEFER if the syscon is not found"). The driver hence never probes with a device tree which follows the binding, and the consumers of its clocks, the console UART included, never probe either. Use device_node_to_regmap(), which creates the regmap for the node of the clock controller itself. Fixes: 036177310bac ("clk: mxl: Switch from direct readl/writel based IO to regmap based IO") Signed-off-by: Daniel Golle --- drivers/clk/x86/clk-lgm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/x86/clk-lgm.c b/drivers/clk/x86/clk-lgm.c index e3cad72431c3d..7d3c59437d963 100644 --- a/drivers/clk/x86/clk-lgm.c +++ b/drivers/clk/x86/clk-lgm.c @@ -434,7 +434,7 @@ static int lgm_cgu_probe(struct platform_device *pdev) ctx->clk_data.num = CLK_NR_CLKS; - ctx->membase = syscon_node_to_regmap(np); + ctx->membase = device_node_to_regmap(np); if (IS_ERR(ctx->membase)) { dev_err(dev, "Failed to get clk CGU iomem\n"); return PTR_ERR(ctx->membase); -- 2.56.1