Message ID | 20180220081233.8584-1-simon@lineageos.org (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
On Tue, Feb 20, 2018 at 07:12:33PM +1100, Simon Shields wrote: > This adds support for the MMS152 found on n710x boards. > > Signed-off-by: Simon Shields <simon@lineageos.org> > --- > arch/arm/boot/dts/exynos4412-n710x.dts | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos4412-n710x.dts b/arch/arm/boot/dts/exynos4412-n710x.dts Please use exynos prefix in commit title, just like all other commits for that directory. Thanks, applied. Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/arch/arm/boot/dts/exynos4412-n710x.dts b/arch/arm/boot/dts/exynos4412-n710x.dts index 7d289c257920..eb402a0d6651 100644 --- a/arch/arm/boot/dts/exynos4412-n710x.dts +++ b/arch/arm/boot/dts/exynos4412-n710x.dts @@ -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;
This adds support for the MMS152 found on n710x boards. Signed-off-by: Simon Shields <simon@lineageos.org> --- arch/arm/boot/dts/exynos4412-n710x.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)