dt-bindings: usb: add binding for USB GPIO based connection detection driver
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Thu, 29 Aug 2019 09:22:30 +0000 (17:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Sep 2019 14:00:39 +0000 (16:00 +0200)
commitf651c73e71f53f65e9846677d79d8e120452b59f
treef66e9e876eefab517c26ace1b749272d6fe07674
parent6b68240d7c54f314da720d2dbb063d5d41e5d10c
dt-bindings: usb: add binding for USB GPIO based connection detection driver

It's used to support dual role switch via GPIO when use Type-B
receptacle, typically the USB ID pin is connected to an input
GPIO, and also used to enable/disable device when the USB Vbus
pin is connected to an input GPIO.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/1567070558-29417-4-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb-conn-gpio.txt [new file with mode: 0644]