]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
mmc: sdhci-iproc: Add ACPI bindings for the RPi
authorJeremy Linton <jeremy.linton@arm.com>
Wed, 20 Jan 2021 00:04:06 +0000 (18:04 -0600)
committerSeth Forshee <seth.forshee@canonical.com>
Wed, 17 Mar 2021 18:39:51 +0000 (13:39 -0500)
commit8658ec4725483dbf64b677d13de8433327f7409b
treed1d3fc3cbe90a0e9da7da32b027fd13e81afae9a
parent431e13b4c5e13745d98c7be3ca54a6a30ed85a8e
mmc: sdhci-iproc: Add ACPI bindings for the RPi

BugLink: https://bugs.launchpad.net/bugs/1919492
[ 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.

Signed-off-by: Jeremy Linton <jeremy.linton@arm.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210120000406.1843400-2-jeremy.linton@arm.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/mmc/host/sdhci-iproc.c