]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit63139885c4bb53e476d875dddfe71b571107e663
treeca29c29e990957513bc31c9ead44f92418f8e6a3
parent937127fe13e1394305fdd9c9150b52651ab8ba6c
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