summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/nvidia/tegra30-asus-lvds-display.dtsi
blob: bae09d82594d3d0d5ba084bac02fa26dd068dbb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// SPDX-License-Identifier: GPL-2.0

/* This dtsi file describes parts common for Asus T30 devices with a LVDS panel. */

#include <dt-bindings/gpio/tegra-gpio.h>

/ {
	host1x@50000000 {
		lcd: dc@54200000 {
			rgb {
				status = "okay";

				port@0 {
					dpi_output: endpoint {
						remote-endpoint = <&bridge_input>;
						bus-width = <24>;
					};
				};
			};
		};
	};

	display-panel {
		power-supply = <&vdd_pnl>;
		ddc-i2c-bus = <&lcd_ddc>;
		backlight = <&backlight>;

		port {
			panel_input: endpoint {
				remote-endpoint = <&bridge_output>;
			};
		};
	};

	/* Texas Instruments SN75LVDS83B LVDS Transmitter */
	lvds-encoder {
		compatible = "ti,sn75lvds83", "lvds-encoder";

		powerdown-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>;
		power-supply = <&vdd_3v3_sys>;

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;

				bridge_input: endpoint {
					remote-endpoint = <&dpi_output>;
				};
			};

			port@1 {
				reg = <1>;

				bridge_output: endpoint {
					remote-endpoint = <&panel_input>;
				};
			};
		};
	};
};