aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2015-08-09 12:25:18 +0000
committerZoltan Herpai <wigyori@uid0.hu>2015-08-09 12:25:18 +0000
commit50018a752771efce3ae222457d4d231d1f80a1a5 (patch)
treeced2b9c1e216ce0e3d0bb204e359a7a9d6d2a3ef /target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch
parent0b8643af4fa7eebd55b63d6d547f85da1409f83d (diff)
downloadupstream-50018a752771efce3ae222457d4d231d1f80a1a5.tar.gz
upstream-50018a752771efce3ae222457d4d231d1f80a1a5.tar.bz2
upstream-50018a752771efce3ae222457d4d231d1f80a1a5.zip
sunxi: add support for 4.1
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 46571
Diffstat (limited to 'target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch')
-rw-r--r--target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch b/target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch
new file mode 100644
index 0000000000..0aa420c958
--- /dev/null
+++ b/target/linux/sunxi/patches-4.1/104-mfd-axp20x-enable-axp22x.patch
@@ -0,0 +1,28 @@
+From 6d4fa89dcd85e2427da83319ce75e5df5febcc96 Mon Sep 17 00:00:00 2001
+From: Chen-Yu Tsai <wens@csie.org>
+Date: Fri, 10 Apr 2015 12:09:06 +0800
+Subject: [PATCH] mfd: axp20x: Enable AXP22X regulators
+
+Now that the axp20x-regulators driver supports different variants of the
+AXP family, we can enable regulator support for AXP22X without the risk
+of incorrectly configuring regulators.
+
+Signed-off-by: Chen-Yu Tsai <wens@csie.org>
+Signed-off-by: Lee Jones <lee.jones@linaro.org>
+---
+ drivers/mfd/axp20x.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
+index cfbb7d7..6df9155 100644
+--- a/drivers/mfd/axp20x.c
++++ b/drivers/mfd/axp20x.c
+@@ -370,6 +370,8 @@ static struct mfd_cell axp22x_cells[] = {
+ .name = "axp20x-pek",
+ .num_resources = ARRAY_SIZE(axp22x_pek_resources),
+ .resources = axp22x_pek_resources,
++ }, {
++ .name = "axp20x-regulator",
+ },
+ };
+