Describe the Truly 5.7" WQHD dual-DSI command mode panel based on the Novatek NT36850, used on the display cards for the Qualcomm SDM845 and SM8150 HDKs.
The model name of the panel is not known. Neither the vendor kernel nor the HDK documentation mention it, and the panel block cannot be taken apart completely to check the label. So the compatible is built from the vendor, resolution, refresh rate and the controller name. Assisted-by: LLM Signed-off-by: Dmitry Baryshkov <[email protected]> --- .../display/panel/truly,wqhd60-nt36850.yaml | 98 ++++++++++++++++++++++ 1 file changed, 98 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/truly,wqhd60-nt36850.yaml b/Documentation/devicetree/bindings/display/panel/truly,wqhd60-nt36850.yaml new file mode 100644 index 000000000000..1cc63a6adc7f --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/truly,wqhd60-nt36850.yaml @@ -0,0 +1,98 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/truly,wqhd60-nt36850.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Truly WQHD panel based on the Novatek NT36850 + +maintainers: + - Dmitry Baryshkov <[email protected]> + +description: + Truly 5.7" 1440x2560 60 Hz LCD panel driven by the Novatek NT36850 + controller. It is a command mode panel using two DSI links and it is found + on the display cards for Qualcomm hardware development kits. + +allOf: + - $ref: panel-common-dual.yaml# + +properties: + compatible: + const: truly,wqhd60-nt36850 + + reg: + maxItems: 1 + + reset-gpios: + maxItems: 1 + + vddio-supply: + description: I/O voltage supply + + avdd-supply: + description: positive bias supply + + avee-supply: + description: negative bias supply + + ports: + required: + - port@0 + - port@1 + +required: + - compatible + - reg + - reset-gpios + - vddio-supply + - avdd-supply + - avee-supply + - ports + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "truly,wqhd60-nt36850"; + reg = <0>; + + reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>; + + vddio-supply = <&vreg_l14a_1p8>; + avdd-supply = <&lcdb_ldo>; + avee-supply = <&lcdb_ncp>; + + backlight = <&wled>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + + panel_in_0: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + + port@1 { + reg = <1>; + + panel_in_1: endpoint { + remote-endpoint = <&dsi1_out>; + }; + }; + }; + }; + }; + +... -- 2.47.3
