From: Joey Lu <a0987203069@gmail.com>
To: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
mcoquelin.stm32@gmail.com, richardcochran@gmail.com
Cc: alexandre.torgue@foss.st.com, joabreu@synopsys.com,
ychuang3@nuvoton.com, schung@nuvoton.com, yclu4@nuvoton.com,
peppe.cavallaro@st.com, linux-arm-kernel@lists.infradead.org,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org,
linux-stm32@st-md-mailman.stormreply.com,
Joey Lu <a0987203069@gmail.com>
Subject: [PATCH v5 0/3] Add support for Nuvoton MA35D1 GMAC
Date: Wed, 18 Dec 2024 19:44:39 +0800 [thread overview]
Message-ID: <20241218114442.137884-1-a0987203069@gmail.com> (raw)
This patch series is submitted to add GMAC support for Nuvoton MA35D1
SoC platform. This work involves implementing a GMAC driver glue layer
based on Synopsys DWMAC driver framework to leverage MA35D1's dual GMAC
interface capabilities.
Overview:
1. Added a GMAC driver glue layer for MA35D1 SoC, providing support for
the platform's two GMAC interfaces.
2. Added device tree settings, with specific configurations for our
development boards:
a. SOM board: Configured for two RGMII interfaces.
b. IoT board: Configured with one RGMII and one RMII interface.
3. Added dt-bindings for the GMAC interfaces.
v5:
- Update nuvoton,ma35d1-dwmac.yaml
- Remove the properties already defined in snps,dwmac.yaml.
- Update dwmac-nuvoton driver
- Add a comment to explain the override of PMT flag.
v4:
- Update nuvoton,ma35d1-dwmac.yaml
- Remove unnecessary property 'select'.
- Remove unnecessary compatible entries and fix items.
- Specify number of entries for 'reg'.
- Remove already defined property 'phy-handle'.
- Update example.
- Modify the property internal path delay to match the driver.
- Update dtsi
- Move 'status' to be the last property.
- Update dwmac-nuvoton driver
- Use .remove instead of .remove_new.
- Use dev_err_probe instead.
v3:
- Update nuvoton,ma35d1-dwmac.yaml
- Fix for dt_binding_check warnings/errors.
- Add compatible in snps,dwmac.yaml.
- Update dtsi
- Update dtsi to follow examples in yaml.
- Update dwmac-nuvoton driver
- Fix for auto build test warnings.
- Invalid path delay arguments will be returned.
v2:
- Update nuvoton,ma35d1-dwmac.yaml
- Rename file to align with the compatible property.
- Add an argument to syscon to replace mac-id,
with corresponding descriptions.
- Use tx-internal-delay-ps and rx-internal-delay-ps properties for
configurable path delay with corresponding descriptions,
allowing selection between GMAC internal and PHY.
- Add all supported phy-mode options.
- Remove unused properties.
- Update dtsi
- Modify syscon configuration to include an argument for
GMAC interface selection.
- Update dwmac-nuvoton driver
- Remove redundant device information print statements.
- Remove non-global parameters.
- Retrieve GMAC interface selection from the syscon argument.
- Parse Tx and Rx path delays by correct properties.
- Update configurations to support Wake-on-LAN.
Joey Lu (3):
dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC
arm64: dts: nuvoton: Add Ethernet nodes
net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family
.../bindings/net/nuvoton,ma35d1-dwmac.yaml | 126 ++++++++++++
.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
.../boot/dts/nuvoton/ma35d1-iot-512m.dts | 12 ++
.../boot/dts/nuvoton/ma35d1-som-256m.dts | 10 +
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 54 ++++++
drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
.../ethernet/stmicro/stmmac/dwmac-nuvoton.c | 182 ++++++++++++++++++
8 files changed, 397 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-nuvoton.c
--
2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Joey Lu <a0987203069@gmail.com>
To: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, robh@kernel.org,
krzk+dt@kernel.org, conor+dt@kernel.org,
mcoquelin.stm32@gmail.com, richardcochran@gmail.com
Cc: devicetree@vger.kernel.org, ychuang3@nuvoton.com,
Joey Lu <a0987203069@gmail.com>,
netdev@vger.kernel.org, openbmc@lists.ozlabs.org,
alexandre.torgue@foss.st.com, linux-kernel@vger.kernel.org,
joabreu@synopsys.com, schung@nuvoton.com, peppe.cavallaro@st.com,
yclu4@nuvoton.com, linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 0/3] Add support for Nuvoton MA35D1 GMAC
Date: Wed, 18 Dec 2024 19:44:39 +0800 [thread overview]
Message-ID: <20241218114442.137884-1-a0987203069@gmail.com> (raw)
This patch series is submitted to add GMAC support for Nuvoton MA35D1
SoC platform. This work involves implementing a GMAC driver glue layer
based on Synopsys DWMAC driver framework to leverage MA35D1's dual GMAC
interface capabilities.
Overview:
1. Added a GMAC driver glue layer for MA35D1 SoC, providing support for
the platform's two GMAC interfaces.
2. Added device tree settings, with specific configurations for our
development boards:
a. SOM board: Configured for two RGMII interfaces.
b. IoT board: Configured with one RGMII and one RMII interface.
3. Added dt-bindings for the GMAC interfaces.
v5:
- Update nuvoton,ma35d1-dwmac.yaml
- Remove the properties already defined in snps,dwmac.yaml.
- Update dwmac-nuvoton driver
- Add a comment to explain the override of PMT flag.
v4:
- Update nuvoton,ma35d1-dwmac.yaml
- Remove unnecessary property 'select'.
- Remove unnecessary compatible entries and fix items.
- Specify number of entries for 'reg'.
- Remove already defined property 'phy-handle'.
- Update example.
- Modify the property internal path delay to match the driver.
- Update dtsi
- Move 'status' to be the last property.
- Update dwmac-nuvoton driver
- Use .remove instead of .remove_new.
- Use dev_err_probe instead.
v3:
- Update nuvoton,ma35d1-dwmac.yaml
- Fix for dt_binding_check warnings/errors.
- Add compatible in snps,dwmac.yaml.
- Update dtsi
- Update dtsi to follow examples in yaml.
- Update dwmac-nuvoton driver
- Fix for auto build test warnings.
- Invalid path delay arguments will be returned.
v2:
- Update nuvoton,ma35d1-dwmac.yaml
- Rename file to align with the compatible property.
- Add an argument to syscon to replace mac-id,
with corresponding descriptions.
- Use tx-internal-delay-ps and rx-internal-delay-ps properties for
configurable path delay with corresponding descriptions,
allowing selection between GMAC internal and PHY.
- Add all supported phy-mode options.
- Remove unused properties.
- Update dtsi
- Modify syscon configuration to include an argument for
GMAC interface selection.
- Update dwmac-nuvoton driver
- Remove redundant device information print statements.
- Remove non-global parameters.
- Retrieve GMAC interface selection from the syscon argument.
- Parse Tx and Rx path delays by correct properties.
- Update configurations to support Wake-on-LAN.
Joey Lu (3):
dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC
arm64: dts: nuvoton: Add Ethernet nodes
net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family
.../bindings/net/nuvoton,ma35d1-dwmac.yaml | 126 ++++++++++++
.../devicetree/bindings/net/snps,dwmac.yaml | 1 +
.../boot/dts/nuvoton/ma35d1-iot-512m.dts | 12 ++
.../boot/dts/nuvoton/ma35d1-som-256m.dts | 10 +
arch/arm64/boot/dts/nuvoton/ma35d1.dtsi | 54 ++++++
drivers/net/ethernet/stmicro/stmmac/Kconfig | 11 ++
drivers/net/ethernet/stmicro/stmmac/Makefile | 1 +
.../ethernet/stmicro/stmmac/dwmac-nuvoton.c | 182 ++++++++++++++++++
8 files changed, 397 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/nuvoton,ma35d1-dwmac.yaml
create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-nuvoton.c
--
2.34.1
next reply other threads:[~2024-12-18 11:46 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 11:44 Joey Lu [this message]
2024-12-18 11:44 ` [PATCH v5 0/3] Add support for Nuvoton MA35D1 GMAC Joey Lu
2024-12-18 11:44 ` [PATCH v5 1/3] dt-bindings: net: nuvoton: Add schema for Nuvoton MA35 family GMAC Joey Lu
2024-12-18 11:44 ` Joey Lu
2024-12-31 1:03 ` Rob Herring (Arm)
2024-12-31 1:03 ` Rob Herring (Arm)
2024-12-18 11:44 ` [PATCH v5 2/3] arm64: dts: nuvoton: Add Ethernet nodes Joey Lu
2024-12-18 11:44 ` Joey Lu
2024-12-18 11:44 ` [PATCH v5 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family Joey Lu
2024-12-18 11:44 ` Joey Lu
2024-12-18 13:26 ` Przemek Kitszel
2024-12-18 13:26 ` Przemek Kitszel
2024-12-20 7:07 ` Joey Lu
2024-12-20 10:59 ` Przemek Kitszel
2024-12-20 10:59 ` Przemek Kitszel
2024-12-24 9:37 ` Joey Lu
2024-12-24 9:37 ` Joey Lu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241218114442.137884-1-a0987203069@gmail.com \
--to=a0987203069@gmail.com \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=joabreu@synopsys.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=openbmc@lists.ozlabs.org \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=richardcochran@gmail.com \
--cc=robh@kernel.org \
--cc=schung@nuvoton.com \
--cc=ychuang3@nuvoton.com \
--cc=yclu4@nuvoton.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.