Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp823452pxb; Thu, 17 Feb 2022 15:51:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJxrJU5L8hhg/rqK3pAVJ9nD7nnPxi/uuzu1+1Jqr+zN6j4IKCDjmcY9ODGk7a4Z7PXJE8xT X-Received: by 2002:a17:902:ce12:b0:14d:d0be:cb14 with SMTP id k18-20020a170902ce1200b0014dd0becb14mr5030499plg.152.1645141863887; Thu, 17 Feb 2022 15:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645141863; cv=none; d=google.com; s=arc-20160816; b=Ty9VZJZYLG0m6LXOhXTZyTvtKXo4dPBYsUENcn3kD1a+RcXtMBRQmh7NSgetmsbBHh aMx95Q26aWbCDbKb9rqhn+kdZi0Y4JTh7wHU1RXNhS1VzRAvmNeVMwNgl7Ml36XlCvIa Eo1xhLNEiSX823cyShSJ0HnZqlDUBt5I7uM8G4bmKX/CgeatT5subCOs6WJcrWEwSyIe L5o+h/KzBTPeLW0HgSAL3tnkMUvjxNLpNxm3HROJN37KuAS5zGaOC1qxprxt7CnM1fX2 3DLGi4dMdwOfsTe/osUCfTiw6rtjRytS3nMbJgw4X5250aQazW73uiS8wTnnRZQOus6w iZrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=MXh5Ng0xjFA6lpgTkmnOyicU8T+ED+2XZNQZN38DXlg=; b=znogegDtccFOVNxmt/+2OGsbL4Afrz19ViILe86I+X9XQFF9jYeS8avKLwdnEcP4vU nGC1G6Dw4nsA24aF7VNtxKPKSqrg+MhfQKfIpLn3kxv+ASvjDUBG+4A+sCqYqgAdD98A o+Upzp3tXHWL3OCU41Su6rzjNL83/L9SWf8Avgs8h3yUmEkcRD22d8dQQbeAiM6SHQoz ydeWxZrOc6aSaHqn5fKfbRs6dag+75Uhq0rp0Mq/O/gDTwWAD354Ddsu2m+UATEVForR YHe4lXks2DnIzePWqByANyT4OyLUV4tCUT6v2QNCGPck+g3v+6QAXEoLC6uvwSKnSEpA YhjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uNeX8Q4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j10si2128387pjl.128.2022.02.17.15.51.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 15:51:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=uNeX8Q4b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id F25E24D9E3; Thu, 17 Feb 2022 15:23:40 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242574AbiBQPhg (ORCPT + 99 others); Thu, 17 Feb 2022 10:37:36 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:55108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242562AbiBQPhf (ORCPT ); Thu, 17 Feb 2022 10:37:35 -0500 Received: from lelv0143.ext.ti.com (lelv0143.ext.ti.com [198.47.23.248]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E22B2B2E11; Thu, 17 Feb 2022 07:37:21 -0800 (PST) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0143.ext.ti.com (8.15.2/8.15.2) with ESMTP id 21HFbC6x007434; Thu, 17 Feb 2022 09:37:12 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1645112232; bh=MXh5Ng0xjFA6lpgTkmnOyicU8T+ED+2XZNQZN38DXlg=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=uNeX8Q4bVJB6Cviq8td3cYWENPBcM57rtZjgQFKXjVygHyKRpvwhZSR4Rgs8Z+hxO hkjWe2y0X5iQBUS1VtfUK3oBgVscCVE96RbuRPDU6bc7I5dHyJfyvEMK+UtfZHKsVn 8Y/xBwy4sUOJ6DSKARx/jozxZnMLakfzi2EbMXRU= Received: from DFLE113.ent.ti.com (dfle113.ent.ti.com [10.64.6.34]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 21HFbCl7118845 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 17 Feb 2022 09:37:12 -0600 Received: from DFLE102.ent.ti.com (10.64.6.23) by DFLE113.ent.ti.com (10.64.6.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Thu, 17 Feb 2022 09:37:12 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14 via Frontend Transport; Thu, 17 Feb 2022 09:37:12 -0600 Received: from [10.250.233.137] (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 21HFb8AH077363; Thu, 17 Feb 2022 09:37:09 -0600 Subject: Re: [PATCH v2] arm64: dts: ti: k3-j721e-common-proc-board: Enable PCIe + QSGMII multilink configuration To: Aswath Govindraju , Swapnil Jakhade CC: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , , , References: <20220202043944.11351-1-a-govindraju@ti.com> From: Kishon Vijay Abraham I Message-ID: <20ceb422-8464-4f12-0b46-ad5c4d43da3c@ti.com> Date: Thu, 17 Feb 2022 21:07:08 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20220202043944.11351-1-a-govindraju@ti.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Aswath, Swapnil, On 02/02/22 10:09 am, Aswath Govindraju wrote: > From: Swapnil Jakhade > > The zeroth instance of SerDes on J721E common processor board will be > shared between PCIe and QSGMII. Therefore, add support for enabling this. > > Signed-off-by: Swapnil Jakhade > Signed-off-by: Aswath Govindraju > --- > > changes since v1: > - Fixed the commit message. > > .../boot/dts/ti/k3-j721e-common-proc-board.dts | 15 ++++++++++++--- > 1 file changed, 12 insertions(+), 3 deletions(-) > > diff --git a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > index 2d7596911b27..157d86dc2824 100644 > --- a/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > +++ b/arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts > @@ -431,7 +431,7 @@ > }; > > &serdes_ln_ctrl { > - idle-states = , , > + idle-states = , , > , , > , , > , , This change will kick-in errata i2183 https://www.ti.com/lit/er/sprz455a/sprz455a.pdf This will break PCIe endpoint mode. Let's get the errata workaround merged before this. Thanks, Kishon > @@ -757,8 +757,8 @@ > }; > > &serdes0 { > - assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>; > - assigned-clock-parents = <&wiz0_pll1_refclk>; > + assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>, <&serdes0 CDNS_SIERRA_PLL_CMNLC1>; > + assigned-clock-parents = <&wiz0_pll1_refclk>, <&wiz0_pll1_refclk>; > > serdes0_pcie_link: phy@0 { > reg = <0>; > @@ -767,6 +767,15 @@ > cdns,phy-type = ; > resets = <&serdes_wiz0 1>; > }; > + > + serdes0_qsgmii_link: phy@1 { > + reg = <1>; > + cdns,num-lanes = <1>; > + #phy-cells = <0>; > + cdns,phy-type = ; > + resets = <&serdes_wiz0 2>; > + }; > + > }; > > &serdes1 { >