* [PATCH v6 0/1] Add StarFive JH8100 dwmac support
@ 2024-04-03 10:05 Tan Chun Hau
2024-04-03 10:05 ` [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Tan Chun Hau
2024-04-05 2:40 ` [PATCH v6 0/1] Add StarFive JH8100 dwmac support patchwork-bot+netdevbpf
0 siblings, 2 replies; 5+ messages in thread
From: Tan Chun Hau @ 2024-04-03 10:05 UTC (permalink / raw)
To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Rob Herring, Emil Renner Berthing, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin,
Alexandre Torgue, Simon Horman, Bartosz Golaszewski,
Andrew Halaney, Jisheng Zhang, Uwe Kleine-König,
Russell King
Cc: Ley Foon Tan, Jee Heng Sia, netdev, devicetree, linux-kernel,
linux-stm32, linux-arm-kernel, linux-riscv
Add StarFive JH8100 dwmac support.
The JH8100 dwmac shares the same driver code as the JH7110 dwmac
and has only one reset signal.
Please refer to below:
JH8100: reset-names = "stmmaceth";
JH7110: reset-names = "stmmaceth", "ahb";
JH7100: reset-names = "ahb";
Example usage of JH8100 in the device tree:
gmac0: ethernet@16030000 {
compatible = "starfive,jh8100-dwmac",
"starfive,jh7110-dwmac",
"snps,dwmac-5.20";
...
};
Changes in v6:
- Removed unnecessary enum "starfive,jh8100-dwmac".
Tan Chun Hau (1):
dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support
.../bindings/net/starfive,jh7110-dwmac.yaml | 28 +++++++++++++++----
1 file changed, 23 insertions(+), 5 deletions(-)
--
2.25.1
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support 2024-04-03 10:05 [PATCH v6 0/1] Add StarFive JH8100 dwmac support Tan Chun Hau @ 2024-04-03 10:05 ` Tan Chun Hau 2024-04-03 15:49 ` Conor Dooley 2024-04-03 17:15 ` Rob Herring 2024-04-05 2:40 ` [PATCH v6 0/1] Add StarFive JH8100 dwmac support patchwork-bot+netdevbpf 1 sibling, 2 replies; 5+ messages in thread From: Tan Chun Hau @ 2024-04-03 10:05 UTC (permalink / raw) To: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Emil Renner Berthing, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin, Alexandre Torgue, Simon Horman, Bartosz Golaszewski, Andrew Halaney, Jisheng Zhang, Uwe Kleine-König, Russell King Cc: Ley Foon Tan, Jee Heng Sia, netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel, linux-riscv Add StarFive JH8100 dwmac support. The JH8100 dwmac shares the same driver code as the JH7110 dwmac and has only one reset signal. Please refer to below: JH8100: reset-names = "stmmaceth"; JH7110: reset-names = "stmmaceth", "ahb"; JH7100: reset-names = "ahb"; Example usage of JH8100 in the device tree: gmac0: ethernet@16030000 { compatible = "starfive,jh8100-dwmac", "starfive,jh7110-dwmac", "snps,dwmac-5.20"; ... }; Signed-off-by: Tan Chun Hau <chunhau.tan@starfivetech.com> --- .../bindings/net/starfive,jh7110-dwmac.yaml | 28 +++++++++++++++---- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml index 0d1962980f57..313a15331661 100644 --- a/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml +++ b/Documentation/devicetree/bindings/net/starfive,jh7110-dwmac.yaml @@ -30,6 +30,10 @@ properties: - items: - const: starfive,jh7110-dwmac - const: snps,dwmac-5.20 + - items: + - const: starfive,jh8100-dwmac + - const: starfive,jh7110-dwmac + - const: snps,dwmac-5.20 reg: maxItems: 1 @@ -116,11 +120,25 @@ allOf: minItems: 3 maxItems: 3 - resets: - minItems: 2 - - reset-names: - minItems: 2 + if: + properties: + compatible: + contains: + const: starfive,jh8100-dwmac + then: + properties: + resets: + maxItems: 1 + + reset-names: + const: stmmaceth + else: + properties: + resets: + minItems: 2 + + reset-names: + minItems: 2 unevaluatedProperties: false -- 2.25.1 _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support 2024-04-03 10:05 ` [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Tan Chun Hau @ 2024-04-03 15:49 ` Conor Dooley 2024-04-03 17:15 ` Rob Herring 1 sibling, 0 replies; 5+ messages in thread From: Conor Dooley @ 2024-04-03 15:49 UTC (permalink / raw) To: Tan Chun Hau Cc: David S . Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni, Rob Herring, Emil Renner Berthing, Rob Herring, Krzysztof Kozlowski, Conor Dooley, Maxime Coquelin, Alexandre Torgue, Simon Horman, Bartosz Golaszewski, Andrew Halaney, Jisheng Zhang, Uwe Kleine-König, Russell King, Ley Foon Tan, Jee Heng Sia, netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel, linux-riscv [-- Attachment #1.1: Type: text/plain, Size: 802 bytes --] On Wed, Apr 03, 2024 at 03:05:49AM -0700, Tan Chun Hau wrote: > Add StarFive JH8100 dwmac support. > The JH8100 dwmac shares the same driver code as the JH7110 dwmac > and has only one reset signal. > > Please refer to below: > > JH8100: reset-names = "stmmaceth"; > JH7110: reset-names = "stmmaceth", "ahb"; > JH7100: reset-names = "ahb"; > > Example usage of JH8100 in the device tree: > > gmac0: ethernet@16030000 { > compatible = "starfive,jh8100-dwmac", > "starfive,jh7110-dwmac", > "snps,dwmac-5.20"; > ... > }; > > Signed-off-by: Tan Chun Hau <chunhau.tan@starfivetech.com> How come you didn't pick up Rob's r-b? https://lore.kernel.org/all/20240328204202.GA308290-robh@kernel.org/ Thanks, Conor. [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 228 bytes --] [-- Attachment #2: Type: text/plain, Size: 161 bytes --] _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support 2024-04-03 10:05 ` [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Tan Chun Hau 2024-04-03 15:49 ` Conor Dooley @ 2024-04-03 17:15 ` Rob Herring 1 sibling, 0 replies; 5+ messages in thread From: Rob Herring @ 2024-04-03 17:15 UTC (permalink / raw) To: Tan Chun Hau Cc: Andrew Halaney, Maxime Coquelin, Simon Horman, netdev, Ley Foon Tan, David S . Miller, Jakub Kicinski, linux-arm-kernel, Jisheng Zhang, Russell King, Emil Renner Berthing, Rob Herring, Bartosz Golaszewski, Jee Heng Sia, Paolo Abeni, linux-riscv, linux-stm32, Alexandre Torgue, Eric Dumazet, devicetree, Uwe Kleine-König, linux-kernel, Conor Dooley, Krzysztof Kozlowski On Wed, 03 Apr 2024 03:05:49 -0700, Tan Chun Hau wrote: > Add StarFive JH8100 dwmac support. > The JH8100 dwmac shares the same driver code as the JH7110 dwmac > and has only one reset signal. > > Please refer to below: > > JH8100: reset-names = "stmmaceth"; > JH7110: reset-names = "stmmaceth", "ahb"; > JH7100: reset-names = "ahb"; > > Example usage of JH8100 in the device tree: > > gmac0: ethernet@16030000 { > compatible = "starfive,jh8100-dwmac", > "starfive,jh7110-dwmac", > "snps,dwmac-5.20"; > ... > }; > > Signed-off-by: Tan Chun Hau <chunhau.tan@starfivetech.com> > --- > .../bindings/net/starfive,jh7110-dwmac.yaml | 28 +++++++++++++++---- > 1 file changed, 23 insertions(+), 5 deletions(-) > Reviewed-by: Rob Herring <robh@kernel.org> _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v6 0/1] Add StarFive JH8100 dwmac support 2024-04-03 10:05 [PATCH v6 0/1] Add StarFive JH8100 dwmac support Tan Chun Hau 2024-04-03 10:05 ` [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Tan Chun Hau @ 2024-04-05 2:40 ` patchwork-bot+netdevbpf 1 sibling, 0 replies; 5+ messages in thread From: patchwork-bot+netdevbpf @ 2024-04-05 2:40 UTC (permalink / raw) To: ChunHau Tan Cc: davem, edumazet, kuba, pabeni, robh+dt, kernel, robh, krzysztof.kozlowski+dt, conor+dt, mcoquelin.stm32, alexandre.torgue, horms, bartosz.golaszewski, ahalaney, jszhang, u.kleine-koenig, rmk+kernel, leyfoon.tan, jeeheng.sia, netdev, devicetree, linux-kernel, linux-stm32, linux-arm-kernel, linux-riscv Hello: This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <kuba@kernel.org>: On Wed, 3 Apr 2024 03:05:48 -0700 you wrote: > Add StarFive JH8100 dwmac support. > The JH8100 dwmac shares the same driver code as the JH7110 dwmac > and has only one reset signal. > > Please refer to below: > > JH8100: reset-names = "stmmaceth"; > JH7110: reset-names = "stmmaceth", "ahb"; > JH7100: reset-names = "ahb"; > > [...] Here is the summary with links: - [v6,1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support https://git.kernel.org/netdev/net-next/c/1a9de5646559 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-04-05 2:40 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2024-04-03 10:05 [PATCH v6 0/1] Add StarFive JH8100 dwmac support Tan Chun Hau 2024-04-03 10:05 ` [PATCH v6 1/1] dt-bindings: net: starfive,jh7110-dwmac: Add StarFive JH8100 support Tan Chun Hau 2024-04-03 15:49 ` Conor Dooley 2024-04-03 17:15 ` Rob Herring 2024-04-05 2:40 ` [PATCH v6 0/1] Add StarFive JH8100 dwmac support patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox