Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
34c04744
Commit
34c04744
authored
Jan 05, 2023
by
Josua Mayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rcw: add comments to serdes 1 protocols 8+4 and disable PLLF for 4
parent
b1591f09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
108 additions
and
0 deletions
+108
-0
patches/rcw-LSDK-21.08/0023-lx2160acex7-add-SD1-mode-4-serdes-configuration.patch
...023-lx2160acex7-add-SD1-mode-4-serdes-configuration.patch
+0
-0
patches/rcw-LSDK-21.08/0024-lx2160acex7-add-comments-to-SD1_8-S-configuration.patch
...4-lx2160acex7-add-comments-to-SD1_8-S-configuration.patch
+65
-0
patches/rcw-LSDK-21.08/0025-lx2160acex7-add-comments-disable-PLLF-for-SD1-protoc.patch
...x2160acex7-add-comments-disable-PLLF-for-SD1-protoc.patch
+43
-0
No files found.
patches/rcw-LSDK-21.08/
9999
-lx2160acex7-add-SD1-mode-4-serdes-configuration.patch
→
patches/rcw-LSDK-21.08/
0023
-lx2160acex7-add-SD1-mode-4-serdes-configuration.patch
View file @
34c04744
File moved
patches/rcw-LSDK-21.08/0024-lx2160acex7-add-comments-to-SD1_8-S-configuration.patch
0 → 100644
View file @
34c04744
From d65e0ac1b8e98511f78b2f9f67c452e4517c3379 Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 5 Jan 2023 19:17:53 +0200
Subject: [PATCH 24/25] lx2160acex7: add comments to SD1_8(S) configuration
This is purely cosmetic ...
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
lx2160acex7/configs/lx2160a_SD1_8.rcwi | 20 +++++++++++++++++---
lx2160acex7/configs/lx2160a_SD1_8S.rcwi | 16 ++++++++++++++++
2 files changed, 33 insertions(+), 3 deletions(-)
diff --git a/lx2160acex7/configs/lx2160a_SD1_8.rcwi b/lx2160acex7/configs/lx2160a_SD1_8.rcwi
index abd6dfd..060c5cb 100644
--- a/lx2160acex7/configs/lx2160a_SD1_8.rcwi
+++ b/lx2160acex7/configs/lx2160a_SD1_8.rcwi
@@ -1,4 +1,18 @@
-SRDS_PRTCL_S1=8 /* should be 8 */
-SRDS_INTRA_REF_CLK_S1 = 1 /* PLLF used for PLLS */
-SRDS_PLL_REF_CLK_SEL_S1=2
+/* Serdes 1 Protocol 8: 8x10Gbps */
+SRDS_PRTCL_S1=8
+
+/* Disable Serdes 1 PLLF */
SRDS_PLL_PD_PLL1=1
+
+/* Use Serdes 1 PLLF for PLLS */
+SRDS_INTRA_REF_CLK_S1=1
+
+/* Enable Serdes 1 PLLS */
+SRDS_PLL_PD_PLL2=0
+
+/*
+ * Select Serdes 1 PLLF frequency 100MHz (don't care): Bit 0 = 0
+ * Select Serdes 1 PLLS frequency 161.1328125MHz (not documented in RM): Bit 1 = 1
+ * (See QorIQ LX2162A Reference Manual, Rev. 1, 12/2021, 4.9.8.9 Reset Control Word (RCW) Register Descriptions, Bits 932-933)
+ */
+SRDS_PLL_REF_CLK_SEL_S1=2
diff --git a/lx2160acex7/configs/lx2160a_SD1_8S.rcwi b/lx2160acex7/configs/lx2160a_SD1_8S.rcwi
index a5eea0e..3ecc86b 100644
--- a/lx2160acex7/configs/lx2160a_SD1_8S.rcwi
+++ b/lx2160acex7/configs/lx2160a_SD1_8S.rcwi
@@ -1,2 +1,18 @@
+/* Serdes 1 Protocol 8: 8x10Gbps */
SRDS_PRTCL_S1=8
+
+/* Enable Serdes 1 PLLF */
+SRDS_PLL_PD_PLL1=0
+
+/* Don't Use Serdes 1 PLLF for PLLS */
+SRDS_INTRA_REF_CLK_S1=0
+
+/* Enable Serdes 1 PLLS */
+SRDS_PLL_PD_PLL2=0
+
+/*
+ * Select Serdes 1 PLLF frequency 100MHz: Bit 0 = 0
+ * Select Serdes 1 PLLS frequency 161.1328125MHz (not documented in RM): Bit 1 = 1
+ * (See QorIQ LX2162A Reference Manual, Rev. 1, 12/2021, 4.9.8.9 Reset Control Word (RCW) Register Descriptions, Bits 932-933)
+ */
SRDS_PLL_REF_CLK_SEL_S1=2
--
2.35.3
patches/rcw-LSDK-21.08/0025-lx2160acex7-add-comments-disable-PLLF-for-SD1-protoc.patch
0 → 100644
View file @
34c04744
From 82f3dcecbf5392168eb0ffc31db43913cda04dbe Mon Sep 17 00:00:00 2001
From: Josua Mayer <josua@solid-run.com>
Date: Thu, 5 Jan 2023 19:18:47 +0200
Subject: [PATCH 25/25] lx2160acex7: add comments & disable PLLF for SD1
protocol 4
Rather than using intra-ref-clock disable PLLF completely since it is
not used by this protocol, and can't lock at the physically connected
161MHz.
Signed-off-by: Josua Mayer <josua@solid-run.com>
---
lx2160acex7/configs/lx2160a_SD1_4.rcwi | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/lx2160acex7/configs/lx2160a_SD1_4.rcwi b/lx2160acex7/configs/lx2160a_SD1_4.rcwi
index cd0a938..dce9c05 100644
--- a/lx2160acex7/configs/lx2160a_SD1_4.rcwi
+++ b/lx2160acex7/configs/lx2160a_SD1_4.rcwi
@@ -1,4 +1,18 @@
+/* Serdes 1 Protocol 8: 8x1Gbps */
SRDS_PRTCL_S1=4
-/* SRDS_INTRA_REF_CLK_S1 = 1 PLLF used for PLLS */
-SRDS_PLL_REF_CLK_SEL_S1=0
+
+/* Disable Serdes 1 PLLF (it can not lock at 161MHz during RCW) */
SRDS_PLL_PD_PLL1=1
+
+/* Don't use Serdes 1 PLLF for PLLS */
+SRDS_INTRA_REF_CLK_S1=0
+
+/* Enable Serdes 1 PLLS */
+SRDS_PLL_PD_PLL2=0
+
+/*
+ * Select Serdes 1 PLLF frequency 161.1328125MHz (don't care): Bit 0 = 1
+ * Select Serdes 1 PLLS frequency 100MHz (not documented in RM): Bit 1 = 0
+ * (See QorIQ LX2162A Reference Manual, Rev. 1, 12/2021, 4.9.8.9 Reset Control Word (RCW) Register Descriptions, Bits 932-933)
+ */
+SRDS_PLL_REF_CLK_SEL_S1=1
--
2.35.3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment