The Kingdisplay KD097D04 uses two DSI links on RK3399 Scarlet. Move it to a simple dual-link DSI panel binding that supports 2 graph input ports.
Signed-off-by: Rob Herring (Arm) <[email protected]> --- .../display/panel/panel-simple-dsi-dual.yaml | 72 +++++++++++++++++++ .../display/panel/panel-simple-dsi.yaml | 2 - 2 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml new file mode 100644 index 000000000000..71400833fc22 --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi-dual.yaml @@ -0,0 +1,72 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/panel-simple-dsi-dual.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Simple dual-link DSI panels with a single power supply + +maintainers: + - Thierry Reding <[email protected]> + - Sam Ravnborg <[email protected]> + +allOf: + - $ref: panel-common-dual.yaml# + +properties: + compatible: + enum: + # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel + - kingdisplay,kd097d04 + + reg: + maxItems: 1 + description: DSI virtual channel + + backlight: true + enable-gpios: true + power-supply: true + reset-gpios: true + ports: true + +required: + - compatible + - reg + - power-supply + - ports + +additionalProperties: false + +examples: + - | + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "kingdisplay,kd097d04"; + reg = <0>; + power-supply = <&vcc_lcd>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + + endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + }; + }; + }; diff --git a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml index e1af3cbddc35..ae191bca494a 100644 --- a/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml +++ b/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml @@ -43,8 +43,6 @@ properties: - khadas,ts050 # Khadas TS050 V2 5" 1080x1920 LCD panel - khadas,ts050v2 - # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel - - kingdisplay,kd097d04 # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel - lg,acx467akm-7 # LG Corporation 5" HD TFT LCD panel -- 2.53.0
