MLK-20011-1 usb: chipidea: imx: using non-core register to pull up DP
authorPeter Chen <peter.chen@nxp.com>
Mon, 22 Oct 2018 08:15:16 +0000 (16:15 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit8aac906766a34a38c2b0da12d4a06dd2504269bb
treeaba3cf222c25829eefde15e3675b8297267c8e01
parent8f03969c5da995dcc8fa207fc1bc7ca8b7577ff1
MLK-20011-1 usb: chipidea: imx: using non-core register to pull up DP

For Samsung PHY SoCs (imx7d/imx845), we used core register usbcmd.rs
to pull up DP to finish the pre-condition for secondary USB charger
detection before. In fact, there are some non-core registers can
fulfill the same task, in that way, we could not touch the common
chipidea registers.

Meanwhile, we delete the secondary charger detection operation and
clean up related code.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com>
drivers/usb/chipidea/ci_hdrc_imx.c
drivers/usb/chipidea/ci_hdrc_imx.h
drivers/usb/chipidea/usbmisc_imx.c