OpenCloudOS-Kernel/arch/mips/jz4740
Alban Bedel 832f5dacfa MIPS: Remove all the uses of custom gpio.h
Currently CONFIG_ARCH_HAVE_CUSTOM_GPIO_H is defined for all MIPS
machines, and each machine type provides its own gpio.h. However
only a handful really implement the GPIO API, most just forward
everythings to gpiolib.

The Alchemy machine is notable as it provides a system to allow
implementing the GPIO API at the board level. But it is not used by
any board currently supported, so it can also be removed.

For most machine types we can just remove the custom gpio.h, as well
as the custom wrappers if some exists. Some of the code found in
the wrappers must be moved to the respective GPIO driver.

A few more fixes are need in some drivers as they rely on linux/gpio.h
to provides some machine specific definitions, or used asm/gpio.h
instead of linux/gpio.h for the gpio API.

Signed-off-by: Alban Bedel <albeu@free.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Joe Perches <joe@perches.com>
Cc: Daniel Walter <dwalter@google.com>
Cc: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Huacai Chen <chenhc@lemote.com>
Cc: James Hartley <james.hartley@imgtec.com>
Cc: Andrew Bresticker <abrestic@chromium.org>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Wolfram Sang <wsa@the-dreams.de>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Varka Bhadram <varkabhadram@gmail.com>
Cc: Masanari Iida <standby24x7@gmail.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Michael Buesch <m@bues.ch>
Cc: abdoulaye berthe <berthe.ab@gmail.com>
Cc: linux-kernel@vger.kernel.org
Cc: linux-ide@vger.kernel.org
Cc: linux-gpio@vger.kernel.org
Cc: linux-input@vger.kernel.org
Cc: netdev@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/10828/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2015-09-03 12:08:02 +02:00
..
Kconfig MIPS: ingenic: Initial MIPS Creator CI20 support 2015-06-21 21:53:28 +02:00
Makefile MIPS: ingenic: Initial JZ4780 support 2015-06-21 21:53:26 +02:00
Platform MIPS: JZ4740: introduce CONFIG_MACH_INGENIC 2015-06-21 21:52:47 +02:00
board-qi_lb60.c MIPS: JZ4740: use Ingenic SoC UART driver 2015-06-21 21:53:26 +02:00
gpio.c MIPS: Remove all the uses of custom gpio.h 2015-09-03 12:08:02 +02:00
platform.c MIPS: JZ4740: use Ingenic SoC UART driver 2015-06-21 21:53:26 +02:00
pm.c MIPS: JZ4740: remove clock.h 2015-06-21 21:53:21 +02:00
prom.c MIPS: JZ4740: use Ingenic SoC UART driver 2015-06-21 21:53:26 +02:00
reset.c MIPS: JZ4740: replace use of jz4740_clock_bdata 2015-06-21 21:53:12 +02:00
reset.h MIPS: JZ4740: Add power-management and system reset support 2010-08-05 13:26:14 +01:00
setup.c MIPS: ingenic: Initial JZ4780 support 2015-06-21 21:53:26 +02:00
time.c MIPS: jz4740: Migrate to new 'set-state' interface 2015-09-03 12:07:51 +02:00
timer.c MIPS: Whitespace cleanup. 2013-02-01 10:00:22 +01:00