mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
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: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260306-dt-bindings-display-panel-clean-v1-3-3086eda1efaf@oss.qualcomm.com
This commit is contained in:
committed by
Neil Armstrong
parent
32003681e5
commit
72cfe73347
@@ -21,8 +21,6 @@ properties:
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
reset-gpios: true
|
||||
port: true
|
||||
default-brightness: true
|
||||
max-brightness: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user