[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <906137ef-822d-4178-b80d-d332ab1046dc@redhat.com>
Date: Thu, 4 Sep 2025 16:43:52 +0200
From: Ivan Vecera <ivecera@...hat.com>
To: Rob Herring <robh@...nel.org>
Cc: netdev@...r.kernel.org, mschmidt@...hat.com, poros@...hat.com,
Andrew Lunn <andrew@...n.ch>, Vadim Fedorenko <vadim.fedorenko@...ux.dev>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
Jiri Pirko <jiri@...nulli.us>, Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Prathosh Satish <Prathosh.Satish@...rochip.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>, open list <linux-kernel@...r.kernel.org>
Subject: Re: [RFC PATCH net-next] dt-bindings: dpll: Add per-channel Ethernet
reference property
Hi Rob,
any comment to my second proposal (below)?
Thank you,
Ivan
On 29. 08. 25 3:29 odp., Ivan Vecera wrote:
>> Seems a bit odd to me that the ethernet controller doesn't have a link
>> to this node instead.
>
> Do you mean to add a property (e.g. dpll-channel or dpll-device) into
> net/network-class.yaml ? If so, yes, it would be possible, and the way
> I look at it now, it would probably be better. The DPLL driver can
> enumerate all devices across the system that has this specific property
> and check its value.
>
> See the proposal below...
>
> Thanks,
> Ivan
>
> ---
> Documentation/devicetree/bindings/dpll/dpll-device.yaml | 6 ++++++
> Documentation/devicetree/bindings/net/network-class.yaml | 7 +++++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/dpll/dpll-device.yaml b/
> Documentation/devicetree/bindings/dpll/dpll-device.yaml
> index fb8d7a9a3693f..560351df1bec3 100644
> --- a/Documentation/devicetree/bindings/dpll/dpll-device.yaml
> +++ b/Documentation/devicetree/bindings/dpll/dpll-device.yaml
> @@ -27,6 +27,12 @@ properties:
> "#size-cells":
> const: 0
>
> + "#dpll-cells":
> + description: |
> + Number of cells in a dpll specifier. The cell specifies the index
> + of the channel within the DPLL device.
> + const: 1
> +
> dpll-types:
> description: List of DPLL channel types, one per DPLL instance.
> $ref: /schemas/types.yaml#/definitions/non-unique-string-array
> diff --git a/Documentation/devicetree/bindings/net/network-class.yaml b/
> Documentation/devicetree/bindings/net/network-class.yaml
> index 06461fb92eb84..144badb3b7ff1 100644
> --- a/Documentation/devicetree/bindings/net/network-class.yaml
> +++ b/Documentation/devicetree/bindings/net/network-class.yaml
> @@ -17,6 +17,13 @@ properties:
> default: 48
> const: 48
>
> + dpll:
> + description:
> + Specifies DPLL device phandle and index of the DPLL channel within
> + this device used by this network device to synchronize its hardware
> + clock.
> + $ref: /schemas/types.yaml#/definitions/phandle
> +
> local-mac-address:
> description:
> Specifies MAC address that was assigned to the network device
> described by
Powered by blists - more mailing lists