diff options
author | Nitin Garg <nitin.garg@nxp.com> | 2021-03-23 15:42:46 -0500 |
---|---|---|
committer | Dong Aisheng <aisheng.dong@nxp.com> | 2021-11-02 17:11:48 +0800 |
commit | ca5f73f26d16af8f6595015ee1eb1683764e606a (patch) | |
tree | 492b06e2f619974d92ea792fd61f747749186b59 /Documentation/devicetree/bindings/arm | |
parent | 528bcbd991082c3a6e8c3e39868c24214350bf3d (diff) |
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 <fabrice.goucem@nxp.com>
Signed-off-by: Nitin Garg <nitin.garg@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
(cherry picked from commit 0b8be44a9338484c8aa62da03c4af7d0338c6b1b)
Diffstat (limited to 'Documentation/devicetree/bindings/arm')
-rw-r--r-- | Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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: |