summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tps65912.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mfd/tps65912.h')
-rw-r--r--include/linux/mfd/tps65912.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mfd/tps65912.h b/include/linux/mfd/tps65912.h
index c32637166f2..426f5e5e08f 100644
--- a/include/linux/mfd/tps65912.h
+++ b/include/linux/mfd/tps65912.h
@@ -278,6 +278,12 @@
/* Number of total regulators available */
#define TPS65912_NUM_REGULATOR (TPS65912_NUM_DCDC + TPS65912_NUM_LDO)
+enum pwrkey_states {
+ PWRKEY_RELEASE, /* Power key released state. */
+ PWRKEY_PRESS, /* Power key pressed state. */
+ PWRKEY_UNKNOWN, /* Unknown power key state. */
+};
+
struct tps65912_register_init_data {
u8 addr;
u16 data;