diff options
Diffstat (limited to 'drivers/regulator/omap-pmic-regulator.c')
| -rw-r--r-- | drivers/regulator/omap-pmic-regulator.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/drivers/regulator/omap-pmic-regulator.c b/drivers/regulator/omap-pmic-regulator.c index 2eab7c158e2..ca71c9fd85b 100644 --- a/drivers/regulator/omap-pmic-regulator.c +++ b/drivers/regulator/omap-pmic-regulator.c @@ -518,6 +518,36 @@ static const struct omap_pmic_info omap_tps65912_dcdc4 = { .voltage_selector_zero = true, }; +static const struct omap_pmic_info omap_tps65910_vdd1 = { + .slave_addr = 0x12, + .voltage_reg_addr = 0x22, + .cmd_reg_addr = 0x23, + .i2c_timeout_us = 200, + .slew_rate_uV = 7500, + .step_size_uV = 12500, + .min_uV = 562500, + .max_uV = 1350000, + .voltage_selector_offset = 0, + .voltage_selector_mask = 0x7F, + .voltage_selector_setbits = 0x0, + .voltage_selector_zero = true, +}; + +static const struct omap_pmic_info omap_tps65910_vdd2 = { + .slave_addr = 0x12, + .voltage_reg_addr = 0x24, + .cmd_reg_addr = 0x25, + .i2c_timeout_us = 200, + .slew_rate_uV = 7500, + .step_size_uV = 12500, + .min_uV = 562500, + .max_uV = 1200000, + .voltage_selector_offset = 0, + .voltage_selector_mask = 0x7F, + .voltage_selector_setbits = 0x0, + .voltage_selector_zero = true, +}; + static const struct of_device_id omap_pmic_of_match_tbl[] = { {.compatible = "ti,omap-twl4030-vdd1", .data = &omap_twl4030_vdd1,}, {.compatible = "ti,omap-twl4030-vdd2", .data = &omap_twl4030_vdd2,}, @@ -533,6 +563,8 @@ static const struct of_device_id omap_pmic_of_match_tbl[] = { {.compatible = "ti,omap-twl6035-smps8", .data = &omap_twl6035_smps8,}, {.compatible = "ti,omap-tps65912-dcdc1", .data = &omap_tps65912_dcdc1,}, {.compatible = "ti,omap-tps65912-dcdc4", .data = &omap_tps65912_dcdc4,}, + {.compatible = "ti,omap-tps65910-vdd1", .data = &omap_tps65910_vdd1,}, + {.compatible = "ti,omap-tps65910-vdd2", .data = &omap_tps65910_vdd2,}, {}, }; MODULE_DEVICE_TABLE(of, omap_pmic_of_match_tbl); |