Linux RTC
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
@ 2025-03-17 12:03 Fabio Estevam
  2025-03-17 16:34 ` Rob Herring (Arm)
  2025-03-17 22:31 ` Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabio Estevam @ 2025-03-17 12:03 UTC (permalink / raw)
  To: alexandre.belloni
  Cc: robh, krzk+dt, conor+dt, linux-rtc, devicetree, Fabio Estevam

From: Fabio Estevam <festevam@denx.de>

PCF2127 is an SPI device, thus its binding should reference
spi-peripheral-props.yaml.

Add a reference to spi-peripheral-props.yaml to fix the following
dt-schema warning:

imx7d-flex-concentrator.dtb: rtc@0: 'spi-max-frequency' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Fabio Estevam <festevam@denx.de>
---
Changes since v2:
- Specify that the dt-schema error comes from imx7d-flex-concentrator.dtb.
- Write a more concise commit log.

 Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
index 2d9fe5a75b06..11fcf0ca1ae0 100644
--- a/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
+++ b/Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml
@@ -8,6 +8,7 @@ title: NXP PCF2127 Real Time Clock
 
 allOf:
   - $ref: rtc.yaml#
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
 maintainers:
   - Alexandre Belloni <alexandre.belloni@bootlin.com>
@@ -34,7 +35,7 @@ required:
   - compatible
   - reg
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |
-- 
2.34.1


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

end of thread, other threads:[~2025-03-17 22:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-17 12:03 [PATCH v2] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml Fabio Estevam
2025-03-17 16:34 ` Rob Herring (Arm)
2025-03-17 22:31 ` Alexandre Belloni

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