Skip to contentSkip to conversation

dt-bindings: panel: Include SPI peripheral properties

PATCH In review Thierry Reding 2 participants 2 messages Dec 3, 2021

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: panel: Include SPI peripheral properties

From: Thierry Reding <[email protected]>

SPI panels need to reference the SPI peripheral properties so that they can be properly validated.

---
 .../devicetree/bindings/display/panel/lgphilips,lb035q02.yaml    | 1 +
 .../devicetree/bindings/display/panel/sony,acx565akm.yaml        | 1 +
 2 files changed, 2 insertions(+)
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml +1 -0
index 830e335ddb53..240a884b7fa7 100644
@@ -14,6 +14,7 @@ maintainers:
   - Tomi Valkeinen <[email protected]>
 
 allOf:
+  - $ref: ../../spi/spi-peripheral-props.yaml
   - $ref: panel-common.yaml#
 
 properties:
Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml +1 -0
index 95d053c548ab..4459d746592f 100644
@@ -14,6 +14,7 @@ maintainers:
   - Tomi Valkeinen <[email protected]>
 
 allOf:
+  - $ref: ../../spi/spi-peripheral-props.yaml
   - $ref: panel-common.yaml#
 
 properties:
Signature · 1 line
2.33.1
#1 lore raw
Quoted 5 lines · Thierry Reding

From: Thierry Reding <[email protected]>

SPI panels need to reference the SPI peripheral properties so that they can be properly validated.

Thanks for doing this.

Quoted 6 lines
---
 .../devicetree/bindings/display/panel/lgphilips,lb035q02.yaml    | 1 +
 .../devicetree/bindings/display/panel/sony,acx565akm.yaml        | 1 +
 2 files changed, 2 insertions(+)

I'm seeing a few more than this. If there's some logic to the ones you fixed, I'm not seeing it.

Documentation/devicetree/bindings/display/st,stm32-dsi.example.dt.yaml:
dsi@5a000000: Unevaluated properties are not allowed ('panel-dsi@0'
was unexpected) Documentation/devicetree/bindings/display/panel/samsung,ld9040.example.dt.yaml:
lcd@0: Unevaluated properties are not allowed ('#address-cells', '#size-cells', 'spi-max-frequency', 'spi-cpol', 'spi-cpha' were
unexpected) Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-3wire' were unexpected) Documentation/devicetree/bindings/display/panel/ilitek,ili9322.example.dt.yaml:
display@0: Unevaluated properties are not allowed ('reg' was
unexpected) Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.example.dt.yaml:
display@0: Unevaluated properties are not allowed ('spi-max-frequency'
was unexpected) Documentation/devicetree/bindings/display/panel/abt,y030xx067a.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('spi-max-frequency'
was unexpected) Documentation/devicetree/bindings/display/panel/sony,acx565akm.example.dt.yaml:
panel@2: Unevaluated properties are not allowed ('spi-max-frequency',
'reg' were unexpected) Documentation/devicetree/bindings/display/panel/novatek,nt36672a.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('vddi0-supply', '#address-cells', '#size-cells' were unexpected) Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('reg', 'spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected) Documentation/devicetree/bindings/display/panel/tpo,td.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected) Documentation/devicetree/bindings/display/panel/innolux,ej030na.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('spi-max-frequency'
was unexpected) Documentation/devicetree/bindings/display/panel/sitronix,st7789v.example.dt.yaml:
panel@0: Unevaluated properties are not allowed ('spi-max-frequency', 'spi-cpol', 'spi-cpha' were unexpected)

Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml maintainers: · line 17

Quoted 10 lines
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml +1 -0
index 830e335ddb53..240a884b7fa7 100644
@@ -14,6 +14,7 @@ maintainers:
   - Tomi Valkeinen <[email protected]>
 
 allOf:
+  - $ref: ../../spi/spi-peripheral-props.yaml

Please use /schemas/spi/... instead.

This needs Mark's tree if you want to avoid errors. I'm fine though as long as linux-next is okay. Or I can pull in Mark's tree and take this and others.

Rob