diff options
author | Simon Shields <simon@lineageos.org> | 2018-02-20 19:12:33 +1100 |
---|---|---|
committer | Krzysztof Kozlowski <krzk@kernel.org> | 2018-02-22 19:39:31 +0100 |
commit | 1e46eb3cbacde81ceb93f140f69834c9893235de (patch) | |
tree | 739edd2c6827e27f9a76f10c76eeae08f67fa843 /arch/arm/boot/dts/exynos4412-n710x.dts | |
parent | 8bd65bfbf8fcb6f0affa88904bb8af394275105b (diff) | |
download | linux-1e46eb3cbacde81ceb93f140f69834c9893235de.tar.bz2 |
ARM: dts: exynos: Add touchscreen node to Exynos4412 N710x
This adds support for the MMS152 found on N710x boards.
Signed-off-by: Simon Shields <simon@lineageos.org>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-n710x.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-n710x.dts | 20 |
1 files changed, 20 insertions, 0 deletions
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; |