From 7e795e6b0254c2bd0d5c1e403ee86529b75c0fd9 Mon Sep 17 00:00:00 2001 From: kfx Date: Thu, 7 Jun 2012 09:58:05 +0800 Subject: [PATCH] rk3066_board: ldo3(vdd11_hdmi): 1.2v --> 1.1v --- arch/arm/mach-rk30/board-rk30-sdk-wm8326.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c b/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c index a9d3fc6227d7..676a2f2b389b 100755 --- a/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c +++ b/arch/arm/mach-rk30/board-rk30-sdk-wm8326.c @@ -193,7 +193,7 @@ int wm831x_post_init(struct wm831x *Wm831x) regulator_put(ldo); dcdc = regulator_get(NULL, "dcdc4"); // vcc_io -#ifdef CONFIG_MACH_RK3066_SDK +#ifdef CONFIG_MACH_RK3066_SDK1 regulator_set_voltage(dcdc, 3300000, 3300000); regulator_set_suspend_voltage(dcdc, 3100000); #else @@ -269,9 +269,15 @@ int wm831x_post_init(struct wm831x *Wm831x) regulator_put(ldo); udelay(100); +#ifdef CONFIG_MACH_RK3066_SDK1 + ldo = regulator_get(NULL, "ldo3"); //vdd11_hdmi + regulator_set_voltage(ldo, 1100000, 1100000); + regulator_set_suspend_voltage(ldo, 1100000); +#else ldo = regulator_get(NULL, "ldo3"); //vdd_12 regulator_set_voltage(ldo, 1200000, 1200000); regulator_set_suspend_voltage(ldo, 1200000); +#endif regulator_enable(ldo); // printk("%s set ldo3 vdd_12=%dmV end\n", __func__, regulator_get_voltage(ldo)); regulator_put(ldo); -- 2.34.1