[PATCH] arm64: dts: imx8mm: Model PMIC to SNVS RTC clock path on Data Modul i.MX8M Mini eDM SBC

Marek Vasut marex at denx.de
Tue Sep 27 13:10:51 PDT 2022


On 9/27/22 21:43, Tim Harvey wrote:

Tim,

> Marek,
> 
> The modeling here makes sense, but I tried this on the boards I have
> with the rohm,bd71847 and it did not bump the clk_enable_count for
> clk-32k-out and thus drivers/clk/clk-bd718x7.c still disables the
> clock. Is something else required to make that happen?

The only thing I can think of is, do you have SNVS_RTC driver enabled 
and compiled in, just like the PMIC, or are they maybe modules ?

You can always try and add a printk() into the snvs rtc driver and see 
whether the clk_get there doesn't fail for some reason, and what the 
error code is.



More information about the linux-arm-kernel mailing list