Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: net: via-rhine: Convert to YAML

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>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250430-rhine-binding-v2-1-4290156c0f57@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alexey Charkov and committed by
Jakub Kicinski
630cb33c 14a0087e

+41 -17
+41
Documentation/devicetree/bindings/net/via,vt8500-rhine.yaml
··· 1 + # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/net/via,vt8500-rhine.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: VIA Rhine 10/100 Network Controller 8 + 9 + description: 10 + VIA's Ethernet controller integrated into VIA VT8500, 11 + WonderMedia WM8950 and related SoCs 12 + 13 + maintainers: 14 + - Alexey Charkov <alchark@gmail.com> 15 + 16 + allOf: 17 + - $ref: ethernet-controller.yaml# 18 + 19 + properties: 20 + compatible: 21 + const: via,vt8500-rhine 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + interrupts: 27 + maxItems: 1 28 + 29 + required: 30 + - reg 31 + - interrupts 32 + 33 + unevaluatedProperties: false 34 + 35 + examples: 36 + - | 37 + ethernet@d8004000 { 38 + compatible = "via,vt8500-rhine"; 39 + reg = <0xd8004000 0x100>; 40 + interrupts = <10>; 41 + };
-17
Documentation/devicetree/bindings/net/via-rhine.txt
··· 1 - * VIA Rhine 10/100 Network Controller 2 - 3 - Required properties: 4 - - compatible : Should be "via,vt8500-rhine" for integrated 5 - Rhine controllers found in VIA VT8500, WonderMedia WM8950 6 - and similar. These are listed as 1106:3106 rev. 0x84 on the 7 - virtual PCI bus under vendor-provided kernels 8 - - reg : Address and length of the io space 9 - - interrupts : Should contain the controller interrupt line 10 - 11 - Examples: 12 - 13 - ethernet@d8004000 { 14 - compatible = "via,vt8500-rhine"; 15 - reg = <0xd8004000 0x100>; 16 - interrupts = <10>; 17 - };