usb: dwc_otg: Set extcon state for usb cable as always true 72/248872/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 3 Dec 2020 03:53:43 +0000 (12:53 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 3 Dec 2020 03:56:36 +0000 (12:56 +0900)
commit8d39ff3b7c4a5170061cd4930387a4f351ea04f2
tree40a4bef6e080ff892d03ac1e7edb21d97db6f4ab
parent586e646e459bc19f79589d1e4b1501d81ee7eb3a
usb: dwc_otg: 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.

Note: ported from https://git.tizen.org/cgit/profile/common/platform/kernel/linux-artik7/commit/?h=tizen&id=f7e1e93b230f61d66d6a3bc58d09c53dcd305e21

Change-Id: I16fb629ccec54f0ae46e697b56750c3021f01ccb
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/usb/dwc_otg/310/dwc_otg_driver.c