All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file
  2014-11-12 10:10 [U-Boot] [PATCH 1/3] 85xx/b4860: Add alternate serdes protocols for B4860/B4420 Shaveta Leekha
@ 2014-11-12 10:10 ` Shaveta Leekha
  0 siblings, 0 replies; 3+ messages in thread
From: Shaveta Leekha @ 2014-11-12 10:10 UTC (permalink / raw)
  To: u-boot

Add the support of newly added LC VCO SerDes protocols
for configuration of IDT and VSC crossbar

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Change-Id: I16ad23e2cbea3b0a232a153984d5126bc79ddd26
Reviewed-on: http://git.am.freescale.net:8181/23354
Tested-by: Yusong Sun <yorksun@freescale.com>
Reviewed-by: Yusong Sun <yorksun@freescale.com>
---
 board/freescale/b4860qds/b4860qds.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/board/freescale/b4860qds/b4860qds.c b/board/freescale/b4860qds/b4860qds.c
index 975952f..7f2437e 100644
--- a/board/freescale/b4860qds/b4860qds.c
+++ b/board/freescale/b4860qds/b4860qds.c
@@ -385,15 +385,18 @@ int configure_vsc3316_3308(void)
 		}
 		break;
 
+	case 0x01:
 	case 0x02:
 	case 0x04:
 	case 0x05:
 	case 0x06:
+	case 0x07:
 	case 0x08:
 	case 0x09:
 	case 0x0A:
 	case 0x0B:
 	case 0x0C:
+	case 0x2F:
 	case 0x30:
 	case 0x32:
 	case 0x33:
@@ -494,10 +497,14 @@ int configure_vsc3316_3308(void)
 	case 0x9E:
 	case 0x9A:
 	case 0x98:
+	case 0xb1:
 	case 0xb2:
+	case 0x48:
 	case 0x49:
 	case 0x4E:
+	case 0x8C:
 	case 0x8D:
+	case 0x79:
 	case 0x7A:
 		num_vsc08_con = NUM_CON_VSC3308;
 		/* Configure VSC3308 crossbar switch */
@@ -730,19 +737,23 @@ int config_serdes1_refclks(void)
 	 * to 122.88MHz
 	 */
 	switch (serdes1_prtcl) {
+	case 0x29:
 	case 0x2A:
 	case 0x2C:
 	case 0x2D:
 	case 0x2E:
+	case 0x01:
 	case 0x02:
 	case 0x04:
 	case 0x05:
 	case 0x06:
+	case 0x07:
 	case 0x08:
 	case 0x09:
 	case 0x0A:
 	case 0x0B:
 	case 0x0C:
+	case 0x2F:
 	case 0x30:
 	case 0x32:
 	case 0x33:
@@ -860,6 +871,8 @@ int config_serdes2_refclks(void)
 #endif
 	case 0x9E:
 	case 0x9A:
+		/* fallthrough */
+	case 0xb1:
 	case 0xb2:
 		debug("Configuring IDT for PCIe SATA for srds_prctl:%x\n",
 			serdes2_prtcl);
-- 
1.7.6.GIT

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

* [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file
@ 2014-11-12 10:30 Shaveta Leekha
  2014-12-05 16:33 ` York Sun
  0 siblings, 1 reply; 3+ messages in thread
From: Shaveta Leekha @ 2014-11-12 10:30 UTC (permalink / raw)
  To: u-boot

Add the support of newly added LC VCO SerDes protocols
for configuration of IDT and VSC crossbar

Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
Change-Id: I16ad23e2cbea3b0a232a153984d5126bc79ddd26
Reviewed-on: http://git.am.freescale.net:8181/23354
Tested-by: Yusong Sun <yorksun@freescale.com>
Reviewed-by: Yusong Sun <yorksun@freescale.com>
---
 board/freescale/b4860qds/b4860qds.c |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/board/freescale/b4860qds/b4860qds.c b/board/freescale/b4860qds/b4860qds.c
index 975952f..7f2437e 100644
--- a/board/freescale/b4860qds/b4860qds.c
+++ b/board/freescale/b4860qds/b4860qds.c
@@ -385,15 +385,18 @@ int configure_vsc3316_3308(void)
 		}
 		break;
 
+	case 0x01:
 	case 0x02:
 	case 0x04:
 	case 0x05:
 	case 0x06:
+	case 0x07:
 	case 0x08:
 	case 0x09:
 	case 0x0A:
 	case 0x0B:
 	case 0x0C:
+	case 0x2F:
 	case 0x30:
 	case 0x32:
 	case 0x33:
@@ -494,10 +497,14 @@ int configure_vsc3316_3308(void)
 	case 0x9E:
 	case 0x9A:
 	case 0x98:
+	case 0xb1:
 	case 0xb2:
+	case 0x48:
 	case 0x49:
 	case 0x4E:
+	case 0x8C:
 	case 0x8D:
+	case 0x79:
 	case 0x7A:
 		num_vsc08_con = NUM_CON_VSC3308;
 		/* Configure VSC3308 crossbar switch */
@@ -730,19 +737,23 @@ int config_serdes1_refclks(void)
 	 * to 122.88MHz
 	 */
 	switch (serdes1_prtcl) {
+	case 0x29:
 	case 0x2A:
 	case 0x2C:
 	case 0x2D:
 	case 0x2E:
+	case 0x01:
 	case 0x02:
 	case 0x04:
 	case 0x05:
 	case 0x06:
+	case 0x07:
 	case 0x08:
 	case 0x09:
 	case 0x0A:
 	case 0x0B:
 	case 0x0C:
+	case 0x2F:
 	case 0x30:
 	case 0x32:
 	case 0x33:
@@ -860,6 +871,8 @@ int config_serdes2_refclks(void)
 #endif
 	case 0x9E:
 	case 0x9A:
+		/* fallthrough */
+	case 0xb1:
 	case 0xb2:
 		debug("Configuring IDT for PCIe SATA for srds_prctl:%x\n",
 			serdes2_prtcl);
-- 
1.7.6.GIT

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

* [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file
  2014-11-12 10:30 [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file Shaveta Leekha
@ 2014-12-05 16:33 ` York Sun
  0 siblings, 0 replies; 3+ messages in thread
From: York Sun @ 2014-12-05 16:33 UTC (permalink / raw)
  To: u-boot

On 11/12/2014 02:30 AM, Shaveta Leekha wrote:
> Add the support of newly added LC VCO SerDes protocols
> for configuration of IDT and VSC crossbar
> 
> Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
> Signed-off-by: Poonam Aggrwal <poonam.aggrwal@freescale.com>
> Change-Id: I16ad23e2cbea3b0a232a153984d5126bc79ddd26
> Reviewed-on: http://git.am.freescale.net:8181/23354
> Tested-by: Yusong Sun <yorksun@freescale.com>
> Reviewed-by: Yusong Sun <yorksun@freescale.com>
> ---

For future patches, please remove internal review information which is not
reachable for most folks.

Applied to u-boot-mpc85xx, awaiting upstream.

York

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

end of thread, other threads:[~2014-12-05 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 10:30 [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file Shaveta Leekha
2014-12-05 16:33 ` York Sun
  -- strict thread matches above, loose matches on Subject: below --
2014-11-12 10:10 [U-Boot] [PATCH 1/3] 85xx/b4860: Add alternate serdes protocols for B4860/B4420 Shaveta Leekha
2014-11-12 10:10 ` [U-Boot] [PATCH 3/3] B4860: Add alternate LC VCO serdes protocols support in board file Shaveta Leekha

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.