5ccbcf999d
- OTG support - Charger - WiFi 5GHz - RTC bug "fixed" (always-on interrupt - made device overheat!) - Kernel version bumped to 5.2.1 - Memory timings - New WM8994 codec board driver (fixes suspend/resume) - Camera's regulator supported now (saves power at least!) - Updated panel driver (still not in mainline, idk why) - MHL support in kernel (fixes boot times and screen, currently disabled in X, not tested) - Other minor kernel chagnes [ci:skip-build]: already built successfully in CI
46 lines
1.3 KiB
Diff
46 lines
1.3 KiB
Diff
From 41e9df869d6d0e5b5e9bce90851e15fccdc51215 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Larin <cerg2010cerg2010@mail.ru>
|
|
Date: Sun, 10 Feb 2019 13:19:50 +0300
|
|
Subject: [PATCH] ARM: dts: tegra20-glide: Add touchkey binding
|
|
|
|
This commit adds touchkey binding for Melfas MCS5080
|
|
|
|
Signed-off-by: Sergey Larin <cerg2010cerg2010@mail.ru>
|
|
---
|
|
arch/arm/boot/dts/tegra20-glide.dts | 12 +++++++++---
|
|
1 file changed, 9 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/tegra20-glide.dts b/arch/arm/boot/dts/tegra20-glide.dts
|
|
index f1909f55d8e3..89f0002789ea 100644
|
|
--- a/arch/arm/boot/dts/tegra20-glide.dts
|
|
+++ b/arch/arm/boot/dts/tegra20-glide.dts
|
|
@@ -762,6 +762,8 @@
|
|
regulator-name = "nvvdd_ldo20,t_key_3v0";
|
|
regulator-min-microvolt = <3000000>;
|
|
regulator-max-microvolt = <3000000>;
|
|
+ regulator-always-on;
|
|
+ regulator-boot-on;
|
|
};
|
|
|
|
out5v {
|
|
@@ -1001,10 +1003,14 @@
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
- /* Not supported - no driver */
|
|
- /* melfas-touchkey@20 {
|
|
+ melfas-touchkey@20 {
|
|
+ compatible = "mcs5080_touchkey";
|
|
reg = <0x20>;
|
|
- }; */
|
|
+ interrupt-parent = <&gpio>;
|
|
+ interrupts = <TEGRA_GPIO(Q, 4) IRQ_TYPE_EDGE_FALLING>;
|
|
+ key_maxval = <4>;
|
|
+ linux,code = <KEY_MENU KEY_HOME KEY_BACK KEY_SEARCH>;
|
|
+ };
|
|
};
|
|
|
|
i2c@20 {
|
|
--
|
|
2.22.0
|
|
|