diff options
author | Xin Xie <xxie@nvidia.com> | 2012-08-01 16:18:55 -0700 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-17 12:13:47 -0700 |
commit | c7f41361bf1ccc58b0e3735f28cf3a8d54602252 (patch) | |
tree | 5f92ed90123fc6e756dbcef70195aaae7940028f /kernel | |
parent | 1217d0ae77b22e8ac16e4430b020202240a4c788 (diff) |
usb: gadget: tegra_udc: use USB charging spec 1.2
Enable the USB charging based on the USB charging spec 1.2. Now we can
detect:
1. SDP (stanardard downstream port)
2. CDP (charging downstream port)
3. DCP (dedicated charging port)
4. None (no cable connected)
5. Non-standard charger
For some non-standard charger, we cannot detect it as DCP device.
If we find a charger detected as USB device but no EP0 packet recieved
with 1s, we then decided this is 1A charger.
bug 968345
Change-Id: I804f90ea6e4794da8f52b1c3ebd694828d99f40e
Signed-off-by: Xin Xie <xxie@nvidia.com>
Reviewed-on: http://git-master/r/120218
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions