]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: tegra: lg-x3: Add node for capacitive buttons
authorSvyatoslav Ryhel <clamor95@gmail.com>
Mon, 26 Jan 2026 10:10:17 +0000 (12:10 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 27 Mar 2026 15:03:51 +0000 (16:03 +0100)
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>
arch/arm/boot/dts/nvidia/tegra30-lg-p895.dts

index ab8f5cf317bfc01a5dc149a4b96123a367e72935..414117fd43824d2ab3cde8ce2008d39707d8a277 100644 (file)
                                syna,clip-x-high = <1535>;
                                syna,clip-y-high = <2047>;
                        };
+
+                       rmi4-f1a@1a {
+                               reg = <0x1a>;
+
+                               linux,keycodes = <KEY_BACK KEY_HOME KEY_MENU KEY_SEARCH>;
+                       };
                };
        };