[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240519184119.7fd75ab9@jic23-huawei>
Date: Sun, 19 May 2024 18:41:19 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: David Lechner <dlechner@...libre.com>, Krzysztof Kozlowski
<krzk+dt@...nel.org>, Conor Dooley <conor+dt@...nel.org>, Michael Hennerich
<michael.hennerich@...log.com>, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: iio: adc: adi,axi-adc: tweak example node
name
On Mon, 13 May 2024 09:19:06 -0500
Rob Herring <robh@...nel.org> wrote:
> On Fri, May 10, 2024 at 04:04:38PM -0500, David Lechner wrote:
> > It is always recommended to use generic node names for devicetree nodes.
> > The documentation [1] of the AXI ADC IP core says "The most important
> > part of the core is the Receiver PHY module.", so using phy as the node
> > name seems appropriate.
> >
> > [1]: https://wiki.analog.com/resources/fpga/docs/axi_adc_ip
> >
> > Signed-off-by: David Lechner <dlechner@...libre.com>
> > ---
> > Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml b/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml
> > index e1f450b80db2..9cad4c439045 100644
> > --- a/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml
> > +++ b/Documentation/devicetree/bindings/iio/adc/adi,axi-adc.yaml
> > @@ -57,7 +57,7 @@ additionalProperties: false
> >
> > examples:
> > - |
> > - axi-adc@...00000 {
> > + phy@...00000 {
>
> phy should be used when there's #phy-cells which is not the case here.
> 'adc' is somewhat standard. Or maybe it should be tied to
> #io-backend-cells.
>
> Until we have something defined as ti what it should be, we should just
> leave node names alone.
>
> Rob
>
Unapplied.
Powered by blists - more mailing lists