Skip to contentSkip to conversation

arm64: dts: imx8mm: Drop deprecated regulator-compatible from Variscite VAR-SOM-MX8MM

PATCH Applied Marek Vasut 2 participants 4 messages Dec 15, 2022 – Jan 1, 2023

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

PATCH 1/3 arm64: dts: imx8mm: Drop deprecated regulator-compatible from Variscite VAR-SOM-MX8MM

The "regulator-compatible" property is deprecated and unused, as the match happens on the node name in Linux of_regulator_match() in case the property is not present. Drop the deprecated property from DT.

---
Cc: Fabio Estevam <[email protected]>
Cc: Felix Radensky <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mm-var-som.dtsi +0 -1
index ae0721b807e1b..2b83a5258ec6c 100644
@@ -231,7 +231,6 @@ ldo4_reg: LDO4 {
 			};
 
 			ldo5_reg: LDO5 {
-				regulator-compatible = "ldo5";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
 				regulator-always-on;
Signature · 1 line
2.35.1
#1 lore raw

PATCH 2/3 arm64: dts: imx8mn: Drop deprecated regulator-compatible from Variscite VAR-SOM-MX8MN

The "regulator-compatible" property is deprecated and unused, as the match happens on the node name in Linux of_regulator_match() in case the property is not present. Drop the deprecated property from DT.

---
Cc: Fabio Estevam <[email protected]>
Cc: Felix Radensky <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 1 -
 1 file changed, 1 deletion(-)
arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +0 -1
index 87b5e23c766f7..2888de154f780 100644
@@ -207,7 +207,6 @@ ldo4_reg: LDO4 {
 			};
 
 			ldo5_reg: LDO5 {
-				regulator-compatible = "ldo5";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
 				regulator-always-on;
Signature · 1 line
2.35.1
#2 lore raw

PATCH 3/3 arm64: dts: imx8mn: Add LDO5 regulator-name to Variscite VAR-SOM-MX8MN

In reply to Marek Vasut

The PMIC on this Variscite SOM and its MX8MM variant lists regulator-name for all LDOs except this LDO5, add the regulator-name property to avoid this omission.

---
Cc: Fabio Estevam <[email protected]>
Cc: Felix Radensky <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: NXP Linux Team <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: Shawn Guo <[email protected]>
Cc: [email protected]
To: [email protected]

---
 arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/freescale/imx8mn-var-som.dtsi +1 -0
index 2888de154f780..67072e6c77d5f 100644
@@ -207,6 +207,7 @@ ldo4_reg: LDO4 {
 			};
 
 			ldo5_reg: LDO5 {
+				regulator-name = "ldo5";
 				regulator-min-microvolt = <1800000>;
 				regulator-max-microvolt = <1800000>;
 				regulator-always-on;
Signature · 1 line
2.35.1
Applied
#3 lore raw
In reply to Marek Vasut
Quoted 5 lines · Marek Vasut

The "regulator-compatible" property is deprecated and unused, as the match happens on the node name in Linux of_regulator_match() in case the property is not present. Drop the deprecated property from DT.

Applied all, thanks!