diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-06-13 22:55:51 +0200 |
---|---|---|
committer | Ian Campbell <ijc@hellion.org.uk> | 2014-07-18 19:42:16 +0100 |
commit | 24289208354c143967968755cff5c825a12e3f90 (patch) | |
tree | 3a2fecd8b1e62d47e107cf507912ce3a00f64002 /include/axp152.h | |
parent | 14bc66bd9a1d8073a12c6e785ab379909f620356 (diff) |
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/axp152.h')
-rw-r--r-- | include/axp152.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/axp152.h b/include/axp152.h new file mode 100644 index 0000000000..3e5ccbd0d8 --- /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); |