]> git.baikalelectronics.ru Git - uboot.git/commit
gpio: rmobile: Set GPIO mode in GPSR when requested
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 26 Nov 2017 17:08:53 +0000 (18:08 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Thu, 30 Nov 2017 01:34:21 +0000 (02:34 +0100)
commitbb958fa56a06b9bf5e9f7aaa85fe2f02cbb08c3c
tree8a65c5e061bd73882df21004fb02ca9840f2ce20
parent1c7c899ec62e64aca40779631bd6e2dfd54cd39b
gpio: rmobile: Set GPIO mode in GPSR when requested

When requesting a GPIO, set the PFC GPSR register to GPIO mode,
otherwise the GPIO cannot work.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/gpio/gpio-rcar.c