aboutsummaryrefslogtreecommitdiff
path: root/drivers/spi/pl022_spi.c
diff options
context:
space:
mode:
authorWeijie Gao2019-09-25 17:45:33 +0800
committerDaniel Schwierzeck2019-10-25 17:20:44 +0200
commitf079321009841bbb7c3a357febc08441c579f3f2 (patch)
treefd76e74819a1cbe693e8907808de013b88d6fc28 /drivers/spi/pl022_spi.c
parent2734fdef5cea87281f6dcc621fa78b4f0b89ad30 (diff)
net: mt7628-eth: make phy link up detection optional via DT
The mt7628 has an embedded ethernet switch (5 phy ports + 1 cpu port). Although in IOT mode only port0 is usable, the phy0 is still connected to the switch, not the ethernet gmac directly. This patch rewrites it and makes it optional. It can be turned on by adding mediatek,poll-link-phy = <?> explicitly into the eth node. By default the driver is switch mode with all 5 phy ports working without link detection. Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'drivers/spi/pl022_spi.c')
0 files changed, 0 insertions, 0 deletions