mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 23:03:57 -04:00
Generally at most 1 blank line is the standard style for DT schema files. Remove the few cases with more than 1 so that the yamllint check for this can be enabled. Acked-by: Lee Jones <lee@kernel.org> Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> # remoteproc Acked-by: Georgi Djakov <djakov@kernel.org> Acked-by: Vinod Koul <vkoul@kernel.org> Acked-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Acked-by: Jonathan Cameron <jonathan.cameron@huawei.com> Acked-by: Philipp Zabel <p.zabel@pengutronix.de> Acked-by: Uwe Kleine-König <ukleinek@kernel.org> # for allwinner,sun4i-a10-pwm.yaml Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> # mtd Acked-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Mark Brown <broonie@kernel.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Sebastian Reichel <sebastian.reichel@collabora.com> Acked-by: Manivannan Sadhasivam <mani@kernel.org> # For PCI controller bindings Link: https://patch.msgid.link/20251023143957.2899600-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
82 lines
1.9 KiB
YAML
82 lines
1.9 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/mdio-mux-multiplexer.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: Properties for an MDIO bus multiplexer consumer device
|
|
|
|
maintainers:
|
|
- Andrew Lunn <andrew@lunn.ch>
|
|
|
|
description: |+
|
|
This is a special case of MDIO mux when MDIO mux is defined as a consumer
|
|
of a mux producer device. The mux producer can be of any type like mmio mux
|
|
producer, gpio mux producer or generic register based mux producer.
|
|
|
|
allOf:
|
|
- $ref: /schemas/net/mdio-mux.yaml#
|
|
|
|
properties:
|
|
compatible:
|
|
const: mdio-mux-multiplexer
|
|
|
|
mux-controls:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- mux-controls
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
mux: mux-controller { // Mux Producer
|
|
compatible = "reg-mux";
|
|
#mux-control-cells = <1>;
|
|
mux-reg-masks = <0x54 0xf8>, /* 0: reg 0x54, bits 7:3 */
|
|
<0x54 0x07>; /* 1: reg 0x54, bits 2:0 */
|
|
};
|
|
|
|
mdio-mux-1 { // Mux consumer
|
|
compatible = "mdio-mux-multiplexer";
|
|
mux-controls = <&mux 0>;
|
|
mdio-parent-bus = <&emdio1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mdio@0 {
|
|
reg = <0x0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
mdio@8 {
|
|
reg = <0x8>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
|
|
mdio-mux-2 { // Mux consumer
|
|
compatible = "mdio-mux-multiplexer";
|
|
mux-controls = <&mux 1>;
|
|
mdio-parent-bus = <&emdio2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
mdio@0 {
|
|
reg = <0x0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
|
|
mdio@1 {
|
|
reg = <0x1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
...
|