From patchwork Wed May 12 15:12:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kishon Vijay Abraham I X-Patchwork-Id: 12254069 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D93CC433ED for ; Wed, 12 May 2021 15:15:04 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 96B2F61438 for ; Wed, 12 May 2021 15:15:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 96B2F61438 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=ti.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=WLs42XDeCCGiFhpR/iBPAkHMgUu6XNb4zyeIibVLD6c=; b=FQhQiB+zv+LONsKS5J6BZX4Q5o p6FEdn0K1a9WHlTJQ8vlRc3gdKF8NfMa6tBf+5c1PG+b+nJTPlS3ZrJBxILJCppFS1m0yd5GFnJNa OTVdCfambr0rtsEw/RGPjdoM3xq5gPjt9l0yRHLzFNtH2C67fqiU3UtQUVgF5SuxItOiWyYMhPGet CHyswyRyewH1RzG8ug5rVT8aeQPg3SebKuQTgr0KPdqujk+iUYNuikNsksO6tYO8IiCSOlZV5G0Wr 5v0DK8uTXEt2ulyusj/fyq9pYhDU0k4hX9y+XhHehatSfguM5LHNonjAQMRUf4Sxi8W0xs11ADgRs TIWpP0sQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgqXA-00383Z-7m; Wed, 12 May 2021 15:12:24 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgqX4-003831-RL for linux-arm-kernel@desiato.infradead.org; Wed, 12 May 2021 15:12:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Date:Subject:CC:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=qi5Ns5oRWTnDzjxalcc0I/ZyX4zWj/tWFnUwv3DR9hk=; b=bKbrr9wN3A0GEp6q2U6aurX7Ug l85XhymZhteIwNFTH4PoNWg2bwBsGMg3M0m5uc5Ol4BRH+3IlWtAmNpeCV+1753qkiIGcbIJB5h5R DapxVx7k/7iHsA6NV0jVM3M1NuT+45QqcCwgPbwQo2QDeFFYIAd3QwLTGu+aSdDiUENP3agbelfhp yEQQLUsR+D9yDFe6IKc52/0BpciQ/CjwWcie+Wb9I8v6I/PqmjWWH7fCwxkP5cwwBe1DAUEpkZzqX o8Dc6TR07uOirbF3RF6GTlO3MUq7cFlg0ogFc3VxuLVKk45FVWybll6sSW8yzrh+NqmRFpam0cda/ FyJy5WDw==; Received: from fllv0015.ext.ti.com ([198.47.19.141]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgqX2-00AUb4-A3 for linux-arm-kernel@lists.infradead.org; Wed, 12 May 2021 15:12:17 +0000 Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 14CFCE2v129854; Wed, 12 May 2021 10:12:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1620832334; bh=qi5Ns5oRWTnDzjxalcc0I/ZyX4zWj/tWFnUwv3DR9hk=; h=From:To:CC:Subject:Date; b=E7jJjfMkZUxL0fk+GrxXG0mtqa9futgXbRWk9pH8RKRCXUt3ivqhCalC6EymPKyQs uk3Dp/VkAYjID0XIRWI0bXB+9vWDiqk1Iq454uQXc4rG1HX9OgHmkDy+j9oOAIgAJu JyFbqg58s+cCLwRZaikfnEG0XcH2COjTj7snTkdk= Received: from DLEE106.ent.ti.com (dlee106.ent.ti.com [157.170.170.36]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 14CFCEYI094427 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 12 May 2021 10:12:14 -0500 Received: from DLEE112.ent.ti.com (157.170.170.23) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Wed, 12 May 2021 10:12:14 -0500 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE112.ent.ti.com (157.170.170.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2 via Frontend Transport; Wed, 12 May 2021 10:12:14 -0500 Received: from a0393678-ssd.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id 14CFCAIm005491; Wed, 12 May 2021 10:12:10 -0500 From: Kishon Vijay Abraham I To: Nishanth Menon , Tero Kristo , Rob Herring CC: , , , Kishon Vijay Abraham I , Lokesh Vutla Subject: [PATCH 0/4] J721E: Use external clock in EVM for SERDES Date: Wed, 12 May 2021 20:42:05 +0530 Message-ID: <20210512151209.27560-1-kishon@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210512_081216_406475_43FDCFCE X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org J721E EVM has clock generator that feeds both to the SERDES and to the PCIe slot present in the EVM. In order to use common reference clock on either side of the link, configure SERDES to use external reference clock. Previously SERDES used internal reference clock and the attached device used clock from clock generator in the EVM. Kishon Vijay Abraham I (4): arm64: dts: ti: k3-j721e-main: Fix external refclk input to SERDES arm64: dts: ti: k3-j721e-main: Add #clock-cells property to serdes DT node arm64: dts: ti: k3-j721e-common-proc-board: Use external clock for SERDES arm64: dts: ti: k3-j721e-common-proc-board: Re-name "link" name as "phy" .../dts/ti/k3-j721e-common-proc-board.dts | 52 ++++++++++++- arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 78 ++++++++++--------- 2 files changed, 90 insertions(+), 40 deletions(-)