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)
commit9b1a6d36c38d236b42d912fce852f37d2367b593
tree99584539ec55470ca0663bebfd4c1f881431d6c1
parent304a11e86751302a31fa3e8b31329aedfbdb7df5
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