From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.43588.1612220026823057353 for ; Mon, 01 Feb 2021 14:53:47 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jeremy.linton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6C381147A; Mon, 1 Feb 2021 14:53:46 -0800 (PST) Received: from mammon-tx2.austin.arm.com (mammon-tx2.austin.arm.com [10.118.28.62]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 635333F718; Mon, 1 Feb 2021 14:53:46 -0800 (PST) From: "Jeremy Linton" To: devel@edk2.groups.io Cc: pete@akeo.ie, awarkentin@vmware.com, samer.el-haj-mahmoud@arm.com, leif@nuviainc.com, ardb+tianocore@kernel.org, Jeremy Linton Subject: [PATCH v2 0/4] RPi: SD/Wifi Acpi updates Date: Mon, 1 Feb 2021 16:53:39 -0600 Message-Id: <20210201225343.2001835-1-jeremy.linton@arm.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The existing RPi3 acpi entries for the Arasan and sdhci controllers needs updating to work with the RPi4. This is done by adding a caps override for the legacy Arasan controller and then adding an entirely new entry for the newer eMMC2 controller. Then we flip the default routing to make the eMMC2 the default for the SD card, so that the wifi can start working on the Arasan. Additional we add a menu item to enable the SDMA/ADMA2 modes on the controller. v1->v2: Add option for user to enable/disable eMMC DMA Only enable the emmc2 table on rpi4 &=20 !Arasan routing Move emmc2 into its own SSDT and drop=20 second _DMA entry Jeremy Linton (4): Platform/RaspberryPi: Add Negative table check Platform/RaspberryPi/Acpitables: Add eMMC2 device and tweak Arasan Platform/RaspberryPi: User control of eMMC2 DMA Platform/RaspberryPi: Invert default Arasan, Emmc2 routing Platform/RaspberryPi/AcpiTables/AcpiTables.inf | 1 + Platform/RaspberryPi/AcpiTables/Emmc.asl | 130 +++++++++++++++= ++++++ Platform/RaspberryPi/AcpiTables/Sdhc.asl | 18 ++- Platform/RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c | 26 +++++ .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.inf | 1 + .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.uni | 5 + .../RaspberryPi/Drivers/ConfigDxe/ConfigDxeHii.vfr | 17 +++ Platform/RaspberryPi/Include/ConfigVars.h | 8 ++ Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + Platform/RaspberryPi/RPi4/RPi4.dsc | 3 +- Platform/RaspberryPi/RPi4/Readme.md | 2 +- Platform/RaspberryPi/RaspberryPi.dec | 1 + 12 files changed, 208 insertions(+), 5 deletions(-) create mode 100644 Platform/RaspberryPi/AcpiTables/Emmc.asl --=20 2.13.7