Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp4156119ima; Mon, 4 Feb 2019 11:09:45 -0800 (PST) X-Google-Smtp-Source: AHgI3IbHIbLtf0YKOxok4YpoCkcMykXta75dExbMfLIRcWGxI/7TFImeVTOZthpSgUMsxOGU2kZV X-Received: by 2002:a17:902:6502:: with SMTP id b2mr960875plk.44.1549307385475; Mon, 04 Feb 2019 11:09:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549307385; cv=none; d=google.com; s=arc-20160816; b=ZFpQDY0wThgZvYXAGgwTzrY4psCkofGfwpZ8odsNbWppKQvx4Wf+KD+cIbPF++JotG LUmLX48l5v5nQoiHXouZMnnCqPUgjNUL3bl74WbsLrNXN2j7ajNxphhN7SUrujwkNWSC 2hcB9SJfjTK7Xn/okWUiNGJv1U27Umr5re8NL04U3TjP0m/WhH8k9ZiMAI8dMdTdG2tp 6d50YFvgCkYHErmcFpsjUdO6gNAsu5W4GgJJgzmkwUC5/BqlZji4UPuWoDLe+ATh3S4s vlWHkLxAS+BGRZFuO+EwRjUoNUnu6zOJVD/xSKJx+cYegIVK9nXfoIgIwxT7FDNh+19x 4MOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=UBXiUcp8uf1Oo1Bd5TzSmKDG4tWcAAfQDfqWBtCoGlw=; b=DUYPHxlADYmduNHDwkXb+9lK9X5iPSkYa/ilnJsuzU1mGYII0nP3dI7hyU9RreV3GT /CP4qpDf4yoXFmRiaNhqoaVN7TbeTefBjkGS22n9I+MNTrQcD2n9HbbjskjxUViJLQ6Y mNTaVAmv87sytcxlBulFgEu86F123Z4NpGBOtLQuk3XW1WP/3+cuFcRq3+/6YiCU77oQ ohSmoIo2sAKRrA95B2u6vjbk8guDkyiVXb0KTf7Fdkv/zzUfSVNzPbtLPBX0ELaK2JEc vEV1uZH7v0GDTRFpWt5dc06XdPZPNdVqp+lvcW3MJqJNNfuacvhEsOoY0YvCgXFIm3gS BP4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=UsgvHeAm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b19si856919pfm.100.2019.02.04.11.09.28; Mon, 04 Feb 2019 11:09:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=UsgvHeAm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729597AbfBDTHz (ORCPT + 99 others); Mon, 4 Feb 2019 14:07:55 -0500 Received: from mail-yb1-f195.google.com ([209.85.219.195]:41901 "EHLO mail-yb1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727673AbfBDTHz (ORCPT ); Mon, 4 Feb 2019 14:07:55 -0500 Received: by mail-yb1-f195.google.com with SMTP id n6so39248ybg.8 for ; Mon, 04 Feb 2019 11:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=UBXiUcp8uf1Oo1Bd5TzSmKDG4tWcAAfQDfqWBtCoGlw=; b=UsgvHeAmfHXSN67i6BwXOnxWoTlId5vsn9CytyEsyX4eNdARxvpKTIu3uVuo2/p7aE LRMkge7XrHCmoOmVLcOLd94Z4D9DabW+BY6vUxjmOS23PZ1mDUyDTvku4/uoAeLZCTK+ TWgpsDdy37gEMH2sHclYH2AwZ1iWJrIcvod2Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UBXiUcp8uf1Oo1Bd5TzSmKDG4tWcAAfQDfqWBtCoGlw=; b=chOVKyQ/gVRxGU++VaGS8hhKnkh8cpsVIl2K443An6bIWxR6sIRshU855Dda8t8yYg lnYSWcknPz6YKSGBYjOhUn8OxBSmJyzb+sN7rhlY6Ah4JHX4yuxLWHR/K1WFv33vlUEr 22+ELeDq+7xPDvCM1EKbCJNjWo+apsNN0sBrqwPi7WMh4Ds5uggN9e5jau4FmBoWj7WZ k0BuHxrfG1TkxGH/nIntEoUxOGhO/4Xki0jdMl8iK3IiJv6fORxrKJ/pJjehRWl0+e/6 LC1/J0KRi1Q9HeSP5yDf43XVqaW/48Oleq3H962R1Yl02AE1P0G0OUVqSO8z8yNSA0sX 5JNA== X-Gm-Message-State: AHQUAuZE+Dqm+mZQvfc8Ee5+bmPWWd2Z38wdFiBcTrlLoWuVH2QsJWkH hk+uJA5UIhcL/621KGOB7tLXQQ== X-Received: by 2002:a25:2386:: with SMTP id j128mr870250ybj.120.1549307274251; Mon, 04 Feb 2019 11:07:54 -0800 (PST) Received: from rj-aorus.ric.broadcom.com ([192.19.228.250]) by smtp.gmail.com with ESMTPSA id w70sm680582yww.76.2019.02.04.11.07.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Feb 2019 11:07:53 -0800 (PST) From: Ray Jui To: Kishon Vijay Abraham I Cc: linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, Qingmin Liu , Ray Jui Subject: [PATCH] phy: bcm-sr-pcie: Change operation when PIPEMUX=1 Date: Mon, 4 Feb 2019 11:07:45 -0800 Message-Id: <20190204190745.93170-1-ray.jui@broadcom.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Qingmin Liu When PIPEMIX=1, change the operation from 2x8 EP to 1x8 EP + 1x8 RC. Signed-off-by: Qingmin Liu Signed-off-by: Ray Jui --- drivers/phy/broadcom/phy-bcm-sr-pcie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/phy/broadcom/phy-bcm-sr-pcie.c b/drivers/phy/broadcom/phy-bcm-sr-pcie.c index c10e95f86de5..96a3af126a78 100644 --- a/drivers/phy/broadcom/phy-bcm-sr-pcie.c +++ b/drivers/phy/broadcom/phy-bcm-sr-pcie.c @@ -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 */ -- 2.17.1