diff options
| author | Shenghao Yang <[email protected]> | 2024-10-20 06:38:29 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-10-24 10:57:46 +0000 |
| commit | 7e3c18097a709e9b958e721066e5fe76e563739b (patch) | |
| tree | 5d841ea82f1c3078f51176d25ecc3ddfa17ace35 /drivers/fpga/zynq-fpga.c | |
| parent | net: dsa: mv88e6xxx: group cycle counter coefficients (diff) | |
| download | kernel-7e3c18097a709e9b958e721066e5fe76e563739b.tar.gz kernel-7e3c18097a709e9b958e721066e5fe76e563739b.zip | |
net: dsa: mv88e6xxx: read cycle counter period from hardware
Instead of relying on a fixed mapping of hardware family to cycle
counter frequency, pull this information from the
MV88E6XXX_TAI_CLOCK_PERIOD register.
This lets us support switches whose cycle counter frequencies depend on
board design.
Fixes: de776d0d316f ("net: dsa: mv88e6xxx: add support for mv88e6393x family")
Suggested-by: Andrew Lunn <[email protected]>
Signed-off-by: Shenghao Yang <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
