]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita941ddabc9ff03185b3ae31eeace0a688bd26fbd
tree90a9d19fae6deb9403579bd90eb31ab34d9bb81a
parent8d833247f79b170a8d821ca341804c6905947c21
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