dt-bindings: fsl,imx-gpcv2: Fix the unit address
Subsystems (2)
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
@@ -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
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.
Signed-off-by Fabio Estevam <[email protected]>--- 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
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
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