From 3ea414062d959c4c57c7d3865b62bf2d49a92748 Mon Sep 17 00:00:00 2001 From: Jami Kettunen Date: Fri, 28 Jan 2022 19:31:50 +0200 Subject: [PATCH] dt-bindings: display: panel: Document Samsung S6E3FA5 display panel --- .../display/panel/samsung,s6e3fa5.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/display/panel/samsung,s6e3fa5.yaml diff --git a/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa5.yaml b/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa5.yaml new file mode 100644 index 000000000000..6814598477fa --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/samsung,s6e3fa5.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/samsung,s6e3fa5.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S6E3FA5 AMOLED panel with command mode DSI controller + +maintainers: + - Jami Kettunen + +description: |+ + This panel is found on the OnePlus 3T as well as OnePlus 5, + however on the 3T it runs in video mode while this driver + currently only support the command mode variant found on the + 5. + +allOf: + - $ref: panel-common.yaml# + +properties: + compatible: + const: samsung,s6e3fa5 + reg: true + reset-gpios: true + disp-te-gpios: true + vddio-supply: + description: vddio supply + +required: + - compatible + - reg + - vddio-supply + - reset-gpios + - disp-te-gpios + +additionalProperties: false + +examples: + - | + #include + + dsi { + #address-cells = <1>; + #size-cells = <0>; + panel@0 { + reg = <0>; + + compatible = "samsung,s6e3fa5"; + + vddio-supply = <&vreg_l14a_1p88>; + reset-gpios = <&tlmm 94 GPIO_ACTIVE_LOW>; + disp-te-gpios = <&tlmm 11 GPIO_ACTIVE_LOW>; + }; + };