ARM: imx: Drop imx_anatop_usb_chrg_detect_disable()
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Tue, 22 Oct 2019 04:14:45 +0000 (21:14 -0700)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 06:26:21 +0000 (14:26 +0800)
commit427fca60ee4524d7755cc7a980280e7ac6d92877
tree5d06c97ccedeadbe27c852c2e59ca2c6a7f3eea6
parent3d4e0158c1db518a3a0c4ada5b5a2b1539ce5643
ARM: imx: Drop imx_anatop_usb_chrg_detect_disable()

With commit b5bbe2235361 ("usb: phy: mxs: Disable external charger
detect in mxs_phy_hw_init()") in tree all of the necessary charger
setup is done by the USB PHY driver which covers all of the affected
i.MX6 SoCs.

NOTE: imx_anatop_usb_chrg_detect_disable() was also called for i.MX7D,
but looking at its datasheet it appears to have a different USB PHY IP
block, so executing i.MX6 charger disable configuration seems
unnecessary.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Peter Chen <peter.chen@nxp.com>
Cc: linux-imx@nxp.com
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/anatop.c