* [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text
@ 2017-11-15 12:59 Fabio Estevam
[not found] ` <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2017-11-15 12:59 UTC (permalink / raw)
To: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA,
jbe-bIcnvbaLZ9MEGnE8C9+IrQ, Fabio Estevam
From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>
Improve the bindings text by doing the following changes:
- Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware
- Add 'clocks' to the list of required properties
- Explain that the optional security violation irq is the second entry
- Use the real unit address and irq numbers for i.MX25
Signed-off-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>
---
Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
index 323cf26..b8f3050 100644
--- a/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
+++ b/Documentation/devicetree/bindings/rtc/imxdi-rtc.txt
@@ -1,20 +1,20 @@
* i.MX25 Real Time Clock controller
-This binding supports the following chips: i.MX25, i.MX53
-
Required properties:
- compatible: should be: "fsl,imx25-rtc"
- reg: physical base address of the controller and length of memory mapped
region.
+- clocks: should contain the phandle for the rtc clock
- interrupts: rtc alarm interrupt
Optional properties:
-- interrupts: dryice security violation interrupt
+- interrupts: dryice security violation interrupt (second entry)
Example:
-rtc@80056000 {
- compatible = "fsl,imx53-rtc", "fsl,imx25-rtc";
- reg = <0x80056000 2000>;
- interrupts = <29 56>;
+rtc@53ffc000 {
+ compatible = "fsl,imx25-rtc";
+ reg = <0x53ffc000 0x4000>;
+ clocks = <&clks 81>;
+ interrupts = <25 56>;
};
--
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] 4+ messages in thread[parent not found: <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>]
* Re: [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text [not found] ` <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> @ 2017-11-15 13:48 ` Juergen Borleis 2017-11-17 20:26 ` Rob Herring 2017-11-21 13:46 ` Alexandre Belloni 2 siblings, 0 replies; 4+ messages in thread From: Juergen Borleis @ 2017-11-15 13:48 UTC (permalink / raw) To: Fabio Estevam Cc: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, Fabio Estevam On Wednesday 15 November 2017 13:59:53 Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > > Improve the bindings text by doing the following changes: > > - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware > - Add 'clocks' to the list of required properties > - Explain that the optional security violation irq is the second entry > - Use the real unit address and irq numbers for i.MX25 > > Signed-off-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> Acked-by: Juergen Borleis <jbe-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> > [...] -- Pengutronix e.K. | Juergen Borleis | Industrial Linux Solutions | http://www.pengutronix.de/ | -- 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] 4+ messages in thread
* Re: [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text [not found] ` <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2017-11-15 13:48 ` Juergen Borleis @ 2017-11-17 20:26 ` Rob Herring 2017-11-21 13:46 ` Alexandre Belloni 2 siblings, 0 replies; 4+ messages in thread From: Rob Herring @ 2017-11-17 20:26 UTC (permalink / raw) To: Fabio Estevam Cc: alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8, devicetree-u79uwXL29TY76Z2rM5mHXA, jbe-bIcnvbaLZ9MEGnE8C9+IrQ, Fabio Estevam On Wed, Nov 15, 2017 at 10:59:53AM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > > Improve the bindings text by doing the following changes: > > - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware > - Add 'clocks' to the list of required properties > - Explain that the optional security violation irq is the second entry > - Use the real unit address and irq numbers for i.MX25 > > Signed-off-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > --- > Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) Acked-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] 4+ messages in thread
* Re: [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text [not found] ` <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 2017-11-15 13:48 ` Juergen Borleis 2017-11-17 20:26 ` Rob Herring @ 2017-11-21 13:46 ` Alexandre Belloni 2 siblings, 0 replies; 4+ messages in thread From: Alexandre Belloni @ 2017-11-21 13:46 UTC (permalink / raw) To: Fabio Estevam Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, devicetree-u79uwXL29TY76Z2rM5mHXA, jbe-bIcnvbaLZ9MEGnE8C9+IrQ, Fabio Estevam On 15/11/2017 at 10:59:53 -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > > Improve the bindings text by doing the following changes: > > - Remove the i.MX53 reference, as the RTC on i.MX53 is a different hardware > - Add 'clocks' to the list of required properties > - Explain that the optional security violation irq is the second entry > - Use the real unit address and irq numbers for i.MX25 > > Signed-off-by: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org> > --- > Documentation/devicetree/bindings/rtc/imxdi-rtc.txt | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- 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] 4+ messages in thread
end of thread, other threads:[~2017-11-21 13:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-15 12:59 [PATCH] dt-bindings: rtc: imxdi: Improve the bindings text Fabio Estevam
[not found] ` <1510750793-25564-1-git-send-email-festevam-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-11-15 13:48 ` Juergen Borleis
2017-11-17 20:26 ` Rob Herring
2017-11-21 13:46 ` Alexandre Belloni
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox