#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,
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();
}
{
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;
}