Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: display: panel: use spi-peripheral-props.yaml

For devices connectable by SPI bus (e.g. already using
"spi-max-frequency" property), reference the "spi-peripheral-props.yaml"
schema to allow using all SPI device properties, even these which device
bindings author did not tried yet.

Change "additionalProperties" to "unevaluatedProperties", so the actual
other properties from "spi-peripheral-props.yaml" can be used. This has
additional impact of allowing also other properties from
panel-common.yaml to be used.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20221004120907.72767-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring
5b4248bf 91924d9b

+12 -8
+2 -1
Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible: ··· 42 41 - dc-gpios 43 42 - reset-gpios 44 43 45 - additionalProperties: false 44 + unevaluatedProperties: false 46 45 47 46 examples: 48 47 - |
+1
Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
··· 16 16 17 17 allOf: 18 18 - $ref: panel-common.yaml# 19 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 19 20 20 21 properties: 21 22 compatible:
+2 -1
Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
··· 15 15 16 16 allOf: 17 17 - $ref: panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 18 19 19 20 properties: 20 21 compatible: ··· 35 34 - reset-gpios 36 35 - port 37 36 38 - additionalProperties: false 37 + unevaluatedProperties: false 39 38 40 39 examples: 41 40 - |
+2 -3
Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
··· 9 9 description: The LMS380KF01 is a 480x800 DPI display panel from Samsung Mobile 10 10 Displays (SMD) utilizing the WideChips WS2401 display controller. It can be 11 11 used with internal or external backlight control. 12 - The panel must obey the rules for a SPI slave device as specified in 13 - spi/spi-controller.yaml 14 12 15 13 maintainers: 16 14 - Linus Walleij <linus.walleij@linaro.org> 17 15 18 16 allOf: 19 17 - $ref: panel-common.yaml# 18 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 20 19 21 20 properties: 22 21 compatible: ··· 58 59 - spi-cpol 59 60 - port 60 61 61 - additionalProperties: false 62 + unevaluatedProperties: false 62 63 63 64 examples: 64 65 - |
+2 -1
Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
··· 14 14 15 15 allOf: 16 16 - $ref: panel-common.yaml# 17 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 17 18 18 19 properties: 19 20 compatible: ··· 52 51 - spi-cpol 53 52 - port 54 53 55 - additionalProperties: false 54 + unevaluatedProperties: false 56 55 57 56 examples: 58 57 - |
+2 -2
Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
··· 7 7 title: Samsung S6D27A1 display panel 8 8 9 9 description: The S6D27A1 is a 480x800 DPI display panel from Samsung Mobile 10 - Displays (SMD). The panel must obey the rules for a SPI slave device 11 - as specified in spi/spi-controller.yaml 10 + Displays (SMD). 12 11 13 12 maintainers: 14 13 - Markuss Broks <markuss.broks@gmail.com> 15 14 16 15 allOf: 17 16 - $ref: panel-common.yaml# 17 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 18 18 19 19 properties: 20 20 compatible:
+1
Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
··· 41 41 42 42 allOf: 43 43 - $ref: panel-common.yaml# 44 + - $ref: /schemas/spi/spi-peripheral-props.yaml# 44 45 45 46 properties: 46 47 compatible: