diff options
author | Tao Ren <[email protected]> | 2020-03-02 22:23:31 -0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2020-03-15 12:11:44 +0200 |
commit | 487bc82801ab056e084d3005185ba39264d40e7c (patch) | |
tree | 9f3f067d6901a34c0dac44c4ed4e0c39e6788a59 /lib/mpi/mpi-mod.c | |
parent | 6dbf05fcb68870546d5059ac95747d21ffbf807d (diff) |
usb: gadget: aspeed: read vhub properties from device tree
The patch introduces 2 DT properties ("aspeed,vhub-downstream-ports" and
"aspeed,vhub-generic-endpoints") which replaces hardcoded port/endpoint
number. It is to make it more convenient to add support for newer vhub
revisions with different number of ports and endpoints.
Signed-off-by: Tao Ren <[email protected]>
Reviewed-by: Joel Stanley <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions