diff options
author | Shenghao Yang <me@shenghaoyang.info> | 2024-10-20 14:38:29 +0800 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-10-24 12:57:46 +0200 |
commit | 7e3c18097a709e9b958e721066e5fe76e563739b (patch) | |
tree | 5d841ea82f1c3078f51176d25ecc3ddfa17ace35 /drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c | |
parent | 67af86afff74c914944374a103c04e4d9868dd15 (diff) |
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 <andrew@lunn.ch>
Signed-off-by: Shenghao Yang <me@shenghaoyang.info>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_aca.c')
0 files changed, 0 insertions, 0 deletions