]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-sti: Pass sysconfig register offset via syscon dt property.
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 7 Jan 2015 15:04:12 +0000 (15:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2015 23:53:34 +0000 (18:53 -0500)
commit4d001835919c2361f55b7bb6a9a65ff898a67981
tree99584539ec55470ca0663bebfd4c1f881431d6c1
parent736ad379bc1a3cf88a18ce333b1eb3879e30895f
stmmac: dwmac-sti: Pass sysconfig register offset via syscon dt property.

Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
we should not be mixing address spaces in the reg property like this driver
currently does. This patch updates the driver, dt docs and also the existing
dt nodes to pass the sysconfig offset in the syscon dt property.

This patch breaks DT compatibility! But this platform is considered WIP,
and is only used by a few developers who are upstreaming support for it.
This change has been done as a single atomic commit to ensure it is
bisectable.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/sti-dwmac.txt
arch/arm/boot/dts/stih415.dtsi
arch/arm/boot/dts/stih416.dtsi
drivers/net/ethernet/stmicro/stmmac/dwmac-sti.c