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

Commit 1e46eb3c authored by Simon Shields's avatar Simon Shields Committed by Krzysztof Kozlowski
Browse files

ARM: dts: exynos: Add touchscreen node to Exynos4412 N710x



This adds support for the MMS152 found on N710x boards.

Signed-off-by: default avatarSimon Shields <simon@lineageos.org>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 8bd65bfb
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -39,6 +39,26 @@
	status = "okay";
};

&i2c_3 {
	samsung,i2c-sda-delay = <100>;
	samsung,i2c-slave-addr = <0x10>;
	samsung,i2c-max-bus-freq = <400000>;
	pinctrl-0 = <&i2c3_bus>;
	pinctrl-names = "default";
	status = "okay";

	mms152-touchscreen@48 {
		compatible = "melfas,mms152";
		reg = <0x48>;
		interrupt-parent = <&gpm2>;
		interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
		x-size = <720>;
		y-size = <1280>;
		avdd-supply = <&ldo23_reg>;
		vdd-supply = <&ldo24_reg>;
	};
};

&ldo13_reg {
	regulator-name = "VCC_1.8V_LCD";
	regulator-always-on;