usb: cdns3: core: get role switch node from firmware
authorPeter Chen <peter.chen@nxp.com>
Tue, 31 Mar 2020 08:10:02 +0000 (16:10 +0800)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:37 +0000 (11:09 +0300)
commit23d6dd6c2ab6e177bc9ac19cb2bad9b8d120353c
treeef7923e9a092e8f583c75b39886bc670c5fc98b1
parentd9feef974e0d8cb6842533c92476a1b32a41ba31
usb: cdns3: core: get role switch node from firmware

After that, the role switch device (eg, Type-C device) could call
cdns3_role_set to finish the role switch.

Reviewed-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/cdns3/core.c