Giuseppe CAVALLARO
53b26b9bc9
stmmac: dwmac-sti: review the glue-logic for STi4xx and STiD127 SoCs
...
This patch is to review the whole glue logic adopted on STi SoCs that
was bugged.
In the old glue-logic there was a lot of confusion when setup the
retiming especially for STiD127 where, for example, the bits 6 and 7
(in the GMAC control register) have a different meaning of what is
used for STiH4xx SoCs. So we cannot adopt the same glue for all these
SoCs.
Moreover, GiGa on STiD127 didn't work and, for all the SoCs, the RGMII
couldn't run when the speed was 10Mbps (because the clock was not properly
managed).
Note that the phy clock needs to be provided by the platform as well as
documented in the related binding file (updated as consequence).
The old code supported too many configurations never adopted and validated.
This made the code very complex to maintain and debug in case of issues.
The patch simplifies all the configurations as commented in the tables
inside the file and obviously it has been tested on all the boards
based on the SoCs mentioned.
With this patch, the dwmac-sti is also ready to support new configurations that
will be available on next SoC generations.
Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-14 16:40:06 -04:00
..
can
can: rcar_can: document device tree bindings
2014-08-18 01:03:42 +02:00
dsa
Documentation: devicetree: update dsa binding with optional properties
2014-08-27 22:59:41 -07:00
ieee802154
devicetree: add device tree bindings for cc2520 driver
2014-06-22 21:32:40 -07:00
nfc
NFC: dts: st21nfcb_i2c: Fix invalid interrupts polarity.
2014-09-24 02:02:23 +02:00
wireless
dt: bindings: add bindings for Broadcom bcm43xx sdio devices
2014-07-29 10:32:56 -04:00
allwinner,sun4i-emac.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
allwinner,sun4i-mdio.txt
net: phy: sunxi: Add new compatibles
2014-02-06 19:46:54 -08:00
allwinner,sun7i-a20-gmac.txt
net: stmmac: sunxi platform extensions for GMAC in Allwinner A20 SoC's
2014-01-19 20:02:41 -08:00
altera_tse.txt
dts: Add bindings for the Altera Triple Speed Ethernet driver
2014-03-17 21:26:56 -04:00
amd-xgbe-phy.txt
amd-xgbe: Update/fix 2.5GbE support
2014-07-30 18:46:52 -07:00
amd-xgbe.txt
amd-xgbe: Add hardware timestamp support
2014-07-30 18:46:52 -07:00
apm-xgene-enet.txt
Documentation: dts: Update section header for APM X-Gene
2014-10-10 15:06:59 -04:00
arc_emac.txt
arc_emac: add clock handling
2014-04-27 19:46:17 -04:00
broadcom-bcm87xx.txt
netdev/phy: Add driver for Broadcom BCM87XX 10G Ethernet PHYs
2012-06-27 21:23:25 -07:00
broadcom-bcmgenet.txt
Documentation: devicetree: net: refer to fixed-link.txt
2014-05-22 15:16:43 -04:00
broadcom-mdio-unimac.txt
net: phy: add generic UniMAC MDIO bus driver
2014-08-27 22:59:39 -07:00
broadcom-sf2.txt
Documentation: devicetree: add Broadcom Starfighter 2 binding
2014-08-27 22:59:41 -07:00
broadcom-systemport.txt
net: systemport: add Wake-on-LAN support
2014-07-07 20:56:47 -07:00
calxeda-xgmac.txt
ARM: highbank: add coherent DMA setup
2012-10-02 08:58:07 +02:00
cavium-mdio.txt
MIPS: Octeon: Add device tree source files.
2012-07-23 13:54:52 +01:00
cavium-mix.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
cavium-pip.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
cdns-emac.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
cpsw-phy-sel.txt
drivers: net: cpsw-phy-sel: add am43xx platform support
2014-05-13 00:11:00 -04:00
cpsw.txt
net: cpsw: Add am33xx MACID readout
2014-09-30 01:30:43 -04:00
davicom-dm9000.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
davinci-mdio.txt
net: davinci_mdio: reuse for keystone2 arch
2014-07-16 23:33:16 -07:00
davinci_emac.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
emac_rockchip.txt
dt-bindings: Document EMAC Rockchip
2014-09-09 17:29:59 -07:00
ethernet.txt
net: phy: add minimal support for QSGMII PHY
2014-04-16 14:36:12 -04:00
fixed-link.txt
Documentation: devicetree: add old and deprecated 'fixed-link'
2014-05-22 15:16:43 -04:00
fsl-fec.txt
ARM: Documentation: Update fec dts binding doc
2014-09-13 17:32:17 -04:00
fsl-tsec-phy.txt
Documentation: devicetree: net: refer to fixed-link.txt
2014-05-22 15:16:43 -04:00
gpmc-eth.txt
Documentation: dt: update TI GPMC ethernet binding properties
2013-04-30 08:33:59 -05:00
hisilicon-hix5hd2-gmac.txt
Documentation: add Device tree bindings for Hisilicon hix5hd2 ethernet
2014-06-02 23:39:05 -07:00
lpc-eth.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
macb.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
marvell-armada-370-neta.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
marvell-orion-mdio.txt
net: mvmdio: add clocks property to binding documentation
2013-04-11 16:19:37 -04:00
marvell-orion-net.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
marvell-pp2.txt
ethernet: Add new driver for Marvell Armada 375 network unit
2014-07-10 17:18:24 -07:00
marvell-pxa168.txt
Documentation: bindings: net: add the Marvell PXA168 Ethernet controller
2014-09-30 16:36:12 -04:00
mdio-gpio.txt
net: mdio-gpio: fix device-tree binding documentation
2014-05-09 15:51:19 -04:00
mdio-mux-gpio.txt
netdev/of/phy: Add MDIO bus multiplexer driven by GPIO lines.
2012-05-07 22:58:09 -04:00
mdio-mux-mmioreg.txt
netdev/phy: add MDIO bus multiplexer driven by a memory-mapped device
2012-08-30 12:54:48 -04:00
mdio-mux.txt
netdev/of/phy: Add MDIO bus multiplexer support.
2012-05-07 22:58:09 -04:00
meson-dwmac.txt
net: stmmac: meson: document device tree bindings
2014-09-26 00:12:56 -04:00
micrel-ks8851.txt
devicetree: bindings: Properly document micrel ks8851 SPI chips
2014-05-24 14:03:21 -04:00
micrel-ksz90x1.txt
Update Micrel KSZ90x1 binding documentation
2014-05-07 16:51:09 -04:00
micrel.txt
net/phy: micrel: Add clock support for KSZ8021/KSZ8031
2014-10-10 15:35:13 -04:00
moxa,moxart-mac.txt
net: Add MOXA ART SoCs ethernet driver
2013-08-11 21:38:12 -07:00
opencores-ethoc.txt
net: ethoc: document OF bindings
2014-02-19 16:36:13 -05:00
phy.txt
dt: Document a compatible entry for MDIO ethernet Phys
2014-03-20 17:10:28 -04:00
qca-qca7000-spi.txt
Documentation: add Device tree bindings for QCA7000
2014-09-29 00:23:52 -04:00
samsung-sxgbe.txt
Documentation: treewide: fix typos and grammar
2014-08-26 09:35:51 +02:00
sh_eth.txt
net: sh_eth: Add r8a7794 support
2014-08-02 16:38:32 -07:00
smsc-lan91c111.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
smsc911x.txt
DT: net: document Ethernet bindings in one place
2014-02-18 17:05:39 -05:00
socfpga-dwmac.txt
net: stmmac: add fix_mac_speed support for socfpga
2014-08-22 12:33:48 -07:00
sti-dwmac.txt
stmmac: dwmac-sti: review the glue-logic for STi4xx and STiD127 SoCs
2014-10-14 16:40:06 -04:00
stmmac.txt
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
2014-10-07 21:16:26 -04:00
via-rhine.txt
net: via-rhine: add OF bus binding
2014-04-23 15:24:06 -04:00
via-velocity.txt
net: velocity: Add platform device support to VIA velocity driver
2013-05-20 13:40:39 -07:00