From 0d8382ae70e7559eba873b4d8b2cf9a15aeccf20 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Tue, 23 Feb 2016 18:47:19 +0100 Subject: 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 Tested-by: Siarhei Siamashka Acked-by: Siarhei Siamashka Signed-off-by: Hans de Goede --- board/sunxi/Kconfig | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'board/sunxi/Kconfig') diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index a334aa336d..5e9d3af336 100644 --- a/board/sunxi/Kconfig +++ b/board/sunxi/Kconfig @@ -372,11 +372,14 @@ config I2C3_ENABLE See I2C0_ENABLE help text. endif +if SUNXI_GEN_SUN6I config R_I2C_ENABLE bool "Enable the PRCM I2C/TWI controller" - default n + # This is used for the pmic on H3 + default y if SY8106A_POWER ---help--- Set this to y to enable the I2C controller which is part of the PRCM. +endif if MACH_SUN7I config I2C4_ENABLE -- cgit