summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorKunihiko Hayashi <[email protected]>2023-02-20 14:50:26 +0900
committerMarek Vasut <[email protected]>2023-02-22 19:40:11 +0100
commitf7b7c721332c2e262035d306296d53c2511763a0 (patch)
tree8610d3de4001e9edcd8a58ae71e2efc0d8f2b480 /include/linux
parentc6583354b7c1aaa9608b2f92221608e42c21f1dd (diff)
usb: dwc3-generic: Allow different controller DT node pattern
The most of devicetree has the following USB node structure. The controller node is placed as a child node of the glue node. Current dwc3-generic driver works on this premise. glue { /* glue node */ usb { /* controller node */ }; }; However, UniPhier original devicetree has the following USB node structure. The controller node is separately placed from the glue node. usb { /* controller node */ }; glue { /* glue node */ }; In dwc_glue_bind(), this patch provides .glue_get_ctrl_dev() callback to get such a controller node and binds the driver related to the node. If this callback isn't defined, dwc_glue_bind() looks for the controller nodes from the child nodes, as before. Suggested-by: Marek Vasut <[email protected]> Signed-off-by: Kunihiko Hayashi <[email protected]> Reviewed-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions