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

dt-bindings: display: panel: add common dual-link schema

Add schema with common properties shared among dual-link panel ICs.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240325103611.28240-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240325103611.28240-1-krzysztof.kozlowski@linaro.org

authored by

Krzysztof Kozlowski and committed by
Neil Armstrong
48a51636 07b9d014

+47
+47
Documentation/devicetree/bindings/display/panel/panel-common-dual.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/display/panel/panel-common-dual.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Common Properties for Dual-Link Display Panels 8 + 9 + maintainers: 10 + - Thierry Reding <thierry.reding@gmail.com> 11 + - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 12 + 13 + description: 14 + Properties common for Panel IC supporting dual link panels. Devices might 15 + support also single link. 16 + 17 + allOf: 18 + - $ref: panel-common.yaml# 19 + 20 + properties: 21 + ports: 22 + $ref: /schemas/graph.yaml#/properties/ports 23 + additionalProperties: false 24 + 25 + properties: 26 + port@0: 27 + $ref: /schemas/graph.yaml#/properties/port 28 + description: First link 29 + 30 + port@1: 31 + $ref: /schemas/graph.yaml#/properties/port 32 + description: Second link 33 + 34 + "#address-cells": true 35 + "#size-cells": true 36 + 37 + required: 38 + - port@0 39 + 40 + # Single-panel setups are still allowed. 41 + oneOf: 42 + - required: 43 + - ports 44 + - required: 45 + - port 46 + 47 + additionalProperties: true