ar71xx: add a generic GPIO latch driver
It will be used for the Mikrotik boards. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39697
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#ifndef _GPIO_LATCH_H_
|
||||
#define _GPIO_LATCH_H_
|
||||
|
||||
#define GPIO_LATCH_DRIVER_NAME "gpio-latch"
|
||||
|
||||
struct gpio_latch_platform_data {
|
||||
int base;
|
||||
int num_gpios;
|
||||
int *gpios;
|
||||
int le_gpio_index;
|
||||
bool le_active_low;
|
||||
};
|
||||
|
||||
#endif /* _GPIO_LATCH_H_ */
|
||||
Reference in New Issue
Block a user