Skip to content

Commit 6c2b833

Browse files
Fabio Estevamalexandrebelloni
authored andcommitted
dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
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> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250317120356.2195670-1-festevam@gmail.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent eea7791 commit 6c2b833

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ title: NXP PCF2127 Real Time Clock
88

99
allOf:
1010
- $ref: rtc.yaml#
11+
- $ref: /schemas/spi/spi-peripheral-props.yaml#
1112

1213
maintainers:
1314
- Alexandre Belloni <alexandre.belloni@bootlin.com>
@@ -34,7 +35,7 @@ required:
3435
- compatible
3536
- reg
3637

37-
additionalProperties: false
38+
unevaluatedProperties: false
3839

3940
examples:
4041
- |

0 commit comments

Comments
 (0)