Received: by 2002:ac0:8c8e:0:0:0:0:0 with SMTP id r14csp528129ima; Wed, 6 Feb 2019 04:17:16 -0800 (PST) X-Google-Smtp-Source: AHgI3IamgPLxnI0k9tgj3mkWZH9BreT5uK7HcfVOF6/q6XRIPojZ0MB4GnTw3ovh9i5MiXXqxXvV X-Received: by 2002:a62:a99:: with SMTP id 25mr10101167pfk.121.1549455436815; Wed, 06 Feb 2019 04:17:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549455436; cv=none; d=google.com; s=arc-20160816; b=GQDvj9MDjuAqIwYx8VOwVFTRrRTxEYlwKpqBrvHXEHGkbSsdDKEwPuGp4h5XWsBtY0 JRRQvIbyhm/MRlHYSXdREswzIeGq4ZX5FnYtCyknPndDqEYddzU4Uzj55I0Snysvg2br sMddvsvotJFRyQxkfyT+3iZCTiy1+GUv7LH3Rk+ZCWfnNfIIVa5aIlNXiwUhWQOzFlaQ 5XEerjZHxsb14PEaCErYYVCxtb+yStWWmnGAEWqqNqCb12JPZBU1V62TTqUMEnAtiJib rUFNsWttgo3TlnW2iARsIzMeyDviDlNSH7k1ERueotdkwlgv2WP0jbQc//WNA9SEgpIm ZzxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=kc0SHLaRXX3PtDuPeGUUQe6Va4CURH3WyWemSLy/i2E=; b=H/jHZVcIWvy1yLLNigZgstMuiAQ2S2/6wMJoK+xPeh7b7tNENpfu4a1W8zLf+Jpetb XHFF9ElF9zauSthjs42HZfMYcxuZbfwa187ZlOZAykBx/rgsedMjBU/wo9NtoA5aCZF1 IPusUL5DqQ5HexZ9ByBTr5u5emeTuJC2QURwRjFz7aXg8RqDr98VZlPQazZILv+FQ66w l6x35v0xt36wTwQj++tFRSrKD7BSAtaVipegO1H+7nfxf7y2VhAOYqD7I4FJfsghFw9V lXpY6rlrVZ3lu9sBIhQw40qtPigEb6D2qEIibxbTDzoqc45kKXx84koAU5RnjaxpqvhM 9iVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=ZwFWuuYa; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o9si5974415pfe.63.2019.02.06.04.17.00; Wed, 06 Feb 2019 04:17:16 -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=@ti.com header.s=ti-com-17Q1 header.b=ZwFWuuYa; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729189AbfBFMQu (ORCPT + 99 others); Wed, 6 Feb 2019 07:16:50 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:49738 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726957AbfBFMQu (ORCPT ); Wed, 6 Feb 2019 07:16:50 -0500 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id x16CGmVe038384; Wed, 6 Feb 2019 06:16:49 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1549455409; bh=kc0SHLaRXX3PtDuPeGUUQe6Va4CURH3WyWemSLy/i2E=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=ZwFWuuYaZ7w3uAQBvDS+D+RlpXUUoc7DTg4C4w+JvVTxY/1emZLh0ii8tBkaXfGsN fP9J9nHwX7mROPucxJDGJMD2sJEYIifEwjlpS9OKkZJFrODvyupkTM5baSPp2nn+Xv EPz7zPj6IKYr1GWJSWCloNDR2YBRRgxJnwx39p+4= Received: from DLEE111.ent.ti.com (dlee111.ent.ti.com [157.170.170.22]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id x16CGmuZ082360 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 6 Feb 2019 06:16:48 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE111.ent.ti.com (157.170.170.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 6 Feb 2019 06:16:48 -0600 Received: from dflp32.itg.ti.com (10.64.6.15) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.1.1591.10 via Frontend Transport; Wed, 6 Feb 2019 06:16:48 -0600 Received: from [172.24.190.233] (ileax41-snat.itg.ti.com [10.172.224.153]) by dflp32.itg.ti.com (8.14.3/8.13.8) with ESMTP id x16CGkEv030778; Wed, 6 Feb 2019 06:16:47 -0600 Subject: Re: [PATCH] phy: bcm-sr-pcie: Change operation when PIPEMUX=1 To: Scott Branden , Ray Jui CC: , , Qingmin Liu References: <20190204190745.93170-1-ray.jui@broadcom.com> From: Kishon Vijay Abraham I Message-ID: <1575bf5c-7dff-6884-b2a2-5dcb5de4debd@ti.com> Date: Wed, 6 Feb 2019 17:46:15 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/02/19 12:51 AM, Scott Branden wrote: > Looks good. > > On 2019-02-04 11:07 a.m., Ray Jui wrote: >> 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 > Acked-by: Scott Branden merged, thanks. -Kishon >> --- >>   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 */