Documentation/devicetree/bindings/net/mdio-mux.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/net/mdio-mux.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/net/mdio-mux.yaml
Extension
.yaml
Size
933 bytes
Lines
42
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/mdio-mux.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Common MDIO bus multiplexer/switch properties.

maintainers:
  - Andrew Lunn <andrew@lunn.ch>

description: |+
  An MDIO bus multiplexer/switch will have several child busses that are
  numbered uniquely in a device dependent manner.  The nodes for an MDIO
  bus multiplexer/switch will have one child node for each child bus.

properties:
  mdio-parent-bus:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      The phandle of the MDIO bus that this multiplexer's master-side port is
      connected to.

  '#address-cells':
    const: 1

  '#size-cells':
    const: 0

patternProperties:
  '^mdio@[0-9a-f]+$':
    $ref: mdio.yaml#
    unevaluatedProperties: false

    properties:
      reg:
        maxItems: 1

additionalProperties: true

...

Annotation

Implementation Notes