[PATCH v2] arm64: dts: mediatek: mt7986: Add SoC compatible
Matthias Brugger
matthias.bgg at gmail.com
Thu Nov 17 07:53:24 PST 2022
On 14/11/2022 13:16, matthias.bgg at kernel.org wrote:
> From: Matthias Brugger <mbrugger at suse.com>
>
> Missing SoC compatible in the board file causes dt bindings check.
>
> Signed-off-by: Matthias Brugger <mbrugger at suse.com>
>
Applied!
> ---
> Changes since v1:
> - Move SoC compatible to first line of the block
> - Add SoC compatible to mt7986b
>
>
> arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts | 2 +-
> arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 1 +
> arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts | 2 +-
> arch/arm64/boot/dts/mediatek/mt7986b.dtsi | 3 +++
> 4 files changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> index afe37b702eef9..0e3b603159477 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7986a-rfb.dts
> @@ -9,7 +9,7 @@
>
> / {
> model = "MediaTek MT7986a RFB";
> - compatible = "mediatek,mt7986a-rfb";
> + compatible = "mediatek,mt7986a-rfb", "mediatek,mt7986a";
>
> aliases {
> serial0 = &uart0;
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
> index 72e0d9722e07a..3c52ec3f99a31 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
> @@ -10,6 +10,7 @@
> #include <dt-bindings/reset/mt7986-resets.h>
>
> / {
> + compatible = "mediatek,mt7986a";
> interrupt-parent = <&gic>;
> #address-cells = <2>;
> #size-cells = <2>;
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
> index 3443013b5971e..d03e66a84c5d4 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt7986b-rfb.dts
> @@ -9,7 +9,7 @@
>
> / {
> model = "MediaTek MT7986b RFB";
> - compatible = "mediatek,mt7986b-rfb";
> + compatible = "mediatek,mt7986b-rfb", "mediatek,mt7986b";
>
> aliases {
> serial0 = &uart0;
> diff --git a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
> index 23923b9f8944b..db5189664c29b 100644
> --- a/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt7986b.dtsi
> @@ -5,6 +5,9 @@
> */
>
> #include "mt7986a.dtsi"
> +/ {
> + compatible = "mediatek,mt7986b";
> +};
>
> &pio {
> compatible = "mediatek,mt7986b-pinctrl";
More information about the Linux-mediatek
mailing list