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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: net: Convert APM XGene MDIO to DT schema

Convert the APM XGene MDIO bus binding to DT schema format. It's a
straight-forward conversion.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250908231016.2070305-2-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Rob Herring (Arm) and committed by
Jakub Kicinski
e663ad6e 0b467f5a

+55 -38
+54
Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.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/apm,xgene-mdio-rgmii.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: APM X-Gene SoC MDIO 8 + 9 + maintainers: 10 + - Iyappan Subramanian <iyappan@os.amperecomputing.com> 11 + - Keyur Chudgar <keyur@os.amperecomputing.com> 12 + - Quan Nguyen <quan@os.amperecomputing.com> 13 + 14 + allOf: 15 + - $ref: mdio.yaml# 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - apm,xgene-mdio-rgmii 21 + - apm,xgene-mdio-xfi 22 + 23 + reg: 24 + maxItems: 1 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + unevaluatedProperties: false 30 + 31 + required: 32 + - compatible 33 + - reg 34 + - clocks 35 + 36 + examples: 37 + - | 38 + mdio@17020000 { 39 + compatible = "apm,xgene-mdio-rgmii"; 40 + #address-cells = <1>; 41 + #size-cells = <0>; 42 + reg = <0x17020000 0xd100>; 43 + clocks = <&menetclk 0>; 44 + 45 + phy@3 { 46 + reg = <0x3>; 47 + }; 48 + phy@4 { 49 + reg = <0x4>; 50 + }; 51 + phy@5 { 52 + reg = <0x5>; 53 + }; 54 + };
-37
Documentation/devicetree/bindings/net/apm-xgene-mdio.txt
··· 1 - APM X-Gene SoC MDIO node 2 - 3 - MDIO node is defined to describe on-chip MDIO controller. 4 - 5 - Required properties: 6 - - compatible: Must be "apm,xgene-mdio-rgmii" or "apm,xgene-mdio-xfi" 7 - - #address-cells: Must be <1>. 8 - - #size-cells: Must be <0>. 9 - - reg: Address and length of the register set 10 - - clocks: Reference to the clock entry 11 - 12 - For the phys on the mdio bus, there must be a node with the following fields: 13 - - compatible: PHY identifier. Please refer ./phy.txt for the format. 14 - - reg: The ID number for the phy. 15 - 16 - Example: 17 - 18 - mdio: mdio@17020000 { 19 - compatible = "apm,xgene-mdio-rgmii"; 20 - #address-cells = <1>; 21 - #size-cells = <0>; 22 - reg = <0x0 0x17020000 0x0 0xd100>; 23 - clocks = <&menetclk 0>; 24 - }; 25 - 26 - /* Board-specific peripheral configurations */ 27 - &mdio { 28 - menetphy: phy@3 { 29 - reg = <0x3>; 30 - }; 31 - sgenet0phy: phy@4 { 32 - reg = <0x4>; 33 - }; 34 - sgenet1phy: phy@5 { 35 - reg = <0x5>; 36 - }; 37 - };
+1 -1
MAINTAINERS
··· 1887 1887 M: Quan Nguyen <quan@os.amperecomputing.com> 1888 1888 S: Maintained 1889 1889 F: Documentation/devicetree/bindings/net/apm,xgene-enet.yaml 1890 - F: Documentation/devicetree/bindings/net/apm-xgene-mdio.txt 1890 + F: Documentation/devicetree/bindings/net/apm,xgene-mdio-rgmii.yaml 1891 1891 F: drivers/net/ethernet/apm/xgene/ 1892 1892 F: drivers/net/mdio/mdio-xgene.c 1893 1893