forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: display: Add SPI peripheral schema to SPI based displays
With 'unevaluatedProperties' support enabled, several SPI based display binding examples have warnings: 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/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/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/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) Fix all of these by adding a reference to spi-peripheral-props.yaml. With this, the description that the binding must follow spi-controller.yaml is both a bit out of date and redundant, so remove it. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Acked-by: Paul Cercueil <[email protected]> Acked-by: Sam Ravnborg <[email protected]> Link: https://lore.kernel.org/r/[email protected]
- Loading branch information
1 parent
d8adf5b
commit c476d43
Showing
10 changed files
with
10 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Asia Better Technology 3.0" (320x480 pixels) 24-bit IPS LCD panel | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Paul Cercueil <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Innolux EJ030NA 3.0" (320x480 pixels) 24-bit TFT LCD panel | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Paul Cercueil <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: King Display KD035G6-54NT 3.5" (320x240 pixels) 24-bit TFT LCD panel | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Paul Cercueil <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: LG.Philips LB035Q02 Panel | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Tomi Valkeinen <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Samsung LD9040 AMOLED LCD parallel RGB panel with SPI control bus | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Andrzej Hajda <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
@@ -63,8 +60,6 @@ examples: | |
lcd@0 { | ||
compatible = "samsung,ld9040"; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
reg = <0>; | ||
vdd3-supply = <&ldo7_reg>; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Sitronix ST7789V RGB panel with SPI control bus | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Maxime Ripard <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,15 +6,12 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Sony ACX565AKM SDI Panel | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Tomi Valkeinen <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,13 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# | |
|
||
title: Toppoly TD Panels | ||
|
||
description: | | ||
The panel must obey the rules for a SPI slave device as specified in | ||
spi/spi-controller.yaml | ||
maintainers: | ||
- Marek Belisko <[email protected]> | ||
- H. Nikolaus Schaller <[email protected]> | ||
|
||
allOf: | ||
- $ref: panel-common.yaml# | ||
- $ref: /schemas/spi/spi-peripheral-props.yaml# | ||
|
||
properties: | ||
compatible: | ||
|