[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fd2a6390-9395-6fd2-04bc-8d9d55c2efdd@gmail.com>
Date: Thu, 17 Nov 2022 16:53:24 +0100
From: Matthias Brugger <matthias.bgg@...il.com>
To: matthias.bgg@...nel.org, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, frank-w@...lic-files.de
Cc: devicetree@...r.kernel.org, linux-mediatek@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Matthias Brugger <mbrugger@...e.com>
Subject: Re: [PATCH v2] arm64: dts: mediatek: mt7986: Add SoC compatible
On 14/11/2022 13:16, matthias.bgg@...nel.org wrote:
> From: Matthias Brugger <mbrugger@...e.com>
>
> Missing SoC compatible in the board file causes dt bindings check.
>
> Signed-off-by: Matthias Brugger <mbrugger@...e.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";
Powered by blists - more mailing lists