]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
phy: bcm-sr-pcie: Change operation when PIPEMUX=1
authorQingmin Liu <qingmin.liu@broadcom.com>
Mon, 4 Feb 2019 19:07:45 +0000 (11:07 -0800)
committerKishon Vijay Abraham I <kishon@ti.com>
Thu, 7 Feb 2019 05:41:06 +0000 (11:11 +0530)
When PIPEMIX=1, change the operation from 2x8 EP to 1x8 EP + 1x8 RC.

Signed-off-by: Qingmin Liu <qingmin.liu@broadcom.com>
Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Acked-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/phy/broadcom/phy-bcm-sr-pcie.c

index c10e95f86de50ee0e56d54bc0ab2101b850ce323..96a3af126a78d780cc4e212f53bd186200f41f63 100644 (file)
@@ -78,8 +78,8 @@ struct sr_pcie_phy_core {
 static const u8 pipemux_table[] = {
        /* PIPEMUX = 0, EP 1x16 */
        0x00,
-       /* PIPEMUX = 1, EP 2x8 */
-       0x00,
+       /* PIPEMUX = 1, EP 1x8 + RC 1x8, core 7 */
+       0x80,
        /* PIPEMUX = 2, EP 4x4 */
        0x00,
        /* PIPEMUX = 3, RC 2x8, cores 0, 7 */