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

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



DSI-attached devices could respond to more than one virtual channel
number, thus their bindings are supposed to constrain the 'reg' property
to match hardware.  Add missing 'reg' constrain for DSI-attached display
panels, based on DTS sources in Linux kernel (assume all devices take
only one channel number).

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-3-8b2443705be0@linaro.org


Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
parent 6b2358ff
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -21,7 +21,10 @@ allOf:
properties:
  compatible:
    const: asus,z00t-tm5p5-n35596
  reg: true

  reg:
    maxItems: 1

  reset-gpios: true
  vdd-supply:
    description: core voltage supply
+3 −1
Original line number Diff line number Diff line
@@ -26,6 +26,9 @@ properties:
  compatible:
    const: boe,bf060y8m-aj0

  reg:
    maxItems: 1

  elvdd-supply:
    description: EL Driving positive (VDD) supply (4.40-4.80V)
  elvss-supply:
@@ -38,7 +41,6 @@ properties:
    description: I/O voltage supply (1.62-1.98V)

  port: true
  reg: true
  reset-gpios: true

required:
+3 −1
Original line number Diff line number Diff line
@@ -18,9 +18,11 @@ properties:
      - const: boe,himax8279d8p
      - const: boe,himax8279d10p

  reg:
    maxItems: 1

  backlight: true
  enable-gpios: true
  reg: true

  pp33-gpios:
    maxItems: 1
+3 −1
Original line number Diff line number Diff line
@@ -18,7 +18,9 @@ properties:
        # BOE TH101MB31IG002-28A 10.1" WXGA TFT LCD panel
      - boe,th101mb31ig002-28a

  reg: true
  reg:
    maxItems: 1

  backlight: true
  enable-gpios: true
  power-supply: true
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ properties:
      - starry,ili9882t

  reg:
    description: the virtual channel number of a DSI peripheral
    maxItems: 1

  enable-gpios:
    description: a GPIO spec for the enable pin
Loading