summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/pinctrl-at91.h
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea@microchip.com>2019-02-07 09:24:46 +0000
committerLinus Walleij <linus.walleij@linaro.org>2019-02-08 13:04:41 +0100
commitb67328e1cf9735d2491ef9402fb7439db1d6e2ae (patch)
tree8a8adb44cd54613dc86a6a96b6ca52af70cdeae2 /drivers/pinctrl/pinctrl-at91.h
parent85e4e6881dbaae42bbac935c346753bea412ab76 (diff)
pinctrl: at91: add option to use drive strength bits
SAM9X60 uses high and low drive strengths. To implement this, in at91_pinctrl_mux_ops::set_drivestrength and at91_pinctrl_mux_ops::get_drivestrength we need bit numbers of drive strengths (1 for low, 2 for high), thus change the code to allow the usage of drive strength bit numbers. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-at91.h')
0 files changed, 0 insertions, 0 deletions