Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3864741pxv; Mon, 19 Jul 2021 10:35:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwiGEQnwf1ct5BG/Ww6PklAb4/YLsO6TXOtWcV95I19DdvtCLnFfdG/nhpDQZPfRhzWXXeJ X-Received: by 2002:a05:6e02:c30:: with SMTP id q16mr14447203ilg.75.1626716107806; Mon, 19 Jul 2021 10:35:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626716107; cv=none; d=google.com; s=arc-20160816; b=eOqWyfPZVR6bfY2YXbTEEeoB+Qd6SacOszvsLS8WHsOtPF4vjhcBFdZGfEm2Y7qwlI WNOWMBGTil/ElSqPYc9adLdUkIbsxhG13RHTJJ8BsEZYi8UPXl3H7v8ormUJfs5VSKk/ nLfENZaBx+fVrK3XG81Ujbbv4htdwVr9gsLknnpglZszpyY4AseWnxmihidv5wb7Fq/E 8qIoEY7rLLqR8RV1aESdkliTgqf4j80f6fASn7znFATIZ5PAyXh9HQxkXOAyClSysZmI d2Jc85otDGeCC1MolSpSNFBQkUOqvEPLhDjthjldjOQQbJBfrf8d4mcoUmZDWGGpIo4b O92A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=lPQ0x3tS94KGjk2KCVMR58g09Ca6R2v3uIy/6+D6sr0=; b=z97MasIlVW0E2CoJeapalXWIjC4Cg9pnqWkuTdq48ZO5l6mYY06k5qutKkMDOjuFcC YP1nMPF8bMFjY2OXnHDf0lWOSKkPGjcNOWvfb7Ww5sr+KwPitG5oTN4jzKuhPNC8xcXZ UGv980r9RDKYykDfBHZDWLmaGnru0WkazfHqLaBB8Hos6t3ogVE0jZWj9R88yIvW1fFJ Baac9TOezX0zIBqSl83T2f2zwgjue9X+hhL1+OjIHiOPPsQOHfBnN7I/L0/GibehRHxw S5n6bi6mVWJPHqHqQUHxxT3zFapC+1zSR58nVuzUVCAceOKynaLquvnciOfIZ2jiFquS zrPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yTRVYBlq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si20704262ilv.84.2021.07.19.10.34.55; Mon, 19 Jul 2021 10:35:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=yTRVYBlq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352332AbhGSQt7 (ORCPT + 99 others); Mon, 19 Jul 2021 12:49:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:37554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348120AbhGSPYf (ORCPT ); Mon, 19 Jul 2021 11:24:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 146FF61448; Mon, 19 Jul 2021 16:02:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626710521; bh=ZiHeNXEw0+M1lKHuz3XUPD3ArO1nyNsZflgnMZb2AZo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yTRVYBlq1CrvxwRYXGVnmbzIq+bWUi/1inmFhk8yDDOT30fpqspMBlaQ5t3iPZuYE VOxfl64yvVyApKqSMxAh8Q2xgj+G/zrlyUdHnVU6HXGM4LZg/Q/wsTDY3rJ3gKl3Y3 WYSK4NsFoTBDhpoPeBapGsHwTfGNo8AyQ6PTOUbg= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kishon Vijay Abraham I , Aswath Govindraju , Nishanth Menon , Sasha Levin Subject: [PATCH 5.10 216/243] arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES Date: Mon, 19 Jul 2021 16:54:05 +0200 Message-Id: <20210719144947.891096868@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210719144940.904087935@linuxfoundation.org> References: <20210719144940.904087935@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Kishon Vijay Abraham I [ Upstream commit f2a7657ad7a821de9cc77d071a5587b243144cd5 ] Use external clock for all the SERDES used by PCIe controller. This will make the same clock used by the local SERDES as well as the clock provided to the PCIe connector. Signed-off-by: Kishon Vijay Abraham I Reviewed-by: Aswath Govindraju Signed-off-by: Nishanth Menon Link: https://lore.kernel.org/r/20210603143427.28735-4-kishon@ti.com Signed-off-by: Sasha Levin --- .../dts/ti/k3-j721e-common-proc-board.dts | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) 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 7cd31ac67f88..56a92f59c3a1 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 @@ -9,6 +9,7 @@ #include #include #include +#include / { chosen { @@ -564,7 +565,40 @@ clock-frequency = <100000000>; }; +&wiz0_pll1_refclk { + assigned-clocks = <&wiz0_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz0_refclk_dig { + assigned-clocks = <&wiz0_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz1_pll1_refclk { + assigned-clocks = <&wiz1_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz1_refclk_dig { + assigned-clocks = <&wiz1_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz2_pll1_refclk { + assigned-clocks = <&wiz2_pll1_refclk>; + assigned-clock-parents = <&cmn_refclk1>; +}; + +&wiz2_refclk_dig { + assigned-clocks = <&wiz2_refclk_dig>; + assigned-clock-parents = <&cmn_refclk1>; +}; + &serdes0 { + assigned-clocks = <&serdes0 CDNS_SIERRA_PLL_CMNLC>; + assigned-clock-parents = <&wiz0_pll1_refclk>; + serdes0_pcie_link: link@0 { reg = <0>; cdns,num-lanes = <1>; @@ -575,6 +609,9 @@ }; &serdes1 { + assigned-clocks = <&serdes1 CDNS_SIERRA_PLL_CMNLC>; + assigned-clock-parents = <&wiz1_pll1_refclk>; + serdes1_pcie_link: link@0 { reg = <0>; cdns,num-lanes = <2>; @@ -585,6 +622,9 @@ }; &serdes2 { + assigned-clocks = <&serdes2 CDNS_SIERRA_PLL_CMNLC>; + assigned-clock-parents = <&wiz2_pll1_refclk>; + serdes2_pcie_link: link@0 { reg = <0>; cdns,num-lanes = <2>; -- 2.30.2