net: stmmac: socfpga: Use shared System Manager driver
authorThor Thayer <thor.thayer@linux.intel.com>
Mon, 11 Mar 2019 22:18:07 +0000 (17:18 -0500)
committerLee Jones <lee.jones@linaro.org>
Tue, 2 Apr 2019 06:38:22 +0000 (07:38 +0100)
commit54a5afb4818ecbe864056946d663de28e39e2010
tree378d267dbadc8bdf944cb07be9f17c1bbb6b2eb6
parent5dd2814b0249fc0ff43f8bc1902fab199f7de9a5
net: stmmac: socfpga: Use shared System Manager driver

The ARM64 System Manager requires a different method of reading
the System Manager than ARM32. A new System Manager driver was
created to steer ARM32 System Manager calls to regmap_mmio and
ARM64 System Manager calls to the new access method.

Convert from syscon to the shared System Manager driver so that
both ARM64 and ARM32 are supported.

Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c