arm64: dts: mediatek: mt7986: Add SoC compatible
Subsystems (2)
PATCH 1/1 arm64: dts: mediatek: mt7986: Add SoC compatible
From: Matthias Brugger <[email protected]>
Missing SoC compatible in the board file causes dt bindings check.
--- arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts +1 -1
@@ -9,7 +9,7 @@ / { model = "MediaTek MT7986a RFB"; - compatible = "mediatek,mt7986a-rfb"; + compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; aliases { serial0 = &uart0;
arch/arm64/boot/dts/mediatek/mt7986a.dtsi +2 -0
@@ -14,6 +14,8 @@ / { #address-cells = <2>; #size-cells = <2>; + compatible = "mediatek,mt7986a"; + clk40m: oscillator@0 { compatible = "fixed-clock"; clock-frequency = <40000000>;
Signature · 1 line
2.38.0
AngeloGioacchino Del Regno
maintainerIl 11/11/22 12:36, [email protected] ha scritto:
Quoted 28 lines
From: Matthias Brugger <[email protected]>
Missing SoC compatible in the board file causes dt bindings check.
Signed-off-by Matthias Brugger <[email protected]>--- arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 2 +- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts +1
-1@@ -9,7 +9,7 @@ / { model = "MediaTek MT7986a RFB"; - compatible = "mediatek,mt7986a-rfb"; + compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; aliases { serial0 = &uart0;arch/arm64/boot/dts/mediatek/mt7986a.dtsi +0
-0
arch/arm64/boot/dts/mediatek/mt7986a.dtsi / { · line 18
Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt7986a.dtsi +2
-0@@ -14,6 +14,8 @@ / { #address-cells = <2>; #size-cells = <2>; + compatible = "mediatek,mt7986a"; +
It's DTS that shall declare the machine compatible and it's expected that they all declare their own, so please drop this one.
Also, while at it, the same should happen with mt7986b-rfb.dts: can you fix that one too?
compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b";
Cheers,
Angelo
Quoted 26 lines · AngeloGioacchino Del Regno
Il 11/11/22 12:36, [email protected] ha scritto:
Quoted 25 lines
From: Matthias Brugger <[email protected]>
Missing SoC compatible in the board file causes dt bindings check.
Signed-off-by Matthias Brugger <[email protected]>---
arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts| 2 +- arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 2 ++2 files changed, 3 insertions(+), 1 deletion(-)arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts +1
-1@@ -9,7 +9,7 @@ / { model = "MediaTek MT7986a RFB"; - compatible = "mediatek,mt7986a-rfb"; + compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a"; aliases { serial0 = &uart0;arch/arm64/boot/dts/mediatek/mt7986a.dtsi +0
-0
Quoted 8 lines
arch/arm64/boot/dts/mediatek/mt7986a.dtsi / { · line 17
Quoted 5 lines
arch/arm64/boot/dts/mediatek/mt7986a.dtsi +2
-0@@ -14,6 +14,8 @@ / { #address-cells = <2>; #size-cells = <2>; + compatible = "mediatek,mt7986a"; +It's DTS that shall declare the machine compatible and it's expected that they all declare their own, so please drop this one.
SoC compatible should have a the compatible for it's SoC. But for style reasons it should be the first of the block, I'll fix that.
Quoted 5 lines
Also, while at it, the same should happen with
mt7986b-rfb.dts: can you fix that one too?compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b";
Will do.
Thanks,
Matthias
Quoted 5 lines
Cheers,
Angelo