public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP: OMAP_GPIO_SWITCH doesn't need OMAP_BOOT_TAG
@ 2006-05-17 17:25 Jonathan McDowell
  2006-05-17 17:35 ` Paul Mundt
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jonathan McDowell @ 2006-05-17 17:25 UTC (permalink / raw)
  To: linux-omap-open-source

I can't see any reason why OMAP_GPIO_SWITCH depends on OMAP_BOOT_TAG;
it compiles fine without it. This patch removes the Kconfig dependency.

Also the description is wrong; it doesn't hook into the input layer at
all from what I can tell. Are there patches around that add this? The
Amstrad Delta has a phone hook on a GPIO that I plan to support with
this driver and being able to produce a keypress would be nice.

Signed-off-by: Jonathan McDowell <noodles@earth.li>

-----
diff --git a/arch/arm/plat-omap/Kconfig b/arch/arm/plat-omap/Kconfig
index 28ca5ad..762d417 100644
--- a/arch/arm/plat-omap/Kconfig
+++ b/arch/arm/plat-omap/Kconfig
@@ -57,13 +57,12 @@ config OMAP_COMPONENT_VERSION
 
 config OMAP_GPIO_SWITCH
 	bool "GPIO switch support"
-        depends on OMAP_BOOT_TAG
         default n
         help
           Say Y, if you want to have support for input layer reporting
           of GPIO switches (e.g. cover switches). Your bootloader has to
           provide information about the switches to the kernel via the
-          ATAG_BOARD mechanism.
+          ATAG_BOARD mechanism if they're not defined by the board config.
 
 config OMAP_MUX
 	bool "OMAP multiplexing support"
-----

J.

-- 
Web [    I'd love to but... I'm having all my plants neutered.     ]
site: http:// [                                          ]       Made by
www.earth.li/~noodles/  [                      ]         HuggieTag 0.0.23

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-26 23:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 17:25 [PATCH] ARM: OMAP: OMAP_GPIO_SWITCH doesn't need OMAP_BOOT_TAG Jonathan McDowell
2006-05-17 17:35 ` Paul Mundt
2006-05-18  8:34 ` Juha Yrjölä
2006-05-18  9:18 ` Jonathan McDowell
2006-05-26 23:17   ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox