Message ID | 1578452497-6972-1-git-send-email-weijie.gao@mediatek.com |
---|---|
State | New |
Headers | show |
Series | [01/16] configs: mtmips: add missing board selection for gardena-smart-gateway-mt7688 | expand |
On 08.01.20 04:01, Weijie Gao wrote: > Actually mt7628a.dtsi can be used for both MT7628A/N/K, so just rename it > to a common name. > > Signed-off-by: Weijie Gao <weijie.gao at mediatek.com> > --- > arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- > arch/mips/dts/linkit-smart-7688.dts | 2 +- > arch/mips/dts/{mt7628a.dtsi => mt7628.dtsi} | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > rename arch/mips/dts/{mt7628a.dtsi => mt7628.dtsi} (98%) I understand your reasoning but again, I would like to keep the U-Boot dts/dtsi files close or identical to the Linux ones. If you feel that a rename is appropriate, then please start with changing the Linux version first. Thanks, Stefan
diff --git a/arch/mips/dts/gardena-smart-gateway-mt7688.dts b/arch/mips/dts/gardena-smart-gateway-mt7688.dts index b7b5a24058..ce08062d79 100644 --- a/arch/mips/dts/gardena-smart-gateway-mt7688.dts +++ b/arch/mips/dts/gardena-smart-gateway-mt7688.dts @@ -5,7 +5,7 @@ /dts-v1/; -#include "mt7628a.dtsi" +#include "mt7628.dtsi" #include <dt-bindings/gpio/gpio.h> / { diff --git a/arch/mips/dts/linkit-smart-7688.dts b/arch/mips/dts/linkit-smart-7688.dts index f154aae190..42e46de511 100644 --- a/arch/mips/dts/linkit-smart-7688.dts +++ b/arch/mips/dts/linkit-smart-7688.dts @@ -5,7 +5,7 @@ /dts-v1/; -#include "mt7628a.dtsi" +#include "mt7628.dtsi" / { compatible = "seeed,linkit-smart-7688", "ralink,mt7628a-soc"; diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628.dtsi similarity index 98% rename from arch/mips/dts/mt7628a.dtsi rename to arch/mips/dts/mt7628.dtsi index 3d7b839e6d..5a3d65df56 100644 --- a/arch/mips/dts/mt7628a.dtsi +++ b/arch/mips/dts/mt7628.dtsi @@ -5,7 +5,7 @@ / { #address-cells = <1>; #size-cells = <1>; - compatible = "ralink,mt7628a-soc"; + compatible = "ralink,mt7628a-soc", "ralink,mt7628n-soc", "ralink,mt7628k-soc"; clk48m: clk48m at 0 { compatible = "fixed-clock";
Actually mt7628a.dtsi can be used for both MT7628A/N/K, so just rename it to a common name. Signed-off-by: Weijie Gao <weijie.gao at mediatek.com> --- arch/mips/dts/gardena-smart-gateway-mt7688.dts | 2 +- arch/mips/dts/linkit-smart-7688.dts | 2 +- arch/mips/dts/{mt7628a.dtsi => mt7628.dtsi} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename arch/mips/dts/{mt7628a.dtsi => mt7628.dtsi} (98%)