commit | 2abac6213d9d05c34fba7dcaa2934668774008a7 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jan 11 19:58:03 2015 +0100 |
committer | Hans de Goede <hdegoede@redhat.com> | Wed Jan 14 14:56:40 2015 +0100 |
tree | 4232558f135a6f0fd620c11f6d4650de087ceb09 | |
parent | 3c781190d11ca44752562867d76ccfb8d0a45ac3 [diff] |
sunxi: axp221: Add support for controlling the drivebus pin The axp221 / axp223's N_VBUSEN pin can be configured as an output rather then an input, add axp_drivebus_enable() and _disable() functions to set the pin in output mode and control it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>