hc
2024-05-16 8d2a02b24d66aa359e83eebc1ed3c0f85367a1cb
kernel/include/linux/mfd/tc3589x.h
....@@ -1,7 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) ST-Ericsson SA 2010
3
- *
4
- * License Terms: GNU General Public License, version 2
54 */
65
76 #ifndef __LINUX_MFD_TC3589x_H
....@@ -19,6 +18,9 @@
1918 #define TC3589x_RSTCTRL_ROTRST (1 << 2)
2019 #define TC3589x_RSTCTRL_KBDRST (1 << 1)
2120 #define TC3589x_RSTCTRL_GPIRST (1 << 0)
21
+
22
+#define TC3589x_DKBDMSK_ELINT (1 << 1)
23
+#define TC3589x_DKBDMSK_EINT (1 << 0)
2224
2325 /* Keyboard Configuration Registers */
2426 #define TC3589x_KBDSETTLE_REG 0x01
....@@ -102,6 +104,9 @@
102104 #define TC3589x_GPIOODM2 0xE4
103105 #define TC3589x_GPIOODE2 0xE5
104106
107
+#define TC3589x_DIRECT0 0xEC
108
+#define TC3589x_DKBDMSK 0xF3
109
+
105110 #define TC3589x_INT_GPIIRQ 0
106111 #define TC3589x_INT_TI0IRQ 1
107112 #define TC3589x_INT_TI1IRQ 2