ar71xx: add GPIO driver for the NXP 74HC153 chip
[openwrt-10.03/.git] / target / linux / ar71xx / files / include / linux / nxp_74hc153.h
1 /*
2  *  NXP 74HC153 - Dual 4-input multiplexer defines
3  *
4  *  Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License version 2 as
8  *  published by the Free Software Foundation.
9  */
10
11 #ifndef _NXP_74HC153_H
12 #define _NXP_74HC153_H
13
14 #define NXP_74HC153_DRIVER_NAME "nxp-74hc153"
15
16 struct nxp_74hc153_platform_data {
17         unsigned        gpio_base;
18         unsigned        gpio_pin_s0;
19         unsigned        gpio_pin_s1;
20         unsigned        gpio_pin_1y;
21         unsigned        gpio_pin_2y;
22 };
23
24 #endif /* _NXP_74HC153_H */