diff options
| author | Marcus Folkesson <marcus.folkesson@gmail.com> | 2025-12-15 12:46:49 +0300 |
|---|---|---|
| committer | Javier Martinez Canillas <javierm@redhat.com> | 2025-12-15 15:49:40 +0300 |
| commit | 8d0d27a79eae720e3625a149c4b3fa0ba8325300 (patch) | |
| tree | 4b4a480f7e51149b9c3fd436efd38b7c1559898b | |
| parent | 052039e3fe51bc1cbe700d5af9be009fb985cfd2 (diff) | |
| download | linux-8d0d27a79eae720e3625a149c4b3fa0ba8325300.tar.xz | |
dt-bindings: display: sitronix,st7571: add example for SPI
Add example for using st7571 with SPI.
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://patch.msgid.link/20251215-st7571-split-v3-7-d5f3205c3138@gmail.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
| -rw-r--r-- | Documentation/devicetree/bindings/display/sitronix,st7571.yaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/display/sitronix,st7571.yaml b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml index b83721eb4b7f..1931a47c4217 100644 --- a/Documentation/devicetree/bindings/display/sitronix,st7571.yaml +++ b/Documentation/devicetree/bindings/display/sitronix,st7571.yaml @@ -76,3 +76,28 @@ examples: }; }; }; + + spi { + #address-cells = <1>; + #size-cells = <0>; + + display@0 { + compatible = "sitronix,st7571"; + reg = <0>; + reset-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; + width-mm = <37>; + height-mm = <27>; + + panel-timing { + hactive = <128>; + vactive = <96>; + hback-porch = <0>; + vback-porch = <0>; + clock-frequency = <0>; + hfront-porch = <0>; + hsync-len = <0>; + vfront-porch = <0>; + vsync-len = <0>; + }; + }; + }; |
