Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp3650562rwe; Mon, 17 Apr 2023 01:05:55 -0700 (PDT) X-Google-Smtp-Source: AKy350Z+zZ1mKiwbcIjKJyt/z7VlqVbjMiKBJyuBtxERALoRxzckCgBuivtPS+1XvqiV/wAf6RyV X-Received: by 2002:a17:90b:4f8f:b0:23f:58d6:b532 with SMTP id qe15-20020a17090b4f8f00b0023f58d6b532mr13445335pjb.5.1681718755129; Mon, 17 Apr 2023 01:05:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681718755; cv=none; d=google.com; s=arc-20160816; b=efTwxHbuHNfc4XHDHk3fEV9kaUVZvl/Mlan7gOip99MbBJ6pNwrEdLdMRuB4Jl/L6E ovqhGEj5SC5VJDNyM5IlCyXHJ+327iFR4fP/tV2CHm+OGjKuXV3irkHH5a0Msel7Am0E ZvX6U5kCHdrYcX0Hu5Bg6JMJNFiuBWdk2zaJuegWUFayhlUSwW5hz9c1DQE2m7LRY3mN 0cpNY7ko6b2fhj68xuxP8xPkz8wN9wqm2Xta5/g4cmhjfgyIvDUl5Hqq98R6AB+O40XX RThq+5WcKMMB60/bithAVMxqF7ueJq7NAwaMkEYg8tusdny/JDJy0RTqNUHcIMG0PRk1 2cIA== 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=zUrIV7zX5zO5rUaSVK/gC8JWOS59dwXGafw/QvPjiAM=; b=n8ij+7jonier/Ico9C96gLUC4/aVPk5EfLn4sg4j/vw/BoPxuUiRZgJR7KEbn+JmmN zJiTFhdgQrN2VkIU2UEYLHmloTytKlkHOA9A5ALjCk2F884R/W8btT/h6seby3BIL8KD UTt+tVCu6kZqAldH9sHnA+moODbx346uqfQy7MqtXscfnBr301/Bd6/Ivr0E7BgQ+LxU aQJawrEfNpv/mfiBZd+CBjuWJJ9LrXJ9v+oj2fW0u2hRukVW1/3BPcAt4A1oo1Bc12vr HXdSqLVU9YzpXtAWyHoCnke2MWdwuv/4jlVBbE+J9KgKhLIQMJ3GvUR8puns3lBZaKwQ r9Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DGKJDv/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j15-20020a654d4f000000b0050c164c8e99si10872659pgt.436.2023.04.17.01.05.44; Mon, 17 Apr 2023 01:05:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="DGKJDv/B"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230411AbjDQIFL (ORCPT + 99 others); Mon, 17 Apr 2023 04:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231277AbjDQIFH (ORCPT ); Mon, 17 Apr 2023 04:05:07 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E20F1BF; Mon, 17 Apr 2023 01:05:05 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1EFBA61FD4; Mon, 17 Apr 2023 08:05:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7A6F3C4339B; Mon, 17 Apr 2023 08:05:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681718704; bh=0Y/mnS2pjaYk07j+LJSA/55y9ntA2FADo9/M3Dr4xgk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DGKJDv/BLy56BiFvmzmoetNbBUmKx1OS5vjufwpa9DMDa4mpBFiD918rvHExFqe9f YsTYesSOFT7FcZyJvTAJjSCRAtAFNpoX/uS6xAF3TxMBqeB7QPV7uAbmI0B0qMB7Yn kATDatbmgWXBYL3FWMniD9DEHM/iztPJ4+H9e4pSqLzimIeAP6znCuSo8LggP5GfRZ M0bNu7BjUDOxcEQmUQUttIaWAC36jaDyOwaKa+KYPlrauqv/uKzIK69VTXgd1RPXy9 mZGu2O8Y+qd8VOMWyw+ziPsCOVg2C4bT42JBJQ/xl0FDFDpV9LUUHS+izm0F1VV3K7 xax7EE8okIlgg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1poJrL-0003gR-Mp; Mon, 17 Apr 2023 10:05:11 +0200 Date: Mon, 17 Apr 2023 10:05:11 +0200 From: Johan Hovold To: Krzysztof Kozlowski Cc: Varadarajan Narayanan , agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, vkoul@kernel.org, kishon@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org, mturquette@baylibre.com, sboyd@kernel.org, quic_wcheng@quicinc.com, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH v8 2/8] dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY Message-ID: References: <1efa9a64499767d939efadd0aef897ac4a6e54eb.1680693149.git.quic_varada@quicinc.com> <0a66e291-a86d-1ff9-e674-839b8cc8f1da@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0a66e291-a86d-1ff9-e674-839b8cc8f1da@linaro.org> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 On Thu, Apr 06, 2023 at 09:41:49AM +0200, Krzysztof Kozlowski wrote: > On 05/04/2023 13:41, Varadarajan Narayanan wrote: > > Add dt-bindings for USB3 PHY found on Qualcomm IPQ9574 > > > > Signed-off-by: Varadarajan Narayanan > > --- > > Changes in v8: > > - Update clock names for ipq9574 > > > > Changes in v6: > > - Made power-domains optional > > > > Note: In the earlier patch sets, had used the (legacy) > > specification available in qcom,msm8996-qmp-usb3-phy.yaml. Moved > > to newer specification in qcom,sc8280xp-qmp-usb3-uni-phy.yaml > > --- > > .../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 43 +++++++++++++++++++--- > > 1 file changed, 37 insertions(+), 6 deletions(-) > > + clock-names: > > + items: > > + - const: aux > > + - const: ref > > + - const: com_aux > > Can anyone explain me why do we name these (here and other Qualcomm > bindings) based on clock name, not input? Just because different clock > is fed to the block, does not necessarily mean the input should be named > differently. I guess part of the answer is that this has just been copied from the vendor dts and (almost) no one but Qualcomm has access to the documentation. What would the input names be here? Also note that there are SoCs that enable both 'cfg_ahb' and 'com_aux' (e.g. sc7180). > > + - const: pipe > > + > > examples: > > - | > > #include Johan