]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: dwmac-meson8b: Add the PRG_ETH0_ADJ_* bits
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Tue, 12 May 2020 21:11:00 +0000 (23:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 May 2020 19:23:14 +0000 (12:23 -0700)
commitcd1d8093cddede726c3c54e5ec3c7574f5236d96
tree46b89d1dca51c60c00bb70253301d134494952b4
parentc6c74a1ed36fa33412ff675981207e890ce4c317
net: stmmac: dwmac-meson8b: Add the PRG_ETH0_ADJ_* bits

The PRG_ETH0_ADJ_* are used for applying the RGMII RX delay. The public
datasheets only have very limited description for these registers, but
Jianxin Pan provided more detailed documentation from an (unnamed)
Amlogic engineer. Add the PRG_ETH0_ADJ_* bits along with the improved
description.

Suggested-by: Jianxin Pan <jianxin.pan@amlogic.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c