diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2015-01-07 15:04:06 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-01-11 18:53:33 -0500 |
commit | 937127fe13e1394305fdd9c9150b52651ab8ba6c (patch) | |
tree | b706e3c3002bd4988d0bb476584f098b5f50e47c /drivers/phy/phy-miphy365x.c | |
parent | fb57720daf6e56ba453414b5e8dd9cb3c0c80257 (diff) | |
download | op-kernel-dev-937127fe13e1394305fdd9c9150b52651ab8ba6c.zip op-kernel-dev-937127fe13e1394305fdd9c9150b52651ab8ba6c.tar.gz |
phy: phy-stih407-usb: Pass sysconfig register offsets via syscfg property.
Based on Arnds review comments here https://lkml.org/lkml/2014/11/13/161,
update the phy driver to not use the reg property to access the sysconfig
register offsets.
This is because other phy's (miphy28, miphy365) have a combination of
memory mapped registers and sysconfig control regs, and we shouldn't
be mixing address spaces in the reg property. In addition we would
ideally like the sysconfig offsets to be passed via DT in a uniform way.
This new method will also allow us to support devices which have sysconfig
registers in different banks more easily and it is also analagous to how
keystone and bcm7745 platforms pass there syscon offsets in DT.
This breaks DT compatibility, but this platform is considered WIP, and
is only used by a few developers who are upstreaming support for it.
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>
Diffstat (limited to 'drivers/phy/phy-miphy365x.c')
0 files changed, 0 insertions, 0 deletions