]> git.baikalelectronics.ru Git - kernel.git/commit
usb: host: xhci-plat: add platform data support
authorPeter Chen <peter.chen@nxp.com>
Fri, 18 Sep 2020 13:17:43 +0000 (16:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Sep 2020 14:18:00 +0000 (16:18 +0200)
commitf7e8642d7ea01ce0403670f6604d132130e2cc11
tree20fb2bc574f4bbf437c94f94002a5e676066e1fa
parentf899a88dc90ad7100ea4d5f3cbb0b67350e648f9
usb: host: xhci-plat: add platform data support

Some xhci hosts (eg dwc3 and cdns3) do not use OF to create
platform device, they create xhci-plat platform device runtime.
And these platforms may also have quirks, and the quirks could
be supplied by their parent device through platform data.

Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20200918131752.16488-2-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-plat.c