]> git.baikalelectronics.ru Git - kernel.git/commit
pinctrl: rockchip: generalize perpin driver-strength setting
authorHeiko Stübner <heiko@sntech.de>
Fri, 12 Jun 2015 21:50:11 +0000 (23:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 17 Jun 2015 08:20:00 +0000 (10:20 +0200)
commitcb74e99894b375cc611f85d57c331f449ce5daf3
treedb0b000f28f793c8120edd56d800c5434c4b7b9d
parent6d5d5feeaa7a68e78f2d5ea8d45183336ccf1685
pinctrl: rockchip: generalize perpin driver-strength setting

The upcoming support for the RK3368 ARM64 SoC also supports perpin
drive strength settings (at different register positions), so generalize
the register and offset calculation to easily support this one too.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-rockchip.c