usb: gadget: tegra: add apple charger detection
authorRakesh Babu Bodla <rbodla@nvidia.com>
Mon, 29 Dec 2014 11:58:10 +0000 (16:58 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 17 Oct 2016 10:05:41 +0000 (03:05 -0700)
commit40e314586fb894b4752272d60f46067b35d5173a
tree147fb113daf4152a621e602abc05dd9086ccca33
parentd8db5dc7f0e6bb076e8a8272d00c13bfd3ab1505
usb: gadget: tegra: add apple charger detection

Add detection of different apple charger 5W,10W,12W
using XUSB pad for XUSB device mode.

Bug 200054906

Change-Id: I4b1b77940e2133c3faf14ec91fa76b87c89693c1
Signed-off-by: Rakesh Babu Bodla <rbodla@nvidia.com>
Reviewed-on: http://git-master/r/1231871
Reviewed-by: Mark Kuo <mkuo@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/usb/gadget/tegra21x_usb_cd.c