The following patches convert twl4030-usb to a platform_device in order to set the usb mode via platform_data and get rid of the Kconfig entry for that. Later, we add a sysfs entry for reporting the vbus events coming from triton, this let's us tell the userspace we have a usb connection (vbus is on) and trigger an application or something else. Felipe Balbi (2): i2c: twl4030-usb: move to platform_device i2c: twl4030-usb: add 'vbus' sysfs file arch/arm/mach-omap2/usb-musb.c | 19 ++ drivers/i2c/chips/Kconfig | 16 - drivers/i2c/chips/twl4030-usb.c | 593 +++++++++++++-------------------------- include/linux/i2c/twl4030-usb.h | 256 +++++++++++++++++ 4 files changed, 467 insertions(+), 417 deletions(-) create mode 100644 include/linux/i2c/twl4030-usb.h -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html