[U-Boot,4/5] configs: rk3328: add support for pmic rk8xx and regulator and i2c driver

Message ID 1505297094-5273-4-git-send-email-kever.yang@rock-chips.com
State New
Delegated to: Philipp Tomsich
Headers show
Series
  • [U-Boot,1/5] rockchip: i2c: rk3328: support i2c for rk3328 SoC
Related show

Commit Message

Kever Yang Sept. 13, 2017, 10:04 a.m.
From: Elaine Zhang <zhangqing@rock-chips.com>

Add defconfig for rk8xx and regulator and i2c controller.

Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
---

 configs/evb-rk3328_defconfig | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Dr. Philipp Tomsich Sept. 13, 2017, 8:07 p.m. | #1
> From: Elaine Zhang <zhangqing@rock-chips.com>
> 
> Add defconfig for rk8xx and regulator and i2c controller.
> 
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> 
>  configs/evb-rk3328_defconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Dr. Philipp Tomsich Sept. 13, 2017, 8:08 p.m. | #2
> From: Elaine Zhang <zhangqing@rock-chips.com>
> 
> Add defconfig for rk8xx and regulator and i2c controller.
> 
> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
> Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> 
>  configs/evb-rk3328_defconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

Patch

diff --git a/configs/evb-rk3328_defconfig b/configs/evb-rk3328_defconfig
index 7bec001..6d0f3af 100644
--- a/configs/evb-rk3328_defconfig
+++ b/configs/evb-rk3328_defconfig
@@ -22,12 +22,18 @@  CONFIG_REGMAP=y
 CONFIG_SYSCON=y
 CONFIG_CLK=y
 CONFIG_ROCKCHIP_GPIO=y
+CONFIG_SYS_I2C_ROCKCHIP=y
 CONFIG_MMC_DW=y
 CONFIG_MMC_DW_ROCKCHIP=y
 CONFIG_PINCTRL=y
 CONFIG_PINCTRL_ROCKCHIP_RK3328=y
+CONFIG_DM_PMIC=y
+CONFIG_PMIC_RK8XX=y
+CONFIG_DM_REGULATOR=y
 CONFIG_REGULATOR_PWM=y
 CONFIG_DM_REGULATOR_FIXED=y
+CONFIG_REGULATOR_RK8XX=y
+CONFIG_PWM_ROCKCHIP=y
 CONFIG_RAM=y
 CONFIG_BAUDRATE=1500000
 CONFIG_DEBUG_UART_BASE=0xFF130000