Skip to contentSkip to conversation

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

PATCH Superseded Fabio Estevam 2 participants 3 messages Dec 15, 2017 – Dec 16, 2017 1 message not in the archive

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

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

From: Fabio Estevam <[email protected]>

In the provided example the unit address does not match the 'reg' value.

Fix the unit address.

---
 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt +1 -1
index 02f45c6..19e1819 100644
@@ -44,7 +44,7 @@ Example:
 			#address-cells = <1>;
 			#size-cells = <0>;
 
-			pgc_pcie_phy: power-domain@3 {
+			pgc_pcie_phy: power-domain@IMX7_POWER_DOMAIN_PCIE_PHY {
 				#power-domain-cells = <0>;
 
 				reg = <IMX7_POWER_DOMAIN_PCIE_PHY>;
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

A message that is not in the archive (sent off-list or not yet received): 1513306296-17667-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 16 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

In the provided example the unit address does not match the 'reg' value.

Fix the unit address.

---
 Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt +0 -0
index 02f45c6..19e1819 100644

Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt Example: · line 47

Quoted 5 lines
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt +1 -1
@@ -44,7 +44,7 @@ Example:
 			#address-cells = <1>;
 			#size-cells = <0>;
 
-			pgc_pcie_phy: power-domain@3 {
+			pgc_pcie_phy: power-domain@IMX7_POWER_DOMAIN_PCIE_PHY {

That's ugly.

Defines in reg is not something we should use generally, IMO. There are a few exceptions for flags.

Rob
--
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
Quoted 4 lines · Rob Herring

That's ugly.

Defines in reg is not something we should use generally, IMO. There are a few exceptions for flags.

Sounds good. Just sent a v2 without the defines.

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