linux/drivers/usb/renesas_usbhs
Yoshihiro Shimoda 8ada211d03 usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel
This patch adds extcon notifier callback to set the mode of
host/peripheral by using extcon state (e.g phy-rcar-gen3-usb2) for
non-otg channel (e.g. R-Car D3).

[Fengguang Wu: fixed sparse warning]

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>

usb: renesas_usbhs: usbhs_rcar3_notifier() can be static

Fixes: 3a7cce26122e ("usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
2017-12-14 09:57:38 +02:00
..
common.c usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel 2017-12-14 09:57:38 +02:00
common.h usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel 2017-12-14 09:57:38 +02: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
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
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
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
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: add extcon notifier to set mode for non-otg channel 2017-12-14 09:57:38 +02:00
rcar3.h USB: renesas_usbhs: rcar?.h: add SPDX tags 2017-11-07 15:53:48 +01:00