summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-12-16 16:03:02 -0200
committerShawn Guo <shawnguo@kernel.org>2017-12-26 16:15:44 +0800
commit3988ca6af7e2a24655d7725cd317902dabeda6c3 (patch)
treefeca5592c00e3d9f4e41b8f5fe60e5ec9ff8611c /Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
parentce2df00e4459bf254d13ad123c2a069d3b058724 (diff)
downloadlinux-3988ca6af7e2a24655d7725cd317902dabeda6c3.tar.bz2
dt-bindings: imx-gpcv2: Fix the unit address
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>
Diffstat (limited to 'Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt')
-rw-r--r--Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
index 02f45c65fd87..9acce75b29ab 100644
--- a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
+++ b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt
@@ -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>;
};
};