devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML
@ 2025-04-30 10:42 Alexey Charkov
  2025-04-30 13:25 ` Krzysztof Kozlowski
  2025-05-02  1:10 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 4+ messages in thread
From: Alexey Charkov @ 2025-04-30 10:42 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel,
	Alexey Charkov

Rewrite the textual description for the VIA Rhine platform Ethernet
controller as YAML schema, and switch the filename to follow the
compatible string. These are used in several VIA/WonderMedia SoCs

Signed-off-by: Alexey Charkov <alchark@gmail.com>
---
Changes in v2:
- Dropped the update to MAINTAINERS for now to reduce merge conflicts
  across different trees
- Split out the Rhine binding separately from the big series affecting
  multiple subsystems unnecessarily (thanks Rob)
- Link to v1: https://lore.kernel.org/all/20250416-wmt-updates-v1-4-f9af689cdfc2@gmail.com/
---
 .../devicetree/bindings/net/via,vt8500-rhine.yaml  | 41 ++++++++++++++++++++++
 .../devicetree/bindings/net/via-rhine.txt          | 17 ---------
 2 files changed, 41 insertions(+), 17 deletions(-)

diff --git a/Documentation/devicetree/bindings/net/via,vt8500-rhine.yaml b/Documentation/devicetree/bindings/net/via,vt8500-rhine.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e663d5a2f014788481dfa0c612c261eb6adb6423
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/via,vt8500-rhine.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/via,vt8500-rhine.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: VIA Rhine 10/100 Network Controller
+
+description:
+  VIA's Ethernet controller integrated into VIA VT8500,
+  WonderMedia WM8950 and related SoCs
+
+maintainers:
+  - Alexey Charkov <alchark@gmail.com>
+
+allOf:
+  - $ref: ethernet-controller.yaml#
+
+properties:
+  compatible:
+    const: via,vt8500-rhine
+
+  reg:
+    maxItems: 1
+
+  interrupts:
+    maxItems: 1
+
+required:
+  - reg
+  - interrupts
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    ethernet@d8004000 {
+        compatible = "via,vt8500-rhine";
+        reg = <0xd8004000 0x100>;
+        interrupts = <10>;
+    };
diff --git a/Documentation/devicetree/bindings/net/via-rhine.txt b/Documentation/devicetree/bindings/net/via-rhine.txt
deleted file mode 100644
index 334eca2bf937cc4a383be87f952ed7b5acbbeb59..0000000000000000000000000000000000000000
--- a/Documentation/devicetree/bindings/net/via-rhine.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-* VIA Rhine 10/100 Network Controller
-
-Required properties:
-- compatible : Should be "via,vt8500-rhine" for integrated
-	Rhine controllers found in VIA VT8500, WonderMedia WM8950
-	and similar. These are listed as 1106:3106 rev. 0x84 on the
-	virtual PCI bus under vendor-provided kernels
-- reg : Address and length of the io space
-- interrupts : Should contain the controller interrupt line
-
-Examples:
-
-ethernet@d8004000 {
-	compatible = "via,vt8500-rhine";
-	reg = <0xd8004000 0x100>;
-	interrupts = <10>;
-};

---
base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
change-id: 20250430-rhine-binding-ee3a88809351

Best regards,
-- 
Alexey Charkov <alchark@gmail.com>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML
  2025-04-30 10:42 [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML Alexey Charkov
@ 2025-04-30 13:25 ` Krzysztof Kozlowski
  2025-04-30 14:51   ` Alexey Charkov
  2025-05-02  1:10 ` patchwork-bot+netdevbpf
  1 sibling, 1 reply; 4+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-30 13:25 UTC (permalink / raw)
  To: Alexey Charkov, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: netdev, devicetree, linux-arm-kernel, linux-kernel

On 30/04/2025 12:42, Alexey Charkov wrote:
> Rewrite the textual description for the VIA Rhine platform Ethernet
> controller as YAML schema, and switch the filename to follow the
> compatible string. These are used in several VIA/WonderMedia SoCs
> 
> Signed-off-by: Alexey Charkov <alchark@gmail.com>
> ---
> Changes in v2:
> - Dropped the update to MAINTAINERS for now to reduce merge conflicts
>   across different trees
> - Split out the Rhine binding separately from the big series affecting
>   multiple subsystems unnecessarily (thanks Rob)
> - Link to v1: https://lore.kernel.org/all/20250416-wmt-updates-v1-4-f9af689cdfc2@gmail.com/
> ---

You should have net-next prefix (see maintainer-netdev).

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Krzysztof

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML
  2025-04-30 13:25 ` Krzysztof Kozlowski
@ 2025-04-30 14:51   ` Alexey Charkov
  0 siblings, 0 replies; 4+ messages in thread
From: Alexey Charkov @ 2025-04-30 14:51 UTC (permalink / raw)
  To: Krzysztof Kozlowski
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	netdev, devicetree, linux-arm-kernel, linux-kernel

On Wed, Apr 30, 2025 at 5:25 PM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 30/04/2025 12:42, Alexey Charkov wrote:
> > Rewrite the textual description for the VIA Rhine platform Ethernet
> > controller as YAML schema, and switch the filename to follow the
> > compatible string. These are used in several VIA/WonderMedia SoCs
> >
> > Signed-off-by: Alexey Charkov <alchark@gmail.com>
> > ---
> > Changes in v2:
> > - Dropped the update to MAINTAINERS for now to reduce merge conflicts
> >   across different trees
> > - Split out the Rhine binding separately from the big series affecting
> >   multiple subsystems unnecessarily (thanks Rob)
> > - Link to v1: https://lore.kernel.org/all/20250416-wmt-updates-v1-4-f9af689cdfc2@gmail.com/
> > ---
>
> You should have net-next prefix (see maintainer-netdev).

Duly noted, thank you Krzysztof!

> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Best regards,
Alexey

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML
  2025-04-30 10:42 [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML Alexey Charkov
  2025-04-30 13:25 ` Krzysztof Kozlowski
@ 2025-05-02  1:10 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 4+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-05-02  1:10 UTC (permalink / raw)
  To: Alexey Charkov
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, robh, krzk+dt,
	conor+dt, netdev, devicetree, linux-arm-kernel, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 30 Apr 2025 14:42:45 +0400 you wrote:
> Rewrite the textual description for the VIA Rhine platform Ethernet
> controller as YAML schema, and switch the filename to follow the
> compatible string. These are used in several VIA/WonderMedia SoCs
> 
> Signed-off-by: Alexey Charkov <alchark@gmail.com>
> ---
> Changes in v2:
> - Dropped the update to MAINTAINERS for now to reduce merge conflicts
>   across different trees
> - Split out the Rhine binding separately from the big series affecting
>   multiple subsystems unnecessarily (thanks Rob)
> - Link to v1: https://lore.kernel.org/all/20250416-wmt-updates-v1-4-f9af689cdfc2@gmail.com/
> 
> [...]

Here is the summary with links:
  - [v2] dt-bindings: net: via-rhine: Convert to YAML
    https://git.kernel.org/netdev/net-next/c/630cb33ccfcd

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-02  1:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-30 10:42 [PATCH v2] dt-bindings: net: via-rhine: Convert to YAML Alexey Charkov
2025-04-30 13:25 ` Krzysztof Kozlowski
2025-04-30 14:51   ` Alexey Charkov
2025-05-02  1:10 ` 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;
as well as URLs for NNTP newsgroup(s).