From: Wasim Khan <wasim.khan@oss.nxp.com>
To: devel@edk2.groups.io, meenakshi.aggarwal@nxp.com,
V.Sethi@nxp.com, ard.biesheuvel@arm.com, leif@nuviainc.com
Cc: Wasim Khan <wasim.khan@nxp.com>
Subject: [PATCH edk2-platforms v2 0/3] Add SerDes Support
Date: Sun, 7 Jun 2020 18:45:47 +0530 [thread overview]
Message-ID: <1591535750-15743-1-git-send-email-wasim.khan@oss.nxp.com> (raw)
From: Wasim Khan <wasim.khan@nxp.com>
NXP SoCs supports different Serdes protocols using reset
configuration word (RCW).
Based on Serdes protocol value in reset configuration word (RCW)
different IP blocks gets enabled in HW.
This patch series implements SerDesHelperLib and provide SoC specific
serdes configuration for LS1043A, which can be used by different IPs
(Ex: PCIe) to know the enabled interfaces and perform the required
initialization.
V1 Series can be referred here:
https://edk2.groups.io/g/devel/message/60542
Changes in V2:
- Addressed review comments received on V1.
Wasim Khan (3):
Silicon/NXP/Library: Implement SerDesHelperLib
Silicon/NXP: LS1043A: Add SerDes Support
Silicon/NXP: PciHostBridgeLib: Initialize only enabled PCIe
controllers
Silicon/NXP/NxpQoriqLs.dec | 1 +
Silicon/NXP/LS1043A/LS1043A.dsc.inc | 2 +
Silicon/NXP/LS1043A/Library/SocLib/SocLib.inf | 6 +
Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.inf | 1 +
Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.inf | 28 ++++
Silicon/NXP/Include/Library/SerDes.h | 28 ++++
Silicon/NXP/Include/Library/SerDesHelperLib.h | 64 ++++++++
Silicon/NXP/LS1043A/Library/SocLib/SerDes.c | 132 ++++++++++++++++
Silicon/NXP/Library/PciHostBridgeLib/PciHostBridgeLib.c | 35 ++++-
Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.c | 164 ++++++++++++++++++++
10 files changed, 460 insertions(+), 1 deletion(-)
create mode 100644 Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.inf
create mode 100644 Silicon/NXP/Include/Library/SerDes.h
create mode 100644 Silicon/NXP/Include/Library/SerDesHelperLib.h
create mode 100644 Silicon/NXP/LS1043A/Library/SocLib/SerDes.c
create mode 100644 Silicon/NXP/Library/SerDesHelperLib/SerDesHelperLib.c
--
2.7.4
next reply other threads:[~2020-06-07 13:16 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-07 13:15 Wasim Khan [this message]
2020-06-07 13:15 ` [PATCH edk2-platforms v2 1/3] Silicon/NXP/Library: Implement SerDesHelperLib Wasim Khan
2020-06-08 15:12 ` Leif Lindholm
2020-06-07 13:15 ` [PATCH edk2-platforms v2 2/3] Silicon/NXP: LS1043A: Add SerDes Support Wasim Khan
2020-06-08 15:30 ` Leif Lindholm
2020-06-08 16:50 ` Wasim Khan (OSS)
2020-06-07 13:15 ` [PATCH edk2-platforms v2 3/3] Silicon/NXP: PciHostBridgeLib: Initialize only enabled PCIe controllers Wasim Khan
2020-06-08 15:32 ` Leif Lindholm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1591535750-15743-1-git-send-email-wasim.khan@oss.nxp.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox