summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-13 22:55:51 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-18 19:42:16 +0100
commit24289208354c143967968755cff5c825a12e3f90 (patch)
tree3a2fecd8b1e62d47e107cf507912ce3a00f64002 /include
parent14bc66bd9a1d8073a12c6e785ab379909f620356 (diff)
downloadu-boot-imx-24289208354c143967968755cff5c825a12e3f90.zip
u-boot-imx-24289208354c143967968755cff5c825a12e3f90.tar.gz
u-boot-imx-24289208354c143967968755cff5c825a12e3f90.tar.bz2
sunxi: Add axp152 pmic support
Add support for the x-powers axp152 pmic which is found on most A10s boards and enable it for the r7-tv-dongle board. Signed-off-by: Henrik Nordstrom <henrik@henriknordstrom.net> Signed-off-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/axp152.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/axp152.h b/include/axp152.h
new file mode 100644
index 0000000..3e5ccbd
--- /dev/null
+++ b/include/axp152.h
@@ -0,0 +1,10 @@
+/*
+ * (C) Copyright 2012 Henrik Nordstrom <henrik@henriknordstrom.net>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+int axp152_set_dcdc2(int mvolt);
+int axp152_set_dcdc3(int mvolt);
+int axp152_set_dcdc4(int mvolt);
+int axp152_set_ldo2(int mvolt);
+int axp152_init(void);