OSDN Git Service

usb: gadget: aspeed: allow to set usb strings in device tree
authorTao Ren <rentao.bupt@gmail.com>
Sun, 15 Mar 2020 19:16:29 +0000 (12:16 -0700)
committerFelipe Balbi <balbi@kernel.org>
Tue, 5 May 2020 07:58:51 +0000 (10:58 +0300)
commit30d2617fd7ed052c30d1c21ddd4af4703d922be8
tree9cd0a03c29fb2cd821ab8bb4f9b172a711df18d8
parent17309a6a43561bd7f4d4b51d7987225eb2b13d05
usb: gadget: aspeed: allow to set usb strings in device tree

If "vhub,string-descriptor" device tree property is defined, the driver
will load string descriptors from device tree; otherwise, the default
string descriptors will be used.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/udc/aspeed-vhub/hub.c