[PATCH v6 02/20] dt-bindings: memory: mediatek: Update condition for mt8195 smi node

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Wed Aug 10 23:31:59 PDT 2022


On 11/08/2022 05:57, Tinghan Shen wrote:
> The max clock items for the dts node with compatible
> 'mediatek,mt8195-smi-sub-common' should be 3.
> 
> However, the dtbs_check of such node will get following message,
> arch/arm64/boot/dts/mediatek/mt8195-evb.dtb: smi at 14010000: clock-names: ['apb', 'smi', 'gals0'] is too long
>          From schema: Documentation/devicetree/bindings/memory-controllers/mediatek,smi-common.yaml
> 
> It's because the 'mediatek,mt8195-smi-sub-common' compatible incorrectly
> matches the 'else' conditions for gen2 HW without gals.
> 
> Rewrite the 'else' condition to specifically identify the compatibles
> that utilizing gen2 HW without gals.
> 
> Signed-off-by: Tinghan Shen <tinghan.shen at mediatek.com>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
> ---
>  .../memory-controllers/mediatek,smi-common.yaml       | 11 ++++++++++-

I see there are no dependencies, so I will take it via memory-controller
tree after the merge window.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list