Commit a561e41b authored by Andre Przywara's avatar Andre Przywara
Browse files

allwinner: power: add enable switches for DCDC1/5



The DCDC1 and DCDC5 power rails didn't specify the enable bits. This
isn't critical, since those rails are on by default (and are needed for
every board), but it is inconsistent.

Add the respective enable bits for those two rails.
Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
parent d93eb446
...@@ -181,8 +181,8 @@ struct axp_regulator { ...@@ -181,8 +181,8 @@ struct axp_regulator {
unsigned char switch_reg; unsigned char switch_reg;
unsigned char switch_bit; unsigned char switch_bit;
} regulators[] = { } regulators[] = {
{"dcdc1", 1600, 3400, 100, NO_SPLIT, 0x20, 0xff, 9}, {"dcdc1", 1600, 3400, 100, NO_SPLIT, 0x20, 0x10, 0},
{"dcdc5", 800, 1840, 10, 32, 0x24, 0xff, 9}, {"dcdc5", 800, 1840, 10, 32, 0x24, 0x10, 4},
{"dldo1", 700, 3300, 100, NO_SPLIT, 0x15, 0x12, 3}, {"dldo1", 700, 3300, 100, NO_SPLIT, 0x15, 0x12, 3},
{"dldo2", 700, 4200, 100, 27, 0x16, 0x12, 4}, {"dldo2", 700, 4200, 100, 27, 0x16, 0x12, 4},
{"dldo3", 700, 3300, 100, NO_SPLIT, 0x17, 0x12, 5}, {"dldo3", 700, 3300, 100, NO_SPLIT, 0x17, 0x12, 5},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment