[PATCH 2/4] mtd: rawnand: qcom: Make "aon" clock optional
Krzysztof Kozlowski
krzk at kernel.org
Tue Jun 9 00:24:17 PDT 2026
On Mon, Jun 08, 2026 at 03:20:23PM +0200, Stephan Gerhold wrote:
> Some SoCs (e.g. MDM9607, SDX55) have only a single separately controllable
> clock for the NAND controller. The actual clocks in the hardware are
> managed by the firmware and turned on all together when needed. In this
> case, there is no separate "aon" clock that can be described in the device
> tree.
>
> Make the second "aon" clock optional to avoid an error when it is missing.
> For platforms that really need it, the dt-bindings are responsible for
> validating that.
>
> Signed-off-by: Stephan Gerhold <stephan.gerhold at linaro.org>
> ---
> drivers/mtd/nand/raw/qcom_nandc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at oss.qualcomm.com>
Best regards,
Krzysztof
More information about the linux-mtd
mailing list