Commit 6b2358ff authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Rob Herring (Arm)
Browse files

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: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: default avatarConor 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: default avatarRob Herring (Arm) <robh@kernel.org>
parent 2ca99e6e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -17,10 +17,12 @@ properties:
  compatible:
    const: abt,y030xx067a

  reg:
    maxItems: 1

  backlight: true
  port: true
  power-supply: true
  reg: true
  reset-gpios: true

required:
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ properties:
  compatible:
    const: fascontek,fs035vg158

  reg:
    maxItems: 1

  spi-3wire: true

required:
+3 −1
Original line number Diff line number Diff line
@@ -24,6 +24,9 @@ properties:
          - newhaven,1.8-128160EF
      - const: ilitek,ili9163

  reg:
    maxItems: 1

  spi-max-frequency:
    maximum: 32000000

@@ -32,7 +35,6 @@ properties:
    description: Display data/command selection (D/CX)

  backlight: true
  reg: true
  reset-gpios: true
  rotation: true

+3 −0
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@ properties:
          - dlink,dir-685-panel
      - const: ilitek,ili9322

  reg:
    maxItems: 1

  reset-gpios: true
  port: true

+2 −1
Original line number Diff line number Diff line
@@ -28,7 +28,8 @@ properties:
          - canaan,kd233-tft
      - const: ilitek,ili9341

  reg: true
  reg:
    maxItems: 1

  dc-gpios:
    maxItems: 1
Loading