Message ID | 1513447382-4269-1-git-send-email-festevam@gmail.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [v2] dt-bindings: imx-gpcv2: Fix the unit address | expand |
On Sat, Dec 16, 2017 at 04:03:02PM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@nxp.com> > > 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> > --- > Changes since v1: > - Avoid using defines as per Rob's recommendation > > Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Rob Herring <robh@kernel.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Sat, Dec 16, 2017 at 04:03:02PM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@nxp.com> > > 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> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt b/Documentation/devicetree/bindings/power/fsl,imx-gpcv2.txt index 02f45c6..9acce75 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 = <®_1p0d>; }; };