diff options
author | 2022-07-29 14:31:50 +0800 | |
---|---|---|
committer | 2022-08-16 12:21:14 +0300 | |
commit | 9f8fb8032febf594914999c33493c682eaf138cb (patch) | |
tree | 053309fff42429f89bdc720c07882edbed6345c8 /scripts/generate_rust_analyzer.py | |
parent | memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings() (diff) | |
download | linux-dev-9f8fb8032febf594914999c33493c682eaf138cb.tar.xz linux-dev-9f8fb8032febf594914999c33493c682eaf138cb.zip |
dt-bindings: memory: mediatek,smi: Update condition for mt8195 smi node
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@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@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220729063208.16799-3-tinghan.shen@mediatek.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions