All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: Chaotian Jing <chaotian.jing@mediatek.com>,
	Ulf Hansson <ulfh@kernel.org>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno
	<angelogioacchino.delregno@collabora.com>,
	Wenbin Mei <wenbin.mei@mediatek.com>,
	linux-mmc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 1/2] dt-bindings: mmc: mtk-sd: Document support for Airoha AN7581 SoC
Date: Thu, 29 Oct 2026 08:26:47 +0100	[thread overview]
Message-ID: <fd1d29aa-2d6d-4e15-8222-b76929fa5a53@kernel.org> (raw)
In-Reply-To: <6ae22763.2bb6edcb.3bc160.a0e2@mx.google.com>

On 28/10/2026 17:48, Christian Marangi wrote:
> On Wed, Oct 28, 2026 at 01:51:16PM +0100, Krzysztof Kozlowski wrote:
>> On Tue, Oct 27, 2026 at 03:40:00PM +0100, Christian Marangi wrote:
>>> Add dedicated compatible for Airoha AN7581 SoC integrated MMC controller.
>>> The MMC controller is based on the MT7988 with the difference that it does
>>> have a single clock controlling it.
>>>
>>> Add the dedicated compatible to describe the 2 register requirement and
>>> permit to define only 2 clock (the main one and a fixed clock for HS)
>>>
>>> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
>>> ---
>>> Changes v2:
>>> - Also add compatible to restrict clock-names for source and hclk
>>>  Documentation/devicetree/bindings/mmc/mtk-sd.yaml | 3 +++
>>>  1 file changed, 3 insertions(+)
>>>
>>
>> Your driver part suggests it's fully compatible with other variant. Why
>> not expressing it with fallback?
>>
> 
> You mean something like 
> 
>    compatible = "airoha,an7581-mmc", "mediatek,mt7988-mmc";
> 
> ? (my concern is if this would be problematic with the current if
> conditions in the schema)

I see, the first "if:then:" would be tricky to convert to "contains" for
the compatible, without bringing a few more conditional blocks. I guess
it's fine here.

Best regards,
Krzysztof


  reply	other threads:[~2026-10-29  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27 14:40 [PATCH v2 1/2] dt-bindings: mmc: mtk-sd: Document support for Airoha AN7581 SoC Christian Marangi
2026-10-27 14:40 ` [PATCH v2 2/2] mmc: mtk-sd: Add Airoha AN7581 MMC compatible Christian Marangi
2026-10-28 12:51 ` [PATCH v2 1/2] dt-bindings: mmc: mtk-sd: Document support for Airoha AN7581 SoC Krzysztof Kozlowski
2026-10-28 16:48   ` Christian Marangi
2026-10-29  7:26     ` Krzysztof Kozlowski [this message]
2026-10-29  7:27 ` Krzysztof Kozlowski

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=fd1d29aa-2d6d-4e15-8222-b76929fa5a53@kernel.org \
    --to=krzk@kernel.org \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=ansuelsmth@gmail.com \
    --cc=chaotian.jing@mediatek.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh@kernel.org \
    --cc=ulfh@kernel.org \
    --cc=wenbin.mei@mediatek.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.