Skip to contentSkip to conversation

dt-bindings: imx-gpcv2: Fix the unit address

PATCH In review Fabio Estevam 3 participants 3 messages Dec 16, 2017 – Dec 26, 2017 1 message not in the archive

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

PATCH v2 1/1 dt-bindings: imx-gpcv2: Fix the unit address

From: Fabio Estevam <[email protected]>

In the provided example the unit address does not match the 'reg' value, as IMX7_POWER_DOMAIN_PCIE_PHY is defined as 1.

Fix the unit address and avoid using defines in reg as per Rob Herring's recommendation.

---
Changes since v1:
- Avoid using defines as per Rob's recommendation

 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt +2 -2
index 02f45c6..9acce75 100644
@@ -44,10 +44,10 @@ Example:
 			#address-cells = <1>;
 			#size-cells = <0>;
 
-			pgc_pcie_phy: power-domain@3 {
+			pgc_pcie_phy: power-domain@1 {
 				#power-domain-cells = <0>;
 
-				reg = <IMX7_POWER_DOMAIN_PCIE_PHY>;
+				reg = <1>;
 				power-supply = <&reg_1p0d>;
 			};
 		};
Signature · 6 lines
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Reviewed-by
#2 lore raw
In reply to a message not in the archive
Quoted 8 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

In the provided example the unit address does not match the 'reg' value, as IMX7_POWER_DOMAIN_PCIE_PHY is defined as 1.

Fix the unit address and avoid using defines in reg as per Rob Herring's recommendation.

Quoted 7 lines

---
Changes since v1:
- Avoid using defines as per Rob's recommendation

 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to a message not in the archive
Quoted 9 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

In the provided example the unit address does not match the 'reg' value, as IMX7_POWER_DOMAIN_PCIE_PHY is defined as 1.

Fix the unit address and avoid using defines in reg as per Rob Herring's recommendation.

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html