pinctrl: sh-pfc: r8a7796: Add bias pinconf support
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Thu, 17 Nov 2016 15:09:20 +0000 (16:09 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 27 Dec 2016 09:57:38 +0000 (10:57 +0100)
commit2d40bd24274d257796291804a82a0b07564a11f1
tree934cbacfd555f089267f5c9dcf321d840ab743aa
parent9e35d6fa825c02bdd00c24cb32299355702130bd
pinctrl: sh-pfc: r8a7796: Add bias pinconf support

Implements pull-up and pull-down. On this SoC there is no simple mapping
of GP pins to bias register bits, so we need a table.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7796.c