projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e956a2a
)
mfd: add ASIC3 IRQ numbers
author
Philipp Zabel
<philipp.zabel@gmail.com>
Fri, 5 Jun 2009 16:31:03 +0000
(18:31 +0200)
committer
Samuel Ortiz
<sameol@linux.intel.com>
Wed, 17 Jun 2009 17:41:43 +0000
(19:41 +0200)
IRQ number definitions for PWM, LED, SPI and OWM (ds1wm).
Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
include/linux/mfd/asic3.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/mfd/asic3.h
b/include/linux/mfd/asic3.h
index 6b427ec4b245028f8206a32f315f57de6eda1de5..d2ecaafaefe17434c3655de46e24cd207fcefdca 100644
(file)
--- a/
include/linux/mfd/asic3.h
+++ b/
include/linux/mfd/asic3.h
@@
-30,6
+30,13
@@
struct asic3_platform_data {
#define ASIC3_NUM_GPIOS 64
#define ASIC3_NR_IRQS ASIC3_NUM_GPIOS + 6
+#define ASIC3_IRQ_LED0 64
+#define ASIC3_IRQ_LED1 65
+#define ASIC3_IRQ_LED2 66
+#define ASIC3_IRQ_SPI 67
+#define ASIC3_IRQ_SMBUS 68
+#define ASIC3_IRQ_OWM 69
+
#define ASIC3_TO_GPIO(gpio) (NR_BUILTIN_GPIO + (gpio))
#define ASIC3_GPIO_BANK_A 0