usb: dwc2: gadget: Set extcon state for usb cable as always true
authorDongwoo Lee <dwoo08.lee@samsung.com>
Tue, 18 Feb 2020 04:36:40 +0000 (13:36 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Tue, 30 Mar 2021 01:39:32 +0000 (10:39 +0900)
commit7da838d3a98f39724d1c6b3414d913cfa6ba2389
tree366e79b5da52cfbf96cd560368ec413e08595e77
parent312446e90a23215ff5b8033323d6eb4ff90360f1
usb: dwc2: gadget: Set extcon state for usb cable as always true

To inform to userspace as enable usb features always, set extcon
state for usb cable as connected permanently. To enable this, add
"g-extcon-always-on" property on dt.

Change-Id: I5bcc1b7560278dab8bde6fc80549bc145179574c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c
drivers/usb/dwc2/params.c