Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: mediatek: drop wrong syscon hifsys compatible for MT2701/7623

The syscon compatible for the hifsys node for Mediatek MT2701/MT7623 SoC
was wrongly added following the pattern of other clock node but it's
actually not needed as the register are not used by other device on the
SoC.

On top of this it's against the schema for hifsys YAML and causes a
dtbs_check warning.

Drop the "syscon" compatible to mute the warning and reflect the
compatible property described in the mediatek,mt2701-hifsys.yaml schema.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

authored by

Christian Marangi and committed by
AngeloGioacchino Del Regno
5416aeee 12fd34e3

+2 -3
+1 -1
arch/arm/boot/dts/mediatek/mt2701.dtsi
··· 597 597 }; 598 598 599 599 hifsys: syscon@1a000000 { 600 - compatible = "mediatek,mt2701-hifsys", "syscon"; 600 + compatible = "mediatek,mt2701-hifsys"; 601 601 reg = <0 0x1a000000 0 0x1000>; 602 602 #clock-cells = <1>; 603 603 #reset-cells = <1>;
+1 -2
arch/arm/boot/dts/mediatek/mt7623.dtsi
··· 744 744 745 745 hifsys: syscon@1a000000 { 746 746 compatible = "mediatek,mt7623-hifsys", 747 - "mediatek,mt2701-hifsys", 748 - "syscon"; 747 + "mediatek,mt2701-hifsys"; 749 748 reg = <0 0x1a000000 0 0x1000>; 750 749 #clock-cells = <1>; 751 750 #reset-cells = <1>;