mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: rtc: pcf85063: Add NXP PCA85074A
@ 2026-11-09 15:24 Rodrigo Rea
  2026-11-10 11:55 ` Krzysztof Kozlowski
  0 siblings, 1 reply; 2+ messages in thread
From: Rodrigo Rea @ 2026-11-09 15:24 UTC (permalink / raw)
  To: alexandre.belloni, robh, krzk+dt, conor+dt
  Cc: alexander.stein, linux-rtc, devicetree, linux-kernel,
	rodrigo.rea, daniel.aguirre

From: Rodrigo Rea <rodrigo.rea@nxp.com>

Document the NXP PCA85074A real-time clock with nxp,pca85073a as a
fallback compatible. Both devices have the same register layout for
clock, calendar, alarm, offset, RAM and timer functions, allowing the
existing PCA85073A driver support to be used without a new match entry.

Link: https://www.nxp.com/docs/en/data-sheet/PCA85074A.pdf
Signed-off-by: Rodrigo Rea <rodrigo.rea@nxp.com>
---
Changes in v2:
- Require nxp,pca85073a as the fallback compatible, as requested by
  Conor Dooley.
- Drop the driver patch: the existing fallback match provides DT support.
- No runtime test of the new fallback DT has been performed.

Link to v1:
https://lore.kernel.org/20261105215204.2446733-1-rodrigo.rea@marsrover.mx/

 .../devicetree/bindings/rtc/nxp,pcf85063.yaml  | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
index f7013cd8f..8ce965caf 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf85063.yaml
@@ -11,13 +11,17 @@ maintainers:
 
 properties:
   compatible:
-    enum:
-      - microcrystal,rv8063
-      - microcrystal,rv8263
-      - nxp,pcf85063
-      - nxp,pcf85063a
-      - nxp,pcf85063tp
-      - nxp,pca85073a
+    oneOf:
+      - enum:
+          - microcrystal,rv8063
+          - microcrystal,rv8263
+          - nxp,pcf85063
+          - nxp,pcf85063a
+          - nxp,pcf85063tp
+          - nxp,pca85073a
+      - items:
+          - const: nxp,pca85074a
+          - const: nxp,pca85073a
 
   reg:
     maxItems: 1

base-commit: 05441d697f7f9a927264f4058cbbc6a03dfcac9d
-- 
2.56.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-10 11:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-09 15:24 [PATCH v2] dt-bindings: rtc: pcf85063: Add NXP PCA85074A Rodrigo Rea
2026-11-10 11:55 ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®