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

Commit 5313ab7e authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Maxime Ripard
Browse files

ARM: dts: sun5i: q8-common: Enable display pipeline and LCD display



Q8 form factor A13 tablets have a 7" LCD panel. Unfortunately we
don't know the exact model of the panel. Just pick a panel with
display timings close to what we know.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent dddc8e0b
Loading
Loading
Loading
Loading
+36 −0
Original line number Original line Diff line number Diff line
@@ -59,6 +59,29 @@
	chosen {
	chosen {
		stdout-path = "serial0:115200n8";
		stdout-path = "serial0:115200n8";
	};
	};

	panel: panel {
		compatible = "urt,umsh-8596md-t", "simple-panel";
		#address-cells = <1>;
		#size-cells = <0>;

		port@0 {
			reg = <0>;
			/* TODO: lcd panel uses axp gpio0 as enable pin */
			backlight = <&backlight>;
			#address-cells = <1>;
			#size-cells = <0>;

			panel_input: endpoint@0 {
				reg = <0>;
				remote-endpoint = <&tcon0_out_lcd>;
			};
		};
	};
};

&be0 {
	status = "okay";
};
};


&codec {
&codec {
@@ -173,6 +196,19 @@
	status = "okay";
	status = "okay";
};
};


&tcon0 {
	pinctrl-names = "default";
	pinctrl-0 = <&lcd_rgb666_pins>;
	status = "okay";
};

&tcon0_out {
	tcon0_out_lcd: endpoint@0 {
		reg = <0>;
		remote-endpoint = <&panel_input>;
	};
};

&uart1 {
&uart1 {
	pinctrl-names = "default";
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins_b>;
	pinctrl-0 = <&uart1_pins_b>;