Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2305000rdb; Fri, 8 Dec 2023 04:37:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFo9tz2Yk+JA6zrTrZXh9nvXRQL/XU7/KMsyR5wSSxtTw8qArMNs2fUO8Dvf+kxtx6WZPv+ X-Received: by 2002:a17:902:ecc5:b0:1d0:708c:d04b with SMTP id a5-20020a170902ecc500b001d0708cd04bmr4942728plh.31.1702039067322; Fri, 08 Dec 2023 04:37:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702039067; cv=none; d=google.com; s=arc-20160816; b=lJFr/HdMjaH9ecrVSQ0eXlkRuxxyxuW4E9rdamjyeFxwxtNz4tzK+vYU1jKoMsuXbi TeiC/dmOWDvJdVUAcgWv4NcuQpQLuE9lC7+/IjPQtTq8U9ggdqbfV3v9yhybYtedSOSd LJ/W8hni1/1gzdwAWDuBfPNB2yvRPh3hloWLyqKW49ST3mSWweOG2U3pq5+uaZLqzFx1 nd+Ac0SdcZKmiiJ4kPNaHkINIEG8uUefkjkxL1Gs8MST1QDRD+g4z80UKjXU1jvjWKWg Iy22+yqyp/dbLH4k9om6lrquwu7EbDMGVMoMd9LUYUH4lAo3ony3eiJiZ5+zHUzn8jsQ MW6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Kl14rNbix2kUzr/44N3YRDcJydiYUcssbsUy/Lxl2Z8=; fh=c19BF1Kx5tWoO2Ca1FOL5f0s46VmjRFR07/xXoeJSTU=; b=yZWALmyuBw75XgpDIcEUAjj4ogNG+QF4c9DLHsBv1PHTarx+Nk50qFL/HZJktPyr7C 6RmNHnlvd/hC+gf9jmJfTO2XaygJ7DhgdC7oxnIg3BEEUgOc5j8TJfjNcgmdnB/VKqNA nZum7wCP3BqEFBfrAzRg0zDL46gHZ8EuzKI4Nm26HMkQ31kxHsK/xmrvjVN48+cF95kW +fl+pgCsSbh7NWT9FlzW5uTEjo1iTcM/23CI3dQUVDFZSao6ja1s8mqj6k7yewVsBDJB Ejpf+trUOjisRsUIw++BJQMocxaTA2Nj9ZiRb1OAlcn79MJlxW/EHyiUov1wFOTzDD4F GfPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XOfpj0vx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 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 pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id y18-20020a1709027c9200b001d04b44859esi1499878pll.269.2023.12.08.04.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 04:37:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XOfpj0vx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6818A808599A; Fri, 8 Dec 2023 04:37:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573719AbjLHMgp (ORCPT + 99 others); Fri, 8 Dec 2023 07:36:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233400AbjLHMgo (ORCPT ); Fri, 8 Dec 2023 07:36:44 -0500 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9394C198D for ; Fri, 8 Dec 2023 04:36:48 -0800 (PST) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-5d3efc071e2so18326117b3.0 for ; Fri, 08 Dec 2023 04:36:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702039008; x=1702643808; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Kl14rNbix2kUzr/44N3YRDcJydiYUcssbsUy/Lxl2Z8=; b=XOfpj0vxlepbk0G6TFcUUXcXEywmHU2GDIJnhha/hYzdL2OueK2wQbOBCdBOiR2h9H DI6XJFGO133UJHu7mHxGqBMSntnC2Thto84DmkEHkuqLvYA8fUcFJQGS70TIH343u2q0 tDJOeRYU9IDZPY6ob7fgpTjdIqpqyIc9Envf4uE0DEjhpZ/DsKch/VTSD7awleJgpSOt OG5TCyfQsez4hObwE1/3yBO9yUyRGBW2hld7jGnkttq6fSxV+rA9RR5tY0Kfguz6ulOZ KZ6hnM1tkx3FeAKugSneE2eScgnTnNEJDsoBrl0FUoXUt0V9ZO/lqoL0/fPIwskxm3SI aYPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702039008; x=1702643808; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Kl14rNbix2kUzr/44N3YRDcJydiYUcssbsUy/Lxl2Z8=; b=dd2elzkVnY20NHYrO+cs/HdzFzv5jTsROr68FSU/rgXAneYanE/lQKs5ZcNxfyukt2 0cpxTkz88feeOfgwkmIzpH5e0sKxJcLRJMoRpZasFmDC9uz1uO9ezjnusfiH4sDcZRSX wjrszCfvb9ZH3PY8ZXZB2khF2jxzBOd9ibbnwQTGBtspp7VRekmNFPodnS4zbWfJ86li t2L+NPVvU3l4GXPKWxpw0zbctop/3q9aNkxKGgStApxWryQbwXSsIMC0CI0ld9T4mP7R 3nULbnjwcqTw8WYINqjPJncP+4yn2+ZMsckQQeLzbBc1Cx78f1Kg1F5b974pG0KvwR+D ySvg== X-Gm-Message-State: AOJu0YzU6/rP46TkppWcB3xbr9hgHTdUoztz3s3zMUfNBPA4LXP1EIMv c6/KJzHotziZXCcUpdavicKbk/zRxuLWWx3ssF3IRQ== X-Received: by 2002:a05:690c:fc3:b0:5d3:9f2d:658c with SMTP id dg3-20020a05690c0fc300b005d39f2d658cmr4498370ywb.24.1702039007771; Fri, 08 Dec 2023 04:36:47 -0800 (PST) MIME-Version: 1.0 References: <20231208105155.36097-1-krzysztof.kozlowski@linaro.org> <20231208105155.36097-3-krzysztof.kozlowski@linaro.org> In-Reply-To: From: Dmitry Baryshkov Date: Fri, 8 Dec 2023 14:36:36 +0200 Message-ID: Subject: Re: [PATCH v3 3/4] dt-bindings: PCI: qcom: correct clocks for SM8150 To: Krzysztof Kozlowski Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 pete.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 (pete.vger.email [0.0.0.0]); Fri, 08 Dec 2023 04:37:44 -0800 (PST) On Fri, 8 Dec 2023 at 14:18, Krzysztof Kozlowski wrote: > > On 08/12/2023 12:09, Dmitry Baryshkov wrote: > > On Fri, 8 Dec 2023 at 12:52, Krzysztof Kozlowski > > wrote: > >> > >> PCI node in Qualcomm SM8150 should have exactly 8 clocks, including the > >> ref clock. > >> > >> Suggested-by: Manivannan Sadhasivam > >> Signed-off-by: Krzysztof Kozlowski > >> > >> --- > >> > >> Please take the patch via PCI tree. > >> > >> Changes in v3: > >> 1. New patch: Split from sc8180x change. > >> 2. Add refclk as explained here: > >> https://lore.kernel.org/all/20231121065440.GB3315@thinkpad/ > >> --- > >> .../devicetree/bindings/pci/qcom,pcie.yaml | 26 +++++++++++++++++++ > >> 1 file changed, 26 insertions(+) > >> > >> diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > >> index 5214bf7a9045..a93ab3b54066 100644 > >> --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > >> +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml > >> @@ -559,6 +559,32 @@ allOf: > >> contains: > >> enum: > >> - qcom,pcie-sm8150 > >> + then: > >> + properties: > >> + clocks: > >> + minItems: 8 > >> + maxItems: 8 > >> + clock-names: > >> + items: > >> + - const: pipe # PIPE clock > >> + - const: aux # Auxiliary clock > >> + - const: cfg # Configuration clock > >> + - const: bus_master # Master AXI clock > >> + - const: bus_slave # Slave AXI clock > >> + - const: slave_q2a # Slave Q2A clock > >> + - const: tbu # PCIe TBU clock > >> + - const: ref # REFERENCE clock > > > > Can we change the order of the tbu and ref clocks and fold this into > > the sc810x case? > > I prefer not, because this is an ABI-concern and we are supposed to keep > things stable. Ack, fair enough. -- With best wishes Dmitry