Hi, the following patches add tps65217 power button support and make it usable with am335x boards. They also fix a NULL dereference in tps65217 charger subsystem and add possibility to use IRQs instead of polling task to update AC power state. Developed and tested on top of v4.6-rc2. Marcin Niestroj (5): mfd: tps65217: Add support for IRQs power_supply: tps65217-charger: Fix NULL deref during property export power_supply: tps65217-charger: Add support for IRQs mfd: tps65217: Add power button as subdevice Input: Add tps65217 power button driver .../bindings/input/tps65217-pwrbutton.txt | 14 ++ drivers/input/misc/Kconfig | 10 ++ drivers/input/misc/Makefile | 1 + drivers/input/misc/tps65217-pwrbutton.c | 131 ++++++++++++++ drivers/mfd/Kconfig | 1 + drivers/mfd/tps65217.c | 192 ++++++++++++++++++++- drivers/power/tps65217_charger.c | 46 ++++- include/linux/mfd/tps65217.h | 11 ++ 8 files changed, 396 insertions(+), 10 deletions(-) create mode 100644 Documentation/devicetree/bindings/input/tps65217-pwrbutton.txt create mode 100644 drivers/input/misc/tps65217-pwrbutton.c -- 2.8.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html