From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: wens@kernel.org
Cc: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: dts: sun7i: a20: fix MMC index enumeration
Date: Wed, 14 Jan 2026 18:50:56 +0100 [thread overview]
Message-ID: <9fca977f-4179-44de-b0dd-8e68d57addd4@benettiengineering.com> (raw)
In-Reply-To: <CAGb2v66gpmreQiDMDJ8NE1QJ-e+iBUVicw9sv=RgiwuONfUFAA@mail.gmail.com>
On 1/14/26 15:07, Chen-Yu Tsai wrote:
> On Wed, Jan 14, 2026 at 6:50 PM Giulio Benetti
> <giulio.benetti@benettiengineering.com> wrote:
>>
>> Currently, the OLinuXino-A20-Micro experiences non-deterministic MMC
>> enumeration during boot. When both an SDIO WiFi module (MMC1) and
>> an SD card (MMC0) are present, the kernel may swap their indices.
>>
>> Explicitly define mmc* aliases to ensure consistent device naming
>> and prevent mapping conflicts.
>
> Years ago we (sunxi maintainers) decided against this.
>
>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>> ---
>> arch/arm/boot/dts/allwinner/sun7i-a20.dtsi | 4 ++++
>
> And aliases are per board, so this definitely doesn't belong here.
I see, thank you for taking care.
Best regards
Giulio
>
> ChenYu
>
>> 1 file changed, 4 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20.dtsi b/arch/arm/boot/dts/allwinner/sun7i-a20.dtsi
>> index 5f44f09c5545..a958400bcd7c 100644
>> --- a/arch/arm/boot/dts/allwinner/sun7i-a20.dtsi
>> +++ b/arch/arm/boot/dts/allwinner/sun7i-a20.dtsi
>> @@ -55,6 +55,10 @@ / {
>> #size-cells = <1>;
>>
>> aliases {
>> + mmc0 = &mmc0;
>> + mmc1 = &mmc1;
>> + mmc2 = &mmc2;
>> + mmc3 = &mmc3;
>> ethernet0 = &gmac;
>> };
>>
>> --
>> 2.47.3
>>
>>
prev parent reply other threads:[~2026-01-14 17:53 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-14 10:50 Giulio Benetti
2026-01-14 14:06 ` Andre Przywara
2026-01-14 17:50 ` Giulio Benetti
2026-01-14 14:07 ` Chen-Yu Tsai
2026-01-14 17:50 ` Giulio Benetti [this message]
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=9fca977f-4179-44de-b0dd-8e68d57addd4@benettiengineering.com \
--to=giulio.benetti@benettiengineering.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=wens@kernel.org \
/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®