Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1325516 > unrolled thread
| Started by | Alexandre TORGUE <alexandre.torgue@gmail.com> |
|---|---|
| First post | 2016-02-03 16:00 +0100 |
| Last post | 2016-02-03 16:30 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/4] Add Ethernet support on STM32F429 Alexandre TORGUE <alexandre.torgue@gmail.com> - 2016-02-03 16:00 +0100
[PATCH 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig Alexandre TORGUE <alexandre.torgue@gmail.com> - 2016-02-03 16:00 +0100
[PATCH 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP Alexandre TORGUE <alexandre.torgue@gmail.com> - 2016-02-03 16:00 +0100
Re: [PATCH 0/4] Add Ethernet support on STM32F429 Giuseppe CAVALLARO <peppe.cavallaro@st.com> - 2016-02-03 16:30 +0100
| From | Alexandre TORGUE <alexandre.torgue@gmail.com> |
|---|---|
| Date | 2016-02-03 16:00 +0100 |
| Subject | [PATCH 0/4] Add Ethernet support on STM32F429 |
| Message-ID | <qY74u-3fA-9@gated-at.bofh.it> |
STM32F429 Chip embeds a Synopsys 3.50a MAC IP. This series: -enhance current stmmac driver to control it (code already available) and adds basic glue for STM32F429 chip. -Enable basic Net config in kernel. Note that DT patches are not present because STM32 pinctrl code is not yet avalaible. Regards Alexandre Alexandre TORGUE (4): net: ethernet: dwmac: add Ethernet glue logic for stm32 chip Documentation: Bindings: Add STM32 DWMAC glue net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP ARM: STM32: Enable Ethernet in stm32_defconfig .../devicetree/bindings/net/stm32-dwmac.txt | 41 +++++ arch/arm/configs/stm32_defconfig | 9 ++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 12 ++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 177 +++++++++++++++++++++ .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 + 6 files changed, 241 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/stm32-dwmac.txt create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c -- 1.9.1
[toc] | [next] | [standalone]
| From | Alexandre TORGUE <alexandre.torgue@gmail.com> |
|---|---|
| Date | 2016-02-03 16:00 +0100 |
| Subject | [PATCH 4/4] ARM: STM32: Enable Ethernet in stm32_defconfig |
| Message-ID | <qY74v-3fA-27@gated-at.bofh.it> |
| In reply to | #1325516 |
Enable basic Ethernet support (IPV4) for stm32 defconfig. Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com> diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index ec52505..8b8abe0 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32_defconfig @@ -33,11 +33,20 @@ CONFIG_XIP_PHYS_ADDR=0x08008000 CONFIG_BINFMT_FLAT=y CONFIG_BINFMT_SHARED_FLAT=y # CONFIG_COREDUMP is not set +CONFIG_NET=y +CONFIG_INET=y +# CONFIG_INET_XFRM_MODE_TRANSPORT is not set +# CONFIG_INET_XFRM_MODE_TUNNEL is not set +# CONFIG_INET_XFRM_MODE_BEET is not set +# CONFIG_IPV6 is not set CONFIG_DEVTMPFS=y CONFIG_DEVTMPFS_MOUNT=y # CONFIG_FW_LOADER is not set # CONFIG_BLK_DEV is not set CONFIG_EEPROM_93CX6=y +CONFIG_NETDEVICES=y +CONFIG_STMMAC_ETH=y +# CONFIG_WLAN is not set # CONFIG_INPUT is not set # CONFIG_SERIO is not set # CONFIG_VT is not set -- 1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Alexandre TORGUE <alexandre.torgue@gmail.com> |
|---|---|
| Date | 2016-02-03 16:00 +0100 |
| Subject | [PATCH 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP |
| Message-ID | <qY74v-3fA-29@gated-at.bofh.it> |
| In reply to | #1325516 |
Adds support of Synopsys 3.50a MAC IP in stmmac driver.
Signed-off-by: Alexandre TORGUE <alexandre.torgue@gmail.com>
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
index 6a52fa1..6cca626 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
@@ -178,6 +178,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac)
* once needed on other platforms.
*/
if (of_device_is_compatible(np, "st,spear600-gmac") ||
+ of_device_is_compatible(np, "snps,dwmac-3.50a") ||
of_device_is_compatible(np, "snps,dwmac-3.70a") ||
of_device_is_compatible(np, "snps,dwmac")) {
/* Note that the max-frame-size parameter as defined in the
--
1.9.1
[toc] | [prev] | [next] | [standalone]
| From | Giuseppe CAVALLARO <peppe.cavallaro@st.com> |
|---|---|
| Date | 2016-02-03 16:30 +0100 |
| Message-ID | <qY7xw-3G4-9@gated-at.bofh.it> |
| In reply to | #1325516 |
Hello Alex On 2/3/2016 3:54 PM, Alexandre TORGUE wrote: > STM32F429 Chip embeds a Synopsys 3.50a MAC IP. > This series: > -enhance current stmmac driver to control it (code already available) and > adds basic glue for STM32F429 chip. > -Enable basic Net config in kernel. > > Note that DT patches are not present because STM32 pinctrl code is not > yet avalaible. patches look ok for me Acked-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> > > Regards > > Alexandre > > Alexandre TORGUE (4): > net: ethernet: dwmac: add Ethernet glue logic for stm32 chip > Documentation: Bindings: Add STM32 DWMAC glue > net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP > ARM: STM32: Enable Ethernet in stm32_defconfig > > .../devicetree/bindings/net/stm32-dwmac.txt | 41 +++++ > arch/arm/configs/stm32_defconfig | 9 ++ > drivers/net/ethernet/stmicro/stmmac/Kconfig | 12 ++ > drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + > drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c | 177 +++++++++++++++++++++ > .../net/ethernet/stmicro/stmmac/stmmac_platform.c | 1 + > 6 files changed, 241 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/stm32-dwmac.txt > create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web