[PATCH 0/2] transceiver notifier support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The following two patches add support for a
blocking notifer which will be used to notify
interested drivers about usb events. Currently
we're adding "no event or cable disconnected",
"vbus", "id grounded", "enumerated".

Enumerated will also pass a pointer to the
integer which holds the bMaxPower field of the
selected configuration. This is to allow charger
chips like the bq24xxx family to configure
that as input current.

Currently only twl4030-usb is initializing
the blocking notifier, but anyone interested
can start using twl4030-usb as an example for
other transceiver drivers.

Felipe Balbi (2):
  usb: otg: add notifier support
  usb: otg: twl4030: add support for notifier

 arch/arm/mach-omap2/board-rx51-peripherals.c |    2 +-
 drivers/usb/otg/twl4030-usb.c                |   35 ++++++++++---------------
 include/linux/usb/otg.h                      |   25 ++++++++++++++++++
 3 files changed, 40 insertions(+), 22 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux