From: Fabio Estevam Date: Sat, 16 Dec 2017 18:03:02 +0000 (-0200) Subject: dt-bindings: imx-gpcv2: Fix the unit address X-Git-Tag: v4.16-rc1~100^2~20^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3988ca6af7e2a24655d7725cd317902dabeda6c3;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Rob Herring Signed-off-by: Shawn Guo --- diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt index 02f45c65fd876..9acce75b29abd 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 = ; + reg = <1>; power-supply = <®_1p0d>; }; };