From: Piyush Malgujar <pmalgujar@marvell.com>
To: Rob Herring <robh@kernel.org>
Cc: <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<adrian.hunter@intel.com>, <ulf.hansson@linaro.org>,
<krzysztof.kozlowski+dt@linaro.org>,
<yamada.masahiro@socionext.com>, <devicetree@vger.kernel.org>,
<jannadurai@marvell.com>, <cchavva@marvell.com>
Subject: Re: [PATCH v3 5/6] dt-bindings: mmc: sdhci-cadence: SD6 support
Date: Fri, 24 Mar 2023 08:13:10 -0700 [thread overview]
Message-ID: <20230324151310.GB462@Dell2s-9> (raw)
In-Reply-To: <20230228154648.GA3298015-robh@kernel.org>
Hi Rob,
Thanks for the review comments.
On Tue, Feb 28, 2023 at 09:46:48AM -0600, Rob Herring wrote:
> On Mon, Feb 27, 2023 at 10:31:50AM -0800, Piyush Malgujar wrote:
> > From: Jayanthi Annadurai <jannadurai@marvell.com>
> >
> > Add support for SD6 controller support.
>
> On what h/w?
>
This has been used and tested on Marvell CN10K series SOCs.
> >
> > Signed-off-by: Jayanthi Annadurai <jannadurai@marvell.com>
> > Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com>
> > ---
> > .../devicetree/bindings/mmc/cdns,sdhci.yaml | 24 +++++++++++++++++--
> > 1 file changed, 22 insertions(+), 2 deletions(-)
> >
> > diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > index 8b1a0fdcb5e3e2e8b87d8d7678e37f3dad447fc1..0dba17c4f17f82c8ae68e46225ed72418e8361ff 100644
> > --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml
> > @@ -4,7 +4,7 @@
> > $id: http://devicetree.org/schemas/mmc/cdns,sdhci.yaml#
> > $schema: http://devicetree.org/meta-schemas/core.yaml#
> >
> > -title: Cadence SD/SDIO/eMMC Host Controller (SD4HC)
> > +title: Cadence SD/SDIO/eMMC Host Controller (SD4HC, SD6HC)
> >
> > maintainers:
> > - Masahiro Yamada <yamada.masahiro@socionext.com>
> > @@ -18,7 +18,9 @@ properties:
> > - enum:
> > - microchip,mpfs-sd4hc
> > - socionext,uniphier-sd4hc
> > - - const: cdns,sd4hc
> > + - enum:
> > + - cdns,sd4hc
> > + - cdns,sd6hc
>
> Other than FPGA implementations IP vendor compatible strings are pretty
> much useless. Define a compatible for your h/w.
>
ok, will use Marvell specific string here.
> >
> > reg:
> > maxItems: 1
> > @@ -111,6 +113,24 @@ properties:
> > minimum: 0
> > maximum: 0x7f
> >
> > + cdns,iocell-input-delay-ps:
> > + description: Delay in ps across the input IO cells
> > +
> > + cdns,iocell-output-delay-ps:
> > + description: Delay in ps across the output IO cells
> > +
> > + cdns,delay-element-ps:
> > + description: Delay element in ps used for calculating phy timings
> > +
> > + cdns,read-dqs-cmd-delay-ps:
> > + description: Command delay used in HS200 tuning
> > +
> > + cdns,tune-val-start-ps:
> > + description: Staring value of data delay used in HS200 tuning
> > +
> > + cdns,tune-val-step-ps:
> > + description: Incremental value of data delay used in HS200 tuning
>
> Wouldn't any controller implementation need these possibly? IIRC, we
> have some common properties for this. If not, survey what we do have and
> come up with something common. Or you can imply all this from the h/w
> specific compatible you are going to add.
>
These parameters are for sd6 cadence controller, will add sd6 in the property
string so to imply it's specific to sd6hc.
> Rob
Thanks,
Piyush
next prev parent reply other threads:[~2023-03-24 15:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 18:31 [PATCH v3 0/6] mmc: sdhci-cadence: SD6 controller support Piyush Malgujar
2023-02-27 18:31 ` [PATCH v3 1/6] mmc: sdhci-cadence: Rename functions to SD4 specific Piyush Malgujar
2023-02-27 18:31 ` [PATCH v3 2/6] mmc: sdhci-cadence: Restructure the code Piyush Malgujar
2023-03-03 8:36 ` Adrian Hunter
2023-03-24 15:19 ` Piyush Malgujar
2023-02-27 18:31 ` [PATCH v3 3/6] mmc: sdhci-cadence: SD6 controller support Piyush Malgujar
2023-03-03 8:48 ` Adrian Hunter
2023-02-27 18:31 ` [PATCH v3 4/6] mmc: sdhci-cadence: enable MMC_SDHCI_IO_ACCESSORS Piyush Malgujar
2023-02-27 18:31 ` [PATCH v3 5/6] dt-bindings: mmc: sdhci-cadence: SD6 support Piyush Malgujar
2023-02-28 10:53 ` Krzysztof Kozlowski
2023-03-24 15:02 ` Piyush Malgujar
2023-02-28 15:46 ` Rob Herring
2023-03-24 15:13 ` Piyush Malgujar [this message]
2023-02-27 18:31 ` [PATCH v3 6/6] mmc: sdhci-cadence: Add debug option for sdhci-cadence driver Piyush Malgujar
2023-03-03 8:36 ` 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=20230324151310.GB462@Dell2s-9 \
--to=pmalgujar@marvell.com \
--cc=adrian.hunter@intel.com \
--cc=cchavva@marvell.com \
--cc=devicetree@vger.kernel.org \
--cc=jannadurai@marvell.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=ulf.hansson@linaro.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;
as well as URLs for NNTP newsgroup(s).