From: Esteban Urrutia <[email protected]> Add bindings for this display driver IC which is used to drive MIPI DSI panels.
Signed-off-by: Esteban Urrutia <[email protected]> --- .../bindings/display/panel/novatek,nt37703.yaml | 78 ++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/Documentation/devicetree/bindings/display/panel/novatek,nt37703.yaml b/Documentation/devicetree/bindings/display/panel/novatek,nt37703.yaml new file mode 100644 index 000000000000..e1aeed5b978e --- /dev/null +++ b/Documentation/devicetree/bindings/display/panel/novatek,nt37703.yaml @@ -0,0 +1,78 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/panel/novatek,nt37703.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Novatek NT37703 display driver IC based panels + +maintainers: + - Esteban Urrutia <[email protected]> + +properties: + compatible: + items: + - enum: + - motorola,bronco-tianma-v2-nt37703 + - const: novatek,nt37703 + + reg: + maxItems: 1 + + avdd-supply: + description: Analog power supply for panel + + elvdd-supply: + description: Positive electroluminiscent (EL) power supply for panel + + elvss-supply: + description: Negative electroluminiscent (EL) power supply for panel + + vci-supply: + description: Analog power supply for DDIC + + vdd-supply: + description: Digital power supply for DDIC + + vddi-supply: + description: Digital I/O power supply for DDIC + + reset-gpios: + maxItems: 1 + +required: + - compatible + - reg + - reset-gpios + +allOf: + - $ref: panel-common.yaml# + +unevaluatedProperties: false + +examples: + - | + #include <dt-bindings/gpio/gpio.h> + + dsi { + #address-cells = <1>; + #size-cells = <0>; + + panel@0 { + compatible = "motorola,bronco-tianma-v2-nt37703", "novatek,nt37703"; + reg = <0>; + + vci-supply = <&vreg_l13c_3p0>; + vdd-supply = <&vreg_l1d_1p25>; + vddi-supply = <&vreg_l12c_1p8>; + reset-gpios = <&tlmm 0 GPIO_ACTIVE_LOW>; + + port { + panel_in: endpoint { + remote-endpoint = <&dsi0_out>; + }; + }; + }; + }; + +... -- 2.55.0

