[PATCH] ARM: omap: pmic-cpcap: do not mess around without CPCAP or OMAP4

Tony Lindgren tony at atomide.com
Mon Mar 31 20:54:03 PDT 2025


* Andreas Kemnade <andreas at kemnade.info> [250331 14:45]:
> The late init call just writes to omap4 registers as soon as
> CONFIG_MFD_CPCAP is enabled without checking whether the
> cpcap driver is actually there or the SoC is indeed an
> OMAP4.
> Rather do these things only with the right device combination.
> 
> Fixes booting the BT200 with said configuration enabled and non-factory
> X-Loader and probably also some surprising behavior on other devices.

Nice catch:

Reivewed-by: Tony Lindgren <tony at atomide.com>



More information about the linux-arm-kernel mailing list