Commit f77cc796 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Stanimir Varbanov
Browse files

For xhci-hcd platform device, all the DMA parameters are not configured...


For xhci-hcd platform device, all the DMA parameters are not configured properly, notably dma ops for dwc3 devices.

The idea here is that you pass in the parent of_node along with
the child device pointer, so it would behave exactly like the
parent already does. The difference is that it also handles all
the other attributes besides the mask.

sysdev will represent the physical device, as seen from firmware
or bus.Splitting the usb_bus->controller field into the
Linux-internal device (used for the sysfs hierarchy, for printks
and for power management) and a new pointer (used for DMA,
DT enumeration and phy lookup) probably covers all that we really
need.

Signed-off-by: default avatarArnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: default avatarSriram Dash <sriram.dash@xxxxxxx>
Tested-by: default avatarBaolin Wang <baolin.wang@xxxxxxxxxx>
Tested-by: default avatarBrian Norris <briannorris@xxxxxxxxxxxx>
Tested-by: default avatarAlexander Sverdlin <alexander.sverdlin@xxxxxxxxx>
Tested-by: default avatarVivek Gautam <vivek.gautam@xxxxxxxxxxxxxx>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@xxxxxxxxxxxxxxx>
Cc: Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx>
Cc: Grygorii Strashko <grygorii.strashko@xxxxxx>
Cc: Sinjan Kumar <sinjank@xxxxxxxxxxxxxx>
Cc: David Fisher <david.fisher1@xxxxxxxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: "Thang Q. Nguyen" <tqnguyen@xxxxxxx>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
Cc: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>
Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
Cc: Ming Lei <tom.leiming@xxxxxxxxx>
Cc: Jon Masters <jcm@xxxxxxxxxx>
Cc: Dann Frazier <dann.frazier@xxxxxxxxxxxxx>
Cc: Peter Chen <peter.chen@xxxxxxx>
Cc: Leo Li <pku.leo@xxxxxxxxx>
Signed-off-by: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
(cherry picked from commit 60ca63a4fb6b7f903c0234d9160a6a57e166507b)
parent ca2047cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment