Commit 5f08c606d2990bd6b45c5202e9ce6cf36143d84e

Authored by Eric Lee
1 parent 7986080064

Refine TPS65217 PMIC setting for SMARC-T335X.

Showing 1 changed file with 5 additions and 59 deletions Side-by-side Diff

arch/arm/mach-omap2/board-am335xevm.c
... ... @@ -1594,8 +1594,8 @@
1594 1594 /* dcdc2 */
1595 1595 {
1596 1596 .constraints = {
1597   - .min_uV = 900000,
1598   - .max_uV = 3300000,
  1597 + .min_uV = 925000,
  1598 + .max_uV = 1325000,
1599 1599 .valid_ops_mask = (REGULATOR_CHANGE_VOLTAGE |
1600 1600 REGULATOR_CHANGE_STATUS),
1601 1601 .boot_on = 1,
... ... @@ -1610,8 +1610,8 @@
1610 1610 /* dcdc3 */
1611 1611 {
1612 1612 .constraints = {
1613   - .min_uV = 900000,
1614   - .max_uV = 1500000,
  1613 + .min_uV = 925000,
  1614 + .max_uV = 1150000,
1615 1615 .valid_ops_mask = (REGULATOR_CHANGE_VOLTAGE |
1616 1616 REGULATOR_CHANGE_STATUS),
1617 1617 .boot_on = 1,
... ... @@ -1653,7 +1653,7 @@
1653 1653 {
1654 1654 .constraints = {
1655 1655 .min_uV = 1800000,
1656   - .max_uV = 3300000,
  1656 + .max_uV = 1800000,
1657 1657 .valid_ops_mask = (REGULATOR_CHANGE_VOLTAGE |
1658 1658 REGULATOR_CHANGE_STATUS),
1659 1659 .boot_on = 1,
... ... @@ -2828,60 +2828,6 @@
2828 2828 .flags = AT24_FLAG_ADDR16,
2829 2829 .setup = am335x_evm_setup,
2830 2830 .context = (void *)NULL,
2831   -};
2832   -
2833   -static struct regulator_init_data am335x_dummy = {
2834   - .constraints.always_on = true,
2835   -};
2836   -
2837   -static struct regulator_consumer_supply am335x_vdd1_supply[] = {
2838   - REGULATOR_SUPPLY("vdd_mpu", NULL),
2839   -};
2840   -
2841   -static struct regulator_init_data am335x_vdd1 = {
2842   - .constraints = {
2843   - .min_uV = 600000,
2844   - .max_uV = 1500000,
2845   - .valid_modes_mask = REGULATOR_MODE_NORMAL,
2846   - .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
2847   - .always_on = 1,
2848   - },
2849   - .num_consumer_supplies = ARRAY_SIZE(am335x_vdd1_supply),
2850   - .consumer_supplies = am335x_vdd1_supply,
2851   - .ignore_check_consumers = 1,
2852   -};
2853   -
2854   -static struct regulator_consumer_supply am335x_vdd2_supply[] = {
2855   - REGULATOR_SUPPLY("vdd_core", NULL),
2856   -};
2857   -
2858   -static struct regulator_init_data am335x_vdd2 = {
2859   - .constraints = {
2860   - .min_uV = 600000,
2861   - .max_uV = 1500000,
2862   - .valid_modes_mask = REGULATOR_MODE_NORMAL,
2863   - .valid_ops_mask = REGULATOR_CHANGE_VOLTAGE,
2864   - .always_on = 1,
2865   - },
2866   - .num_consumer_supplies = ARRAY_SIZE(am335x_vdd2_supply),
2867   - .consumer_supplies = am335x_vdd2_supply,
2868   - .ignore_check_consumers = 1,
2869   -};
2870   -
2871   -static struct tps65910_board am335x_tps65910_info = {
2872   - .tps65910_pmic_init_data[TPS65910_REG_VRTC] = &am335x_dummy,
2873   - .tps65910_pmic_init_data[TPS65910_REG_VIO] = &am335x_dummy,
2874   - .tps65910_pmic_init_data[TPS65910_REG_VDD1] = &am335x_vdd1,
2875   - .tps65910_pmic_init_data[TPS65910_REG_VDD2] = &am335x_vdd2,
2876   - .tps65910_pmic_init_data[TPS65910_REG_VDD3] = &am335x_dummy,
2877   - .tps65910_pmic_init_data[TPS65910_REG_VDIG1] = &am335x_dummy,
2878   - .tps65910_pmic_init_data[TPS65910_REG_VDIG2] = &am335x_dummy,
2879   - .tps65910_pmic_init_data[TPS65910_REG_VPLL] = &am335x_dummy,
2880   - .tps65910_pmic_init_data[TPS65910_REG_VDAC] = &am335x_dummy,
2881   - .tps65910_pmic_init_data[TPS65910_REG_VAUX1] = &am335x_dummy,
2882   - .tps65910_pmic_init_data[TPS65910_REG_VAUX2] = &am335x_dummy,
2883   - .tps65910_pmic_init_data[TPS65910_REG_VAUX33] = &am335x_dummy,
2884   - .tps65910_pmic_init_data[TPS65910_REG_VMMC] = &am335x_dummy,
2885 2831 };
2886 2832  
2887 2833 /*