[PATCH v8 10/11] usb: common: add USB GPIO based connection detection driver

Linus Walleij linus.walleij at linaro.org
Mon Aug 5 03:10:40 PDT 2019


On Wed, Jul 24, 2019 at 10:51 AM Chunfeng Yun <chunfeng.yun at mediatek.com> wrote:

> Due to the requirement of usb-connector.txt binding, the old way
> using extcon to support USB Dual-Role switch is now deprecated
> when use Type-B connector.
> This patch introduces a driver of Type-B connector which typically
> uses an input GPIO to detect USB ID pin, and try to replace the
> function provided by extcon-usb-gpio driver
>
> Signed-off-by: Chunfeng Yun <chunfeng.yun at mediatek.com>
> Tested-by: Nagarjuna Kristam <nkristam at nvidia.com>
> ---
> v8 changes:

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list