|
@@ -875,3 +875,76 @@ static struct regulator_consumer_supply tps65070_dcdc2_consumers[] = {
|
|
/* 1.2V */
|
|
/* 1.2V */
|
|
static struct regulator_consumer_supply tps65070_dcdc3_consumers[] = {
|
|
static struct regulator_consumer_supply tps65070_dcdc3_consumers[] = {
|
|
{
|
|
{
|
|
|
|
+ .supply = "cvdd",
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* 1.8V LDO */
|
|
|
|
+static struct regulator_consumer_supply tps65070_ldo1_consumers[] = {
|
|
|
|
+ {
|
|
|
|
+ .supply = "sata_vddr",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "usb0_vdda18",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "usb1_vdda18",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "ddr_dvdd18",
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* 1.2V LDO */
|
|
|
|
+static struct regulator_consumer_supply tps65070_ldo2_consumers[] = {
|
|
|
|
+ {
|
|
|
|
+ .supply = "sata_vdd",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "pll0_vdda",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "pll1_vdda",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "usbs_cvdd",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ .supply = "vddarnwa1",
|
|
|
|
+ },
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+/* We take advantage of the fact that both defdcdc{2,3} are tied high */
|
|
|
|
+static struct tps6507x_reg_platform_data tps6507x_platform_data = {
|
|
|
|
+ .defdcdc_default = true,
|
|
|
|
+};
|
|
|
|
+
|
|
|
|
+static struct regulator_init_data tps65070_regulator_data[] = {
|
|
|
|
+ /* dcdc1 */
|
|
|
|
+ {
|
|
|
|
+ .constraints = {
|
|
|
|
+ .min_uV = 3150000,
|
|
|
|
+ .max_uV = 3450000,
|
|
|
|
+ .valid_ops_mask = (REGULATOR_CHANGE_VOLTAGE |
|
|
|
|
+ REGULATOR_CHANGE_STATUS),
|
|
|
|
+ .boot_on = 1,
|
|
|
|
+ },
|
|
|
|
+ .num_consumer_supplies = ARRAY_SIZE(tps65070_dcdc1_consumers),
|
|
|
|
+ .consumer_supplies = tps65070_dcdc1_consumers,
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ /* dcdc2 */
|
|
|
|
+ {
|
|
|
|
+ .constraints = {
|
|
|
|
+ .min_uV = 1710000,
|
|
|
|
+ .max_uV = 3450000,
|
|
|
|
+ .valid_ops_mask = (REGULATOR_CHANGE_VOLTAGE |
|
|
|
|
+ REGULATOR_CHANGE_STATUS),
|
|
|
|
+ .boot_on = 1,
|
|
|
|
+ },
|
|
|
|
+ .num_consumer_supplies = ARRAY_SIZE(tps65070_dcdc2_consumers),
|
|
|
|
+ .consumer_supplies = tps65070_dcdc2_consumers,
|
|
|
|
+ .driver_data = &tps6507x_platform_data,
|
|
|
|
+ },
|
|
|
|
+
|
|
|
|
+ /* dcdc3 */
|