* [PATCH] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
@ 2025-03-15 12:41 Fabio Estevam
2025-03-17 11:06 ` Krzysztof Kozlowski
0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2025-03-15 12:41 UTC (permalink / raw)
To: alexandre.belloni
Cc: robh, krzk+dt, conor+dt, linux-rtc, devicetree, Fabio Estevam
From: Fabio Estevam <festevam@denx.de>
Currently, when the 'spi-max-frequency' property is passed, the following
dt-schema warning is seen:
'spi-max-frequency' does not match any of the regexes: 'pinctrl-[0-9]+'
Fix it by adding a reference to spi-peripheral-props.yaml and change
it to use 'unevaluatedProperties: false'.
Signed-off-by: Fabio Estevam <festevam@denx.de>
---
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] 2+ messages in thread
* Re: [PATCH] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
2025-03-15 12:41 [PATCH] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml Fabio Estevam
@ 2025-03-17 11:06 ` Krzysztof Kozlowski
0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-03-17 11:06 UTC (permalink / raw)
To: Fabio Estevam
Cc: alexandre.belloni, robh, krzk+dt, conor+dt, linux-rtc, devicetree,
Fabio Estevam
On Sat, Mar 15, 2025 at 09:41:50AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <festevam@denx.de>
>
> Currently, when the 'spi-max-frequency' property is passed, the following
> dt-schema warning is seen:
>
> 'spi-max-frequency' does not match any of the regexes: 'pinctrl-[0-9]+'
Is this real or imaginary error? If imaginary, then do not include it
because it just confuses.
Otherwise: which Makefile target in upstream has this error?
>
> Fix it by adding a reference to spi-peripheral-props.yaml and change
> it to use 'unevaluatedProperties: false'.
You wrote 7 lines for something as simple as saying this is a SPI
device thus its binding should reference SPI device properties. Please
write concise and accurate commit msgs.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-03-17 11:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-15 12:41 [PATCH] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml Fabio Estevam
2025-03-17 11:06 ` Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).