linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: zhangsenchuan <zhangsenchuan@eswincomputing.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>
Cc: gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org,
	conor+dt@kernel.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Thinh.Nguyen@synopsys.com, p.zabel@pengutronix.de,
	ningyu@eswincomputing.com, linmin@eswincomputing.com,
	yangwei1@eswincomputing.com, pinkesh.vaghela@einfochips.com
Subject: Re: Re: [PATCH v2 1/2] dt-bindings: usb: Add Eswin EIC7700 USB controller
Date: Thu, 31 Jul 2025 13:31:49 +0800 (GMT+08:00)	[thread overview]
Message-ID: <1f9a715d.3bb7.1985ef71b54.Coremail.zhangsenchuan@eswincomputing.com> (raw)
In-Reply-To: <51648c0f-dd30-4a07-83c0-533a57c29e63@kernel.org>




> -----原始邮件-----
> 发件人: "Krzysztof Kozlowski" <krzk@kernel.org>
> 发送时间:2025-07-30 15:46:02 (星期三)
> 收件人: zhangsenchuan@eswincomputing.com, gregkh@linuxfoundation.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Thinh.Nguyen@synopsys.com, p.zabel@pengutronix.de
> 抄送: ningyu@eswincomputing.com, linmin@eswincomputing.com, yangwei1@eswincomputing.com, pinkesh.vaghela@einfochips.com
> 主题: Re: [PATCH v2 1/2] dt-bindings: usb: Add Eswin EIC7700 USB controller
> 
> On 30/07/2025 09:40, zhangsenchuan@eswincomputing.com wrote:
> > +
> > +examples:
> > +  - |
> > +    soc {
> > +        #address-cells = <2>;
> > +        #size-cells = <2>;
> 
> This wasn't here. Drop.
> 
> > +
> > +        usb {
> > +            compatible = "eswin,eic7700-dwc3";
> > +            clocks = <&fixed_factor_u_clk_1m_div24>,
> > +                     <&gate_clk_hsp_aclk>,
> > +                     <&gate_clk_hsp_cfgclk>;
> > +            clock-names = "suspend","aclk", "cfg";
> > +            eswin,hsp-sp-csr = <&hsp_sp_csr 0x800 0x808 0x83c 0x840>;
> > +            resets = <&reset 84>;
> > +            reset-names = "vaux";
> > +            ranges;
> 
> Same comment: follow DTS coding style. Where should ranges or reg be placed?

According to the "dts-coding-style.html", the order should be like below, is this correct?

compatible = "eswin,eic7700-dwc3";
ranges;
#address-cells = <1>;
#size-cells = <1>;

> 
> > +            #address-cells = <2>;
> > +            #size-cells = <2>;
> > +
> > +            usb@50480000 {
> > +                compatible = "snps,dwc3";
> > +                reg = <0x0 0x50480000 0x0 0x10000>;
> 
> Nothing improved and you did not respond to the feedback.

I'm very sorry that I haven't given you any feedback here. I'm not quite clear about what you mean by feedback.
In v1 patch, you mentioned "Fold the child node into the parent",could you please tell me what's the exact
meaning of this comment?
> 
> 
> Best regards,
> Senchuan Zhang

  reply	other threads:[~2025-07-31  5:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-30  7:39 [PATCH v2 0/2] Add driver support for Eswin eic7700 SoC USB controller zhangsenchuan
2025-07-30  7:40 ` [PATCH v2 1/2] dt-bindings: usb: Add Eswin EIC7700 " zhangsenchuan
2025-07-30  7:46   ` Krzysztof Kozlowski
2025-07-31  5:31     ` zhangsenchuan [this message]
2025-07-31  6:11       ` Krzysztof Kozlowski
2025-07-30  7:41 ` [PATCH v2 2/2] usb: dwc3: eic7700: Add EIC7700 USB driver zhangsenchuan
2025-08-06  0:17   ` Thinh Nguyen

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=1f9a715d.3bb7.1985ef71b54.Coremail.zhangsenchuan@eswincomputing.com \
    --to=zhangsenchuan@eswincomputing.com \
    --cc=Thinh.Nguyen@synopsys.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=krzk+dt@kernel.org \
    --cc=krzk@kernel.org \
    --cc=linmin@eswincomputing.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ningyu@eswincomputing.com \
    --cc=p.zabel@pengutronix.de \
    --cc=pinkesh.vaghela@einfochips.com \
    --cc=robh@kernel.org \
    --cc=yangwei1@eswincomputing.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 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).