linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type
@ 2023-01-23 15:16 Krzysztof Kozlowski
  2023-01-23 15:16 ` [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings Krzysztof Kozlowski
  2023-01-23 18:09 ` [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Florian Fainelli
  0 siblings, 2 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-23 15:16 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	devicetree, linux-arm-kernel, linux-kernel, linux-rpi-kernel
  Cc: Krzysztof Kozlowski

The device_type property is deprecated by Devicetree specification and
bindings do not allow it.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
index b8b8c0e78cc6..a9186166c068 100644
--- a/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
+++ b/arch/arm64/boot/dts/broadcom/stingray/stingray.dtsi
@@ -475,7 +475,6 @@ i2c1: i2c@e0000 {
 		};
 
 		uart0: serial@100000 {
-			device_type = "serial";
 			compatible = "snps,dw-apb-uart";
 			reg = <0x00100000 0x1000>;
 			reg-shift = <2>;
@@ -486,7 +485,6 @@ uart0: serial@100000 {
 		};
 
 		uart1: serial@110000 {
-			device_type = "serial";
 			compatible = "snps,dw-apb-uart";
 			reg = <0x00110000 0x1000>;
 			reg-shift = <2>;
@@ -497,7 +495,6 @@ uart1: serial@110000 {
 		};
 
 		uart2: serial@120000 {
-			device_type = "serial";
 			compatible = "snps,dw-apb-uart";
 			reg = <0x00120000 0x1000>;
 			reg-shift = <2>;
@@ -508,7 +505,6 @@ uart2: serial@120000 {
 		};
 
 		uart3: serial@130000 {
-			device_type = "serial";
 			compatible = "snps,dw-apb-uart";
 			reg = <0x00130000 0x1000>;
 			reg-shift = <2>;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings
  2023-01-23 15:16 [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Krzysztof Kozlowski
@ 2023-01-23 15:16 ` Krzysztof Kozlowski
  2023-01-23 18:07   ` Florian Fainelli
  2023-01-23 18:09 ` [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Florian Fainelli
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2023-01-23 15:16 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Ray Jui, Scott Branden,
	Broadcom internal kernel review list, Florian Fainelli,
	devicetree, linux-arm-kernel, linux-kernel, linux-rpi-kernel
  Cc: Krzysztof Kozlowski

Bindings expect UART/serial node names to be "serial".

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/bcm11351.dtsi       | 8 ++++----
 arch/arm/boot/dts/bcm21664-garnet.dts | 2 +-
 arch/arm/boot/dts/bcm21664.dtsi       | 6 +++---
 arch/arm/boot/dts/bcm28155-ap.dts     | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/arch/arm/boot/dts/bcm11351.dtsi b/arch/arm/boot/dts/bcm11351.dtsi
index 53696078bbf0..ba75784d66a9 100644
--- a/arch/arm/boot/dts/bcm11351.dtsi
+++ b/arch/arm/boot/dts/bcm11351.dtsi
@@ -50,7 +50,7 @@ smc@3404c000 {
 		reg = <0x3404c000 0x400>; /* 1 KiB in SRAM */
 	};
 
-	uart@3e000000 {
+	serial@3e000000 {
 		compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e000000 0x1000>;
@@ -60,7 +60,7 @@ uart@3e000000 {
 		reg-io-width = <4>;
 	};
 
-	uart@3e001000 {
+	serial@3e001000 {
 		compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e001000 0x1000>;
@@ -70,7 +70,7 @@ uart@3e001000 {
 		reg-io-width = <4>;
 	};
 
-	uart@3e002000 {
+	serial@3e002000 {
 		compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e002000 0x1000>;
@@ -80,7 +80,7 @@ uart@3e002000 {
 		reg-io-width = <4>;
 	};
 
-	uart@3e003000 {
+	serial@3e003000 {
 		compatible = "brcm,bcm11351-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e003000 0x1000>;
diff --git a/arch/arm/boot/dts/bcm21664-garnet.dts b/arch/arm/boot/dts/bcm21664-garnet.dts
index 1854cd907a1b..cd03fa0c2aae 100644
--- a/arch/arm/boot/dts/bcm21664-garnet.dts
+++ b/arch/arm/boot/dts/bcm21664-garnet.dts
@@ -16,7 +16,7 @@ memory@80000000 {
 		reg = <0x80000000 0x40000000>; /* 1 GB */
 	};
 
-	uart@3e000000 {
+	serial@3e000000 {
 		status = "okay";
 	};
 
diff --git a/arch/arm/boot/dts/bcm21664.dtsi b/arch/arm/boot/dts/bcm21664.dtsi
index 2684c37cb3a0..ed4de031e48e 100644
--- a/arch/arm/boot/dts/bcm21664.dtsi
+++ b/arch/arm/boot/dts/bcm21664.dtsi
@@ -50,7 +50,7 @@ smc@3404e000 {
 		reg = <0x3404e000 0x400>; /* 1 KiB in SRAM */
 	};
 
-	uart@3e000000 {
+	serial@3e000000 {
 		compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e000000 0x118>;
@@ -60,7 +60,7 @@ uart@3e000000 {
 		reg-io-width = <4>;
 	};
 
-	uart@3e001000 {
+	serial@3e001000 {
 		compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e001000 0x118>;
@@ -70,7 +70,7 @@ uart@3e001000 {
 		reg-io-width = <4>;
 	};
 
-	uart@3e002000 {
+	serial@3e002000 {
 		compatible = "brcm,bcm21664-dw-apb-uart", "snps,dw-apb-uart";
 		status = "disabled";
 		reg = <0x3e002000 0x118>;
diff --git a/arch/arm/boot/dts/bcm28155-ap.dts b/arch/arm/boot/dts/bcm28155-ap.dts
index fce3d5260b00..60c8ab8a2855 100644
--- a/arch/arm/boot/dts/bcm28155-ap.dts
+++ b/arch/arm/boot/dts/bcm28155-ap.dts
@@ -16,7 +16,7 @@ memory@80000000 {
 		reg = <0x80000000 0x40000000>; /* 1 GB */
 	};
 
-	uart@3e000000 {
+	serial@3e000000 {
 		status = "okay";
 	};
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings
  2023-01-23 15:16 ` [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings Krzysztof Kozlowski
@ 2023-01-23 18:07   ` Florian Fainelli
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2023-01-23 18:07 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Krzysztof Kozlowski, Rob Herring,
	Krzysztof Kozlowski, Ray Jui, Scott Branden, devicetree,
	linux-arm-kernel, linux-kernel, linux-rpi-kernel

On Mon, 23 Jan 2023 16:16:16 +0100, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
> Bindings expect UART/serial node names to be "serial".
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type
  2023-01-23 15:16 [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Krzysztof Kozlowski
  2023-01-23 15:16 ` [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings Krzysztof Kozlowski
@ 2023-01-23 18:09 ` Florian Fainelli
  1 sibling, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2023-01-23 18:09 UTC (permalink / raw)
  To: bcm-kernel-feedback-list, Krzysztof Kozlowski, Rob Herring,
	Krzysztof Kozlowski, Ray Jui, Scott Branden, devicetree,
	linux-arm-kernel, linux-kernel, linux-rpi-kernel

On Mon, 23 Jan 2023 16:16:15 +0100, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> wrote:
> The device_type property is deprecated by Devicetree specification and
> bindings do not allow it.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree-arm64/next, thanks!
--
Florian

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-01-23 18:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-23 15:16 [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Krzysztof Kozlowski
2023-01-23 15:16 ` [PATCH 2/2] ARM: dts: broadcom: align UART node name with bindings Krzysztof Kozlowski
2023-01-23 18:07   ` Florian Fainelli
2023-01-23 18:09 ` [PATCH 1/2] arm64: dts: broadcom: drop deprecated serial device_type Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).