From: Aswath Govindraju <a-govindraju@ti.com>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Vignesh Raghavendra <vigneshr@ti.com>,
Kishon Vijay Abraham I <kishon@ti.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Adrian Hunter <adrian.hunter@intel.com>,
<linux-mmc@vger.kernel.org>, <devicetree@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add flag to force setting to TESTCD bit
Date: Mon, 25 Apr 2022 11:49:02 +0530 [thread overview]
Message-ID: <9da52dd4-9162-3a23-05e6-b2b524ef4d4d@ti.com> (raw)
In-Reply-To: <CAPDyKFrHi3-7FMfwRP5rtjSbTOnw73FvU5ZAz=eC8-XqQZYpsg@mail.gmail.com>
Hi Uffe,
On 21/04/22 17:40, Ulf Hansson wrote:
> On Mon, 18 Apr 2022 at 12:21, Aswath Govindraju <a-govindraju@ti.com> wrote:
>>
>> The ARASAN MMC controller on Keystone 3 class of devices needs the SDCD
>> line to be connected for proper functioning. Similar to the issue pointed
>> out in sdhci-of-arasan.c driver, commit 3794c542641f ("mmc:
>> sdhci-of-arasan: Set controller to test mode when no CD bit").
>>
>> In cases where SDCD line is not connected, driver support has been added to
>> force the controller into test mode and set the TESTCD bit. In order to
>> implement this quirk the driver uses "ti,fails-without-test-cd" flag from
>> the device tree node. Therefore, update the bindings to document the above.
>
> Would you mind rephrasing this a bit. DT bindings is about describing
> the HW, not about what the software should do.
>
Sure, will rephrase it in the respin to remove the aspects that indicate
the sw support added.
> Otherwise, this looks good to me.
>
Thank you for the review.
Regards,
Aswath
> Kind regards
> Uffe
>
>>
>> Signed-off-by: Aswath Govindraju <a-govindraju@ti.com>
>> ---
>> Documentation/devicetree/bindings/mmc/sdhci-am654.yaml | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml
>> index 0566493c4def..0ab07759b472 100644
>> --- a/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml
>> +++ b/Documentation/devicetree/bindings/mmc/sdhci-am654.yaml
>> @@ -186,6 +186,13 @@ properties:
>> description: Clock Delay Buffer Select
>> $ref: "/schemas/types.yaml#/definitions/uint32"
>>
>> + ti,fails-without-test-cd:
>> + $ref: /schemas/types.yaml#/definitions/flag
>> + description:
>> + When present, indicates that the CD line is not connected
>> + and the controller is required to be forced into Test mode
>> + to set the TESTCD bit.
>> +
>> required:
>> - compatible
>> - reg
>> --
>> 2.17.1
>>
next prev parent reply other threads:[~2022-04-25 6:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-18 10:20 [PATCH 0/2] MMC: Add quirk to set the " Aswath Govindraju
2022-04-18 10:20 ` [PATCH 1/2] dt-bindings: mmc: sdhci-am654: Add flag to force setting to " Aswath Govindraju
2022-04-21 12:10 ` Ulf Hansson
2022-04-25 6:19 ` Aswath Govindraju [this message]
2022-04-18 10:20 ` [PATCH 2/2] drivers: mmc: sdhci_am654: Add the quirk to set " Aswath Govindraju
2022-04-18 11:55 ` kernel test robot
2022-04-18 14:49 ` kernel test robot
2022-04-21 12:11 ` Ulf Hansson
2022-04-25 6:44 ` Aswath Govindraju
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=9da52dd4-9162-3a23-05e6-b2b524ef4d4d@ti.com \
--to=a-govindraju@ti.com \
--cc=adrian.hunter@intel.com \
--cc=devicetree@vger.kernel.org \
--cc=kishon@ti.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=ulf.hansson@linaro.org \
--cc=vigneshr@ti.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®