aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pdata-quirks.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-10-10 18:45:13 -0400
committerTony Lindgren <tony@atomide.com>2013-10-10 18:46:30 -0400
commit30a69ef785e87c791aab0b4dae76709a7baa3e85 (patch)
treed6c186411c9f61bf50d304a73a6a2d780f665cd1 /arch/arm/mach-omap2/pdata-quirks.c
parent8651bd8ce36fb324c218167c970d6734dc825f2c (diff)
ARM: OMAP: Move DT wake-up event handling over to use pinctrl-single-omap
Now pinctrl-single-omap can handle the wake-up events for us now as long as the events are configured in the .dts files. Done in collaboration with Roger Quadros <rogerq@ti.com>. Cc: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Grygorii Strashko <grygorii.strashko@ti.com> Cc: Prakash Manjunathappa <prakash.pm@ti.com> Cc: Roger Quadros <rogerq@ti.com> Cc: Haojian Zhuang <haojian.zhuang@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Kevin Hilman <khilman@linaro.org> Tested-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/pdata-quirks.c')
-rw-r--r--arch/arm/mach-omap2/pdata-quirks.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pdata-quirks.c b/arch/arm/mach-omap2/pdata-quirks.c
index 76abc5b63d6d..18afbde020f7 100644
--- a/arch/arm/mach-omap2/pdata-quirks.c
+++ b/arch/arm/mach-omap2/pdata-quirks.c
@@ -14,6 +14,8 @@
14#include <linux/of_platform.h> 14#include <linux/of_platform.h>
15#include <linux/wl12xx.h> 15#include <linux/wl12xx.h>
16 16
17#include <linux/platform_data/pinctrl-single.h>
18
17#include "common.h" 19#include "common.h"
18#include "common-board-devices.h" 20#include "common-board-devices.h"
19#include "dss-common.h" 21#include "dss-common.h"
@@ -105,7 +107,23 @@ static void __init omap5_uevm_legacy_init(void)
105} 107}
106#endif 108#endif
107 109
110static struct pcs_pdata pcs_pdata;
111
112void omap_pcs_legacy_init(int irq, void (*rearm)(void))
113{
114 pcs_pdata.irq = irq;
115 pcs_pdata.rearm = rearm;
116}
117
108struct of_dev_auxdata omap_auxdata_lookup[] __initdata = { 118struct of_dev_auxdata omap_auxdata_lookup[] __initdata = {
119#ifdef CONFIG_ARCH_OMAP3
120 OF_DEV_AUXDATA("ti,omap3-padconf", 0x48002030, "48002030.pinmux", &pcs_pdata),
121 OF_DEV_AUXDATA("ti,omap3-padconf", 0x48002a00, "48002a00.pinmux", &pcs_pdata),
122#endif
123#ifdef CONFIG_ARCH_OMAP4
124 OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a100040, "4a100040.pinmux", &pcs_pdata),
125 OF_DEV_AUXDATA("ti,omap4-padconf", 0x4a31e040, "4a31e040.pinmux", &pcs_pdata),
126#endif
109 { /* sentinel */ }, 127 { /* sentinel */ },
110}; 128};
111 129