rockchip: rk3288: Add support for drive-strength in PINCTRL
authorRomain Perier <[email protected]>
Tue, 25 Jul 2017 07:28:22 +0000 (09:28 +0200)
committerPhilipp Tomsich <[email protected]>
Thu, 27 Jul 2017 12:59:02 +0000 (14:59 +0200)
commit478e6f2e94e0d8dcb2b75e4d68c8a4f732baf11f
tree0f690505a3e0b95b0df1b96f1a0c7d15b11d3eea
parent42ec247e698824bda29e3ee18a0e531caf7633ef
rockchip: rk3288: Add support for drive-strength in PINCTRL

Currently, drive-strenght to 12ma are described and supposed to be used
on RK3288. However, the pinctrl driver for this SoC only handles muxing
and pull up/pull down via PU/PD control registers. So complex IPs like
GMAC are working in normal ethernet 100mbps, but not at 1gbps typically.

This commit adds support for handling drive-strength of 12ma, when it's
defined in the DT.

Signed-off-by: Romain Perier <[email protected]>
Acked-by: Philipp Tomsich <[email protected]>
Reviewed-by: Philipp Tomsich <[email protected]>
drivers/pinctrl/rockchip/pinctrl_rk3288.c