From: Abdel Alkuor <alkuor@gmail.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: gregkh@linuxfoundation.org, robh+dt@kernel.org,
conor+dt@kernel.org, linux-usb@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
abdelalkuor@geotab.com
Subject: Re: [PATCH] dt-bindings: usb: Add binding for ti,tps25750
Date: Fri, 18 Aug 2023 11:35:41 -0400 [thread overview]
Message-ID: <ZN+PzWuiLRsSVcmU@abdel> (raw)
In-Reply-To: <eba26f0e-40dd-3661-b089-bc34c9426000@linaro.org>
On Fri, Aug 18, 2023 at 11:31:35AM +0200, Krzysztof Kozlowski wrote:
> Where is any user of it? DTS, driver or 3rd party upstream open-source
> project?
>
Yes, for Geotab. We are working on bringing up a new BSP and we have tps25750
which doesn't have a driver in Linux yet. We developed the driver but I thought
I needed to get the dt-bindings accepted first before sending the patch for
the driver.
Sorry, this is my first time contributing to Linux. Maybe this question
was asked before but for some reason I couldn't find it.
What is usually the process? Should I upload the driver too?
>
> A nit, subject: drop second/last, redundant "binding for". The
> "dt-bindings" prefix is already stating that these are bindings.
>
> > + - ti,tps25750
>
> Blank line
>
> > + reg:
> > + interrupts:
> > + description: |
>
> Drop description
>
> > + interrupt-names:
> > + items:
> > + - const: irq
>
> Drop interrupt-names, it is useless in this form.
>
> > + firmware-name:
> > + description: |
> > + Should contain the name of the default patch binary
> > + file located on the firmware search path which is
> > + used to switch the controller into APP mode
>
> maxItems: 1
>
> > + tps25750: tps25750@21 {
>
> Node names should be generic. See also an explanation and list of
> examples (not exhaustive) in DT specification:
> https://devicetree-specification.readthedocs.io/en/latest/chapter2-devicetree-basics.html#generic-names-recommendation
>
>
> > + compatible = "ti,tps25750";
> > + reg = <0x21>;
> > +
>
>
> Best regards,
> Krzysztof
>
Thanks for the review. I've addressed your comments in v2
Best Regards,
Abdel
next prev parent reply other threads:[~2023-08-18 15:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-17 23:52 [PATCH] dt-bindings: usb: Add binding for ti,tps25750 Abdel Alkuor
2023-08-18 9:31 ` Krzysztof Kozlowski
2023-08-18 15:35 ` Abdel Alkuor [this message]
2023-08-19 7:09 ` Krzysztof Kozlowski
2023-08-20 3:55 ` Abdel Alkuor
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=ZN+PzWuiLRsSVcmU@abdel \
--to=alkuor@gmail.com \
--cc=abdelalkuor@geotab.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).