From ca5f73f26d16af8f6595015ee1eb1683764e606a Mon Sep 17 00:00:00 2001 From: Nitin Garg Date: Tue, 23 Mar 2021 15:42:46 -0500 Subject: MLK-25346: rtc: add readonly option to rtc-imx-sc driver Setting RTC time requires ownership of SCU's SYSTEM resource. Add an 'readonly' option to the driver to allow usage of the RTC even without owning the SYSTEM resource. In that case, time setting is not allowed. Signed-off-by: Fabrice Goucem Signed-off-by: Nitin Garg Signed-off-by: Abel Vesa (cherry picked from commit 0b8be44a9338484c8aa62da03c4af7d0338c6b1b) --- Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Documentation/devicetree/bindings/arm') diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt index fd0061712443..bcf3ab532797 100644 --- a/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt @@ -136,6 +136,13 @@ RTC bindings based on SCU Message Protocol Required properties: - compatible: should be "fsl,imx8qxp-sc-rtc"; +Optional Child nodes: + +- read-only: + For some use cases, like cockpit, one cockpit domain owns it + while other domain is just a reader. Its needed to provide + /dev/rtc funtion for applications. + OCOTP bindings based on SCU Message Protocol ------------------------------------------------------------ Required properties: -- cgit v1.2.3