]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mtk-star-emac: add timing adjustment support
authorBiao Huang <biao.huang@mediatek.com>
Wed, 29 Jun 2022 03:17:39 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:45:30 +0000 (13:45 +0100)
commite47a69d718e9cbc3435be689626b4ccfe83b5937
treeb9a4fa4d31d6f32b6a7da95616dfc9434381fe16
parent6b15d114389192af93985620caaaf4d506a9281c
net: ethernet: mtk-star-emac: add timing adjustment support

Add simple clock inversion for timing adjustment in driver.
Add property "mediatek,txc-inverse" or "mediatek,rxc-inverse" to
device node when necessary.

Signed-off-by: Biao Huang <biao.huang@mediatek.com>
Signed-off-by: Yinghua Pan <ot_yinghua.pan@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mediatek/mtk_star_emac.c