rk3066b m701: add tps65910 shutdown support
authoryzq <yzq@rock-chips.com>
Thu, 18 Oct 2012 04:25:57 +0000 (12:25 +0800)
committeryzq <yzq@rock-chips.com>
Thu, 18 Oct 2012 04:25:57 +0000 (12:25 +0800)
arch/arm/mach-rk30/board-rk3066b-m701.c

index 7735e9e08860ac9d17c53f4ab44ed409161af513..688598f2a3baf02b8392876a2ed3aaa2a6b76c06 100755 (executable)
@@ -1631,6 +1631,12 @@ static void rk30_pm_power_off(void)
 #if defined(CONFIG_MFD_WM831X)
        wm831x_set_bits(Wm831x,WM831X_GPIO_LEVEL,0x0001,0x0000);  //set sys_pwr 0
        wm831x_device_shutdown(Wm831x);//wm8326 shutdown
+#endif
+#if defined(CONFIG_MFD_TPS65910)
+       if(pmic_is_tps65910())
+       {
+           tps65910_device_shutdown();//tps65910 shutdown
+       }
 #endif
        while (1);
 }