OSDN Git Service

pinctrl: aspeed: g4: Add USB device and host support
authorAndrew Jeffery <andrew@aj.id.au>
Tue, 18 Jul 2017 05:24:52 +0000 (14:54 +0930)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Aug 2017 13:01:01 +0000 (15:01 +0200)
commitd22d5ca6012d1e4a6a150c3c2e326ded52c1ca3f
tree9ce00497f6e67eafa8fd6dfaec41966a20397314
parent64a92f52343143661b3063cf4a81a55ba30737c4
pinctrl: aspeed: g4: Add USB device and host support

Implement the AST2400 USB functions as described by the devicetree
bindings. Three ports are fully documented in the datasheet and exposed
through the bindings and pinctrl, though there are remnants of
documentation for a fourth port muxed with GPIO pins GPIOQ6 and GPIOQ7.
The implementation is updated to reflect this but the function and
group are not exposed.

Disregarding the mostly undocumented fourth port, the USB functions are
an outlier with respect to the rest of the muxed functionality on the
AST2400 as GPIO is not supported on these pins.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/aspeed/pinctrl-aspeed-g4.c