aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/axp20x.h
diff options
context:
space:
mode:
authorOskari Lemmela <oskari@lemmela.net>2018-11-20 19:52:09 +0200
committerSebastian Reichel <sebastian.reichel@collabora.com>2018-12-05 18:49:32 +0100
commit7693b5643fd2d682de90733b67fc8032b9646911 (patch)
tree68d135b45359c998162c3d37ed44add525e02c4b /include/linux/mfd/axp20x.h
parentdt-bindings: power: supply: axp20x: add AXP813 AC power DT binding (diff)
downloadlinux-dev-7693b5643fd2d682de90733b67fc8032b9646911.tar.xz
linux-dev-7693b5643fd2d682de90733b67fc8032b9646911.zip
power: supply: add AC power supply driver for AXP813
AXP813 and AXP803 PMICs can control input current and minimum voltage. Both of these values are configurable. Signed-off-by: Oskari Lemmela <oskari@lemmela.net> Reviewed-by: Quentin Schulz <quentin.schulz@bootlin.com> Reviewed-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'include/linux/mfd/axp20x.h')
-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 517e60eecbcb..2302b620d238 100644
--- a/include/linux/mfd/axp20x.h
+++ b/include/linux/mfd/axp20x.h
@@ -266,6 +266,7 @@ enum axp20x_variants {
#define AXP288_RT_BATT_V_H 0xa0
#define AXP288_RT_BATT_V_L 0xa1
+#define AXP813_ACIN_PATH_CTRL 0x3a
#define AXP813_ADC_RATE 0x85
/* Fuel Gauge */