Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp287451pxf; Wed, 10 Mar 2021 06:30:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxfhklAyTMAFnm6NU62bVrbvAgK6iDjo+vsTHS7dWBJzevne3W85d8i+42aBDgK+Wn68Ds6 X-Received: by 2002:a17:906:f9cc:: with SMTP id lj12mr3887197ejb.544.1615386649931; Wed, 10 Mar 2021 06:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615386649; cv=none; d=google.com; s=arc-20160816; b=sjKo1cbOQyyaLFx8CPqaQa+SRV0oX0HmfdpR4BiKx6GKcvD4AyksVi9/34qHHyRLor Q4n90DiF1QpaRISc3AS1v97JiDSATzIdXBSnk9czGoUj7/MJoc4FxiQI+FUd10eYZQjr 384xoeDrolWvtKJWuStTUhCMETunq/lngcmJdz7t3vWrtvb1HGjE0aatx4F27nMVZPY9 OE0B3bgG9vrHcG5asVIYdrnlhzOgGycVXbgIyy7n1spIaqrBTN/QBZ8S8RYVteNHYQdQ vLLTYWM+dkc9+eyZN0VP63LwpPZ/28SnmpuVS2nozZte77jGIvUQBbuvPvIaT+x8QgaA xCQg== 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=Ogn0xVb6dwmxMRp0lIh9bxOOLk54puRSbS4w99YlzL4=; b=U8WZgiXslmZmlD+fucbav228ygh89+kKs/rnivnoDPAht7u1QP++SzNk/h/q5LwNMM jS8l2HcClF+9PzNNvELdjvHr/RhkD46NP3E2VCc89zsbD3A9OtxKg/qhEkDBvxlkrG8T FcZcAFdgrJMHncEI6v9Dz6mqElkq6jiwsk7B5l9mNHrl21cuUuQJkY+qyDnLVpVXhuX7 3bdESj2Kyx1e0B6WW8M8OuKzJGCQktAP+bNcD7/0VezRurlk4SyX5TeJmc3C7/ipjx5B 2POu+LoWYT67maX5YAKPETqYjzFVw+J08yTQHaHBvn9oLFyx0me+4fNmmzhT24NJ6Mw5 IZJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=cm7ivHJL; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i5si11638071ejh.313.2021.03.10.06.30.25; Wed, 10 Mar 2021 06:30:49 -0800 (PST) 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=@ti.com header.s=ti-com-17Q1 header.b=cm7ivHJL; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232786AbhCJO25 (ORCPT + 99 others); Wed, 10 Mar 2021 09:28:57 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:53834 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233080AbhCJO2c (ORCPT ); Wed, 10 Mar 2021 09:28:32 -0500 Received: from lelv0266.itg.ti.com ([10.180.67.225]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 12AESNVV034268; Wed, 10 Mar 2021 08:28:23 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1615386503; bh=Ogn0xVb6dwmxMRp0lIh9bxOOLk54puRSbS4w99YlzL4=; h=Subject:To:CC:References:From:Date:In-Reply-To; b=cm7ivHJLEXTXoQxYNtkJILNmKKAfpvJmEgm002ovd/vGK128X0WN61K0RxVbM9Sn3 PNRhZ4EyVx1VJrYXr5MIsj0LKdQ8J8Ox08wu141DGOT2AKEOOw6nwd49YzCX3r0z9u hgm7ICySW3lfzCOFUbK9wDGGs/jWQoa41vVh0re4= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0266.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 12AESNHi041077 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 10 Mar 2021 08:28:23 -0600 Received: from DFLE107.ent.ti.com (10.64.6.28) 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.2176.2; Wed, 10 Mar 2021 08:28:23 -0600 Received: from lelv0326.itg.ti.com (10.180.67.84) by DFLE107.ent.ti.com (10.64.6.28) 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, 10 Mar 2021 08:28:23 -0600 Received: from [10.250.234.4] (ileax41-snat.itg.ti.com [10.172.224.153]) by lelv0326.itg.ti.com (8.15.2/8.15.2) with ESMTP id 12AESKwu041015; Wed, 10 Mar 2021 08:28:21 -0600 Subject: Re: [PATCH v3 0/6] AM64: Add SERDES driver support To: Vinod Koul , Swapnil Jakhade CC: , , Lokesh Vutla References: <20210310120840.16447-1-kishon@ti.com> From: Kishon Vijay Abraham I Message-ID: Date: Wed, 10 Mar 2021 19:58:20 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210310120840.16447-1-kishon@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 10/03/21 5:38 pm, Kishon Vijay Abraham I wrote: > AM64 uses the same SERDES as in J7200, however AM642 EVM doesn't > have a clock generator (unlike J7200 base board). Here the clock from > the SERDES has to be routed to the PCIE connector. This series adds > support to drive reference clock output from SERDES and also adds > SERDES (torrent) and SERDES wrapper (WIZ) bindings. > > v1 of the patch series can be found @ [1] > v2 of the patch series can be found @ [3] Failed to note the dependency here. This series depends on http://lore.kernel.org/r/20210310112745.3445-1-kishon@ti.com As mentioned in the cover letter of that patch series, that series should be merged and an immutable tag should be provided and used both in phy tree and DT tree maintained by Nishanth. Thanks Kishon > > Changes from v2: > *) Sent the DT bindings as a separate series [4] > *) Remove enabling PHY output clock in isolation mode > > Changes from v1: > *) Model the internal clocks without device tree input (Add #clock-cells > to SERDES DT nodes for getting a reference to the clock using index > to phandle). This is in accordance with comment given by Rob [2]. > However the existing method to model clocks from device tree is not > removed to support upstreamed device tree. > *) Included a patch to fix modifying static data by instance specific > initializations. > *) Added a fix to delete "clk_div_sel" clk provider during cleanup > > [1] -> https://lore.kernel.org/r/20201224114250.1083-1-kishon@ti.com > [2] -> http://lore.kernel.org/r/20210108025943.GA1790601@robh.at.kernel.org > [3] -> http://lore.kernel.org/r/20210222112314.10772-1-kishon@ti.com > [4] -> http://lore.kernel.org/r/20210310112745.3445-1-kishon@ti.com > > Kishon Vijay Abraham I (6): > phy: ti: j721e-wiz: Remove "regmap_field" from wiz_clk_{mux|div}_sel > phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup > phy: ti: j721e-wiz: Configure full rate divider for AM64 > phy: ti: j721e-wiz: Model the internal clocks without device tree > input > phy: ti: j721e-wiz: Enable reference clock output in cmn_refclk_

> phy: cadence-torrent: Add support to drive refclk out > > drivers/phy/cadence/Kconfig | 1 + > drivers/phy/cadence/phy-cadence-torrent.c | 188 +++++++++++- > drivers/phy/ti/phy-j721e-wiz.c | 349 +++++++++++++++++++--- > 3 files changed, 488 insertions(+), 50 deletions(-) >