diff options
author | David S. Miller <davem@davemloft.net> | 2016-06-21 07:58:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-21 07:58:36 (GMT) |
commit | 4906ce45978ca958da687d6706a9ee85162ef69d (patch) | |
tree | 89fe25c901631b6c8bc4a1ba4c14dd1c3e30b8ab /drivers/cpufreq | |
parent | 697666eac664dbea7c2c1fa7518fd5dfe098776f (diff) | |
parent | 914b32f65afaaab005151335e183b4194d48162d (diff) | |
download | linux-4906ce45978ca958da687d6706a9ee85162ef69d.tar.xz |
Merge branch 'dsa-mv88e6xxx-probe-compatible'
Vivien Didelot says:
====================
net: dsa: mv88e6xxx: probe compatible
This patchset factorizes the legacy and new SMI probing and abstracts
the switch register accesses. This simplifies adding support for new
chips or alternative register accesses.
This will allow us to use a compatible chip info to describe how to
access the SMI device and its switch ID register at probe time.
For the legacy probe, we fix the compatible info to 88E6085. For the
MDIO probe, we will use the compatible info from the device node data.
All patches are reviewed.
Changes since v4:
- fix debug printing (was 'val' instead of '*val')
Changes since v3 [3]:
- better register access abstraction using the chip structure
Changes since v2 [2]:
- do not guess compatible model in legacy probe
- add low level SMI API using a chip structure
- allocate before probe and detection
- add 3 cosmetic patches
Changes since v1 [1]:
- merge style fix from Ben Dooks
- add Acked-by/Reviewed-by tags
- drop one compatible string per model
- detect the SMI device based on the compatible info
- add an SMI ops structure
[1] https://lkml.org/lkml/2016/6/8/1201
[2] https://lkml.org/lkml/2016/6/14/671
[3] https://lkml.org/lkml/2016/6/17/995
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/cpufreq')
0 files changed, 0 insertions, 0 deletions