linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes
@ 2017-10-11 15:39 Neil Armstrong
  2017-10-11 15:39 ` [PATCH 1/2] ARM64: dts: meson-gx: remove unnecessary clocks properties Neil Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Neil Armstrong @ 2017-10-11 15:39 UTC (permalink / raw)
  To: khilman, carlo
  Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel

Since the switch to documented uart bindings, old compatible and clocks
were left for simplicity.

These patches finally cleans these up.

Neil Armstrong (2):
  ARM64: dts: meson-gx: remove unnecessary clocks properties
  ARM64: dts: meson-gx: remove unnecessary uart compatible

 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

-- 
2.7.4

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

* [PATCH 1/2] ARM64: dts: meson-gx: remove unnecessary clocks properties
  2017-10-11 15:39 [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Neil Armstrong
@ 2017-10-11 15:39 ` Neil Armstrong
  2017-10-11 15:39 ` [PATCH 2/2] ARM64: dts: meson-gx: remove unnecessary uart compatible Neil Armstrong
  2017-10-12  0:26 ` [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Kevin Hilman
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2017-10-11 15:39 UTC (permalink / raw)
  To: khilman, carlo
  Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel

Since the switch to documented uart bindings, the clocks are
redefined in the SoC family dtsi file.

This patch removes these unneeded properties.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index f175db8..2be981a 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -228,7 +228,6 @@
 				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
 				reg = <0x0 0x84c0 0x0 0x14>;
 				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
-				clocks = <&xtal>;
 				status = "disabled";
 			};
 
@@ -236,7 +235,6 @@
 				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
 				reg = <0x0 0x84dc 0x0 0x14>;
 				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
-				clocks = <&xtal>;
 				status = "disabled";
 			};
 
@@ -282,7 +280,6 @@
 				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
 				reg = <0x0 0x8700 0x0 0x14>;
 				interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
-				clocks = <&xtal>;
 				status = "disabled";
 			};
 
-- 
2.7.4

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

* [PATCH 2/2] ARM64: dts: meson-gx: remove unnecessary uart compatible
  2017-10-11 15:39 [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Neil Armstrong
  2017-10-11 15:39 ` [PATCH 1/2] ARM64: dts: meson-gx: remove unnecessary clocks properties Neil Armstrong
@ 2017-10-11 15:39 ` Neil Armstrong
  2017-10-12  0:26 ` [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Kevin Hilman
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Armstrong @ 2017-10-11 15:39 UTC (permalink / raw)
  To: khilman, carlo
  Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel

Since the switch to documented uart bindings, the old undocumented
compatible binding was left for simplicity.

This patch removes these unneeded compatible strings.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
index 2be981a..b772343 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
@@ -225,14 +225,14 @@
 			};
 
 			uart_A: serial@84c0 {
-				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
+				compatible = "amlogic,meson-gx-uart";
 				reg = <0x0 0x84c0 0x0 0x14>;
 				interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
 			};
 
 			uart_B: serial@84dc {
-				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
+				compatible = "amlogic,meson-gx-uart";
 				reg = <0x0 0x84dc 0x0 0x14>;
 				interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
@@ -277,7 +277,7 @@
 			};
 
 			uart_C: serial@8700 {
-				compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
+				compatible = "amlogic,meson-gx-uart";
 				reg = <0x0 0x8700 0x0 0x14>;
 				interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
@@ -388,14 +388,14 @@
 			};
 
 			uart_AO: serial@4c0 {
-				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
+				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
 				reg = <0x0 0x004c0 0x0 0x14>;
 				interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
 			};
 
 			uart_AO_B: serial@4e0 {
-				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
+				compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
 				reg = <0x0 0x004e0 0x0 0x14>;
 				interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
 				status = "disabled";
-- 
2.7.4

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

* Re: [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes
  2017-10-11 15:39 [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Neil Armstrong
  2017-10-11 15:39 ` [PATCH 1/2] ARM64: dts: meson-gx: remove unnecessary clocks properties Neil Armstrong
  2017-10-11 15:39 ` [PATCH 2/2] ARM64: dts: meson-gx: remove unnecessary uart compatible Neil Armstrong
@ 2017-10-12  0:26 ` Kevin Hilman
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2017-10-12  0:26 UTC (permalink / raw)
  To: Neil Armstrong; +Cc: carlo, linux-amlogic, linux-arm-kernel, linux-kernel

Neil Armstrong <narmstrong@baylibre.com> writes:

> Since the switch to documented uart bindings, old compatible and clocks
> were left for simplicity.
>
> These patches finally cleans these up.

Applied to v4.15/dt64,

Kevin

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

end of thread, other threads:[~2017-10-12  0:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-11 15:39 [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Neil Armstrong
2017-10-11 15:39 ` [PATCH 1/2] ARM64: dts: meson-gx: remove unnecessary clocks properties Neil Armstrong
2017-10-11 15:39 ` [PATCH 2/2] ARM64: dts: meson-gx: remove unnecessary uart compatible Neil Armstrong
2017-10-12  0:26 ` [PATCH 0/2] ARM64: dts: meson-gx: cleanup uarts nodes Kevin Hilman

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).