linux-sg2042/drivers/usb/renesas_usbhs
Yoshihiro Shimoda cd14247d5c usb: renesas_usbhs: set the mode by using extcon state for non-otg channel
The usbhs_rcar3_power_and_pll_ctrl() will be used by non-otg channel
(e.g. R-Car D3) and the previous code has hardcoded as peripheral mode.
So, this patch sets the mode by using extcon state.
If the channel doesn't get any extcon devices, this driver's behavior
is the same as before.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-12-13 12:50:24 +02:00
..
Kconfig usb: renesas_usbhs: Use ARCH_RENESAS 2016-02-20 20:21:53 -08:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
common.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
common.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
fifo.c usb: renesas_usbhs: use PIPEnCLR.ACLRM instead of {C,Dn}FIFOCTR.BCLR in usbhs_pkt_pop() 2017-12-12 13:04:11 +02:00
fifo.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod.h USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod_gadget.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
mod_host.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
pipe.c usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
pipe.h usb: renesas_usbhs: add usbhs_pipe_clear_without_sequence() function 2017-12-12 13:04:09 +02:00
rcar2.c USB: renesas_usbhs: Remove redundant license text 2017-11-07 15:45:01 +01:00
rcar2.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00
rcar3.c usb: renesas_usbhs: set the mode by using extcon state for non-otg channel 2017-12-13 12:50:24 +02:00
rcar3.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00