rk3026: rk3028a_tb: pwm regulator support

This commit is contained in:
kfx
2013-08-02 14:41:47 +08:00
parent b1c92931e1
commit bb2b61e6a5
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@
#define PLAY_ON_PIN RK30_PIN0_PD1 //wakeup key
//pwm regulator
#define REG_PWM 1 // (0 ~ 2)
#define REG_PWM 2 // (0 ~ 2)
//pmic
#define PMU_INT_PIN RK30_PIN3_PC6

View File

@@ -47,7 +47,7 @@ struct rk_pwm_dcdc {
struct pwm_platform_data *pdata;
};
#if defined(CONFIG_SOC_RK3168) || defined(CONFIG_SOC_RK3168M) || defined(CONFIG_ARCH_RK3188)
#if defined(CONFIG_SOC_RK3168) || defined(CONFIG_SOC_RK3168M) || defined(CONFIG_ARCH_RK3188) || defined(CONFIG_ARCH_RK3026)
const static int pwm_voltage_map[] = {
800000,825000,850000, 875000,900000, 925000 ,950000, 975000,1000000, 1025000, 1050000, 1075000, 1100000, 1125000, 1150000, 1175000, 1200000, 1225000, 1250000, 1275000, 1300000, 1325000, 1350000,1375000
};