phy: miphy365x: Pass sysconfig register offsets via syscfg dt property.
authorPeter Griffin <peter.griffin@linaro.org>
Wed, 7 Jan 2015 15:04:07 +0000 (15:04 +0000)
committerKishon Vijay Abraham I <kishon@ti.com>
Fri, 30 Jan 2015 12:42:05 +0000 (18:12 +0530)
commitbbd3ce86c768928d5db334881e20116c6da4d0c7
tree5dd6904a13570a36e851008c37c9f45d7f76cd43
parente4b3d38088df6f3acd40259c8ec32c9bd3bfe3da
phy: miphy365x: Pass sysconfig register offsets via syscfg dt property.

Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
update the miphy365 phy driver to access sysconfig register offsets via
syscfg dt property.

This is because the reg property should not be mixing address spaces
like it does currently for miphy365. This change then also aligns us
to how other platforms such as keystone and bcm7445 pass there syscon
offsets via DT.

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>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Tested-by: Maxime Coquelin <maxime.coquelin@st.com>
Documentation/devicetree/bindings/phy/phy-miphy365x.txt
arch/arm/boot/dts/stih416.dtsi
drivers/phy/phy-miphy365x.c