[PATCH v2] dt-bindings: trivial-devices: Document spi-cpha and spi-cpol
Fabio Estevam
festevam at gmail.com
Fri Aug 30 10:18:49 PDT 2024
There may be cases where a trivial-device needs to describe
the SPI clock polarity and phase via spi-cpol and spi-cpha
properties.
Document these properties to fix the following dt-schema warnings:
rv1108-elgin-r1.dtb: display at 0: 'spi-cpha', 'spi-cpol' do not match any of the regexes: 'pinctrl-[0-9]+'
Signed-off-by: Fabio Estevam <festevam at gmail.com>
---
Changes since v1:
- Add spi-cpha and spi-cpol to trivial-devices.yaml. (Conor)
Documentation/devicetree/bindings/trivial-devices.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml
index 75a5fad08c44..f7c11eb6e5fd 100644
--- a/Documentation/devicetree/bindings/trivial-devices.yaml
+++ b/Documentation/devicetree/bindings/trivial-devices.yaml
@@ -24,6 +24,10 @@ properties:
interrupts:
maxItems: 1
+ spi-cpha: true
+
+ spi-cpol: true
+
spi-max-frequency: true
compatible:
--
2.34.1
More information about the linux-arm-kernel
mailing list