Sascha Hauer
258772deab
input: gpio-keys; dt probing needs CONFIG_OF_GPIO
...
Otherwise of_get_named_gpio_flags is not available.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-03-29 06:38:46 +01:00
Sascha Hauer
7a037a952d
input: gpio-keys: Add devicetree probe support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-17 08:23:41 +01:00
Sascha Hauer
59d6a0b7f1
input: gpio-keys: separate internal data from platform_data
...
Do not abuse platform data for internal driver data, instead
use a separate struct for that.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-02-17 08:23:41 +01:00
Jean-Christophe PLAGNIOL-VILLARD
e62d425517
console: drop f_caps and check the function pointer getc/putc instead
...
None of the driver make the difference between STDOUT and STDERR.
So we just need to check if putc or getc are filled in the console_device
save 32 bytes on versatilepb
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-09-21 09:59:16 +02:00
Vicente Bergas
5a1d6da675
gpio_keys: detect keys pressed before booting
...
If a key is pressed but not released before booting and the key is
connected to an active low gpio it's not detected. This patch solves
that.
Signed-off-by: Vicente Bergas <vicencb@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-03-25 10:21:21 +01:00
Alexander Shiyan
6a256321b8
Use new device_platform_driver() macro for drivers
...
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-02-13 09:23:28 +01:00
Jean-Christophe PLAGNIOL-VILLARD
c559eb612f
gpio_keys: fix loop on buttons for request and configuration
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2013-01-26 22:23:20 +01:00
Jean-Christophe PLAGNIOL-VILLARD
3c5327e660
switch all platform_bus device/driver registering to platform_driver/device_register
...
now register_driver and register_device are for bus only usage.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-10-04 15:19:12 +02:00
Jean-Christophe PLAGNIOL-VILLARD
ef654d1617
add gpio keyboard support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2012-02-16 18:17:30 +08:00