mips: mscc: Add generic GPIO control utility function
authorLars Povlsen <lars.povlsen@microchip.com>
Thu, 20 Dec 2018 08:56:03 +0000 (09:56 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 16 Jan 2019 12:56:43 +0000 (13:56 +0100)
commite58031acdc84bbd3c2d22fab4455a0f079f936a0
tree0c0ac2192a58e8110e6e8a891edaf4cf03196d37
parent3098ade229af721c8b64b423e2e11f5896b45710
mips: mscc: Add generic GPIO control utility function

The GPIO control function can be used for controlling alternate
functions associated with a GPIO.

Signed-off-by: Lars Povlsen <lars.povlsen@microchip.com>
arch/mips/mach-mscc/Makefile
arch/mips/mach-mscc/gpio.c [new file with mode: 0644]
arch/mips/mach-mscc/include/mach/common.h
arch/mips/mach-mscc/include/mach/luton/luton_devcpu_gcb.h
arch/mips/mach-mscc/include/mach/ocelot/ocelot_devcpu_gcb.h