Commit 21651635 authored by David S. Miller's avatar David S. Miller

Merge branch 'mtk-star-emac-features'

Biao Huang says:

====================
net: add more features for mtk-star-emac

Changes in v4:
1. correct the usage of spin_lock/__napi_schedule.
2. fix coding style as Jakub's comments.

Changes in v3:
1. refractor driver as Jakub's comments in patch
   "net: ethernet: mtk-star-emac: separate tx/rx handling with two NAPIs".
2. add acked-by as Rob's comments.
3. add a new patch for halp-duplex support in driver.

Changes in v2:
1. fix coding style as Bartosz's comments.
2. add reviewed-by as Bartosz's comments.

This series add more features for mtk-star-emac:
1. add reference clock pad selection for RMII;
2. add simple timing adjustment for RMII;
3. add support for MII;
4. add support for new IC MT8365;
5. separate tx/rx interrupt handling.
====================
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parents bfc71514 02e9ce07
...@@ -23,6 +23,7 @@ properties: ...@@ -23,6 +23,7 @@ properties:
- mediatek,mt8516-eth - mediatek,mt8516-eth
- mediatek,mt8518-eth - mediatek,mt8518-eth
- mediatek,mt8175-eth - mediatek,mt8175-eth
- mediatek,mt8365-eth
reg: reg:
maxItems: 1 maxItems: 1
...@@ -47,6 +48,22 @@ properties: ...@@ -47,6 +48,22 @@ properties:
Phandle to the device containing the PERICFG register range. This is used Phandle to the device containing the PERICFG register range. This is used
to control the MII mode. to control the MII mode.
mediatek,rmii-rxc:
type: boolean
description:
If present, indicates that the RMII reference clock, which is from external
PHYs, is connected to RXC pin. Otherwise, is connected to TXC pin.
mediatek,rxc-inverse:
type: boolean
description:
If present, indicates that clock on RXC pad will be inversed.
mediatek,txc-inverse:
type: boolean
description:
If present, indicates that clock on TXC pad will be inversed.
mdio: mdio:
$ref: mdio.yaml# $ref: mdio.yaml#
unevaluatedProperties: false unevaluatedProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment