mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/3] arm: dts: Fix node names
@ 2020-03-02  9:02 Sascha Hauer
  2020-03-02  9:02 ` [PATCH 2/3] arm: vf610-zii-scu4-aib: Remove non effective properties Sascha Hauer
  2020-03-02  9:02 ` [PATCH 3/3] ARM: dts: Add missing #size/address-cells properties Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-03-02  9:02 UTC (permalink / raw)
  To: Barebox List

- Remove leading zeroes from the addresses in the node names of i2c/spi
  devices
- Remove leading 0x from the addresses in the node names of i2c/spi
  devices
- Add missing reg address in node names.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/imx51-genesi-efika-sb.dts  | 6 +++---
 arch/arm/dts/imx53-guf-vincell-lt.dts   | 2 +-
 arch/arm/dts/imx6dl-eltec-hipercam.dts  | 4 ++--
 arch/arm/dts/imx6q-guf-santaro.dts      | 4 ++--
 arch/arm/dts/imx6qdl-hummingboard2.dtsi | 2 +-
 arch/arm/dts/imx6qdl-tqma6x.dtsi        | 2 +-
 arch/arm/dts/imx7d-phycore-som.dtsi     | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/arch/arm/dts/imx51-genesi-efika-sb.dts b/arch/arm/dts/imx51-genesi-efika-sb.dts
index da6b6f9722..23e6ea4165 100644
--- a/arch/arm/dts/imx51-genesi-efika-sb.dts
+++ b/arch/arm/dts/imx51-genesi-efika-sb.dts
@@ -345,7 +345,7 @@
 	clock-frequency = <100000>;
 	status = "okay";
 
