Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2251624rdb; Fri, 8 Dec 2023 02:52:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQAA2ysaVsffC2xXfxur+1MeCST8pyraQm4zBRHTqolQH5Gy8XqgJvQ8Pkz+3dAuKmzrCt X-Received: by 2002:a05:6a00:18a9:b0:6ce:2731:47b5 with SMTP id x41-20020a056a0018a900b006ce273147b5mr948234pfh.21.1702032766337; Fri, 08 Dec 2023 02:52:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702032766; cv=none; d=google.com; s=arc-20160816; b=zKJpvDKugm6W7IjNLW0dd+WB0P7PLJkvyKfnXf9A0LL5DLVDma41sokJr1ITR5vy5G 9H3F4s7/nTsozHVCzAuLDPK0VoXY20sc0NtHBoq+AMimucZ9r0n4rMTV2L9Ya6lKwCp+ yf4XLC8rUUP+MjR7+K2rNKZljwHpZeDEdPSjM8HQO7yCd7YZ2hMtO4nc0GLyMLKDzYfk WT2UDmFt21/E4PZ/tLzmFAaPvaow9FmsknGFy6GiGKKzp14aRP9QPFBK28Vq00uJagZh a7VGwzW5Xv90GiTph+vLAueRYDTig8S2KyoXJJT7LQxkztsQGP4QfpaG8zhNBzYPtWQv ldNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=RN5mp7wTS0ZL9oWDzM8c7WSR4Kqr0x4UsxjvnOwJZ54=; fh=fY1H1RoJ+C4cxux64WXmdONn+SHfoGLxagvRGA5tQ8M=; b=mAHcK2tL34RfVRQ1XweO/O2TlbEDacvsoRtSWgRt6n7MulkfjoKp04iWbiJaoaQV8Q ZFMdAGUux2s+nYnl/yapTe54FnPJgwPLhj+IB1yHa36CLhBktbirrLtXuEDauP9DT63X pL+N4V37TAF3v4EA76GIaK7FgqPcyDp+vuhD0OM0jIZ2ZimZrbI7WH1sua5ae0YZG6X3 VmGAR5KTHcpfFcWBD0W3LmwEY5OUSoSDolrSNyOYZlNEbYDtMjjLOajAQy33Ubc6PAvN 8SSerDYAx5AZ5xoApIXx/z83Q9StNRC8U4xi7HtB/wblzJ77NB7FkUv2nMgeZbpNViLK tcbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TTRXK3Ue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id fd3-20020a056a002e8300b006ce7e4a9afasi1372768pfb.200.2023.12.08.02.52.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:52:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TTRXK3Ue; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id A89A282372F2; Fri, 8 Dec 2023 02:52:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573639AbjLHKwJ (ORCPT + 99 others); Fri, 8 Dec 2023 05:52:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573559AbjLHKwB (ORCPT ); Fri, 8 Dec 2023 05:52:01 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B4DB10C2 for ; Fri, 8 Dec 2023 02:52:07 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a1c7d8f89a5so257851966b.2 for ; Fri, 08 Dec 2023 02:52:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702032726; x=1702637526; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=RN5mp7wTS0ZL9oWDzM8c7WSR4Kqr0x4UsxjvnOwJZ54=; b=TTRXK3UezIiAx6CURgAyfKdfnAWG79eP5axjv9MqgTiiRvp6GpE4cgm2gYMVt3FsMF bSmyw34J1GSDpK7XsjbjPyLyCYTK8BVNlyodMla1LF2EtQldSF8mSikKI/R3W+YGm66z Q/HrBCRY4m/6nieSk5cqhggdfhHe4jMYeAtyYEHlKP5LrcjHwpKduQfGJvpqoohXYp0D 4Yfi7IcR+bo5aHBv7Gkm9LvtXzb7A0T2mG4KGJ00PORrQTWnN3xxXYYuyTSBzPbThQzh vY1QVDpDDFVjFEH1QT0UBS1yOEhAh2k1u0I2/kwcbR50wGHqP+JDv8UBaGpKP011qYQN UVRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702032726; x=1702637526; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=RN5mp7wTS0ZL9oWDzM8c7WSR4Kqr0x4UsxjvnOwJZ54=; b=sqfwmWMFEn/ZxrdOxvFjNpY36nfc+NxBE4+Bwj0YptNVwmRM/AEXa/my82WUp7Fhuw Vk+YsQEvN9FjVRdEn8DlxYDPO819rlMZdPPIzWme9/MrCI7KK9iSY1g+KYmY1UhzgufU EPZc1stllkFLSYYiavchwWWwib6SwY0uEuuHb6ZEYmHoRprioje6lMPIVMcHqFUbtXIK LRxEyY1aB0QwenVjXGyItaeBRP45uxOsJrKFbVZppDR2QdXOlySYFG+LWYxhXB2Juam5 G3aa9XvORL4/UsDLfu09yBlIpjwhe27TkGWnXRhB5x3NoETfdi/CjVb26WRZw/vd55mo F0ew== X-Gm-Message-State: AOJu0Yy5kvn/u5IJ+DTidT34kI7y9OCGt8pXQkpgHq/TmFM4sjI+Dn7G yim8veREa6Ec1eDlVSXm4Ugfiw== X-Received: by 2002:a17:906:560c:b0:a19:a1ba:da51 with SMTP id f12-20020a170906560c00b00a19a1bada51mr2668011ejq.120.1702032725770; Fri, 08 Dec 2023 02:52:05 -0800 (PST) Received: from krzk-bin.. ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id tx17-20020a1709078e9100b00a1b75e0e061sm849976ejc.130.2023.12.08.02.52.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Dec 2023 02:52:05 -0800 (PST) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=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 Cc: Krzysztof Kozlowski , Manivannan Sadhasivam Subject: [PATCH v3 3/4] dt-bindings: PCI: qcom: correct clocks for SM8150 Date: Fri, 8 Dec 2023 11:51:54 +0100 Message-Id: <20231208105155.36097-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231208105155.36097-1-krzysztof.kozlowski@linaro.org> References: <20231208105155.36097-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 08 Dec 2023 02:52:43 -0800 (PST) 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 + resets: + maxItems: 1 + reset-names: + items: + - const: pci # PCIe core reset + + - if: + properties: + compatible: + contains: + enum: - qcom,pcie-sm8250 then: oneOf: -- 2.34.1