Skip to content

Commit f22416f

Browse files
clamor-sthierryreding
authored andcommitted
ARM: tegra: lg-x3: Add node for capacitive buttons
Both smartphones have capacitive buttons but only P895 supports RMI4 function 1A (0D touch), while P880 exposes buttons area as a region of the touchscreen. Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
1 parent 52b266f commit f22416f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,12 @@
109109
syna,clip-x-high = <1535>;
110110
syna,clip-y-high = <2047>;
111111
};
112+
113+
rmi4-f1a@1a {
114+
reg = <0x1a>;
115+
116+
linux,keycodes = <KEY_BACK KEY_HOME KEY_MENU KEY_SEARCH>;
117+
};
112118
};
113119
};
114120

0 commit comments

Comments
 (0)