Skip to contentSkip to conversation

ARM: dts: imx: Add labels to remaining anatop regulators

PATCH In review Marek Vasut 3 participants 6 messages Dec 30, 2021 – Feb 5, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: imx: Add labels to remaining anatop regulators

Add labels to remaining anatop regulators, so their supplies can be assigned in board DTs. This is similar to Linux kernel commit 93385546ba369 ("ARM: dts: imx6qdl-sabresd: Assign corresponding power supply for LDOs") except it does not contain the unrelated sabresd changes.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>
---
 arch/arm/dts/imx6qdl.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/arm/dts/imx6qdl.dtsi +3 -3
index 1cdb498c720..efd89510d51 100644
@@ -686,7 +686,7 @@
 					     <0 54 IRQ_TYPE_LEVEL_HIGH>,
 					     <0 127 IRQ_TYPE_LEVEL_HIGH>;
 
-				regulator-1p1 {
+				reg_vdd1p1: regulator-1p1 {
 					compatible = "fsl,anatop-regulator";
 					regulator-name = "vdd1p1";
 					regulator-min-microvolt = <1000000>;
@@ -701,7 +701,7 @@
 					anatop-enable-bit = <0>;
 				};
 
-				regulator-3p0 {
+				reg_vdd3p0: regulator-3p0 {
 					compatible = "fsl,anatop-regulator";
 					regulator-name = "vdd3p0";
 					regulator-min-microvolt = <2800000>;
@@ -716,7 +716,7 @@
 					anatop-enable-bit = <0>;
 				};
 
-				regulator-2p5 {
+				reg_vdd2p5: regulator-2p5 {
 					compatible = "fsl,anatop-regulator";
 					regulator-name = "vdd2p5";
 					regulator-min-microvolt = <2250000>;
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 ARM: dts: imx: Synchronize iMX6QDL DHCOM PDK2 DTs with Linux 5.15.12

Synchronize DH DHCOM DTs with Linux commit 25960cafa06e ("Linux 5.15.12"). There is no functional change to the resulting DTs. The imx6qdl-dhcom-pdk2.dtsi had to be adjusted with additional headers, gpio.h, pwm.h, input.h, else the DT cannot be compiled, the same change is likely necessary in Linux.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>
---
 arch/arm/dts/imx6dl-dhcom-pdk2.dts   |   1 +
 arch/arm/dts/imx6q-dhcom-pdk2.dts    |  17 +-
 arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi | 324 ++++++++---
 arch/arm/dts/imx6qdl-dhcom-som.dtsi  | 815 +++++++++++++++++++++++++++
 4 files changed, 1078 insertions(+), 79 deletions(-)
 create mode 100644 arch/arm/dts/imx6qdl-dhcom-som.dtsi
arch/arm/dts/imx6dl-dhcom-pdk2.dts +1 -0
index a0b51bcf389..d59687490cf 100644
@@ -6,6 +6,7 @@
 /dts-v1/;
 
 #include "imx6dl.dtsi"
+#include "imx6qdl-dhcom-som.dtsi"
 #include "imx6qdl-dhcom-pdk2.dtsi"
 
 / {
arch/arm/dts/imx6q-dhcom-pdk2.dts +11 -6
index 5bab2db656e..d4d57370615 100644
@@ -1,20 +1,25 @@
-// SPDX-License-Identifier: (GPL-2.0+)
+// SPDX-License-Identifier: GPL-2.0+
 /*
- * Copyright (C) 2015-2019 DH electronics GmbH
+ * Copyright (C) 2015-2021 DH electronics GmbH
  * Copyright (C) 2018 Marek Vasut <[email protected]>
+ *
+ * DHCOM iMX6 variant:
+ * DHCM-iMX6Q-C0800-R102-F0819-E-SD-RTC-T-HS-I-01D2
+ * DHCOM PCB number: 493-300 or newer
+ * PDK2 PCB number: 516-400 or newer
  */
-
 /dts-v1/;
 
 #include "imx6q.dtsi"
+#include "imx6qdl-dhcom-som.dtsi"
 #include "imx6qdl-dhcom-pdk2.dtsi"
 
 / {
-	model = "Freescale i.MX6 Quad/Dual DHCOM Premium Developer Kit (2)";
-	compatible = "dh,imx6q-dhcom-pdk2", "dh,imx6q-dhcom", "fsl,imx6q";
+	model = "DH electronics i.MX6Q DHCOM on Premium Developer Kit (2)";
+	compatible = "dh,imx6q-dhcom-pdk2", "dh,imx6q-dhcom-som",
+		     "fsl,imx6q";
 };
 
 &sata {
 	status = "okay";
 };
-
arch/arm/dts/imx6qdl-dhcom-pdk2.dtsi +251 -73

424 lines not on this page · raw message

arch/arm/dts/imx6qdl-dhcom-som.dtsi new file +815 -0

815 lines not on this page · raw message

Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 2/2
#2 lore raw

Re: [PATCH 2/2] ARM: dts: imx: Synchronize iMX6QDL DHCOM PDK2 DTs with Linux 5.15.12

Quoted 9 lines · Marek Vasut

Synchronize DH DHCOM DTs with Linux commit 25960cafa06e ("Linux 5.15.12"). There is no functional change to the resulting DTs. The imx6qdl-dhcom-pdk2.dtsi had to be adjusted with additional headers, gpio.h, pwm.h, input.h, else the DT cannot be compiled, the same change is likely necessary in Linux.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>
#3 lore raw

PATCH 2/2 ARM: dts: imx: Synchronize iMX6QDL DHCOM PDK2 DTs with Linux 5.15.12

In reply to Marek Vasut
Quoted 8 lines

Synchronize DH DHCOM DTs with Linux commit 25960cafa06e ("Linux 5.15.12"). There is no functional change to the resulting DTs. The imx6qdl-dhcom-pdk2.dtsi had to be adjusted with additional headers, gpio.h, pwm.h, input.h, else the DT cannot be compiled, the same change is likely necessary in Linux.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================
reviewer Reviewed-by on v1 1/2
#4 lore raw
In reply to Marek Vasut
Quoted 9 lines · Marek Vasut

Add labels to remaining anatop regulators, so their supplies can be assigned in board DTs. This is similar to Linux kernel commit 93385546ba369 ("ARM: dts: imx6qdl-sabresd: Assign corresponding power supply for LDOs") except it does not contain the unrelated sabresd changes.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>
#5 lore raw

PATCH 1/2 ARM: dts: imx: Add labels to remaining anatop regulators

In reply to Marek Vasut
Quoted 8 lines

Add labels to remaining anatop regulators, so their supplies can be assigned in board DTs. This is similar to Linux kernel commit 93385546ba369 ("ARM: dts: imx6qdl-sabresd: Assign corresponding power supply for LDOs") except it does not contain the unrelated sabresd changes.

Cc Christoph Niedermaier <[email protected]>
Cc Stefano Babic <[email protected]>

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================