OSDN Git Service

gpio: rcar: Add GPIO hole support
authorBiju Das <biju.das@bp.renesas.com>
Tue, 7 Aug 2018 07:57:02 +0000 (08:57 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 29 Aug 2018 08:46:41 +0000 (10:46 +0200)
commit496069b87eea631274c2c35fb6f8c45ad838436b
tree3586d61c88443c522833723fd42285dcf0c52a5e
parenta419a3d92aab88dba1bf151f98f93c49d0e34206
gpio: rcar: Add GPIO hole support

GPIO hole is present in RZ/G1C SoC. Valid GPIO pins on bank3 are in the
range GP3_0 to GP3_16 and GP3_27 to GP3_29. The GPIO pins between GP3_17
to GP3_26 are unused. Add support for handling unused GPIO's.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-rcar.c