]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-rk: add rk3228-specific data
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 21 Jun 2016 12:33:28 +0000 (20:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Jun 2016 19:45:39 +0000 (15:45 -0400)
commit1a47085661a85e43f5b263139ccd9027f7b2862b
tree7243899aab9a8300716ca4e7b40d07dfb0bf3e41
parent98d4f6e050d7ecf62bba12ed02e502a264846c7a
net: stmmac: dwmac-rk: add rk3228-specific data

Add constants and callback functions for the dwmac on rk3228/rk3229 socs.
As can be seen, the base structure is the same, only registers and the
bits in them moved slightly.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/rockchip-dwmac.txt
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c