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

dt-bindings: display: panel: constrain 'reg' in SPI panels

SPI-attached devices could have more than one chip-select, thus their
bindings are supposed to constrain the 'reg' property to match hardware.
Add missing 'reg' constrain for SPI-attached display panels.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240509-dt-bindings-dsi-panel-reg-v1-2-8b2443705be0@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring (Arm)
6b2358ff 2ca99e6e

+60 -16
+3 -1
Documentation/devicetree/bindings/display/panel/abt,y030xx067a.yaml
··· 17 17 compatible: 18 18 const: abt,y030xx067a 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 backlight: true 21 24 port: true 22 25 power-supply: true 23 - reg: true 24 26 reset-gpios: true 25 27 26 28 required:
+3
Documentation/devicetree/bindings/display/panel/fascontek,fs035vg158.yaml
··· 17 17 compatible: 18 18 const: fascontek,fs035vg158 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 spi-3wire: true 21 24 22 25 required:
+3 -1
Documentation/devicetree/bindings/display/panel/ilitek,ili9163.yaml
··· 24 24 - newhaven,1.8-128160EF 25 25 - const: ilitek,ili9163 26 26 27 + reg: 28 + maxItems: 1 29 + 27 30 spi-max-frequency: 28 31 maximum: 32000000 29 32 ··· 35 32 description: Display data/command selection (D/CX) 36 33 37 34 backlight: true 38 - reg: true 39 35 reset-gpios: true 40 36 rotation: true 41 37
+3
Documentation/devicetree/bindings/display/panel/ilitek,ili9322.yaml
··· 26 26 - dlink,dir-685-panel 27 27 - const: ilitek,ili9322 28 28 29 + reg: 30 + maxItems: 1 31 + 29 32 reset-gpios: true 30 33 port: true 31 34
+2 -1
Documentation/devicetree/bindings/display/panel/ilitek,ili9341.yaml
··· 28 28 - canaan,kd233-tft 29 29 - const: ilitek,ili9341 30 30 31 - reg: true 31 + reg: 32 + maxItems: 1 32 33 33 34 dc-gpios: 34 35 maxItems: 1
+3 -1
Documentation/devicetree/bindings/display/panel/innolux,ej030na.yaml
··· 17 17 compatible: 18 18 const: innolux,ej030na 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 backlight: true 21 24 port: true 22 25 power-supply: true 23 - reg: true 24 26 reset-gpios: true 25 27 26 28 required:
+3 -1
Documentation/devicetree/bindings/display/panel/kingdisplay,kd035g6-54nt.yaml
··· 17 17 compatible: 18 18 const: kingdisplay,kd035g6-54nt 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 backlight: true 21 24 port: true 22 25 power-supply: true 23 - reg: true 24 26 reset-gpios: true 25 27 26 28 spi-3wire: true
+3
Documentation/devicetree/bindings/display/panel/leadtek,ltk035c5444t.yaml
··· 18 18 compatible: 19 19 const: leadtek,ltk035c5444t 20 20 21 + reg: 22 + maxItems: 1 23 + 21 24 spi-3wire: true 22 25 23 26 required:
+2 -1
Documentation/devicetree/bindings/display/panel/lg,lg4573.yaml
··· 21 21 compatible: 22 22 const: lg,lg4573 23 23 24 - reg: true 24 + reg: 25 + maxItems: 1 25 26 26 27 required: 27 28 - compatible
+3
Documentation/devicetree/bindings/display/panel/lgphilips,lb035q02.yaml
··· 17 17 compatible: 18 18 const: lgphilips,lb035q02 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 label: true 21 24 enable-gpios: true 22 25 port: true
+3 -1
Documentation/devicetree/bindings/display/panel/nec,nl8048hl11.yaml
··· 21 21 compatible: 22 22 const: nec,nl8048hl11 23 23 24 + reg: 25 + maxItems: 1 26 + 24 27 label: true 25 28 port: true 26 - reg: true 27 29 reset-gpios: true 28 30 29 31 spi-max-frequency:
+3
Documentation/devicetree/bindings/display/panel/panel-mipi-dbi-spi.yaml
··· 71 71 - shineworld,lh133k 72 72 - const: panel-mipi-dbi-spi 73 73 74 + reg: 75 + maxItems: 1 76 + 74 77 write-only: 75 78 type: boolean 76 79 description:
+3 -1
Documentation/devicetree/bindings/display/panel/samsung,ams495qa01.yaml
··· 17 17 compatible: 18 18 const: samsung,ams495qa01 19 19 20 - reg: true 20 + reg: 21 + maxItems: 1 22 + 21 23 reset-gpios: 22 24 description: reset gpio, must be GPIO_ACTIVE_LOW 23 25 elvdd-supply:
+3 -1
Documentation/devicetree/bindings/display/panel/samsung,ld9040.yaml
··· 17 17 compatible: 18 18 const: samsung,ld9040 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 display-timings: true 21 24 port: true 22 - reg: true 23 25 reset-gpios: true 24 26 25 27 vdd3-supply:
+2 -1
Documentation/devicetree/bindings/display/panel/samsung,lms380kf01.yaml
··· 21 21 compatible: 22 22 const: samsung,lms380kf01 23 23 24 - reg: true 24 + reg: 25 + maxItems: 1 25 26 26 27 interrupts: 27 28 description: provides an optional ESD (electrostatic discharge)
+2 -1
Documentation/devicetree/bindings/display/panel/samsung,lms397kf04.yaml
··· 20 20 compatible: 21 21 const: samsung,lms397kf04 22 22 23 - reg: true 23 + reg: 24 + maxItems: 1 24 25 25 26 reset-gpios: true 26 27
+2 -1
Documentation/devicetree/bindings/display/panel/samsung,s6d27a1.yaml
··· 20 20 compatible: 21 21 const: samsung,s6d27a1 22 22 23 - reg: true 23 + reg: 24 + maxItems: 1 24 25 25 26 interrupts: 26 27 description: provides an optional ESD (electrostatic discharge)
+3 -1
Documentation/devicetree/bindings/display/panel/samsung,s6e63m0.yaml
··· 18 18 compatible: 19 19 const: samsung,s6e63m0 20 20 21 - reg: true 21 + reg: 22 + maxItems: 1 23 + 22 24 reset-gpios: true 23 25 port: true 24 26 default-brightness: true
+3 -1
Documentation/devicetree/bindings/display/panel/sitronix,st7789v.yaml
··· 21 21 - jasonic,jt240mhqs-hwt-ek-e3 22 22 - sitronix,st7789v 23 23 24 - reg: true 24 + reg: 25 + maxItems: 1 26 + 25 27 reset-gpios: true 26 28 power-supply: true 27 29 backlight: true
+3
Documentation/devicetree/bindings/display/panel/sony,acx565akm.yaml
··· 17 17 compatible: 18 18 const: sony,acx565akm 19 19 20 + reg: 21 + maxItems: 1 22 + 20 23 label: true 21 24 reset-gpios: true 22 25 port: true
+3 -1
Documentation/devicetree/bindings/display/panel/tpo,td.yaml
··· 22 22 # Toppoly TD043MTEA1 Panel 23 23 - tpo,td043mtea1 24 24 25 - reg: true 25 + reg: 26 + maxItems: 1 27 + 26 28 label: true 27 29 reset-gpios: true 28 30 backlight: true
+2 -1
Documentation/devicetree/bindings/display/panel/tpo,tpg110.yaml
··· 52 52 - const: tpo,tpg110 53 53 - const: tpo,tpg110 54 54 55 - reg: true 55 + reg: 56 + maxItems: 1 56 57 57 58 grestb-gpios: 58 59 maxItems: 1