* [PATCH v2] dt-bindings: imx-gpcv2: Fix the unit address
@ 2017-12-16 18:03 Fabio Estevam
[not found] ` <1513447382-4269-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Fabio Estevam @ 2017-12-16 18:03 UTC (permalink / raw)
To: shawnguo-DgEjT+Ai2ygdnm+yROfE0A
Cc: andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w,
devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
Fabio Estevam
From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>
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-3arQi8VN3Tc@public.gmane.org>
---
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(-)
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>;
};
};
--
2.7.4
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread[parent not found: <1513447382-4269-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH v2] dt-bindings: imx-gpcv2: Fix the unit address [not found] ` <1513447382-4269-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2017-12-19 23:37 ` Rob Herring 2017-12-26 8:05 ` Shawn Guo 1 sibling, 0 replies; 3+ messages in thread From: Rob Herring @ 2017-12-19 23:37 UTC (permalink / raw) To: Fabio Estevam Cc: shawnguo-DgEjT+Ai2ygdnm+yROfE0A, andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, Fabio Estevam On Sat, Dec 16, 2017 at 04:03:02PM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > > 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-3arQi8VN3Tc@public.gmane.org> > --- > 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-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] dt-bindings: imx-gpcv2: Fix the unit address [not found] ` <1513447382-4269-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2017-12-19 23:37 ` Rob Herring @ 2017-12-26 8:05 ` Shawn Guo 1 sibling, 0 replies; 3+ messages in thread From: Shawn Guo @ 2017-12-26 8:05 UTC (permalink / raw) To: Fabio Estevam Cc: andrew.smirnov-Re5JQEeQqe8AvxtiuMwx3w, devicetree-u79uwXL29TY76Z2rM5mHXA, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, Fabio Estevam On Sat, Dec 16, 2017 at 04:03:02PM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > > 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-3arQi8VN3Tc@public.gmane.org> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-12-26 8:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-16 18:03 [PATCH v2] dt-bindings: imx-gpcv2: Fix the unit address Fabio Estevam
[not found] ` <1513447382-4269-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-12-19 23:37 ` Rob Herring
2017-12-26 8:05 ` Shawn Guo
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).