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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:11 +0000 (13:09 +0900)
commit0d214d66bf26609303f946b1f1b6aff7fa1d9d86
treefb5392a8b7125495f4d84e4553a06e4df7c93d64
parent094b09dd9c0ae1f5a4d94985417b1141514efb67
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