diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2016-02-23 18:47:19 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-02-23 20:50:07 +0100 |
commit | 0d8382ae70e7559eba873b4d8b2cf9a15aeccf20 (patch) | |
tree | 1197454051f70f8bb0de9c1b105b0f408ed43e8b /drivers/power/Kconfig | |
parent | 595af9db2422fa5ae734cfe615415b17a5098f34 (diff) | |
download | u-boot-0d8382ae70e7559eba873b4d8b2cf9a15aeccf20.tar.gz |
sunxi: power: add support for sy8106a driver
SY8106A is a PMIC which is used on the Allwinner
H3 Orange Pi Pc and Plus board. The VOUT1_SEL register is
implemented to set the default V-CPU voltage to 1200 mV.
This driver is required to ensure the SY8106A V-CPU
voltage is set to 1200 mV after a software reset. On cold
boot the default SY8106A output voltage is selected to be
1200 mV by a pair of resistors on the Orange Pi PC and Plus.
Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl>
Tested-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Acked-by: Siarhei Siamashka <siarhei.siamashka@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/power/Kconfig')
-rw-r--r-- | drivers/power/Kconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/power/Kconfig b/drivers/power/Kconfig index 10683a21d9..adc64552e7 100644 --- a/drivers/power/Kconfig +++ b/drivers/power/Kconfig @@ -48,6 +48,13 @@ config AXP818_POWER Say y here to enable support for the axp818 pmic found on A83T dev board. +config SY8106A_POWER + boolean "SY8106A pmic support" + depends on MACH_SUN8I_H3 + ---help--- + Select this to enable support for the SY8106A pmic found on some + H3 boards. + endchoice config AXP_DCDC1_VOLT @@ -232,4 +239,13 @@ config AXP_ELDO3_VOLT 1.2V for the SSD2828 chip (converter of parallel LCD interface into MIPI DSI). +config SY8106A_VOUT1_VOLT + int "SY8106A pmic VOUT1 voltage" + depends on SY8106A_POWER + default 1200 + ---help--- + Set the voltage (mV) to program the SY8106A pmic VOUT1. This + is typically used to power the VDD-CPU and should be 1200mV. + Values can range from 680mV till 1950mV. + endmenu |