]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: imx-gpcv2: Fix the unit address
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 16 Dec 2017 18:03:02 +0000 (16:03 -0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 26 Dec 2017 08:15:44 +0000 (16:15 +0800)
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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt

index 02f45c65fd87627007228b58dc6d7679ec3e5507..9acce75b29abd9615e8ad0f0d7714231353eab7e 100644 (file)
@@ -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>;
                        };
                };