linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] extcon: palmas: am57xx-beagle-x15: use palmas for VBUS/ID detection
@ 2015-07-27 13:10 Roger Quadros
  2015-07-27 13:10 ` [PATCH v2 1/2] extcon: palmas: Support GPIO based USB ID detection Roger Quadros
  2015-07-27 13:10 ` [PATCH v2 2/2] ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2 Roger Quadros
  0 siblings, 2 replies; 16+ messages in thread
From: Roger Quadros @ 2015-07-27 13:10 UTC (permalink / raw)
  To: myungjoo.ham, cw00.choi, tony
  Cc: nm, balbi, linux-omap, linux-kernel, Roger Quadros

Hi,

am57xx-beagle-x15 uses a variant of the Palmas chip and has
USB1 port's VBUS and ID connected to it.

However this Palmas variant does not support OTG ID detection but
does have GPIO support on the pin where ID line is connected.

This series adds GPIO based ID detection to the Palmas extcon
driver and updates am57xx-beagle-x15.dts to use Palmas
for VBUS and ID detection for USB1 port.

v2:
- Add debounce-delay-ms property. Re-use enable-id-detection property
to enable GPIO based ID detection based on availability of id-gpio.

cheers,
-roger

Roger Quadros (2):
  extcon: palmas: Support GPIO based USB ID detection
  ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2

 .../devicetree/bindings/extcon/extcon-palmas.txt   |   5 +-
 arch/arm/boot/dts/am57xx-beagle-x15.dts            |  29 +++---
 drivers/extcon/extcon-palmas.c                     | 114 ++++++++++++++++++---
 include/linux/mfd/palmas.h                         |   6 ++
 4 files changed, 125 insertions(+), 29 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-09-17  0:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 13:10 [PATCH v2 0/2] extcon: palmas: am57xx-beagle-x15: use palmas for VBUS/ID detection Roger Quadros
2015-07-27 13:10 ` [PATCH v2 1/2] extcon: palmas: Support GPIO based USB ID detection Roger Quadros
2015-07-31  7:46   ` Chanwoo Choi
2015-07-31  9:05     ` Roger Quadros
2015-07-31 11:08   ` [PATCH v3 " Roger Quadros
2015-07-31 15:34     ` Chanwoo Choi
2015-08-03 14:40     ` [PATCH v4 " Roger Quadros
2015-08-07  8:24       ` Roger Quadros
2015-08-10  2:46         ` Chanwoo Choi
2015-08-10  8:35       ` Lee Jones
2015-07-27 13:10 ` [PATCH v2 2/2] ARM: dts: am57xx-beagle-x15: use palmas-usb for USB2 Roger Quadros
2015-08-05 10:37   ` Tony Lindgren
2015-08-05 23:36     ` Chanwoo Choi
2015-09-03  7:36       ` Roger Quadros
2015-09-15 10:43         ` Roger Quadros
2015-09-17  0:06           ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).