projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86c79bf
)
omap2+: mux: Add macro for configuring static with omap_hwmod_mux_init
author
Tony Lindgren
<tony@atomide.com>
Fri, 11 Mar 2011 19:32:26 +0000
(11:32 -0800)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 11 Mar 2011 19:32:26 +0000
(11:32 -0800)
Add macro for defining static pins in the board file.
We can now start implementing pin multiplexing in the platform init
code for devices that call omap_hwmod_mux_init. Currently that is
only implemented for serial.c.
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/mux.h
b/arch/arm/mach-omap2/mux.h
index 8920fa4775ac2adcd354e36d17d7911f2d21b271..137f321c029f59a240fd885cfd7c8538c59bf9d8 100644
(file)
--- a/
arch/arm/mach-omap2/mux.h
+++ b/
arch/arm/mach-omap2/mux.h
@@
-186,6
+186,12
@@
struct omap_device_pad {
struct omap_hwmod_mux_info;
+#define OMAP_MUX_STATIC(signal, mode) \
+{ \
+ .name = (signal), \
+ .enable = (mode), \
+}
+
#if defined(CONFIG_OMAP_MUX)
/**