Skip to contentSkip to conversation

arm64: dts: imx8mm-var-som: Add 32.768 kHz clock to PMIC

PATCH Applied Krzysztof Kozlowski 2 participants 2 messages Sep 2, 2020 – Sep 5, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: imx8mm-var-som: Add 32.768 kHz clock to PMIC

The ROHM BD71847 PMIC has a 32.768 kHz clock. Adding necessary parent allows to probe the bd718x7 clock driver fixing boot errors:

    bd718xx-clk bd71847-clk.1.auto: No parent clk found
    bd718xx-clk: probe of bd71847-clk.1.auto failed with error -22
---
 arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi +4 -0
index baef13d67554..7f74fba58aeb 100644
@@ -175,6 +175,10 @@
 		interrupts = <8 GPIO_ACTIVE_LOW>;
 		rohm,reset-snvs-powered;
 
+		#clock-cells = <0>;
+		clocks = <&osc_32k 0>;
+		clock-output-names = "clk-32k-out";
+
 		regulators {
 			buck1_reg: BUCK1 {
 				regulator-name = "buck1";
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 7 lines · Krzysztof Kozlowski

The ROHM BD71847 PMIC has a 32.768 kHz clock. Adding necessary parent allows to probe the bd718x7 clock driver fixing boot errors:

    bd718xx-clk bd71847-clk.1.auto: No parent clk found
    bd718xx-clk: probe of bd71847-clk.1.auto failed with error -22

Applied, thanks.