rockchip: pinctrl: rk3399: add gmac io strength support
authorKever Yang <kever.yang@rock-chips.com>
Thu, 20 Apr 2017 08:15:34 +0000 (16:15 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 10 May 2017 19:37:21 +0000 (13:37 -0600)
commit602778d3c7ea367bb55f73ec33e8ef8c2c1dcb12
treed444c69ef398e6005b9c10034ecc20177bc96391
parentfd9884e292c8fb981bf25cf5aefaa1b685bda21e
rockchip: pinctrl: rk3399: add gmac io strength support

GMAC controller need to init the tx io driver strength to 13mA,
just like the description in dts pinctrl node, or else the controller
may only work in 100MHz Mode, and fail to work at 1000MHz mode.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com <mailto:philipp.tomsich@theobroma-systems.com>>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/include/asm/arch-rockchip/grf_rk3399.h
drivers/pinctrl/rockchip/pinctrl_rk3399.c