-	sgtl5000: codec@0a {
+	sgtl5000: codec@a {
 		compatible = "fsl,sgtl5000";
 		reg = <0x0a>;
 		clock-frequency = <12288000>;
@@ -354,7 +354,7 @@
 		VDDIO-supply = <&vvideo_reg>;
 	};
 
-	battery: battery@0b {
+	battery: battery@b {
 		compatible = "sbs,sbs-battery";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_battery>;
@@ -526,7 +526,7 @@
 		};
 	};
 
-	flash: m25p80 {
+	flash: m25p80@1 {
 		compatible = "sst,sst25vf032b", "m25p80";
 		spi-max-frequency = <15000000>;
 		reg = <1>;
diff --git a/arch/arm/dts/imx53-guf-vincell-lt.dts b/arch/arm/dts/imx53-guf-vincell-lt.dts
index 7a133a5010..4c6205135a 100644
--- a/arch/arm/dts/imx53-guf-vincell-lt.dts
+++ b/arch/arm/dts/imx53-guf-vincell-lt.dts
@@ -146,7 +146,7 @@
 	bitrate = <100000>;
 	status = "okay";
 
-	sgtl5000: codec@0a {
+	sgtl5000: codec@a {
 		compatible = "fsl,sgtl5000";
 		reg = <0x0a>;
 	};
diff --git a/arch/arm/dts/imx6dl-eltec-hipercam.dts b/arch/arm/dts/imx6dl-eltec-hipercam.dts
index fe336040c3..41af229835 100644
--- a/arch/arm/dts/imx6dl-eltec-hipercam.dts
+++ b/arch/arm/dts/imx6dl-eltec-hipercam.dts
@@ -91,13 +91,13 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <0x20>;
 
-	eeprom@0x52 {
+	eeprom@52 {
 		compatible = "amtel,24c04";
 		reg = <0x52>;
 		pagesize = <0x10>;
 	};
 
-	pfuze100@08 {
+	pfuze100@8 {
 		compatible = "fsl,pfuze100";
 		reg = <0x8>;
 
diff --git a/arch/arm/dts/imx6q-guf-santaro.dts b/arch/arm/dts/imx6q-guf-santaro.dts
index 8f886c4e12..0fb05d05dc 100644
--- a/arch/arm/dts/imx6q-guf-santaro.dts
+++ b/arch/arm/dts/imx6q-guf-santaro.dts
@@ -93,7 +93,7 @@
 		reg = <0x50>;
 	};
 
-	pmic: pf0100@08 {
+	pmic: pf0100@8 {
 		status = "disabled";
 		pinctrl-names = "default";
 		pinctrl-0 = <&pinctrl_pmic>;
@@ -195,7 +195,7 @@
 		};
 	};
 
-	codec: sgtl5000@0a {
+	codec: sgtl5000@a {
 		compatible = "fsl,sgtl5000";
 		reg = <0x0a>;
 		clocks = <&clks 201>;
diff --git a/arch/arm/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/dts/imx6qdl-hummingboard2.dtsi
index 20152246a0..6f37d5afa5 100644
--- a/arch/arm/dts/imx6qdl-hummingboard2.dtsi
+++ b/arch/arm/dts/imx6qdl-hummingboard2.dtsi
@@ -173,7 +173,7 @@
 		reg = <0x68>;
 	};
 
-	sgtl5000: codec@0a {
+	sgtl5000: codec@a {
 		clocks = <&clks IMX6QDL_CLK_CKO>;
 		compatible = "fsl,sgtl5000";
 		pinctrl-names = "default";
diff --git a/arch/arm/dts/imx6qdl-tqma6x.dtsi b/arch/arm/dts/imx6qdl-tqma6x.dtsi
index 82f9ec368f..3bcd7ebf29 100644
--- a/arch/arm/dts/imx6qdl-tqma6x.dtsi
+++ b/arch/arm/dts/imx6qdl-tqma6x.dtsi
@@ -108,7 +108,7 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_i2c3>;
 
-	pmic: pf0100@08 {
+	pmic: pf0100@8 {
 		compatible = "pf0100-regulator";
 		reg = <0x08>;
 		interrupt-parent = <&gpio6>;
diff --git a/arch/arm/dts/imx7d-phycore-som.dtsi b/arch/arm/dts/imx7d-phycore-som.dtsi
index ea8c801f38..622261bd1e 100644
--- a/arch/arm/dts/imx7d-phycore-som.dtsi
+++ b/arch/arm/dts/imx7d-phycore-som.dtsi
@@ -28,7 +28,7 @@
 	pinctrl-0 = <&pinctrl_i2c1>;
 	status = "okay";
 
-	pmic: pfuze3000@08 {
+	pmic: pfuze3000@8 {
 		compatible = "fsl,pfuze3000";
 		reg = <0x08>;
 
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* [PATCH 2/3] arm: vf610-zii-scu4-aib: Remove non effective properties
  2020-03-02  9:02 [PATCH 1/3] arm: dts: Fix node names Sascha Hauer
@ 2020-03-02  9:02 ` Sascha Hauer
  2020-03-02  9:02 ` [PATCH 3/3] ARM: dts: Add missing #size/address-cells properties Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-03-02  9:02 UTC (permalink / raw)
  To: Barebox List; +Cc: Andrey Smirnov

The vf610-zii-scu4-aib dts contains a fixup for nodes which do not
exist anymore, so instead of fixing up the nodes new ones are created
which is surely not intentional.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
---
 arch/arm/dts/vf610-zii-scu4-aib.dts | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/dts/vf610-zii-scu4-aib.dts b/arch/arm/dts/vf610-zii-scu4-aib.dts
index 1e6a54954a..43a13e243d 100644
--- a/arch/arm/dts/vf610-zii-scu4-aib.dts
+++ b/arch/arm/dts/vf610-zii-scu4-aib.dts
@@ -109,11 +109,3 @@
 		label = "fiber9";
 	};
 };
-
-/*
- * FIXME: Remove once this code appears in kernel DTS
-*/
-&i2c2 {
-	tca9548@70 { i2c-mux-idle-disconnect; };
-	tca9548@71 { i2c-mux-idle-disconnect; };
-};
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* [PATCH 3/3] ARM: dts: Add missing #size/address-cells properties
  2020-03-02  9:02 [PATCH 1/3] arm: dts: Fix node names Sascha Hauer
  2020-03-02  9:02 ` [PATCH 2/3] arm: vf610-zii-scu4-aib: Remove non effective properties Sascha Hauer
@ 2020-03-02  9:02 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2020-03-02  9:02 UTC (permalink / raw)
  To: Barebox List

Some boards lack the #address-cells/#size-cells properties for the i.MX6
GPMI nand controller. Add them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/imx6qdl-cm-fx6.dtsi | 2 ++
 arch/arm/dts/imx6qdl-tx6x.dtsi   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/arch/arm/dts/imx6qdl-cm-fx6.dtsi b/arch/arm/dts/imx6qdl-cm-fx6.dtsi
index 72d00f1b9e..3082acbe79 100644
--- a/arch/arm/dts/imx6qdl-cm-fx6.dtsi
+++ b/arch/arm/dts/imx6qdl-cm-fx6.dtsi
@@ -363,6 +363,8 @@
 
 /* nand */
 &gpmi {
+	#address-cells = <1>;
+	#size-cells = <1>;
 	pinctrl-names = "default";
 	pinctrl-0 = <&pinctrl_gpmi_nand>;
 	status = "okay";
diff --git a/arch/arm/dts/imx6qdl-tx6x.dtsi b/arch/arm/dts/imx6qdl-tx6x.dtsi
index ef0f935370..13102168f7 100644
--- a/arch/arm/dts/imx6qdl-tx6x.dtsi
+++ b/arch/arm/dts/imx6qdl-tx6x.dtsi
@@ -25,6 +25,8 @@
 };
 
 &gpmi {
+	#address-cells = <1>;
+	#size-cells = <1>;
 	status = "disabled";
 
 	partition@0 {
-- 
2.25.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2020-03-02  9:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-02  9:02 [PATCH 1/3] arm: dts: Fix node names Sascha Hauer
2020-03-02  9:02 ` [PATCH 2/3] arm: vf610-zii-scu4-aib: Remove non effective properties Sascha Hauer
2020-03-02  9:02 ` [PATCH 3/3] ARM: dts: Add missing #size/address-cells properties Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox