提交 3988ca6a 编写于 作者: F Fabio Estevam 提交者: Shawn Guo

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: NFabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: NRob Herring <robh@kernel.org>
Signed-off-by: NShawn Guo <shawnguo@kernel.org>
上级 ce2df00e
...@@ -44,10 +44,10 @@ Example: ...@@ -44,10 +44,10 @@ Example:
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
pgc_pcie_phy: power-domain@3 { pgc_pcie_phy: power-domain@1 {
#power-domain-cells = <0>; #power-domain-cells = <0>;
reg = <IMX7_POWER_DOMAIN_PCIE_PHY>; reg = <1>;
power-supply = <&reg_1p0d>; power-supply = <&reg_1p0d>;
}; };
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册