commit | 230fed48707f16bdfdd00b40acc18c88969622c6 | [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 | 4e2d76e9c348c1c4debedc7e714505b5f4324d0b [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>