Re: [PATCH 1/2] dt-bindings: rtc: nxp,pcf85063: add 'no-battery' property

From: Ciprian Marian Costea
Date: Thu Apr 10 2025 - 10:56:15 EST


On 4/10/2025 5:46 PM, Frank Li wrote:
On Thu, Apr 10, 2025 at 11:25:47AM +0300, Ciprian Costea wrote:
From: Ciprian Marian Costea <ciprianmarian.costea@xxxxxxxxxxx>

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@xxxxxxx>
Signed-off-by: Larisa Grigore <larisa.grigore@xxxxxxx>
Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@xxxxxxxxxxx>
---
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

Can you use optional regulator such as, vbat-supply?

Frank


Hello Frank,

Please disregard this patchset, as stated in the next patch review [1]

[1] https://lore.kernel.org/all/e64083ee-3374-4bdf-92a3-ce91e1402b13@xxxxxxxxxxx/

Regards,
Ciprian

+
clock:
$ref: /schemas/clock/fixed-clock.yaml
description:
--
2.45.2