From: Roger Quadros <rogerq@kernel.org>
To: Karan Sanghavi <karansanghvi98@gmail.com>, Rob Herring <robh@kernel.org>
Cc: Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] dt-bindings: usb: add missing compatible arraylist
Date: Mon, 23 Sep 2024 14:53:02 +0300 [thread overview]
Message-ID: <a02e472c-f206-44d3-9a6b-d921e73110fd@kernel.org> (raw)
In-Reply-To: <ZvBNLRc8xnAoGvoc@Emma>
On 22/09/2024 20:00, Karan Sanghavi wrote:
> Added the vice versa order for compatible property in the yaml file so
> that the dtb can parse for the order mentioned in the dts file
> k3-am642-sk.dts for ti,j721e-usb.yaml
k3-am642-sk.dts does not introduce any nodes with the said compatibles.
"ti,am64-usb" compatible is introduced by k3-am642-main.dtsi.
There is only one compatible introduced so there is nothing to do about
order here.
i.e.
usbss0: cdns-usb@f900000 {
compatible = "ti,am64-usb";
reg = <0x00 0xf900000 0x00 0x100>;
What is the functional problem you are facing? Maybe then someone
can point you in the right direction.
>
> This is highly ambiguous to me as where exactly the changes needs to be
> added is it in the dts file or is the yaml where we have to reverse the
> order already mentioned or do we have to add the another order as I have
> done ?
>
> Signed-off-by: Karan Sanghavi <karansanghvi98@gmail.com>
> ---
> Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> index 95ff9791baea..822653217c43 100644
> --- a/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> +++ b/Documentation/devicetree/bindings/usb/ti,j721e-usb.yaml
> @@ -17,6 +17,9 @@ properties:
> - items:
> - const: ti,j721e-usb
> - const: ti,am64-usb
> + - items:
> + - const: ti,am64-usb
> + - const: ti,j721e-usb
>
> reg:
> maxItems: 1
--
cheers,
-roger
next prev parent reply other threads:[~2024-09-23 11:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-22 17:00 [PATCH] dt-bindings: usb: add missing compatible arraylist Karan Sanghavi
2024-09-22 18:51 ` Krzysztof Kozlowski
2024-09-23 11:53 ` Roger Quadros [this message]
2024-09-28 7:39 ` Karan Sanghavi
2024-09-28 7:58 ` Roger Quadros
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=a02e472c-f206-44d3-9a6b-d921e73110fd@kernel.org \
--to=rogerq@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=karansanghvi98@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=robh@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).