History

regulator: rk808: Add RK809 and RK817 support.

Add support for the rk809 and rk817 regulator driver. Their specifications are as follows: 1. The RK809 and RK809 consist of 5 DCDCs, 9 LDOs and have the same registers for these components except dcdc5. 2. The dcdc5 is a boost dcdc for RK817 and is a buck for RK809. 3. The RK817 has one switch but The Rk809 has two. The output voltages are configurable and are meant to supply power to the main processor and other components.

Heiko Stuebner committed 7 years ago

Commit e444f6d1 parent 586c1b43 files · +625 −28Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/mfd/rk808.h+3−0
@@ -396,7 +396,10 @@ enum rk805_reg { · 395 unmodified lines
396#define SHUTDOWN_FUN (0x2 << 2)396#define SHUTDOWN_FUN (0x2 << 2)
397#define SLEEP_FUN (0x1 << 2)397#define SLEEP_FUN (0x1 << 2)
398#define RK8XX_ID_MSK 0xfff0398#define RK8XX_ID_MSK 0xfff0
399#define PWM_MODE_MSK BIT(7)
399#define FPWM_MODE BIT(7)400#define FPWM_MODE BIT(7)
401#define AUTO_PWM_MODE 0
402
400enum rk817_reg_id {403enum rk817_reg_id {
401 RK817_ID_DCDC1 = 0,404 RK817_ID_DCDC1 = 0,
402 RK817_ID_DCDC2,405 RK817_ID_DCDC2,

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