public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Dynamically build UARTs info in ACPI
@ 2021-06-07  7:53 Sunny Wang
  2021-06-07  7:53 ` [PATCH v4 1/3] Platform/RaspberryPi: " Sunny Wang
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Sunny Wang @ 2021-06-07  7:53 UTC (permalink / raw)
  To: devel
  Cc: Sunny Wang, Samer El-Haj-Mahmoud, Sami Mujawar, Jeremy Linton,
	Pete Batard, Ard Biesheuvel, Mario Balanica

In v4: Address comments given by Mario on v3.
In v3: Address comments given by Jeremy, Mario, and Pete on v2.
In v2: Address comments given by Pete on v1.

Dynamically build UARTs info in ACPI so that it can match the UART
related settings defined in config.txt 

Cc: Samer El-Haj-Mahmoud <samer.el-haj-mahmoud@arm.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Jeremy Linton <jeremy.linton@arm.com>
Cc: Pete Batard <pete@akeo.ie>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Mario Balanica <mariobalanica02@gmail.com>

Sunny Wang (3):
  Platform/RaspberryPi: Dynamically build UARTs info in ACPI
  Silicon/Broadcom/Bcm283x: Clean up GpioPinSet function
  Platform/RaspberryPi: Enable Bluetooth and UART in Windows OS

 .../RaspberryPi/AcpiTables/AcpiTables.inf     |   8 +-
 .../RaspberryPi/AcpiTables/Dbg2MiniUart.aslc  |  81 +++++++++
 .../AcpiTables/{Dbg2.aslc => Dbg2Pl011.aslc}  |  30 +---
 .../RaspberryPi/AcpiTables/SpcrMiniUart.aslc  |  91 ++++++++++
 .../AcpiTables/{Spcr.aslc => SpcrPl011.aslc}  |  10 +-
 Platform/RaspberryPi/AcpiTables/Uart.asl      | 155 ++++++++++++------
 .../RaspberryPi/Drivers/ConfigDxe/ConfigDxe.c |  70 +++++++-
 .../Drivers/ConfigDxe/ConfigDxe.inf           |   1 +
 .../IndustryStandard/RpiDebugPort2Table.h     |  33 ++++
 Platform/RaspberryPi/Include/UartSelection.h  |  20 +++
 Platform/RaspberryPi/RPi3/RPi3.dsc            |   8 +
 Platform/RaspberryPi/RPi4/RPi4.dsc            |   8 +
 Platform/RaspberryPi/RaspberryPi.dec          |   1 +
 .../Bcm283x/Include/Library/GpioLib.h         |  10 +-
 .../Bcm283x/Library/GpioLib/GpioLib.c         |   9 +-
 15 files changed, 436 insertions(+), 99 deletions(-)
 create mode 100644 Platform/RaspberryPi/AcpiTables/Dbg2MiniUart.aslc
 rename Platform/RaspberryPi/AcpiTables/{Dbg2.aslc => Dbg2Pl011.aslc} (72%)
 create mode 100644 Platform/RaspberryPi/AcpiTables/SpcrMiniUart.aslc
 rename Platform/RaspberryPi/AcpiTables/{Spcr.aslc => SpcrPl011.aslc} (87%)
 create mode 100644 Platform/RaspberryPi/Include/IndustryStandard/RpiDebugPort2Table.h
 create mode 100644 Platform/RaspberryPi/Include/UartSelection.h

-- 
2.31.0.windows.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-06-12 20:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-07  7:53 [PATCH v4 0/3] Dynamically build UARTs info in ACPI Sunny Wang
2021-06-07  7:53 ` [PATCH v4 1/3] Platform/RaspberryPi: " Sunny Wang
2021-06-12 13:39   ` Pete Batard
2021-06-12 20:08     ` Ard Biesheuvel
2021-06-07  7:53 ` [PATCH v4 2/3] Silicon/Broadcom/Bcm283x: Clean up GpioPinSet function Sunny Wang
2021-06-12 13:40   ` Pete Batard
2021-06-07  7:53 ` [PATCH v4 3/3] Platform/RaspberryPi: Enable Bluetooth and UART in Windows OS Sunny Wang
2021-06-07 15:04   ` Mario Bălănică
2021-06-12 13:40   ` Pete Batard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox