| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/display/bridge/lontium,lt9611.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Lontium LT9611(UXC) 2 Port MIPI to HDMI Bridge |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Vinod Koul <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The LT9611 and LT9611UXC are bridge devices which convert DSI to HDMI |
| 14 |
|
| 15 |
properties: |
| 16 |
compatible: |
| 17 |
enum: |
| 18 |
- lontium,lt9611 |
| 19 |
- lontium,lt9611uxc |
| 20 |
|
| 21 |
reg: |
| 22 |
maxItems: 1 |
| 23 |
|
| 24 |
"#sound-dai-cells": |
| 25 |
const: 1 |
| 26 |
|
| 27 |
interrupts: |
| 28 |
maxItems: 1 |
| 29 |
|
| 30 |
reset-gpios: |
| 31 |
maxItems: 1 |
| 32 |
description: GPIO connected to active high RESET pin. |
| 33 |
|
| 34 |
vdd-supply: |
| 35 |
description: Regulator for 1.8V MIPI phy power. |
| 36 |
|
| 37 |
vcc-supply: |
| 38 |
description: Regulator for 3.3V IO power. |
| 39 |
|
| 40 |
ports: |
| 41 |
$ref: /schemas/graph.yaml#/properties/ports |
| 42 |
|
| 43 |
properties: |
| 44 |
port@0: |
| 45 |
$ref: /schemas/graph.yaml#/properties/port |
| 46 |
description: |
| 47 |
Primary MIPI port-1 for MIPI input |
| 48 |
|
| 49 |
port@1: |
| 50 |
$ref: /schemas/graph.yaml#/properties/port |
| 51 |
description: |
| 52 |
Additional MIPI port-2 for MIPI input, used in combination |
| 53 |
with primary MIPI port-1 to drive higher resolution displays |
| 54 |
|
| 55 |
port@2: |
| 56 |
$ref: /schemas/graph.yaml#/properties/port |
| 57 |
description: |
| 58 |
HDMI port for HDMI output |
| 59 |
|
| 60 |
required: |
| 61 |
- port@0 |
| 62 |
- port@2 |
| 63 |
|
| 64 |
required: |
| 65 |
- compatible |
| 66 |
- reg |
| 67 |
- interrupts |
| 68 |
- vdd-supply |
| 69 |
- vcc-supply |
| 70 |
- ports |
| 71 |
|
| 72 |
allOf: |
| 73 |
- $ref: /schemas/sound/dai-common.yaml# |
| 74 |
|
| 75 |
unevaluatedProperties: false |
| 76 |
|
| 77 |
examples: |
| 78 |
- | |
| 79 |
#include <dt-bindings/gpio/gpio.h> |
| 80 |
#include <dt-bindings/interrupt-controller/irq.h> |
| 81 |
|
| 82 |
i2c10 { |
| 83 |
#address-cells = <1>; |
| 84 |
#size-cells = <0>; |
| 85 |
|
| 86 |
hdmi-bridge@3b { |
| 87 |
compatible = "lontium,lt9611"; |
| 88 |
reg = <0x3b>; |
| 89 |
|
| 90 |
reset-gpios = <&tlmm 128 GPIO_ACTIVE_HIGH>; |
| 91 |
interrupts-extended = <&tlmm 84 IRQ_TYPE_EDGE_FALLING>; |
| 92 |
|
| 93 |
vdd-supply = <<9611_1v8>; |
| 94 |
vcc-supply = <<9611_3v3>; |
| 95 |
|
| 96 |
ports { |
| 97 |
#address-cells = <1>; |
| 98 |
#size-cells = <0>; |
| 99 |
|
| 100 |
port@0 { |
| 101 |
reg = <0>; |
| 102 |
lt9611_a: endpoint { |
| 103 |
remote-endpoint = <&dsi0_out>; |
| 104 |
}; |
| 105 |
}; |
| 106 |
|
| 107 |
port@1 { |
| 108 |
reg = <1>; |
| 109 |
lt9611_b: endpoint { |
| 110 |
remote-endpoint = <&dsi1_out>; |
| 111 |
}; |
| 112 |
}; |
| 113 |
|
| 114 |
port@2 { |
| 115 |
reg = <2>; |
| 116 |
lt9611_out: endpoint { |
| 117 |
remote-endpoint = <&hdmi_con>; |
| 118 |
}; |
| 119 |
}; |
| 120 |
}; |
| 121 |
}; |
| 122 |
}; |
| 123 |
|
| 124 |
... |