Skip to content

Commit 6d0f1e2

Browse files
committed
WIP: ARM: tegra: asus-tf101: Add LVDS encoder
Make sure that CONFIG_DRM_LVDS_CODEC enabled in kernel config. Signed-off-by: Dmitry Osipenko <[email protected]>
1 parent 575d14b commit 6d0f1e2

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

arch/arm/boot/dts/tegra20-asus-tf101.dts

+40-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@
4545
rgb {
4646
status = "okay";
4747

48-
nvidia,panel = <&panel>;
48+
port@0 {
49+
lcd_output: endpoint {
50+
remote-endpoint = <&lvds_encoder_input>;
51+
bus-width = <18>;
52+
};
53+
};
4954
};
5055
};
5156

@@ -778,6 +783,34 @@
778783
};
779784
};
780785

786+
lvds-encoder {
787+
compatible = "ti,sn75lvds83", "lvds-encoder";
788+
789+
powerdown-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_LOW>;
790+
power-supply = <&vdd_3v3_sys>;
791+
792+
ports {
793+
#address-cells = <1>;
794+
#size-cells = <0>;
795+
796+
port@0 {
797+
reg = <0>;
798+
799+
lvds_encoder_input: endpoint {
800+
remote-endpoint = <&lcd_output>;
801+
};
802+
};
803+
804+
port@1 {
805+
reg = <1>;
806+
807+
lvds_encoder_output: endpoint {
808+
remote-endpoint = <&panel_input>;
809+
};
810+
};
811+
};
812+
};
813+
781814
panel: panel {
782815
compatible = "chunghwa,claa101wa01a";
783816

@@ -786,6 +819,12 @@
786819

787820
backlight = <&backlight>;
788821
ddc-i2c-bus = <&lvds_ddc>;
822+
823+
port {
824+
panel_input: endpoint {
825+
remote-endpoint = <&lvds_encoder_output>;
826+
};
827+
};
789828
};
790829

791830
vdd_5v0_reg: regulator@0 {

0 commit comments

Comments
 (0)