diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-10-03 19:59:29 +0200 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-03 19:59:29 +0200 |
commit | 550591143eead286f2cd9d124a55d4a99ed024de (patch) | |
tree | 5f1edc1b8c8e0829f04a5d24b9083bd5a054c1fb /arch/sh/include | |
parent | sh: mach-x3proto: Move the ilsel header to a better place. (diff) | |
download | linux-550591143eead286f2cd9d124a55d4a99ed024de.tar.xz linux-550591143eead286f2cd9d124a55d4a99ed024de.zip |
sh: mach-x3proto: Support for baseboard GPIOs.
This adds trivial support for the GPIOs implemented through the baseboard
CPLD, used for driving the button matrix.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/mach-x3proto/mach/hardware.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/sh/include/mach-x3proto/mach/hardware.h b/arch/sh/include/mach-x3proto/mach/hardware.h new file mode 100644 index 000000000000..52bca57bfeb6 --- /dev/null +++ b/arch/sh/include/mach-x3proto/mach/hardware.h @@ -0,0 +1,12 @@ +#ifndef __MACH_X3PROTO_HARDWARE_H +#define __MACH_X3PROTO_HARDWARE_H + +struct gpio_chip; + +/* arch/sh/boards/mach-x3proto/gpio.c */ +int x3proto_gpio_setup(void); +extern struct gpio_chip x3proto_gpio_chip; + +#define NR_BASEBOARD_GPIOS 16 + +#endif /* __MACH_X3PROTO_HARDWARE_H */ |