From f153d3a9d9ffa0f854f9af18d3f8f2e45b57a81c Mon Sep 17 00:00:00 2001 From: Lei Chen Date: Mon, 24 Jul 2023 17:07:44 +0800 Subject: [PATCH] dt-bindings: bridge: lt9611uxc: Add bindings Add bindings for lt9611uxc. Display lt9611uxc bindings snapshot from msm-5.15 branch. commit 0a979012e870("dt-bindings: bridge: lt9611uxc: Add bindings"). Change-Id: I43999e93004393cc7b14cc9735c15388c90b33ba Signed-off-by: Lei Chen --- bindings/display/bridge/lt9611uxc.yaml | 97 ++++++++++++++++++++++++++ bindings/vendor-prefixes.yaml | 2 + 2 files changed, 99 insertions(+) create mode 100644 bindings/display/bridge/lt9611uxc.yaml diff --git a/bindings/display/bridge/lt9611uxc.yaml b/bindings/display/bridge/lt9611uxc.yaml new file mode 100644 index 00000000..f893e2d2 --- /dev/null +++ b/bindings/display/bridge/lt9611uxc.yaml @@ -0,0 +1,97 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/display/bridge/lt9611uxc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: LT9611uxc DSI to HDMI bridge + +maintainers: + - Lei Chen + +description: | + LT9611UXC are bridge devices which convert DSI to HDMI + +properties: + compatible: + const: lt,lt9611uxc + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + lt,irq-gpio: + description: Main IRQ gpio mapping + + lt,reset-gpio: + description: Main reset gpio mapping + + lt,hdmi-ps-gpio: + description: GPIO mapping for HDMI PS + + lt,hdmi-en-gpio: + description: GPIO mapping for HDMI EN + + vdd-supply: + description: Regulator for 1.8V MIPI phy power. + + vcc-supply: + description: Regulator for 3.3V IO power. + + ports: + $ref: /schemas/graph.yaml#/properties/ports + + properties: + port@0: + $ref: /schemas/graph.yaml#/properties/port + description: MIPI port-1 for MIPI input + required: + - port@0 + +required: + - compatible + - reg + - interrupts + - vdd-supply + - vcc-supply + - ports + +allOf: + - $ref: ../dsi-controller.yaml# + +additionalProperties: false + +examples: + - | + &qupv3_se9_i2c { + lt9611@3b { + compatible = "lt,lt9611uxc"; + reg = <0x3b>; + interrupt-parent = <&tlmm>; + interrupts = <125 0>; + interrupt-names = "lt_irq"; + lt,irq-gpio = <&tlmm 125 0x0>; + lt,reset-gpio = <&tlmm 134 0x0>; + lt,hdmi-ps-gpio = <&tlmm 136 0x0>; + lt,hdmi-en-gpio = <&tlmm 137 0x0>; + + vcc-supply = <&pm660l_l6>; + vdd-supply = <&pm660_l11>; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + port@0 { + reg = <0>; + lt9611_in: endpoint { + remote-endpoint = <&ext_dsi_out>; + }; + }; + }; + }; + }; + +... diff --git a/bindings/vendor-prefixes.yaml b/bindings/vendor-prefixes.yaml index cbe12da6..1ffc736c 100644 --- a/bindings/vendor-prefixes.yaml +++ b/bindings/vendor-prefixes.yaml @@ -751,6 +751,8 @@ patternProperties: description: LSI Corp. (LSI Logic) "^lwn,.*": description: Liebherr-Werk Nenzing GmbH + "^lt,.*": + description: Lontium Semiconductor Corporation "^lxa,.*": description: Linux Automation GmbH "^m5stack,.*":