]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2015 23:53:34 +0000 (18:53 -0500)
commit5c89dad1f489d8d05b8491bf72cb84bdf131eed7
treeca29c29e990957513bc31c9ead44f92418f8e6a3
parent9db238b8fbdaa6fb132962f52ce4272f612f5014
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/phy/phy-miphy365x.txt
arch/arm/boot/dts/stih416.dtsi
drivers/phy/phy-miphy365x.c