Message ID | 1543455856-18021-2-git-send-email-Anson.Huang@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add i.MX system controller RTC driver | expand |
On Thu, 29 Nov 2018 01:50:04 +0000, Anson Huang wrote: > NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as > system controller, the system controller is in charge of system > power, clock and secure RTC etc. management, Linux kernel > has to communicate with system controller via MU (message unit) > IPC to do RTC operation, this patch adds binding doc for i.MX > system controller RTC driver. > > Signed-off-by: Anson Huang <Anson.Huang@nxp.com> > --- > ChangeLog: > V3->V4: > *move rtc binding doc to scu binding doc since it is belonging to SCU. > *change compatible name to start with "fsl" instead of "nxp" to align with other nodes in dtsi. > Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 10 ++++++++++ > 1 file changed, 10 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index c20f38e..3f3d697 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -106,6 +106,12 @@ Required properties for Pinctrl sub nodes: [2] Documentation/devicetree/bindings/power/power_domain.txt [3] Documentation/devicetree/bindings/pinctrl/fsl,imx-pinctrl.txt +RTC bindings based on SCU Message Protocol +------------------------------------------------------------ + +Required properties: +- compatible: should be "fsl,imx8qxp-sc-rtc"; + Example (imx8qxp): ------------- lsio_mu1: mailbox@5d1c0000 { @@ -148,6 +154,10 @@ firmware { compatible = "fsl,imx8qxp-scu-pd"; #power-domain-cells = <1>; }; + + rtc: rtc { + compatible = "fsl,imx8qxp-sc-rtc"; + }; }; };
NXP i.MX8QXP is an ARMv8 SoC with a Cortex-M4 core inside as system controller, the system controller is in charge of system power, clock and secure RTC etc. management, Linux kernel has to communicate with system controller via MU (message unit) IPC to do RTC operation, this patch adds binding doc for i.MX system controller RTC driver. Signed-off-by: Anson Huang <Anson.Huang@nxp.com> --- ChangeLog: V3->V4: *move rtc binding doc to scu binding doc since it is belonging to SCU. *change compatible name to start with "fsl" instead of "nxp" to align with other nodes in dtsi. Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 10 ++++++++++ 1 file changed, 10 insertions(+)