History

mfd: rk808: Add reboot support to rk808.c

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.

Peter Geis committed 4 years ago

Commit 56f216d1 parent a96f6882 files · +45 −0Browse files

Showing the changes to include (1 of 2 files). Show all

Unified · Split

include/linux/mfd/rk808.h+1−0
@@ -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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t