phy: miphy28lp: Pass sysconfig register offsets via syscfg dt property.
authorGabriel FERNANDEZ <gabriel.fernandez@st.com>
Wed, 14 Jan 2015 09:54:57 +0000 (10:54 +0100)
committerKishon Vijay Abraham I <kishon@ti.com>
Wed, 21 Jan 2015 09:53:06 +0000 (15:23 +0530)
commitde6e0f84bebc0daadca46e735f4b2be3e006d05d
tree90a9d19fae6deb9403579bd90eb31ab34d9bb81a
parent147fd9d6bbb6b4bf1c320089494c0cb1bf1636a2
phy: miphy28lp: Pass sysconfig register offsets via syscfg dt property.

Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
update the miphy28lp 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 miphy28lp. This change then also aligns us to how other
platforms such as keystone and bcm7445 pass there syscon offsets via DT.

I have updated the miphy28lp phy driver same way as Peter's implementation.

Signed-off-by: Gabriel Fernandez <gabriel.fernandez@linaro.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Documentation/devicetree/bindings/phy/phy-miphy28lp.txt
drivers/phy/phy-miphy28lp.c