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>
Mon, 6 Jul 2020 09:09:08 +0000 (18:09 +0900)
commit56207fc2c0fa18f925a26c275803e423e9b16b87
tree70e793ff11dbbec672c88ec02a157fd8804f889e
parent6485924bd76b70c8ed6ba334ef9b5045f4a3686d
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