From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Date: Sat, 02 May 2015 14:55:03 +0100 Subject: [U-Boot] [PATCH v2 4/6] sunxi: axp: Move axp gpio code to a separate axpi-gpio driver In-Reply-To: <1430041887-20790-5-git-send-email-hdegoede@redhat.com> References: <1430041887-20790-1-git-send-email-hdegoede@redhat.com> <1430041887-20790-5-git-send-email-hdegoede@redhat.com> Message-ID: <1430574903.15640.119.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2015-04-26 at 11:51 +0200, Hans de Goede wrote: > Move the axp-gpio code out of the drivers/power/axp*.c code, and into > a new separate axpi-gpio driver. > > This change drops supports for the gpio3 pin on the axp209, as that requires > special handling, and no boards are using it. > > Besides cleaning things up by moving the code to a separate driver, as > a bonus this change also adds support for the (non vusb) gpio pins on the > axp221 and the gpio pins on the axp152. > > The new axp-gpio driver gets its own Kconfig option, and is only enabled > on boards which need it. Besides that it only gets enabled in the regular > u-boot build and not for the SPL as we never need it in the SPL. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell