OSDN Git Service

usb: phy: mxs: add usb charger type detection
authorLi Jun <jun.li@nxp.com>
Mon, 4 Sep 2017 15:14:02 +0000 (23:14 +0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 19 Oct 2017 07:38:06 +0000 (10:38 +0300)
commite93650994a955f8cd966916c4e980e822123d07a
treeb0f6a3b92958504bb7842bb6ab1d426d6058aab7
parent7fdca766499b1d361689ca9402543c027c6a1e87
usb: phy: mxs: add usb charger type detection

mxs phy has data pin contact and usb charger detector blocks which
can be controlled by software to detect charger type for SDP, CDP and
DCP.

Reviewed-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Li Jun <jun.li@nxp.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/phy/phy-mxs-usb.c