sunxi: add sun7i pinmux and gpio support
authorIan Campbell <ijc@hellion.org.uk>
Mon, 5 May 2014 10:52:24 +0000 (11:52 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 25 May 2014 14:12:21 +0000 (16:12 +0200)
commitfe1b4db05e862dec3a5668d8dc59a7505d107d8b
tree124a15ab3d4225fa973e2de47c537018ed1689ad
parent643cf0ea027744edec9619d31cb001f3b2444099
sunxi: add sun7i pinmux and gpio support

This patch adds the basic pinmux and gpio support for the Allwinner A20 (sun7i)
processor. This code will not been compiled until the build is hooked up in a
later patch. It has been split out to keep the patches manageable.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ma Haijun <mahaijuns@gmail.com>
Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Henrik Nordström <henrik@henriknordstrom.net>
Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Tom Rini <trini@ti.com>
Acked-by: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Tom Cubie <Mr.hipboi@gmail.com>
Reviewed-by: Tom Rini <trini@ti.com>
arch/arm/cpu/armv7/sunxi/Makefile
arch/arm/cpu/armv7/sunxi/pinmux.c [new file with mode: 0644]
arch/arm/include/asm/arch-sunxi/gpio.h [new file with mode: 0644]