From: Rob Herring <robh@kernel.org>
To: Sean Nyekjaer <sean@geanix.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>,
Vincent Mailhol <mailhol.vincent@wanadoo.fr>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-can@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH v2 2/2] dt-bindings: can: tcan4x5x: Document the ti,nwkrq-voltage-sel option
Date: Tue, 12 Nov 2024 10:37:23 -0600 [thread overview]
Message-ID: <20241112163723.GA1142553-robh@kernel.org> (raw)
In-Reply-To: <jd5ausjx726rem4iscupwfxilc2fsfkshw3pim2ps3i5btstge@sz6qnqjfvwx2>
On Tue, Nov 12, 2024 at 08:40:56AM +0100, Sean Nyekjaer wrote:
> Hi Marc,
>
> On Tue, Nov 12, 2024 at 08:35:43AM +0100, Marc Kleine-Budde wrote:
> > On 11.11.2024 09:54:50, Sean Nyekjaer wrote:
> > > nWKRQ supports an output voltage of either the internal reference voltage
> > > (3.6V) or the reference voltage of the digital interface 0 - 6V.
> > > Add the devicetree option ti,nwkrq-voltage-sel to be able to select
> > > between them.
> > >
> > > Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> > > ---
> > > Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml | 13 +++++++++++++
> > > 1 file changed, 13 insertions(+)
> > >
> > > diff --git a/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml b/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
> > > index f1d18a5461e05296998ae9bf09bdfa1226580131..a77c560868d689e92ded08b9deb43e5a2b89bf2b 100644
> > > --- a/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
> > > +++ b/Documentation/devicetree/bindings/net/can/ti,tcan4x5x.yaml
> > > @@ -106,6 +106,18 @@ properties:
> > > Must be half or less of "clocks" frequency.
> > > maximum: 18000000
> > >
> > > + ti,nwkrq-voltage-sel:
> > > + $ref: /schemas/types.yaml#/definitions/uint8
> > > + description:
> > > + nWKRQ Pin GPO buffer voltage rail configuration.
> > > + The option of this properties will tell which
> > > + voltage rail is used for the nWKRQ Pin.
> > > + oneOf:
> > > + - description: Internal voltage rail
> > > + const: 0
> > > + - description: VIO voltage rail
> > > + const: 1
> >
> > We usually don't want to put register values into the DT. Is 0, i.e. the
> > internal voltage rail the default? Is using a boolean better here?
> >
> > regards,
> > Marc
> >
>
> Thanks for the review :)
>
> Can you come up with a sane naming?
> A boolean that equals true when it's set to VIO voltage? Or the other
> way around?
Make the property named/present for the less common case if there is
one. That might not be known here.
Rob
next prev parent reply other threads:[~2024-11-12 16:37 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-11 8:54 [PATCH v2 0/2] can: tcan4x5x: add option for selecting nWKRQ voltage Sean Nyekjaer
2024-11-11 8:54 ` [PATCH v2 1/2] " Sean Nyekjaer
2024-11-14 4:53 ` Vincent Mailhol
2024-11-14 7:23 ` Sean Nyekjaer
2024-11-14 8:36 ` Vincent Mailhol
2024-11-14 9:05 ` Marc Kleine-Budde
2024-11-11 8:54 ` [PATCH v2 2/2] dt-bindings: can: tcan4x5x: Document the ti,nwkrq-voltage-sel option Sean Nyekjaer
2024-11-12 7:35 ` Marc Kleine-Budde
2024-11-12 7:40 ` Sean Nyekjaer
2024-11-12 16:37 ` Rob Herring [this message]
2024-11-11 18:10 ` [PATCH v2 0/2] can: tcan4x5x: add option for selecting nWKRQ voltage Jakub Kicinski
2024-11-12 6:39 ` Sean Nyekjaer
2024-11-12 7:16 ` Marc Kleine-Budde
2024-11-14 3:37 ` Jakub Kicinski
2024-11-14 4:41 ` Vincent Mailhol
2024-11-14 9:03 ` Marc Kleine-Budde
2024-11-14 9:10 ` Vincent Mailhol
2024-11-14 9:01 ` Marc Kleine-Budde
2024-11-12 7:38 ` Marc Kleine-Budde
2024-11-12 7:44 ` Sean Nyekjaer
2024-11-12 7:52 ` Marc Kleine-Budde
2024-11-12 7:53 ` Sean Nyekjaer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241112163723.GA1142553-robh@kernel.org \
--to=robh@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mailhol.vincent@wanadoo.fr \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=sean@geanix.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.