Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9be20fec authored by Wenjun Zhang's avatar Wenjun Zhang
Browse files

ARM: dts: msm: enable LT9611UXC HDMI bridge for HDK SM8250

Enable LT9611UXC HDMI bridge for HDK SM8250.

Change-Id: I0b65497687991d9eed7664d30232666ed3f1ecd8
parent 6ab1a340
Loading
Loading
Loading
Loading
+66 −0
Original line number Diff line number Diff line
@@ -30,3 +30,69 @@
		0x03 0x70
		0x03 0x74>;
};

&qupv3_se1_i2c {
	status = "ok";
	lt9611: lt,lt9611@2b {
		compatible = "lt,lt9611uxc";
		reg = <0x2b>;
		interrupt-parent = <&tlmm>;
		interrupts = <1 0>;
		interrupt-names = "lt_irq";
		lt,irq-gpio = <&tlmm 1 0x0>;
		lt,reset-gpio = <&tlmm 2 0x0>;
		instance_id = <0>;
		lt,non-pluggable;

		pinctrl-names = "default";
		pinctrl-0 = <&lt9611_pins>;

		lt,preferred-mode = "1920x1080";

		lt,customize-modes {
			lt,customize-mode-id@0 {
				lt,mode-h-active = <1920>;
				lt,mode-h-front-porch = <88>;
				lt,mode-h-pulse-width = <44>;
				lt,mode-h-back-porch = <148>;
				lt,mode-h-active-high;
				lt,mode-v-active = <1080>;
				lt,mode-v-front-porch = <4>;
				lt,mode-v-pulse-width = <5>;
				lt,mode-v-back-porch = <36>;
				lt,mode-v-active-high;
				lt,mode-refresh-rate = <60>;
				lt,mode-clock-in-khz = <148500>;
			};
		};

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

			port@0 {
				reg = <0>;
				lt9611_in: endpoint {
					remote-endpoint = <&ext_dsi_out>;
				};
			};

		};
	};
};

&sde_dsi {
	qcom,dsi-default-panel = <&dsi_ext_bridge_1080p>;

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

		port@0 {
			reg = <0>;
			ext_dsi_out: endpoint {
				remote-endpoint = <&lt9611_in>;
			};
		};
	};
};
+13 −0
Original line number Diff line number Diff line
@@ -2839,6 +2839,19 @@
			};
		};

		lt9611_pins: lt9611_pins {
			mux {
				pins = "gpio2", "gpio1";
				function = "gpio";
			};

			config {
				pins = "gpio2", "gpio1";
				drive-strength = <8>;
				bias-disable = <0>;
			};
		};

		nfc {
			nfc_int_active: nfc_int_active {
				/* active state */
+13 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
#include "dsi-panel-nt35597-truly-dualmipi-wqxga-video.dtsi"
#include "dsi-panel-nt35695b-truly-fhd-cmd.dtsi"
#include "dsi-panel-nt35695b-truly-fhd-video.dtsi"
#include "dsi-panel-ext-bridge-1080p.dtsi"
#include "dsi-panel-sim-cmd.dtsi"
#include "dsi-panel-sim-video.dtsi"
#include "dsi-panel-sim-dsc375-cmd.dtsi"
@@ -256,6 +257,18 @@
};

/* PHY TIMINGS REVISION W */
&dsi_ext_bridge_1080p {
	qcom,dsi-select-clocks = "mux_byte_clk0", "mux_pixel_clk0";
	qcom,mdss-dsi-display-timings {
		timing@0 {
			qcom,mdss-dsi-panel-phy-timings = [00 1e 08 07 24 22 08
				08 05 02 04 00 19 17];
			qcom,display-topology = <1 0 1>;
			qcom,default-topology-index = <0>;
		};
	};
};

&dsi_sw43404_amoled_cmd {
	qcom,ulps-enabled;
	qcom,esd-check-enabled;