diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2026-01-28 13:58:44 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-30 05:31:25 +0300 |
| commit | f7aaa6fb1193d8d5945605aab8c92e5752e9329b (patch) | |
| tree | 23015e75041e4386702f6c1bdebb6e43450269be /include | |
| parent | 1c249fc1e19e1d84cd748f8b8d02d36480445078 (diff) | |
| download | linux-f7aaa6fb1193d8d5945605aab8c92e5752e9329b.tar.xz | |
net: stmmac: rk: add GMAC_CLK_xx constants, simplify RGMII definitions
All the definitions of the RGMII related xxx_GMAC_CLK_xxx definitions
use the same field values to select the clock rate. Provide common
definitions for these field values, passing them in to a single macro
for each variant that generates the appropriate values for the speed
register.
No change to produced code on aarch64.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Link: https://patch.msgid.link/E1vl3G0-00000006v3R-2ZBc@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
