mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Conor Dooley <conor@kernel.org>
To: Rohan Santosh Joshi <rohan1sj@cadence.com>
Cc: Ulf Hansson <ulfh@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	"linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Milind Parab <mparab@cadence.com>,
	Pawel Laszczak <pawell@cadence.com>,
	Swapnil Kashinath Jakhade <sjakhade@cadence.com>,
	Manikandan Karunakaran Pillai <mpillai@cadence.com>,
	"razb@mobileye.com" <razb@mobileye.com>,
	Brad Larson <blarson@amd.com>
Subject: Re: [PATCH v3 1/2] dt-bindings: mmc: cdns,sdhci: Add CQE support
Date: Wed, 29 Jul 2026 18:32:26 +0100	[thread overview]
Message-ID: <20260729-empower-cheddar-abdd64961c6b@spud> (raw)
In-Reply-To: <CH3PR07MB106257D01FBAA8310F90C02C58CCA2@CH3PR07MB10625.namprd07.prod.outlook.com>

[-- Attachment #1: Type: text/plain, Size: 4758 bytes --]

On Wed, Jul 29, 2026 at 05:05:43AM +0000, Rohan Santosh Joshi wrote:
> Hi Conor,
> 
> Currently, there is no public domain information that confirms if the elba supports CQE.

Well then modifying it to add CQE is wrong.

> In the last (v2) patch series, Krzysztof mentioned about why the Pensando Elba is NOT being modified/considered for the CQE.

Right, and he's coming at this from the same perspective as me.
We both want to know why you're making (or not making) the changes that
you are to the binding. You didn't explain in v2 why the elba didn't
need the change and now in v3 you haven't actually explained that it
does.

> The current implementation marks CQE as optional space and the related driver can take the CQE or non-CQE path depending on whether the DT defines it.
> Please refer to the cover letter for additional details on this.
> 
> Given the above information, can you please confirm if the next patch should modify the elba or restrict the new reg entries to device compatibles? 

You need to figure that out, perhaps by CCing the person responsible for
the addition and maintainance of the platform?

Additionally, please fix your quoting.

Thanks,
Conor.

> 
> Best Regards,
> Rohan 
> 
> -----Original Message-----
> From: Conor Dooley <conor@kernel.org> 
> Sent: Wednesday, July 22, 2026 10:07 PM
> To: Rohan Santosh Joshi <rohan1sj@cadence.com>
> Cc: Ulf Hansson <ulfh@kernel.org>; Rob Herring <robh@kernel.org>; Krzysztof Kozlowski <krzk+dt@kernel.org>; Conor Dooley <conor+dt@kernel.org>; Masahiro Yamada <yamada.masahiro@socionext.com>; Adrian Hunter <adrian.hunter@intel.com>; linux-mmc@vger.kernel.org; devicetree@vger.kernel.org; linux-kernel@vger.kernel.org; Milind Parab <mparab@cadence.com>; Pawel Laszczak <pawell@cadence.com>; Swapnil Kashinath Jakhade <sjakhade@cadence.com>; Manikandan Karunakaran Pillai <mpillai@cadence.com>; razb@mobileye.com
> Subject: Re: [PATCH v3 1/2] dt-bindings: mmc: cdns,sdhci: Add CQE support
> 
> EXTERNAL MAIL
> 
> 
> On Wed, Jul 22, 2026 at 04:18:37PM +0530, Rohan Joshi via B4 Relay wrote:
> > From: Rohan Joshi <rohan1sj@cadence.com>
> > 
> > Cadence host controller can optionally support CQE.
> > Add optional CQE register space to cdns sdhci bindings.
> > 
> > Signed-off-by: Rohan Joshi <rohan1sj@cadence.com>
> > ---
> >  .../devicetree/bindings/mmc/cdns,sdhci.yaml        | 28 +++++++++++++++++++---
> >  1 file changed, 25 insertions(+), 3 deletions(-)
> > 
> > diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > index 6c7317d13aa6..10bc9ac2073a 100644
> > --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > @@ -22,7 +22,14 @@ properties:
> >  
> >    reg:
> >      minItems: 1
> > -    maxItems: 2
> > +    maxItems: 3
> > +
> > +  reg-names:
> > +    minItems: 1
> > +    items:
> > +      - const: hc
> > +      - enum: [bctl, cqhci]
> > +      - const: cqhci
> >  
> >    interrupts:
> >      maxItems: 1
> > @@ -131,13 +138,27 @@ allOf:
> >      then:
> >        properties:
> >          reg:
> > +          minItems: 2
> >            items:
> >              - description: Host controller registers
> >              - description: Elba byte-lane enable register for writes
> > +            - description: CQE (Command Queuing Engine) registers (optional)
> 
> I see no explanation in your commit message for why the elba is being
> modified.
> 
> This new reg entry should be restricted to only the device-specific
> compatibles that actually support it.
> 
> pw-bot: changes-requested
> 
> Thanks,
> Conor.
> 
> > +        reg-names:
> > +          minItems: 2
> > +          items:
> > +            - const: hc
> > +            - const: bctl
> > +            - const: cqhci
> >      else:
> >        properties:
> >          reg:
> > -          maxItems: 1
> > +          items:
> > +            - description: Host Controller registers
> > +            - description: CQE (Command Queuing Engine) registers (optional)
> > +        reg-names:
> > +          items:
> > +            - const: hc
> > +            - const: cqhci
> >  
> >  unevaluatedProperties: false
> >  
> > @@ -145,7 +166,8 @@ examples:
> >    - |
> >      emmc: mmc@5a000000 {
> >          compatible = "socionext,uniphier-sd4hc", "cdns,sd4hc";
> > -        reg = <0x5a000000 0x400>;
> > +        reg = <0x5a000000 0x400>, <0x5a000400 0x060>;
> > +        reg-names = "hc", "cqhci";
> >          interrupts = <0 78 4>;
> >          clocks = <&clk 4>;
> >          bus-width = <8>;
> > 
> > -- 
> > 2.43.0
> > 
> > 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-07-29 17:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-22 10:48 [PATCH v3 0/2] CQE support for cadence eMMC host controller Rohan Joshi via B4 Relay
2026-07-22 10:48 ` [PATCH v3 1/2] dt-bindings: mmc: cdns,sdhci: Add CQE support Rohan Joshi via B4 Relay
2026-07-22 16:37   ` Conor Dooley
2026-07-29  5:05     ` Rohan Santosh Joshi
2026-07-29 17:32       ` Conor Dooley [this message]
2026-07-22 10:48 ` [PATCH v3 2/2] mmc: sdhci-cadence: add " Rohan Joshi via B4 Relay
2026-08-07 14:06   ` Adrian Hunter

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=20260729-empower-cheddar-abdd64961c6b@spud \
    --to=conor@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=blarson@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mparab@cadence.com \
    --cc=mpillai@cadence.com \
    --cc=pawell@cadence.com \
    --cc=razb@mobileye.com \
    --cc=robh@kernel.org \
    --cc=rohan1sj@cadence.com \
    --cc=sjakhade@cadence.com \
    --cc=ulfh@kernel.org \
    --cc=yamada.masahiro@socionext.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

all inboxes | Powered by JetHome®