Commit 72cfe733 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Neil Armstrong
Browse files

dt-bindings: display: panel: Drop redundant properties



The purpose of common schemas, like panel-common.yaml, is to list
applicable properties.  It can list common ABI, e.g. "label" property,
and pure hardware related properties like power supply or GPIOs.  In the
second case it means that all panels have these supplies or GPIOs.
This is the only meaning when hardware property is allowed in common
schema, because bindings are precise and we do not define common schemas
for "possible" hardware configurations.

Following this, all panel bindings which reference common schema and use
"unevaluatedProperties: false" do not need to list these common parts.

Simplify such bindings to also reduce copy-paste code and review time
for new contributions.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260306-dt-bindings-display-panel-clean-v1-3-3086eda1efaf@oss.qualcomm.com
parent 32003681
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -20,11 +20,6 @@ properties:
  reg:
    maxItems: 1

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

required:
  - compatible
  - reg
+0 −2
Original line number Diff line number Diff line
@@ -33,8 +33,6 @@ properties:
  vsp-supply:
    description: Negative source voltage rail

  port: true

required:
  - compatible
  - reg
+0 −4
Original line number Diff line number Diff line
@@ -34,10 +34,6 @@ properties:
    maxItems: 1
    description: Display data/command selection (D/CX)

  backlight: true
  reset-gpios: true
  rotation: true

required:
  - compatible
  - reg
+0 −3
Original line number Diff line number Diff line
@@ -29,9 +29,6 @@ properties:
  reg:
    maxItems: 1

  reset-gpios: true
  port: true

  vcc-supply:
    description: Core voltage supply

+0 −2
Original line number Diff line number Diff line
@@ -40,8 +40,6 @@ properties:
  spi-max-frequency:
    const: 10000000

  port: true

  vci-supply:
    description: Analog voltage supply (2.5 .. 3.3V)

Loading