linux-hardened/drivers/phy
Yoshihiro Shimoda 7e0540f413 phy: rcar-gen3-usb2: check dr_mode for otg mode
The previous code assumed a channel has otg capability if a channel
has interrupt property. But, it is not good because:
 - Battery charging feature also needs interrupt property.
 - Some R-Car Gen3 SoCs (e.g. R-Car D3) don't have OTG capability.

So, this patch checks whether usb 2.0 host node has dr_mode property or
not. If it has 'dr_mode = "otg";', this driver enables otg capability.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-10-23 11:19:26 +05:30
..
allwinner phy: sun4i-usb: enable PHY0 dual route for V3s SoC 2017-10-23 11:19:25 +05:30
amlogic phy: meson8b-usb2: add support for the USB PHY on Meson8 SoCs 2017-06-06 14:50:14 +05:30
broadcom phy: usb: phy-brcm-usb: Add ability to force DRD mode to host or device 2017-10-03 11:54:55 +05:30
hisilicon phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
lantiq phy: Add an USB PHY driver for the Lantiq SoCs using the RCU module 2017-09-04 21:19:02 +02:00
marvell phy: mvebu-cp110-comphy: remove unused member in private struct 2017-10-23 11:19:25 +05:30
mediatek phy: phy-mtk-tphy: add set_mode callback 2017-10-23 11:19:25 +05:30
motorola phy: cpcap-usb: remove a stray tab 2017-08-22 10:11:26 +05:30
qualcomm Char/Misc drivers for 4.14-rc1 2017-09-05 11:08:17 -07:00
ralink phy: ralink: fix 64-bit build warning 2017-08-24 17:26:50 -07:00
renesas phy: rcar-gen3-usb2: check dr_mode for otg mode 2017-10-23 11:19:26 +05:30
rockchip phy: rockchip-typec: Do the calibration more correctly 2017-10-23 11:19:25 +05:30
samsung phy: samsung: use of_device_get_match_data() 2017-08-20 13:59:52 +05:30
st phy: Group vendor specific phy drivers 2017-06-01 15:28:33 +05:30
tegra phy: tegra: Handle return value of kasprintf 2017-09-26 17:02:48 +05:30
ti - New Drivers 2017-09-07 13:51:13 -07:00
Kconfig Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-09-15 20:43:33 -07:00
Makefile Merge branch '4.14-features' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2017-09-15 20:43:33 -07:00
phy-core.c phy: Add reset callback 2016-09-10 17:31:39 +05:30
phy-lpc18xx-usb-otg.c phy: lpc18xx-usb-otg: fix clock order in phy init 2015-08-10 20:11:58 +05:30
phy-pistachio-usb.c PHY: Add driver for Pistachio USB2.0 PHY 2015-06-21 21:53:38 +02:00
phy-xgene.c phy: xgene: rename "enum phy_mode" to "enum xgene_phy_mode" 2016-07-04 17:19:21 +05:30