public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/1] UART Dynamic clock freq Support
@ 2020-02-19 13:31 Pankaj Bansal
  2020-02-19 13:31 ` [PATCH 1/1] MdeModulePkg: " Pankaj Bansal
  0 siblings, 1 reply; 18+ messages in thread
From: Pankaj Bansal @ 2020-02-19 13:31 UTC (permalink / raw)
  To: Jian J Wang, Hao A Wu, Ray Ni, Maurice Ma, Guo Dong, Benjamin You,
	Leif Lindholm, Meenakshi Aggarwal, Varun Sethi
  Cc: devel, Pankaj Bansal

From: Pankaj Bansal <pankaj.bansal@nxp.com>

This patch adds dynamic freqency support for UART.
This patch is modelled on below patch
(cbba5ca104fb ArmPlatformPkg: PL011 Dynamic clock freq Support )

i have to ask, after introducing the generic library in MdeModulePkg
shouldn't the PL011 specific library PL011UartClockLib be removed from
ArmPlatformPkg?
And also, shouldn't the PL011UartClkInHz be replaced with more generic
PcdSerialClockRate?

Pankaj Bansal (1):
  MdeModulePkg: UART Dynamic clock freq Support

 .../Include/Library/SerialUartClockLib.h      | 21 +++++++++++++++
 .../BaseSerialPortLib16550.c                  |  9 ++++---
 .../BaseSerialPortLib16550.inf                |  2 +-
 .../BaseSerialUartClockLib.c                  | 24 +++++++++++++++++
 .../BaseSerialUartClockLib.inf                | 27 +++++++++++++++++++
 MdeModulePkg/MdeModulePkg.dsc                 |  2 ++
 SourceLevelDebugPkg/SourceLevelDebugPkg.dsc   |  1 +
 UefiPayloadPkg/UefiPayloadPkgIa32.dsc         |  1 +
 UefiPayloadPkg/UefiPayloadPkgIa32X64.dsc      |  1 +
 9 files changed, 83 insertions(+), 5 deletions(-)
 create mode 100644 MdeModulePkg/Include/Library/SerialUartClockLib.h
 create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.c
 create mode 100644 MdeModulePkg/Library/BaseSerialUartClockLib/BaseSerialUartClockLib.inf

-- 
2.17.1


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

end of thread, other threads:[~2020-04-11 11:55 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-19 13:31 [PATCH 0/1] UART Dynamic clock freq Support Pankaj Bansal
2020-02-19 13:31 ` [PATCH 1/1] MdeModulePkg: " Pankaj Bansal
2020-03-19 13:40   ` [edk2-devel] " Samer El-Haj-Mahmoud
2020-03-19 15:09   ` Ni, Ray
2020-03-19 15:30     ` Leif Lindholm
2020-03-23  5:31       ` Pankaj Bansal
2020-03-26 14:13         ` [edk2-devel] " Guomin Jiang
2020-03-28 12:36           ` Pankaj Bansal
2020-03-30  1:20             ` Guomin Jiang
2020-03-30  7:35               ` Leif Lindholm
2020-03-30  7:44                 ` Ard Biesheuvel
2020-03-31  1:53                   ` Ni, Ray
2020-03-31  9:22                     ` [edk2-devel] API breakages and their implications. Was: " Leif Lindholm
2020-03-31 12:11                       ` Ni, Ray
2020-03-31 12:59                         ` Leif Lindholm
2020-03-31 13:23                       ` Laszlo Ersek
2020-04-01 12:55                         ` Leif Lindholm
2020-04-11 11:54                     ` [edk2-devel] " Pankaj Bansal

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