Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2494081rwr; Fri, 21 Apr 2023 09:32:54 -0700 (PDT) X-Google-Smtp-Source: AKy350YfKrnjqJcjAnJcv4xERlbUAqgv7Yn7B44oiVHQSo5E3NVBDe4TuA9wRf55RQVqAVOzRncB X-Received: by 2002:a05:6a00:1951:b0:63d:3a18:49fd with SMTP id s17-20020a056a00195100b0063d3a1849fdmr5850781pfk.2.1682094773782; Fri, 21 Apr 2023 09:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682094773; cv=none; d=google.com; s=arc-20160816; b=VsGEycyNoNBtKvdwCNvFgBQf1kudOfnudJuWMECLidk7doCCcxw6j1PVhemA+YN9dZ lo70FZDR69742ci0euqvG7HpPIl6Rr3MJktVdFxAICeTuUQ8CNInU/LwMyqtU9gXkLo2 hCu3ql/ts17F6V+424tVAHyK/t9VOhOesgOn7UouCwAPw0/g4Z+2+Y5KR/mJK84QZYv0 YPwOrVRpYrpUorNxzkfDYnMzHC+nRktQlULHRsQptbz5OXIlux867gYiOjOyYShKqPYv JSx6k62Xzi01mAKA95dagp1GXafq0F1dvUYueGfJ2ywLTrsBBAZWVhk9Qd4Nw1GLHmfd Hb5w== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=S51TzJEKK9WWVDYr4Tc1gJpcMzkHWh1WXqblt4YDlC0=; b=K1bagUJEz6T81wMQ7QVu6CsYSepLHOV7gqlfuWiTjqPSa0hmt7vi0qbmernoZLzrPX R0b3GAIiNG6XhvPtS5aQ0UhueX8pAtH7keiZs5WygOkCMbI0iFlzHAHeDDB4qrNizNw6 tMy+Qi/oBp8SsZMU6LRMy36xgkDmfonDyl90haFgLl1kYTAtiuhsjrsuH0Hdlp5Ui19n CW7dITU5/UWg/7xrpEKb3HuixzKN4l3DF0Fy9TvMWIIhGOU24PWK1vEXgfog1rWv1oP/ XmV0+awji4s14vjBSFOuISNnUT4T7DAhhBLhqptGx43iDBnnvmEV3yFg04+OMCCKxuCT 0ntQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CETPV90i; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q13-20020a631f4d000000b00502ed95c83bsi4444077pgm.362.2023.04.21.09.32.41; Fri, 21 Apr 2023 09:32:53 -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=@linaro.org header.s=google header.b=CETPV90i; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233082AbjDUQ2J (ORCPT + 99 others); Fri, 21 Apr 2023 12:28:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230477AbjDUQ2F (ORCPT ); Fri, 21 Apr 2023 12:28:05 -0400 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CE1513F91 for ; Fri, 21 Apr 2023 09:28:01 -0700 (PDT) Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-506b8c6bc07so3097932a12.2 for ; Fri, 21 Apr 2023 09:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682094479; x=1684686479; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=S51TzJEKK9WWVDYr4Tc1gJpcMzkHWh1WXqblt4YDlC0=; b=CETPV90ihN3b3DZOnlv9hQKr0fh4gspi1VCr9VdP4hwDkdtmZ9AgF5tdmnECAHPp+V RKWp1KvQD2X5o8mx+dj5hshVZywtPp011NNTJ1RVMADvlgve1fngNYOOtu8/mkGQv8S3 UQ4bja+i7aMHCdtiERCr0Kgvko21kA8OJ2FNFCa6SRpFiBUyyaljnZWHdVDyu8sksfeI h/qQuwtNvzj1lVvuYVJr/87Ah+oIUnGt4mEOfV5eBH3noIbpPg+/FxLR9om20wPDR89K TyR4zf0P3Hb8lkQ6duOweA3p9nR6TklUsLo05M+ge6x8oJzsaY0bBFh/y2FVuvSzXZaw IJhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682094479; x=1684686479; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=S51TzJEKK9WWVDYr4Tc1gJpcMzkHWh1WXqblt4YDlC0=; b=ecdhRavnd6w8q+9VmoA2FNOyZUf0n+vgYTdQdbXCfYLYtjU/8m6HT61DlyIb5AltKS Cst2WM3lHaW9f/hnjyuaEzKVJ1l3zFHoKfJQopd9Nf8cC0qiPy1N8EXcF1DG4XL6bvY8 eX1WP67WbYyOdBRMnsmmcp6hXaMsVBU3C/JDTmYvt7CHLu7MuY47qZBAM2C3AZ1oaxOc eDsbFHufs/MVxbl6Db4IrpLvT28mm2+VWX0hjzEmk/J1Q0uA4I/D2HBAV04gm5kNIR/U mU3NXsi7E5jZRVzCw/V2kPlF2Q5dNvhnRKWpEw7pLUcSxifmHU5gkV0j/BVoJUF6dCz+ YCBQ== X-Gm-Message-State: AAQBX9duPXQEm3CiHd16ogMrKSJfOfMyobQCMLqCFU4/XjOMEjvOliuI 971mGFO+xpRW9WZfp24DAKjIQg== X-Received: by 2002:a05:6402:6c7:b0:504:9345:ffa4 with SMTP id n7-20020a05640206c700b005049345ffa4mr7172456edy.21.1682094479554; Fri, 21 Apr 2023 09:27:59 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:687d:8c5:41cb:9883? ([2a02:810d:15c0:828:687d:8c5:41cb:9883]) by smtp.gmail.com with ESMTPSA id v1-20020aa7dbc1000000b005029c47f814sm1983225edt.49.2023.04.21.09.27.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Apr 2023 09:27:59 -0700 (PDT) Message-ID: Date: Fri, 21 Apr 2023 18:27:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v8 2/8] dt-bindings: phy: qcom,qmp-usb: Add IPQ9574 USB3 PHY Content-Language: en-US To: Varadarajan Narayanan , Johan Hovold Cc: 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 References: <1efa9a64499767d939efadd0aef897ac4a6e54eb.1680693149.git.quic_varada@quicinc.com> <0a66e291-a86d-1ff9-e674-839b8cc8f1da@linaro.org> <20230421095838.GA5813@varda-linux.qualcomm.com> From: Krzysztof Kozlowski In-Reply-To: <20230421095838.GA5813@varda-linux.qualcomm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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 21/04/2023 11:58, Varadarajan Narayanan wrote: > On Mon, Apr 17, 2023 at 10:05:11AM +0200, Johan Hovold wrote: >> 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). > > The clock name definitions are auto-generated based on the clock > tree definitions provided by the h/w team. We followed the naming > pattern done in the previous SoCs. Are you sure? We talk about clock inputs here. Best regards, Krzysztof