Skip to contentSkip to conversation

bcmring: add gpio support

PATCH New Leo Chen 1 participant 1 message Oct 9, 2009

Subsystems (2)
lore
Share & tools
lore

Leo Chen

author
#0 lore raw

PATCH 1/1 bcmring: add gpio support

add gpio headers in include/mach

---
 arch/arm/mach-bcmring/include/mach/gpio.h       |   22 ++++
 arch/arm/mach-bcmring/include/mach/gpio_defs.h  |  102 ++++++++++++++++++
 arch/arm/mach-bcmring/include/mach/gpio_irq.h   |   61 +++++++++++
 arch/arm/mach-bcmring/include/mach/gpio_types.h |   52 +++++++++
 arch/arm/mach-bcmring/include/mach/reg_gpio.h   |  131 +++++++++++++++++++++++
 5 files changed, 368 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/mach-bcmring/include/mach/gpio.h
 create mode 100644 arch/arm/mach-bcmring/include/mach/gpio_defs.h
 create mode 100644 arch/arm/mach-bcmring/include/mach/gpio_irq.h
 create mode 100644 arch/arm/mach-bcmring/include/mach/gpio_types.h
 create mode 100644 arch/arm/mach-bcmring/include/mach/reg_gpio.h
arch/arm/mach-bcmring/include/mach/gpio.h new file +22 -0
new file mode 100644
index 0000000..e557b08
@@ -0,0 +1,22 @@
+/*****************************************************************************
+* Copyright 2003 - 2008 Broadcom Corporation.  All rights reserved.
+*
+* Unless you and Broadcom execute a separate written software license
+* agreement governing use of this software, this software is licensed to you
+* under the terms of the GNU General Public License version 2, available at
+* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
+*
+* Notwithstanding the above, under no circumstances may you combine this
+* software in any way with any other Broadcom software provided under a
+* license other than the GPL, without Broadcom's express prior written
+* consent.
+*****************************************************************************/
+
+#if !defined(ASM_ARCH_GPIO_H)
+#define ASM_ARCH_GPIO_H
+
+/* We put thre real stuff in reg_gpio.h for backwards compatability */
+
+#include <mach/reg_gpio.h>
+
+#endif /* ASM_ARCH_GPIO_H */
arch/arm/mach-bcmring/include/mach/gpio_defs.h new file +102 -0

102 lines not on this page · raw message

arch/arm/mach-bcmring/include/mach/gpio_irq.h new file +61 -0

61 lines not on this page · raw message

arch/arm/mach-bcmring/include/mach/gpio_types.h new file +52 -0

52 lines not on this page · raw message

arch/arm/mach-bcmring/include/mach/reg_gpio.h new file +131 -0

131 lines not on this page · raw message

Signature · 4 lines
1.6.0.6


Leo Chen