aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorOskari Lemmela <[email protected]>2018-11-20 19:52:09 +0200
committerSebastian Reichel <[email protected]>2018-12-05 18:49:32 +0100
commit7693b5643fd2d682de90733b67fc8032b9646911 (patch)
tree68d135b45359c998162c3d37ed44add525e02c4b /include/linux
parent89d21972da2b16c6acd1d07baed220ed843bd096 (diff)
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 <[email protected]> Reviewed-by: Quentin Schulz <[email protected]> Reviewed-by: Chen-Yu Tsai <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
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 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 */