2022-08-29 19:10:10

by Aleksander Jan Bajkowski

[permalink] [raw]
Subject: [PATCH] MIPS: dts: lantiq: rename dts files with soc name being the prefix

Rename lantiq dts files with soc name being the prefix, so that the
board dts file can be located easily by soc name, and we also gain
the consistency of naming.

This patch is a preparation for the addition of dts for newer SoCs
(Lantiq ARX100, VRX200 and xRX330).

Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
---
arch/mips/boot/dts/lantiq/Makefile | 2 +-
.../boot/dts/lantiq/{easy50712.dts => danube_easy50712.dts} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename arch/mips/boot/dts/lantiq/{easy50712.dts => danube_easy50712.dts} (100%)

diff --git a/arch/mips/boot/dts/lantiq/Makefile b/arch/mips/boot/dts/lantiq/Makefile
index f5dfc06242b9..ae6e3e21ebeb 100644
--- a/arch/mips/boot/dts/lantiq/Makefile
+++ b/arch/mips/boot/dts/lantiq/Makefile
@@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb
+dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb

obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
diff --git a/arch/mips/boot/dts/lantiq/easy50712.dts b/arch/mips/boot/dts/lantiq/danube_easy50712.dts
similarity index 100%
rename from arch/mips/boot/dts/lantiq/easy50712.dts
rename to arch/mips/boot/dts/lantiq/danube_easy50712.dts
--
2.30.2


2022-09-26 10:17:52

by Thomas Bogendoerfer

[permalink] [raw]
Subject: Re: [PATCH] MIPS: dts: lantiq: rename dts files with soc name being the prefix

On Mon, Aug 29, 2022 at 08:37:17PM +0200, Aleksander Jan Bajkowski wrote:
> Rename lantiq dts files with soc name being the prefix, so that the
> board dts file can be located easily by soc name, and we also gain
> the consistency of naming.
>
> This patch is a preparation for the addition of dts for newer SoCs
> (Lantiq ARX100, VRX200 and xRX330).
>
> Signed-off-by: Aleksander Jan Bajkowski <[email protected]>
> ---
> arch/mips/boot/dts/lantiq/Makefile | 2 +-
> .../boot/dts/lantiq/{easy50712.dts => danube_easy50712.dts} | 0
> 2 files changed, 1 insertion(+), 1 deletion(-)
> rename arch/mips/boot/dts/lantiq/{easy50712.dts => danube_easy50712.dts} (100%)
>
> diff --git a/arch/mips/boot/dts/lantiq/Makefile b/arch/mips/boot/dts/lantiq/Makefile
> index f5dfc06242b9..ae6e3e21ebeb 100644
> --- a/arch/mips/boot/dts/lantiq/Makefile
> +++ b/arch/mips/boot/dts/lantiq/Makefile
> @@ -1,4 +1,4 @@
> # SPDX-License-Identifier: GPL-2.0
> -dtb-$(CONFIG_DT_EASY50712) += easy50712.dtb
> +dtb-$(CONFIG_DT_EASY50712) += danube_easy50712.dtb
>
> obj-$(CONFIG_BUILTIN_DTB) += $(addsuffix .o, $(dtb-y))
> diff --git a/arch/mips/boot/dts/lantiq/easy50712.dts b/arch/mips/boot/dts/lantiq/danube_easy50712.dts
> similarity index 100%
> rename from arch/mips/boot/dts/lantiq/easy50712.dts
> rename to arch/mips/boot/dts/lantiq/danube_easy50712.dts
> --
> 2.30.2

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]