lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230201143431.863784-3-frieder@fris.de>
Date:   Wed,  1 Feb 2023 15:34:24 +0100
From:   Frieder Schrempf <frieder@...s.de>
To:     Alessandro Zummo <a.zummo@...ertech.it>,
        Alexandre Belloni <alexandre.belloni@...tlin.com>,
        devicetree@...r.kernel.org,
        Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
        linux-kernel@...r.kernel.org, linux-rtc@...r.kernel.org,
        Rob Herring <robh+dt@...nel.org>
Cc:     Frieder Schrempf <frieder.schrempf@...tron.de>,
        Guenter Roeck <linux@...ck-us.net>,
        Hans Verkuil <hverkuil-cisco@...all.nl>,
        Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
        Sebastian Reichel <sre@...nel.org>,
        Viresh Kumar <viresh.kumar@...aro.org>
Subject: [PATCH 2/7] dt-bindings: rtc: Add backup-switch-mode property

From: Frieder Schrempf <frieder.schrempf@...tron.de>

Document the backups-switch-mode property that can be used to set the
BSM via devicetree on devices like the RV3028.

Signed-off-by: Frieder Schrempf <frieder.schrempf@...tron.de>
---
 Documentation/devicetree/bindings/rtc/rtc.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/devicetree/bindings/rtc/rtc.yaml b/Documentation/devicetree/bindings/rtc/rtc.yaml
index c6fff5486fe6..76b9605e755b 100644
--- a/Documentation/devicetree/bindings/rtc/rtc.yaml
+++ b/Documentation/devicetree/bindings/rtc/rtc.yaml
@@ -26,6 +26,13 @@ properties:
       0: not chargeable
       1: chargeable
 
+  backup-switch-mode:
+    $ref: /schemas/types.yaml#/definitions/uint32
+    enum: [ 0, 1, 2, 3 ]
+    description:
+      The backup switch mode the RTC is forced into when registering
+      the device. See include/dt-bindings/rtc/rtc.h for a list of values.
+
   quartz-load-femtofarads:
     description:
       The capacitive load of the quartz(x-tal), expressed in femto
-- 
2.39.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