mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ar71xx: add GPIO driver for the NXP 74HC153 chip
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19149 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
24
target/linux/ar71xx/files/include/linux/nxp_74hc153.h
Normal file
24
target/linux/ar71xx/files/include/linux/nxp_74hc153.h
Normal file
@@ -0,0 +1,24 @@
|
||||
/*
|
||||
* NXP 74HC153 - Dual 4-input multiplexer defines
|
||||
*
|
||||
* Copyright (C) 2010 Gabor Juhos <juhosg@openwrt.org>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation.
|
||||
*/
|
||||
|
||||
#ifndef _NXP_74HC153_H
|
||||
#define _NXP_74HC153_H
|
||||
|
||||
#define NXP_74HC153_DRIVER_NAME "nxp-74hc153"
|
||||
|
||||
struct nxp_74hc153_platform_data {
|
||||
unsigned gpio_base;
|
||||
unsigned gpio_pin_s0;
|
||||
unsigned gpio_pin_s1;
|
||||
unsigned gpio_pin_1y;
|
||||
unsigned gpio_pin_2y;
|
||||
};
|
||||
|
||||
#endif /* _NXP_74HC153_H */
|
||||
Reference in New Issue
Block a user