This adds reboot support to the rk808 pmic driver and enables it for the rk809 and rk817 devices. This only enables if the rockchip,system-power-controller flag is set.
Showing the changes to include (1 of 2 files). Show all
Unified · Split
| @@ -373,6 +373,7 @@ enum rk805_reg { · 372 unmodified lines | |||
| 373 | #define SWITCH2_EN BIT(6) | 373 | #define SWITCH2_EN BIT(6) |
| 374 | #define SWITCH1_EN BIT(5) | 374 | #define SWITCH1_EN BIT(5) |
| 375 | #define DEV_OFF_RST BIT(3) | 375 | #define DEV_OFF_RST BIT(3) |
| 376 | #define DEV_RST BIT(2) | ||
| 376 | #define DEV_OFF BIT(0) | 377 | #define DEV_OFF BIT(0) |
| 377 | #define RTC_STOP BIT(0) | 378 | #define RTC_STOP BIT(0) |
| 378 | 379 | ||