Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp6181898rdb; Thu, 14 Dec 2023 10:19:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IF52U3BOJ7Pij+MbRYHumoLisL7GsZfQ189uqrFH6EaF5j51iRt/4KXiYEhgBRwtFRLw+hK X-Received: by 2002:a17:903:2288:b0:1d3:6de6:751a with SMTP id b8-20020a170903228800b001d36de6751amr604274plh.51.1702577985828; Thu, 14 Dec 2023 10:19:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702577985; cv=none; d=google.com; s=arc-20160816; b=jpYKZpXd/XjwNxZhzH1rhITketgI3q+zf5pf5dnSM15dr8cQGveb4935wHa35+hgCr Cih9LqweNWIxjBGX+Mvzg618ALpgerXiW6DY1CMDwUsFBZ0PnnCqHkghWKeiTQ1PMVtx NAp4HhE0g7S7J9O6T5WAmhKu1i/Me58iBHGWx1AFg7GFrMqeAOvE95JlDhv0+z+9ZQ82 aI67Q/HlYzeqEEY7wUcGv1nVxcIbRAdKazkz54woKuXaiIqfHbnIn0c4d38agqJfBaLC 9F6nGaM9YFdPp79ETLrSkYDeCReshl/2HSTS+qSfvU/it/uzNLeVuifmchXKRIRXZire Ps9w== 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:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=Tz5zZ7XIhwY6/jPHZIwEJj6SU1xu1mLTCKyQZuGvubA=; fh=tzFr3vdnAQe9tS51I7i6zv9J3aWrtSHr96B5u0/p/q8=; b=bRphWfuVoc28FmAzcvvFYRJLEBDhxU0F88P0LLGBYl1PkYMOEU4Vek4O0YckrWpark 3jEusPCUgHi8axeSDZv1g15shg2ChXOhtgjK9VBAZNs2Kx82PaD1QaIHtJIXcpaf1yFf dGHMqKKhVso6DUqWVzR82BJemWu50hk3neq6JohIbzVkUzbYhqnkI7pRP3acJLPRIzgu 3Hdh5re09kBIA0UCavMHGFlXuDZR1VJ7tZyOZ3TTV5M+PhKqbOqSO0VMMj7L8Ex5GnIR zzHLQGiE3QBajA3LQiJpuEtlkRMK7UhLwJpi0LunATSQrCGOMV5o3Dsef3h9kU2prgTb L3CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mVqJ7OoX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s16-20020a170902989000b001d066271702si11416979plp.318.2023.12.14.10.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:19:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mVqJ7OoX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id 8F741836D623; Thu, 14 Dec 2023 10:19:35 -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 S1572983AbjLNSTX (ORCPT + 99 others); Thu, 14 Dec 2023 13:19:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1444209AbjLNSTW (ORCPT ); Thu, 14 Dec 2023 13:19:22 -0500 Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93C5D112 for ; Thu, 14 Dec 2023 10:19:27 -0800 (PST) Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-50bdec453c8so9945760e87.3 for ; Thu, 14 Dec 2023 10:19:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702577966; x=1703182766; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Tz5zZ7XIhwY6/jPHZIwEJj6SU1xu1mLTCKyQZuGvubA=; b=mVqJ7OoXorBTSHC1C3WvAANP/QMRPfPY+/CNl9lcad0WJFfG5R/pGboc0eJhFcG7dn UgtpBFLALm5/rwO0N60QzcY1ECsXs2FQ8yi7lDSdAsubvgR4fZ+5f24oXocK7VJ/E3fU 6AM6ZqwtpkGxhRudj7tkNcBWHV2Pk9xCaaA5Q9vsMBIOfhvJlCsGGQmkWs6JluBeBldt ILiCYQQ7LUJiTWlL91LfNAodHWgHJwqrjcnDNr7TmF/QQh4NolgPHRnCzkLm3fxt3X0B 5Mwrp29LFzpxCqntdEQFVe2BxBjc3zVM/xfisGJkmAInbNJ8PzxuxWFLfKh2Gmryb0mz q7Iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702577966; x=1703182766; h=content-transfer-encoding:in-reply-to:from:references: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=Tz5zZ7XIhwY6/jPHZIwEJj6SU1xu1mLTCKyQZuGvubA=; b=ZxVtBntyTI8dHCMgJAwTBlozMaiahyawkLoBsz7dGSDoz33ryZud/SjTuIz3j3Slsg QCxWV9G8cMXNTcR2YgaKjP1Wg4NCXhK+Vl0lv4AR9kFa/Aiop2HGU+/9HrKs638fnc+S 83orQABkcvi5bPEgifE2Q8vsAtErJNWiWdfBnnVofc9Qr43QncSLPC8/1AoUG2fVlbc9 Bte7ALxHM5sMVh+u5l1GAhOCrfCOON8yH/fyMN13ePHS4jwtiUlMzS57XNFfVZpeQoX2 W/nA5vEWNwS4GqYBlyNKimjnczxdQJlWF/zISPNWKH3Bte/q9atgrThllmQh2N2a7LMf irXg== X-Gm-Message-State: AOJu0YzkRL5SzsnV99lUTs48Ccm2xvHw4ebXjo6lzHxzlsEcCf1pZhu7 zNvj+z4wM1nToARytMronRN5kw== X-Received: by 2002:a05:6512:1294:b0:50e:19f3:9615 with SMTP id u20-20020a056512129400b0050e19f39615mr705537lfs.39.1702577965691; Thu, 14 Dec 2023 10:19:25 -0800 (PST) Received: from [172.30.205.72] (UNUSED.212-182-62-129.lubman.net.pl. [212.182.62.129]) by smtp.gmail.com with ESMTPSA id c16-20020a056512105000b0050d1a0e7129sm1659686lfb.291.2023.12.14.10.19.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 Dec 2023 10:19:25 -0800 (PST) Message-ID: <718fb4a7-9a1c-4e4d-8c36-935b766499cb@linaro.org> Date: Thu, 14 Dec 2023 19:19:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 2/4] dt-bindings: PCI: qcom: correct clocks for SC8180x Content-Language: en-US To: Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , 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 References: <20231208105155.36097-1-krzysztof.kozlowski@linaro.org> <20231208105155.36097-2-krzysztof.kozlowski@linaro.org> <7f890553-5278-4bc3-9f72-a5a60d9596ea@linaro.org> <68a12f8b-3941-4555-a2a8-3f4f3409d8fd@linaro.org> From: Konrad Dybcio In-Reply-To: <68a12f8b-3941-4555-a2a8-3f4f3409d8fd@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** 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]); Thu, 14 Dec 2023 10:19:35 -0800 (PST) On 12/11/23 11:04, Krzysztof Kozlowski wrote: > On 09/12/2023 18:38, Konrad Dybcio wrote: >> On 8.12.2023 11:51, Krzysztof Kozlowski wrote: >>> PCI node in Qualcomm SC8180x DTS has 8 clocks: >>> >>> sc8180x-primus.dtb: pci@1c00000: 'oneOf' conditional failed, one must be fixed: >>> ['pipe', 'aux', 'cfg', 'bus_master', 'bus_slave', 'slave_q2a', 'ref', 'tbu'] is too short >>> >>> Signed-off-by: Krzysztof Kozlowski >>> >>> --- >> [...] >> >>> + 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: ref # REFERENCE clock >>> + - const: tbu # PCIe TBU clock >> Are we sure this one is actually necessary? Or is it just for the >> SMMU debug peripheral? [1] Would be nice to test if it works >> normally (unused clk shutdown / forced shutdown of this one might >> be necessary in case it's on from XBL) and during a PCIe-related >> SMMU fault. > > I did not validate whether the list is actually correct with datasheets, > but aligned it to DTS. I don't have the hardware to test. While I can't test suspend yet, the PCIe itself works fine without these clocks. Mani, can we get rid of it? Konrad