]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 23 Mar 2021 15:36:26 +0000 (17:36 +0200)
committerKelsey Skunberg <kelsey.skunberg@canonical.com>
Mon, 24 May 2021 23:46:21 +0000 (17:46 -0600)
commitf6ad1c3aea140e3bc2dafd9d9e59ff28c3c50786
tree87ca57d9e7d3d5925d3cf69f8d6f536e61cdb78d
parenta835601023cfd53516c4dbcca4a40f4ed840d583
usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)

BugLink: https://bugs.launchpad.net/bugs/1929455
[ Upstream commit 049d3db625a652e23488db88b6104de4d5b62f16 ]

Intel Minnowboard (v1) uses SCH GPIO line SUS7 (i.e. 12)
for VBUS sense. Provide a DMI based quirk to have it's being used.

Fixes: e20849a8c883 ("usb: gadget: pch_udc: Convert to use GPIO descriptors")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20210323153626.54908-7-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/usb/gadget/udc/pch_udc.c