diff options
author | Oskari Lemmela <oskari@lemmela.net> | 2018-11-20 19:52:09 +0200 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2018-12-05 18:49:32 +0100 |
commit | 7693b5643fd2d682de90733b67fc8032b9646911 (patch) | |
tree | 68d135b45359c998162c3d37ed44add525e02c4b /include/linux/mfd | |
parent | 89d21972da2b16c6acd1d07baed220ed843bd096 (diff) | |
download | blackbird-obmc-linux-7693b5643fd2d682de90733b67fc8032b9646911.tar.gz blackbird-obmc-linux-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')
-rw-r--r-- | include/linux/mfd/axp20x.h | 1 |
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 */ |