From: Rob Herring <robh@kernel.org>
To: "Duje Mihanović" <duje@dujemihanovic.xyz>
Cc: Ulf Hansson <ulf.hansson@linaro.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>,
Karel Balej <balejk@matfyz.cz>,
David Wronek <david@mainlining.org>,
linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
~postmarketos/upstreaming@lists.sr.ht
Subject: Re: [PATCH RFC 1/2] dt-bindings: mmc: sdhci-pxa: add state_uhs pinctrl
Date: Mon, 21 Jul 2025 09:35:41 -0500 [thread overview]
Message-ID: <20250721143541.GA593898-robh@kernel.org> (raw)
In-Reply-To: <20250718-pxav3-uhs-v1-1-2e451256f1f6@dujemihanovic.xyz>
On Fri, Jul 18, 2025 at 11:12:38PM +0200, Duje Mihanović wrote:
> On the pxav3 controller, increasing the drive strength of the data pins
> might be required to maintain stability on fast bus clocks (above 100
> MHz). Add a state_uhs pinctrl to allow this.
>
> The existing state_cmd_gpio pinctrl is changed to apply only on pxav1 as
> it's unneeded on the other controllers.
>
> Signed-off-by: Duje Mihanović <duje@dujemihanovic.xyz>
> ---
> .../devicetree/bindings/mmc/sdhci-pxa.yaml | 45 +++++++++++++++++-----
> 1 file changed, 35 insertions(+), 10 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> index 4869ddef36fd89265a1bfe96bb9663b553ac5084..7a9e2a63ac4351aea10b2763ca250ce4889df1eb 100644
> --- a/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> +++ b/Documentation/devicetree/bindings/mmc/sdhci-pxa.yaml
> @@ -30,6 +30,39 @@ allOf:
> maxItems: 1
> reg-names:
> maxItems: 1
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: mrvl,pxav1-mmc
> + then:
> + properties:
> + pinctrl-names:
> + description:
> + Optional for supporting PXA168 SDIO IRQ errata to switch CMD pin between
> + SDIO CMD and GPIO mode.
> + items:
> + - const: default
> + - const: state_cmd_gpio
blank line
> + pinctrl-1:
> + description:
> + Should switch CMD pin to GPIO mode as a high output.
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: mrvl,pxav3-mmc
> + then:
> + properties:
> + pinctrl-names:
> + description:
> + Optional for increasing stability of the controller at fast bus clocks.
> + items:
> + - const: default
> + - const: state_uhs
blank line
> + pinctrl-1:
> + description:
> + Should switch the drive strength of the data pins to high.
>
> properties:
> compatible:
> @@ -62,21 +95,13 @@ properties:
> - const: io
> - const: core
>
> - pinctrl-names:
> - description:
> - Optional for supporting PXA168 SDIO IRQ errata to switch CMD pin between
> - SDIO CMD and GPIO mode.
> - items:
> - - const: default
> - - const: state_cmd_gpio
> + pinctrl-names: true
>
> pinctrl-0:
> description:
> Should contain default pinctrl.
>
> - pinctrl-1:
> - description:
> - Should switch CMD pin to GPIO mode as a high output.
> + pinctrl-1: true
>
> mrvl,clk-delay-cycles:
> description: Specify a number of cycles to delay for tuning.
>
> --
> 2.50.1
>
next prev parent reply other threads:[~2025-07-21 14:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-18 21:12 [PATCH RFC 0/2] mmc: sdhci-pxav3: pinctrl setting for fast bus clocks Duje Mihanović
2025-07-18 21:12 ` [PATCH RFC 1/2] dt-bindings: mmc: sdhci-pxa: add state_uhs pinctrl Duje Mihanović
2025-07-21 14:35 ` Rob Herring [this message]
2025-07-23 14:36 ` Duje Mihanović
2025-07-18 21:12 ` [PATCH RFC 2/2] mmc: sdhci-pxav3: add state_uhs pinctrl setting Duje Mihanović
2025-07-24 13:51 ` 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=20250721143541.GA593898-robh@kernel.org \
--to=robh@kernel.org \
--cc=adrian.hunter@intel.com \
--cc=balejk@matfyz.cz \
--cc=conor+dt@kernel.org \
--cc=david@mainlining.org \
--cc=devicetree@vger.kernel.org \
--cc=duje@dujemihanovic.xyz \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/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).