summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@free-electrons.com>2017-07-26 04:28:27 -0400
committerLee Jones <lee.jones@linaro.org>2017-09-05 03:46:01 -0400
commitf446363374e4c31fecad2cf95d877b4631de9890 (patch)
treeedc0cf3d0e22dea2a41922a6a1fadbc1fd25410d /drivers/mfd
parent462ae14190b42febd47699d2235fa0abae67afbf (diff)
mfd: axp20x: Use correct platform device ID for many PEK
According to their datasheets, the AXP221, AXP223, AXP288, AXP803, AXP809 and AXP813 PEK have different values for startup time bits from the AXP20X, let's use the platform device id with the correct values. Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/axp20x.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index ec4271ca065c..336de66ca408 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -677,7 +677,7 @@ static struct mfd_cell axp20x_cells[] = {
677 677
678static struct mfd_cell axp221_cells[] = { 678static struct mfd_cell axp221_cells[] = {
679 { 679 {
680 .name = "axp20x-pek", 680 .name = "axp221-pek",
681 .num_resources = ARRAY_SIZE(axp22x_pek_resources), 681 .num_resources = ARRAY_SIZE(axp22x_pek_resources),
682 .resources = axp22x_pek_resources, 682 .resources = axp22x_pek_resources,
683 }, { 683 }, {
@@ -702,7 +702,7 @@ static struct mfd_cell axp221_cells[] = {
702 702
703static struct mfd_cell axp223_cells[] = { 703static struct mfd_cell axp223_cells[] = {
704 { 704 {
705 .name = "axp20x-pek", 705 .name = "axp221-pek",
706 .num_resources = ARRAY_SIZE(axp22x_pek_resources), 706 .num_resources = ARRAY_SIZE(axp22x_pek_resources),
707 .resources = axp22x_pek_resources, 707 .resources = axp22x_pek_resources,
708 }, { 708 }, {
@@ -835,7 +835,7 @@ static struct mfd_cell axp288_cells[] = {
835 .resources = axp288_fuel_gauge_resources, 835 .resources = axp288_fuel_gauge_resources,
836 }, 836 },
837 { 837 {
838 .name = "axp20x-pek", 838 .name = "axp221-pek",
839 .num_resources = ARRAY_SIZE(axp288_power_button_resources), 839 .num_resources = ARRAY_SIZE(axp288_power_button_resources),
840 .resources = axp288_power_button_resources, 840 .resources = axp288_power_button_resources,
841 }, 841 },
@@ -846,7 +846,7 @@ static struct mfd_cell axp288_cells[] = {
846 846
847static struct mfd_cell axp803_cells[] = { 847static struct mfd_cell axp803_cells[] = {
848 { 848 {
849 .name = "axp20x-pek", 849 .name = "axp221-pek",
850 .num_resources = ARRAY_SIZE(axp803_pek_resources), 850 .num_resources = ARRAY_SIZE(axp803_pek_resources),
851 .resources = axp803_pek_resources, 851 .resources = axp803_pek_resources,
852 }, 852 },
@@ -862,7 +862,7 @@ static struct mfd_cell axp806_cells[] = {
862 862
863static struct mfd_cell axp809_cells[] = { 863static struct mfd_cell axp809_cells[] = {
864 { 864 {
865 .name = "axp20x-pek", 865 .name = "axp221-pek",
866 .num_resources = ARRAY_SIZE(axp809_pek_resources), 866 .num_resources = ARRAY_SIZE(axp809_pek_resources),
867 .resources = axp809_pek_resources, 867 .resources = axp809_pek_resources,
868 }, { 868 }, {
@@ -873,7 +873,7 @@ static struct mfd_cell axp809_cells[] = {
873 873
874static struct mfd_cell axp813_cells[] = { 874static struct mfd_cell axp813_cells[] = {
875 { 875 {
876 .name = "axp20x-pek", 876 .name = "axp221-pek",
877 .num_resources = ARRAY_SIZE(axp803_pek_resources), 877 .num_resources = ARRAY_SIZE(axp803_pek_resources),
878 .resources = axp803_pek_resources, 878 .resources = axp803_pek_resources,
879 } 879 }