[PATCH] DT: kirkwood: Fix Openblock A6 external GPIO pins
Andrew Lunn
andrew at lunn.ch
Wed Aug 17 07:46:10 PDT 2016
On Mon, Aug 15, 2016 at 02:51:04PM +0000, Jason Cooper wrote:
> By assigning the pin hog to the pinctrl node, we correctly configure the
> MPPs. However, they are not available to userspace.
>
> Fix this by assigning the hogs to the gpio node.
>
> After this, the following works as expected:
>
> # echo 28 >/sys/class/gpio/export
> # echo low >/sys/class/gpio/gpio28/direction
>
> Signed-off-by: Jason Cooper <jason at lakedaemon.net>
Reviewed-by: Andrew Lunn <andrew at lunn.ch>
Andrew
More information about the linux-arm-kernel
mailing list