update fih board from sdk, add uart 3, pll and so on
authorcwz <cwz@rockchips.com>
Thu, 14 Apr 2011 02:20:19 +0000 (19:20 -0700)
committercwz <cwz@rockchips.com>
Thu, 14 Apr 2011 02:20:19 +0000 (19:20 -0700)
arch/arm/mach-rk29/board-rk29-fih.c
drivers/mfd/tps65910-core.c

index f796e1dd7b3f72a8e41e8f6c0773a6a8f0bfedec..9882350716098609bf67049324311133d0ac6229 100755 (executable)
@@ -1907,6 +1907,9 @@ static struct platform_device *devices[] __initdata = {
 #ifdef CONFIG_UART2_RK29
        &rk29_device_uart2,
 #endif
+#ifdef CONFIG_UART3_RK29
+       &rk29_device_uart3,
+#endif
 
 #ifdef CONFIG_RK29_PWM_REGULATOR
        &rk29_device_pwm_regulator,
@@ -2309,7 +2312,7 @@ static void __init machine_rk29_mapio(void)
        rk29_map_common_io();
        rk29_setup_early_printk();
        rk29_sram_init();
-       rk29_clock_init(periph_pll_288mhz);
+       rk29_clock_init(periph_pll_300mhz);
        rk29_iomux_init();
 }
 
index 493e1b4fef7854aa24b6bc5dc398740be3cbcca1..4b26df95e8e578c4f8a69a27cf3897bba8885ef9 100644 (file)
@@ -728,14 +728,43 @@ static int proc_tps65910_show(struct seq_file *s, void *v)
 {
     struct regulator *vldo;
        
-       vldo = regulator_get(NULL, "vmmc");
-       if (vldo > NULL)
+       vldo = regulator_get(NULL, "vaux1");
+       if (!IS_ERR(vldo))
        {               
-               seq_printf(s, "Disable VMMC.\n");
+               seq_printf(s, "Disable VAUX1.\n");
+               regulator_disable(vldo);
+       }
+
+       vldo = regulator_get(NULL, "vdig1");
+       if (!IS_ERR(vldo))
+       {               
+               seq_printf(s, "Disable VDIG1.\n");
+               regulator_disable(vldo);
+       }
+
+       vldo = regulator_get(NULL, "vdig2");
+       if (!IS_ERR(vldo))
+       {               
+               seq_printf(s, "Disable VDIG2.\n");
+               regulator_disable(vldo);
+       }
+
+       vldo = regulator_get(NULL, "vdac");
+       if (!IS_ERR(vldo))
+       {               
+               seq_printf(s, "Disable VDAC.\n");
+               regulator_disable(vldo);
+       }
+
+       vldo = regulator_get(NULL, "vaux2");
+       if (!IS_ERR(vldo))
+       {               
+               seq_printf(s, "Disable VAUX2.\n");
                regulator_disable(vldo);
        }
 }
 #endif
+
        return 0;
 }