dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
Subsystems (2)
PATCH v2 1/1 dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
From: Fabio Estevam <[email protected]>
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]+'
---
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(-)
Documentation/devicetree/bindings/rtc/nxp,pcf2127.yaml +2 -1
@@ -8,6 +8,7 @@ title: NXP PCF2127 Real Time Clock allOf: - $ref: rtc.yaml# + - $ref: /schemas/spi/spi-peripheral-props.yaml# maintainers: - Alexandre Belloni <[email protected]>
@@ -34,7 +35,7 @@ required: - compatible - reg -additionalProperties: false +unevaluatedProperties: false examples: - |
Signature · 1 line
2.34.1
Quoted 10 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
PCF2127 is an SPI device, thus its binding should reference
spi-peripheral-props.yaml.Add a reference to
spi-peripheral-props.yamlto 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]+'
Quoted 9 lines
Signed-off-by Fabio Estevam <[email protected]>---
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(-)
Quoted 9 lines · Fabio Estevam
PCF2127 is an SPI device, thus its binding should reference
spi-peripheral-props.yaml.Add a reference to
spi-peripheral-props.yamlto 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]+'
[...]
Applied, thanks!
[1/1] dt-bindings: rtc: pcf2127: Reference spi-peripheral-props.yaml
https://git.kernel.org/abelloni/c/6c2b833525eb
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com