Re: [PATCH v3 8/8] dt-bindings: adin1100: Add binding for ADIN1100 Ethernet PHY

From: Rob Herring
Date: Mon Oct 11 2021 - 20:49:16 EST


On Mon, Oct 11, 2021 at 05:22:15PM +0300, alexandru.tachici@xxxxxxxxxx wrote:
> From: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>
>
> DT bindings for the ADIN1100 10BASE-T1L Ethernet PHY.
>
> Signed-off-by: Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>
> ---
> .../devicetree/bindings/net/adi,adin1100.yaml | 30 +++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/adi,adin1100.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/adi,adin1100.yaml b/Documentation/devicetree/bindings/net/adi,adin1100.yaml
> new file mode 100644
> index 000000000000..7f98ea8fdf51
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/adi,adin1100.yaml
> @@ -0,0 +1,30 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/adi,adin1100.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Analog Devices ADIN1100 PHY
> +
> +maintainers:
> + - Alexandru Tachici <alexandru.tachici@xxxxxxxxxx>
> +
> +description:
> + Bindings for Analog Devices Industrial Low Power 10BASE-T1L Ethernet PHY

This schema doesn't do anything. ethernet-phy.yaml is already applied
based on the node name and you haven't added any phy specific
properties.

> +
> +allOf:
> + - $ref: ethernet-phy.yaml#
> +
> +examples:
> + - |
> + ethernet {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + 10base-t1l-2.4vpp = <0>;
> +
> + ethernet-phy@0 {
> + compatible = "ethernet-phy-id0283.bc81";
> + reg = <0>;
> + };
> + };
> --
> 2.25.1
>
>