Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3942054rdb; Mon, 11 Dec 2023 04:47:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqAx7Sa84ySLc3VYfpIDTV1IKww84YgGPXjoMfSi7onqrYh3+EMQoBCDMbBfRSJ/iHr5gr X-Received: by 2002:a05:6a20:428e:b0:190:12a3:7edb with SMTP id o14-20020a056a20428e00b0019012a37edbmr6102974pzj.20.1702298859839; Mon, 11 Dec 2023 04:47:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702298859; cv=none; d=google.com; s=arc-20160816; b=Xvz/khl2cdKLy1F5fEhOKInTV4GjKmmtuBZuw1TcPKY0Rxk0YUn8nCpJlEt6GfPbG6 5sMbZphVW+wBKXp3qhiQ1QOkPHazVehSWHOSFWn8H5TymqhqWVmq9Yc5xgitQQLJSao/ 4GJNX0+uAPnOsm1HPwDKnGE36OMubQcttFXMZukrsqQg8M/ccfh9oqgFBmYd2YlXKjXn 4+Nel7wk3aLiRz+4haelRuZnQFWdGr1pM7Do6O7ohDRyC/6x5nQRvGryXaPxOyu9Ar67 d0V2OjtFQgCgiAdD5WXl5ORPHG6VBcjatEnjap28ZDV7h1GYwwS/nh3e2foJvT98tKm9 D63A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ZZZsvU/dutZk77yaTtzTTc7B5jTSvI1fF2HLM72mgNw=; fh=/WZP4bZEsmP1ucqbR35AyK48mwQS+ded28FIpE/wVaI=; b=OxAKd5k7WYMiR+rdd0R7lPt3fu2AkJs+1GWEsNVw10HYCzhsg762mzIgpf0/gfopRe VdS0MBn+Es5VibDF59FiIy4B5MimlOzPcFwNAyYtYNYvN21HwpU7Nq6XAhkmjtrjVtYq wYbCis7O6dVgamb/S1CFlnEz33mVdtoijKfgsOka5GnhdzEo1GnCwTiPQCVi1ltrkQIx ThTJhAAw+wZ9bzZ363feLxr9iNo18bGwG2YbpxIAgWOTq4VX6G0xCbpJy4Sa/6zFnWQI LZljG1IgIkD7jopE9tzmwSBSHIdevPOuRHYkm/PL24O1+35STdeiPOfAs7of2QqQlxcj x1+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jT1k33/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id x10-20020a056a00270a00b006cbb132d46dsi6028433pfv.244.2023.12.11.04.47.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 04:47:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="jT1k33/Q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 866CA8042D3A; Mon, 11 Dec 2023 04:47:36 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234629AbjLKMpt (ORCPT + 99 others); Mon, 11 Dec 2023 07:45:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234350AbjLKMpr (ORCPT ); Mon, 11 Dec 2023 07:45:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62D0EBC for ; Mon, 11 Dec 2023 04:45:54 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6AF77C433C7; Mon, 11 Dec 2023 12:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1702298754; bh=ivCyWneT5D6OkwTiQlgPLeM2KahqPmV3Dd/YkZIWR90=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=jT1k33/QV5lRpAC26Wj4WrI9G81GxHpd6PL453FHed6DtJ1fTqcGg5T+MqIajLKAU 2mEI9Bm58kocUf8KdQxEiUW4rRyg6OqCwrssHqhEB0zi3ZDOLiTTO7c4fHZvEbHQ8k aljSSRFTvKzezgYXMg7RZyo7XZx5lX0IxuP+fJZnaVlU7MKW+kgkHjtalO8DcS5pWS YBHHjGpjgHsnwsmRroAz/6wJix07j813rOyBk3MgYqHNvDlF/yGKAS9SF/PizVq3ER pIRbVwKn5p7SKa3vjb0acrREigobmnz00UmTeX3NzYS0x2urW3go62JaQCxyNdyBvC H2CYpMJ+y9S8w== Message-ID: <13c7fa70-ec60-44a7-aba7-5c4b0e21a755@kernel.org> Date: Mon, 11 Dec 2023 14:45:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/5] dt-bindings: phy: cadence-torrent: Add second optional input reference clock To: Conor Dooley , Swapnil Jakhade Cc: vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, mparab@cadence.com, s-vadapalli@ti.com References: <20230724150002.5645-1-sjakhade@cadence.com> <20230724150002.5645-2-sjakhade@cadence.com> <20230724-unhappily-promptly-b25c7e42504d@spud> Content-Language: en-US From: Roger Quadros In-Reply-To: <20230724-unhappily-promptly-b25c7e42504d@spud> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 04:47:36 -0800 (PST) Hi Conor, 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 bindings >> 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.yaml 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: >> >> 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). > > "refclk" and "refclk1" don't seem like great names. What is each one > used for & should refclk1 be renamed to match its use case? 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! > >> + Optional Parent to enable output reference clock (phy_en_refclk). >> >> 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 >> >> reg: >> minItems: 1 >> -- >> 2.34.1 >> -- cheers, -roger