]> git.baikalelectronics.ru Git - uboot.git/commit
pinctrl: at91: add option to use drive strength bits
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 25 Mar 2019 10:33:56 +0000 (10:33 +0000)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 9 Apr 2019 06:28:50 +0000 (09:28 +0300)
commitd8db31a923dc096c9a91eccf4ff08792cc2fde1c
tree26ddd6224221b1d3f5f2b6ee5fbe548ee16bf0d3
parentfc786a04a4c6dffc931d1bfc908df5e7946d5b85
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 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>
drivers/pinctrl/pinctrl-at91.c