[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250410082548.3821228-2-ciprianmarian.costea@oss.nxp.com>
Date: Thu, 10 Apr 2025 11:25:47 +0300
From: Ciprian Costea <ciprianmarian.costea@....nxp.com>
To: Alexandre Belloni <alexandre.belloni@...tlin.com>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Alexander Stein <alexander.stein@...tq-group.com>
Cc: linux-rtc@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
s32@....com,
imx@...ts.linux.dev,
Christophe Lizzi <clizzi@...hat.com>,
Alberto Ruiz <aruizrui@...hat.com>,
Enric Balletbo <eballetb@...hat.com>,
Eric Chanudet <echanude@...hat.com>,
Ciprian Marian Costea <ciprianmarian.costea@....nxp.com>,
Larisa Grigore <larisa.grigore@....com>
Subject: [PATCH 1/2] dt-bindings: rtc: nxp,pcf85063: add 'no-battery' property
From: Ciprian Marian Costea <ciprianmarian.costea@....nxp.com>
In case the RTC is not linked to any battery, the oscillator will
be stopped at startup, triggering a SW reset command for the PCF85063 RTC.
For this setup, introduce 'no-battery' property which can be used to
manually start the oscillator.
Co-developed-by: Larisa Grigore <larisa.grigore@....com>
Signed-off-by: Larisa Grigore <larisa.grigore@....com>
Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@....nxp.com>
---
Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
index 2f892f8640d1..b342eb13fb2e 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
@@ -36,6 +36,11 @@ properties:
enum: [7000, 12500]
default: 7000
+ no-battery:
+ description: Used in case the RTC is not linked to any battery so the
+ oscillator is stopped at startup.
+ type: boolean
+
clock:
$ref: /schemas/clock/fixed-clock.yaml
description:
--
2.45.2
Powered by blists - more mailing lists