diff options
author | Sean Wang <sean.wang@mediatek.com> | 2017-12-20 12:47:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-26 20:05:46 +0300 |
commit | 243dc5fb4697a0d32e268c17cbfa22ada021c751 (patch) | |
tree | ec7b198033fa9c11c67bfe13849a3a8adb53d489 /drivers/net/ethernet/mediatek/mtk_eth_soc.h | |
parent | 0ca30e870ed28da15c871374af109055cd00744f (diff) | |
download | linux-243dc5fb4697a0d32e268c17cbfa22ada021c751.tar.xz |
net: mediatek: remove superfluous pin setup for MT7622 SoC
Remove superfluous pin setup to get out of accessing invalid I/O pin
registers because the way for pin configuring tends to be different from
various SoCs and thus it should be better being managed and controlled by
the pinctrl driver which MT7622 already can support.
Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mediatek/mtk_eth_soc.h')
-rw-r--r-- | drivers/net/ethernet/mediatek/mtk_eth_soc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h index a3af4660de81..672b8c353c47 100644 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h @@ -573,10 +573,13 @@ struct mtk_rx_ring { * @caps Flags shown the extra capability for the SoC * @required_clks Flags shown the bitmap for required clocks on * the target SoC + * @required_pctl A bool value to show whether the SoC requires + * the extra setup for those pins used by GMAC. */ struct mtk_soc_data { u32 caps; u32 required_clks; + bool required_pctl; }; /* currently no SoC has more than 2 macs */ |