pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 12 Mar 2016 09:15:03 +0000 (10:15 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 29 Mar 2016 07:23:01 +0000 (09:23 +0200)
commit60d8fcef13e60484ecc5aa2c0a904b250750beba
tree86755dae9abd1a5f232cff5d386083e39c42d914
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
pinctrl: sh-pfc: r8a7790: Implement voltage switching for SDHI

All the SHDIs can operate with either 3.3V or 1.8V signals, depending
on negotiation with the card.

Implement the {get,set}_io_voltage operations and set the related
capability flag for the associated pins.

Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/pinctrl/sh-pfc/pfc-r8a7790.c