summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndreas Kemnade <andreas@kemnade.info>2024-02-17 09:20:04 +0100
committerLee Jones <lee@kernel.org>2024-02-23 16:11:39 +0000
commitca9414a1d08756c8392f9219caee607e1b7bade1 (patch)
tree95bc6fc005bd9cfdd38dbe7e1ba9f9706d20b147 /include
parent0c7cc7497f6f62a65037e94cf0d885ab0af3c0d3 (diff)
downloadlinux-stable-ca9414a1d08756c8392f9219caee607e1b7bade1.tar.gz
linux-stable-ca9414a1d08756c8392f9219caee607e1b7bade1.tar.bz2
linux-stable-ca9414a1d08756c8392f9219caee607e1b7bade1.zip
mfd: twl-core: Add power off implementation for twl603x
If the system-power-controller property is there, enable power off. Implementation is based on a Linux v3.0 vendor kernel. Signed-off-by: Andreas Kemnade <andreas@kemnade.info> Link: https://lore.kernel.org/r/20240217082007.3238948-3-andreas@kemnade.info Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/mfd/twl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/twl.h b/include/linux/mfd/twl.h
index c062d91a67d9..85dc406173db 100644
--- a/include/linux/mfd/twl.h
+++ b/include/linux/mfd/twl.h
@@ -461,6 +461,7 @@ static inline int twl6030_mmc_card_detect(struct device *dev, int slot)
#define TWL4030_PM_MASTER_GLOBAL_TST 0xb6
+#define TWL6030_PHOENIX_DEV_ON 0x06
/*----------------------------------------------------------------------*/
/* Power bus message definitions */