Thread (50 messages) 50 messages, 3 authors, 2021-03-12

Re: [PATCH AUTOSEL 5.10 11/47] mmc: sdhci-iproc: Add ACPI bindings for the RPi

From: Sasha Levin <sashal@kernel.org>
Date: 2021-03-12 22:13:25
Also in: linux-arm-kernel, linux-mmc, lkml

On Tue, Mar 02, 2021 at 10:16:59AM -0600, Jeremy Linton wrote:
Hi,


On 3/2/21 5:56 AM, Sasha Levin wrote:
quoted
From: Jeremy Linton <redacted>

[ Upstream commit 4f9833d3ec8da34861cd0680b00c73e653877eb9 ]

The RPi4 has an Arasan controller it carries over from the RPi3 and a newer
eMMC2 controller.  Because of a couple of quirks, it seems wiser to bind
these controllers to the same driver that DT is using on this platform
rather than the generic sdhci_acpi driver with PNP0D40.

So, BCM2847 describes the older Arasan and BRCME88C describes the newer
eMMC2. The older Arasan is reusing an existing ACPI _HID used by other OSes
booting these tables on the RPi.

With this change, Linux is capable of utilizing the SD card slot, and the
Wi-Fi when booted with UEFI+ACPI on the RPi4.
For this to actually work on kernels < 5.11 you also need:

c5b1c6dc13da mmc: sdhci: Update firmware interface API
I'll take this one for 5.10 then, thanks!

-- 
Thanks,
Sasha
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help