sunxi: add support for 4.1
[openwrt/openwrt.git] / target / linux / sunxi / patches-4.1 / 104-mfd-axp20x-enable-axp22x.patch
1 From 6d4fa89dcd85e2427da83319ce75e5df5febcc96 Mon Sep 17 00:00:00 2001
2 From: Chen-Yu Tsai <wens@csie.org>
3 Date: Fri, 10 Apr 2015 12:09:06 +0800
4 Subject: [PATCH] mfd: axp20x: Enable AXP22X regulators
5
6 Now that the axp20x-regulators driver supports different variants of the
7 AXP family, we can enable regulator support for AXP22X without the risk
8 of incorrectly configuring regulators.
9
10 Signed-off-by: Chen-Yu Tsai <wens@csie.org>
11 Signed-off-by: Lee Jones <lee.jones@linaro.org>
12 ---
13 drivers/mfd/axp20x.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16 diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
17 index cfbb7d7..6df9155 100644
18 --- a/drivers/mfd/axp20x.c
19 +++ b/drivers/mfd/axp20x.c
20 @@ -370,6 +370,8 @@ static struct mfd_cell axp22x_cells[] = {
21 .name = "axp20x-pek",
22 .num_resources = ARRAY_SIZE(axp22x_pek_resources),
23 .resources = axp22x_pek_resources,
24 + }, {
25 + .name = "axp20x-regulator",
26 },
27 };
28