Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp503057lqo; Wed, 8 May 2024 06:37:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6xy5I+H/tqQphhOUWrWVQYzFkCEhevNeEUDYIRqOskQQPjIMNa1v8G8FTnYpHrU+J2N6vrVh/oHVzXLQog6TmFckYJ/I718ZNAztozQ== X-Google-Smtp-Source: AGHT+IHPN9zpsvu9AI6YphPTMrSEEXhMUU87K5MgmEkuo+635CPS53ZSwLpV5vG1/r/x+EwSkH1M X-Received: by 2002:a17:902:cf0a:b0:1ec:2517:3a06 with SMTP id d9443c01a7336-1eeb0197642mr29408395ad.27.1715175462726; Wed, 08 May 2024 06:37:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715175462; cv=pass; d=google.com; s=arc-20160816; b=gxo4Al8jc1q3eCzxHdoxknI76dw3iCBrVD7/RbijRAUkZYFSRW9Nk0G1dKnswQ9I9x pVicxfI+gyeN3nrhcTG9DE/KNOfdwaDmffSSTcapgwR49Irvx7VabG+XwaXpX1k4iKXi Qht5ISDiTjV7IwU5vyHlLkOlu51cbK/2+OTE439qeVuvxPSNuGmKrZ8QHU+RhZHcCHXa H14IcPdiCItceGUrFZ7Axi4tn5CMBuf1iyjici/LooEzv7RJjtDGiRGgRWEonqeluUNO 3iXQbVPBCaaFOTzoMcoCzNwqgpIS2kojlzXI0UQUu5F21e0AUdzSBbsNQIpndWpbTIgO AnmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=J+Avgf+fUwksoUsXMOQQy6JQ7v/tYEz/lZ2LN0qAqTs=; fh=VVrO1iG08LrYkp7FzTRz41hw7+5mIJS1ocCYLnQR0kQ=; b=0xYFOVoBkKoMYBRWpEmWgLdU7Pi9J4bqWGwu6QCH2qL18q94ENq9Nk+aJsF9g3k7wt 6UmKWmS3bg4aGBepWf1OLMqlMm6cVEaKaemVEWbAiZms3GX5GMsyH6h9bxYxjrSnK70r 9g4nAfF9VIdtN/FkTkPXyWfvXl8mwDrIEjNzS257Xcd+GKG23MEkgTGMQr7xerq/wCWs m689zDvcNCekf3VwEOt7Q+N2hBQBYYkKLEZElh22bwtLxYhzaHGQCwld+1P9SyEgfSnV ygAjR1yV3CvI3zD398hMPUdmDAmvaHJG4d+2oenAVLTsOHoiwlwFiMOHC6XVL8Da17Vq uIfQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lrL5nMNW; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-173304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id o3-20020a170903300300b001e49d7f07e8si11627338pla.153.2024.05.08.06.37.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 06:37:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=lrL5nMNW; arc=pass (i=1 spf=pass spfdomain=ti.com dkim=pass dkdomain=ti.com dmarc=pass fromdomain=ti.com); spf=pass (google.com: domain of linux-kernel+bounces-173304-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173304-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 20F3CB2581C for ; Wed, 8 May 2024 13:26:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B862875803; Wed, 8 May 2024 13:26:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b="lrL5nMNW" Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 624D96E5FE; Wed, 8 May 2024 13:26:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.47.19.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715174803; cv=none; b=lfJL6CxH5n3A9z5h2ahGHSJkSbpemltjx7l0YZr+pFEyyQ5mPAuIivAsRJzhYKGnQO54EVapxYU9EZECwtY2duJ5BPqjtPxpxF/c3KuaJmuUcfxHp1kX1hfTt3OHnpzgEiwcv4bkzpx04/mwaNyDxjysSfBZjjhcIMcvuiEcAEk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715174803; c=relaxed/simple; bh=G38/BPHKVSwonW5mVVk81fEl3xs08FysqcY+nVMlhew=; h=Message-ID:Date:MIME-Version:Subject:To:CC:References:From: In-Reply-To:Content-Type; b=ZtudBAe0bA1pTNB0v04r9c4zy01Ba766XVbRBvMaGUQfJWjMpOM7GPEb4OZyiFFEmIFDq1O7xuGtCHpVpn4VxoI+b3MEXosx8qVHQ0oQ0FyLf6F6R6W9lhGYz2xJP6486SpE+y9H4DjJtIvIfAQU57GQ2oTsznezXqlt4HAy2Tc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com; spf=pass smtp.mailfrom=ti.com; dkim=pass (1024-bit key) header.d=ti.com header.i=@ti.com header.b=lrL5nMNW; arc=none smtp.client-ip=198.47.19.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ti.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ti.com Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 448DQAL5076930; Wed, 8 May 2024 08:26:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1715174770; bh=J+Avgf+fUwksoUsXMOQQy6JQ7v/tYEz/lZ2LN0qAqTs=; h=Date:Subject:To:CC:References:From:In-Reply-To; b=lrL5nMNWY6ruU81BGOqrhjAj1BGbf6b13UFb0nv8bgQaHn2QPDl0GklFzOKN2s1sF vro4gnlwsVauZX5psjNlagUdbi8+6eB6nqyCDxzMKR84/hoIMfBdxQs2JWBxOocdUc Hz3Qmp27LL8q0qiiZBIKQgC4RBXOJEtktPQN/hQ0= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 448DQA7d001406 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 8 May 2024 08:26:10 -0500 Received: from DFLE102.ent.ti.com (10.64.6.23) 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.2507.23; Wed, 8 May 2024 08:26:09 -0500 Received: from lelvsmtp5.itg.ti.com (10.180.75.250) 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.2507.23 via Frontend Transport; Wed, 8 May 2024 08:26:09 -0500 Received: from [172.24.227.88] (uda0500640.dhcp.ti.com [172.24.227.88]) by lelvsmtp5.itg.ti.com (8.15.2/8.15.2) with ESMTP id 448DQ5PH102151; Wed, 8 May 2024 08:26:06 -0500 Message-ID: <9f29d226-5c61-ca25-06ef-647769775f45@ti.com> Date: Wed, 8 May 2024 18:56:05 +0530 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/3] arm64: dts: ti: k3-j722s: Add support for SERDES0 Content-Language: en-US To: Roger Quadros , , CC: , , , , , , , , Ravi Gunasekaran References: <20240429120932.11456-1-r-gunasekaran@ti.com> <20240429120932.11456-2-r-gunasekaran@ti.com> <41047a89-2787-422f-a643-3e2d850da6dd@kernel.org> <588e4d0a-78c6-553f-3c40-0d248f4c92f9@ti.com> <59d8af19-5b2b-486a-9e03-2db2568b0b00@kernel.org> From: Ravi Gunasekaran In-Reply-To: <59d8af19-5b2b-486a-9e03-2db2568b0b00@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 On 5/8/24 6:32 PM, Roger Quadros wrote: > > > On 08/05/2024 15:34, Ravi Gunasekaran wrote: >> >> >> On 5/8/24 5:29 PM, Roger Quadros wrote: >>> >>> >>> On 29/04/2024 15:09, Ravi Gunasekaran wrote: >>>> Add SERDES0 and its wrapper description to support USB3 >>>> and SGMII interfaces. >>>> >>>> Signed-off-by: Ravi Gunasekaran >>>> --- >>>> arch/arm64/boot/dts/ti/k3-j722s.dtsi | 54 ++++++++++++++++++++++++++++ >>>> 1 file changed, 54 insertions(+) >>>> >>>> diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/k3-j722s.dtsi >>>> index c75744edb143..beba5a3ea6cc 100644 >>>> --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi >>>> +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi >>>> @@ -9,6 +9,7 @@ >>>> #include >>>> #include >>>> #include >>>> +#include >>>> >>>> #include "k3-am62p5.dtsi" >>>> >>>> @@ -75,6 +76,50 @@ >>>> <0x00 0x78000000 0x00 0x78000000 0x00 0x00008000>, >>>> <0x00 0x78100000 0x00 0x78100000 0x00 0x00008000>; >>>> }; >>>> + >>>> + serdes_refclk: clock-cmnrefclk { >>> >>> What could be the generic name here? >>> >> >> How about phy-clk or serdes-clk? >> I searched for "fixed-clock" and wide range of naming conventions is followed. > > We shouldn't encode the clock function in the name. How about just clk- ? > where is an integer starting from 0 for such fixed-clocks on the platform? > Sure. I can follow this notation. > e.g. from arch/arm64/boot/dts/ti/k3-am62p5-sk.dts > > tlv320_mclk: clk-0 { > #clock-cells = <0>; > compatible = "fixed-clock"; > clock-frequency = <12288000>; > }; > >> [...] >> > -- Regards, Ravi