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
---
Changes in v2:
- the "rk322x" is not clear to SoC decription, rename it
elow,
just add a second compatible).
OK, I try to just use "rockchip,rk3228-gmac" to point to "rk322x_ops"
which is the same structure in MAC driver,
and both rk3228 and rk3229 use it.
Thanks
--
- Xing Zheng
Add constants and callback functions for the dwmac on rk322x 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
---
.../devicetree/bindings/net/rockchip-dwmac.txt |3 +-
drivers/net/ethernet/stmicro/stmmac
.
Moving tx_clean() into tx() will prevent this. And tx interrupt is no
longer needed now.
Signed-off-by: Shuyu Wei
Tested-by: Michael Niewoehner
Tested-by: Xing Zheng
Thanks.
--
- Xing Zheng
OK, I think I will use named structures.
Thanks.
> 在 2016年1月1日,20:55,Arnd Bergmann 写道:
>
>> On Tuesday 29 December 2015 14:59:59 Florian Fainelli wrote:
>>> On December 27, 2015 11:22:20 PM PST, Xing Zheng
>>> wrote:
>>> The RK3036's GRFs offse
Hi David,
Sorry, I missed the cover letter.
I have added it and resent the patchset.
Thanks.
- Xing Zheng
On 2015年12月28日 13:14, David Miller wrote:
I only see 3 patches in this series.
Furthermore, you failed to provide a proper "[PATCH 0/4] xxx" posting
providing a high level desc
The RK3036's GRFs offset are different with RK3066/RK3188, and need to set
mac TX/RX clock before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/Kconfig |4 ++--
drivers/net/ethernet/arc/emac_rockchip.c |9 +++--
2 files changed, 9 insertions(
After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and
other connecting PHY via mdiobus_read, so we need to set correct
ref clock rate for emac before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/emac_rockchip.c | 11 +++
1 file changed, 7
Hi,
We have supported the emac for RK3066/RK3188, but the RK3036 have some
configuration different with them. We should let the driver of emac_rockchip
compatible with other Rockchip SoCs.
Xing Zheng (4):
net: ethernet: arc: Probe emac after set RMII clock
net: ethernet: arc: Keep emac
On the RK3066/RK3188, there was fixed GRF offset configuration to set emac
and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other
SoCs (RK3036) which maybe have different GRF offset, and need adjust mac
TX/RX clock.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc
The RK3036's GRFs offset are different with RK3066/RK3188, and need to set
mac TX/RX clock before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/Kconfig |4 ++--
drivers/net/ethernet/arc/emac_rockchip.c |9 +++--
2 files changed, 9 insertions(
On the RK3066/RK3188, there was fixed GRF offset configuration to set emac
and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other
SoCs (RK3036) which maybe have different GRF offset, and need adjust mac
TX/RX clock.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc
After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and
other connecting PHY via mdiobus_read, so we need to set correct
ref clock rate for emac before probe emac.
Signed-off-by: Xing Zheng
---
drivers/net/ethernet/arc/emac_rockchip.c | 11 +++
1 file changed, 7
13 matches
Mail list logo