Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3948169rdb; Mon, 11 Dec 2023 05:00:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQZJItV8FN4B4wO6cYMwdyVCzHfOktXUs39dQNF1o2E/fYuMxabgAXjMCdppqk9rjxx5To X-Received: by 2002:a05:6a20:7287:b0:18f:e2c9:9748 with SMTP id o7-20020a056a20728700b0018fe2c99748mr6040091pzk.65.1702299602422; Mon, 11 Dec 2023 05:00:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702299602; cv=none; d=google.com; s=arc-20160816; b=Zj9TfLfnSWorEOVaS5ellK8cXzzqbVCrxLUR9yQ6NZyYMXAudVSKNH0BEYT/hLhPBR PTmxM6Qz5yANlTxyFWPJ5dUfweZHsPZKeAq5Nn4mZh/r/BKN7j4Jj+84H2nhgqpKSIR2 wJv4NT7biD3uESUnAUB+H780PZ1rPFL+8krC7gkJQGhh1noOHS5VUhkt5NfS7npbMzsN IrAZH2KMXd722o9lCUjNrUxpxi5dVBW35RlLc+hGjK/Z5Yn3Qmr0UwXSPa+Cmrcw9Yij tWicicMhyOEaDmV69Ty0L/hwxlEUAXUrfVcl8MgDBkUsXlXc6bP5RpG2xR1Rk8+QhM2i vdvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=oDjMq0FMm5vYUHBXM9/CcW2xcOTLgy1C717C2KeKLSo=; fh=QF3xqeiET2MRU0QN5o+6Iz8L8PE/vhJAC1Z44tAQujg=; b=IivzdewIWRHBBlWf+Xs+IZnKzQpHC+9dXtdA/wzKzW9bqJK2vpruJTL4SlxENK3GaE lNsa3cmFaFxcv74mcgDjjiqbN9QhTz8psa+7Wal/dhPCfmdOKqTM+0zRVS844MPOxhdV fzzpkeGS4r4it4L+JBIGl+ZrAkcTtratVewsBMLBIaR8OFexX5/yC7tXC4St49tvTtO3 A+01649Ac71pFDHPIfKTRdl9+1N559EJzuD7F7Z7s4lFSiPtXmZ2vqZUTOAZ5dEC3JWS e5vDBw+EUGWKirhyFNG6PU+gqzBXdMYbJmPH98v4pSoyJ+Kfet73v0QbgOA5aYvYisky 96xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cO9lf9Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id o1-20020a634101000000b005c5e2118e11si5787698pga.70.2023.12.11.05.00.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 05:00:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=cO9lf9Oc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id E5744809FC89; Mon, 11 Dec 2023 04:59:59 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234625AbjLKM7u (ORCPT + 99 others); Mon, 11 Dec 2023 07:59:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234350AbjLKM7t (ORCPT ); Mon, 11 Dec 2023 07:59:49 -0500 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB2B7BC; Mon, 11 Dec 2023 04:59:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1702299593; x=1733835593; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=g3G2RjYO0ZjlRfzDDIT4lRzkMZXiLvsGqGWVUJ3J/Cc=; b=cO9lf9OcVJvOVTuvrmBro+oOlEYXKOpYsUSv4tjCUSiIhhDuAx8aXIEp ty7nkqP83ZAQy527ht9Av8Q+8ikzY45M11Z3qsGlBLG8MMeJRx6w2rcmo Hzq9LGXcyTGwqhBvBqfpbFKQbAqwm2rWuJyGdsPXznZPI5+sZnNNVGwHq 3n9jQHFkHmPm1p9oqZWFCF7ZytMDwSpJS5gA27QYjVTSSgKCY0vRNZRAm 4pYW4ygQV7ra9MXVJTwqyWuzg9XVReerPkR25OkNjfa62Of+1XQokMPqD hqYYHaA5Fklie9HnuDk53vKbuReCxtv0/M8kxY3eaW+0b8RR781YYXW96 g==; X-CSE-ConnectionGUID: I++IsSqqRAGP8tAFiKojJQ== X-CSE-MsgGUID: 9jHPT5NsRe+wM6kqL6MW7A== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.04,267,1695711600"; d="asc'?scan'208";a="180277566" X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa6.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 11 Dec 2023 05:59:53 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 11 Dec 2023 05:59:42 -0700 Received: from wendy (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Mon, 11 Dec 2023 05:59:40 -0700 Date: Mon, 11 Dec 2023 12:59:09 +0000 From: Conor Dooley To: Roger Quadros CC: Conor Dooley , Swapnil Jakhade , , , , , , , , , , Subject: Re: [PATCH 1/5] dt-bindings: phy: cadence-torrent: Add second optional input reference clock Message-ID: <20231211-saucy-carnation-bce003ea09dd@wendy> References: <20230724150002.5645-1-sjakhade@cadence.com> <20230724150002.5645-2-sjakhade@cadence.com> <20230724-unhappily-promptly-b25c7e42504d@spud> <13c7fa70-ec60-44a7-aba7-5c4b0e21a755@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="IlaqcbunL1B3LURy" Content-Disposition: inline In-Reply-To: <13c7fa70-ec60-44a7-aba7-5c4b0e21a755@kernel.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 11 Dec 2023 05:00:00 -0800 (PST) --IlaqcbunL1B3LURy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 11, 2023 at 02:45:48PM +0200, Roger Quadros wrote: > Hi Conor, >=20 > On 24/07/2023 20:53, Conor Dooley wrote: > > On Mon, Jul 24, 2023 at 04:59:58PM +0200, Swapnil Jakhade wrote: > >> Torrent(SD0801) PHY supports two input reference clocks. Update bindin= gs > >> to support dual reference clock multilink configurations. > >> > >> Signed-off-by: Swapnil Jakhade > >> --- > >> .../bindings/phy/phy-cadence-torrent.yaml | 23 +++++++++++++------ > >> 1 file changed, 16 insertions(+), 7 deletions(-) > >> > >> diff --git a/Documentation/devicetree/bindings/phy/phy-cadence-torrent= =2Eyaml b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml > >> index dfb31314face..ddb86ee0cebf 100644 > >> --- a/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml > >> +++ b/Documentation/devicetree/bindings/phy/phy-cadence-torrent.yaml > >> @@ -33,16 +33,25 @@ properties: > >> =20 > >> clocks: > >> minItems: 1 > >> - maxItems: 2 > >> + maxItems: 3 > >> description: > >> - PHY reference clock for 1 item. Must contain an entry in clock-= names. > >> - Optional Parent to enable output reference clock. > >> + PHY input reference clocks (refclk & refclk1). > >=20 > > "refclk" and "refclk1" don't seem like great names. What is each one > > used for & should refclk1 be renamed to match its use case? >=20 > All PHYs need one refclk input. "refclk" > Some PHY variants can take a second refclk input. Both are refclks so it = was > chosen to add an "1" to the name to the 2nd refclk. > Please suggest if you have a better idea. Thanks! The existing second clock name (phy_en_refclk) might serve as inspiration. What is the additional role that the second reference serves? >=20 > >=20 > >> + Optional Parent to enable output reference clock (phy_en_refclk= ). > >> =20 > >> clock-names: > >> - minItems: 1 > >> - items: > >> - - const: refclk > >> - - const: phy_en_refclk > >> + oneOf: > >> + - items: > >> + - const: refclk > >> + - items: > >> + - const: refclk > >> + - const: phy_en_refclk > >> + - items: > >> + - const: refclk > >> + - const: refclk1 > >> + - items: > >> + - const: refclk > >> + - const: refclk1 > >> + - const: phy_en_refclk > >> =20 > >> reg: > >> minItems: 1 > >> --=20 > >> 2.34.1 > >> >=20 > --=20 > cheers, > -roger --IlaqcbunL1B3LURy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZXcHnQAKCRB4tDGHoIJi 0iiLAP433STH5ISjhoWeEvnlPNZvyHIkdzUN0tRTv2EvEefOwAEAkRo0tQ3o2xKr DbRxACn03R8h2CpkW6ACjDgeNcIHAwY= =F6Bi -----END PGP SIGNATURE----- --IlaqcbunL1B3LURy--