This adds devicetree support for the gpio-keys driver and the necessary prerequisites. Sascha ---------------------------------------------------------------- Sascha Hauer (4): input: Add BB_ prefix to KEY_ defines input: gpio-keys: separate internal data from platform_data input: Add keycode to barebox key translation table input: gpio-keys: Add devicetree probe support arch/arm/boards/archosg9/board.c | 6 +- arch/arm/boards/at91sam9261ek/init.c | 6 +- arch/arm/boards/at91sam9m10g45ek/init.c | 14 +-- arch/arm/boards/at91sam9m10ihd/init.c | 2 +- arch/arm/boards/usb-a926x/init.c | 8 +- commands/edit.c | 18 ++-- common/menu.c | 18 ++-- drivers/input/Makefile | 1 + drivers/input/gpio_keys.c | 156 ++++++++++++++++++++++++++------ drivers/input/keymap.c | 136 ++++++++++++++++++++++++++++ drivers/input/qt1070.c | 4 +- include/gpio_keys.h | 7 -- include/input/keyboard.h | 10 ++ include/readkey.h | 34 +++---- lib/readkey.c | 36 ++++---- lib/readline.c | 26 +++--- 16 files changed, 360 insertions(+), 122 deletions(-) create mode 100644 drivers/input/keymap.c create mode 100644 include/input/keyboard.h _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox