summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChris Morgan <macromorgan@hotmail.com>2025-02-04 18:58:32 +0300
committerLee Jones <lee@kernel.org>2025-02-20 19:05:09 +0300
commitbfad07fe298bfba0c7ddab87c5b5325970203a1e (patch)
tree443ae7ddec7d28b8fd5d60a32c325cef7ae6cd16 /include/linux
parent2014c95afecee3e76ca4a56956a936e23283f05b (diff)
downloadlinux-bfad07fe298bfba0c7ddab87c5b5325970203a1e.tar.xz
mfd: axp20x: AXP717: Add AXP717_TS_PIN_CFG to writeable regs
Add AXP717_TS_PIN_CFG (register 0x50) to the table of writeable registers so that the temperature sensor can be configured by the battery driver. Signed-off-by: Chris Morgan <macromorgan@hotmail.com> Link: https://lore.kernel.org/r/20250204155835.161973-3-macroalpha82@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mfd/axp20x.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h
index c3df0e615fbf..3c5aecf1d4b5 100644
--- a/include/linux/mfd/axp20x.h
+++ b/include/linux/mfd/axp20x.h
@@ -137,6 +137,7 @@ enum axp20x_variants {
#define AXP717_IRQ2_STATE 0x4a
#define AXP717_IRQ3_STATE 0x4b
#define AXP717_IRQ4_STATE 0x4c
+#define AXP717_TS_PIN_CFG 0x50
#define AXP717_ICC_CHG_SET 0x62
#define AXP717_ITERM_CHG_SET 0x63
#define AXP717_CV_CHG_SET 0x64