[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220913102141.971148-3-m.felsch@pengutronix.de>
Date: Tue, 13 Sep 2022 12:21:41 +0200
From: Marco Felsch <m.felsch@...gutronix.de>
To: krzysztof.kozlowski+dt@...aro.org, robh+dt@...nel.org,
abelvesa@...nel.org, abel.vesa@...aro.org, mturquette@...libre.com,
sboyd@...nel.org, shawnguo@...nel.org, s.hauer@...gutronix.de,
kernel@...gutronix.de, festevam@...il.com
Cc: linux-kernel@...r.kernel.org, Peng Fan <peng.fan@....com>,
linux-imx@....com, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org
Subject: [RFC PATCH 2/2] arm64: dts: imx8mm-evk: mark 32k pmic clock as always-on
This clock is critical for the system since it supplies the 32k SoC
clock. Unfortunately the imx8mm.dtsi uses a fixed clock provider for the
32k SoC clock and not this one. If it would use this clock we would add
a cycle-dependency since the pmic driver depends on the i2c driver which
depends on the clock driver. Therefore use the new "clocks-always-on"
macro to mark the clock as critical, so it is never turned off by the
kernel.
Signed-off-by: Marco Felsch <m.felsch@...gutronix.de>
---
arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
index 7d6317d95b13..0e950ef61900 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi
@@ -195,6 +195,7 @@ pmic@4b {
#clock-cells = <0>;
clocks = <&osc_32k 0>;
clock-output-names = "clk-32k-out";
+ clocks-always-on = "clk-32k-out";
regulators {
buck1_reg: BUCK1 {
--
2.30.2
Powered by blists - more mailing lists