[PATCH v2 0/2] extcon: palmas: am57xx-beagle-x15: use palmas for VBUS/ID detection

From: Roger Quadros
Date: Mon Jul 27 2015 - 09:10:37 EST


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

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