From patchwork Fri Feb 24 10:58:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 61268 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp838086wrd; Fri, 24 Feb 2023 03:03:34 -0800 (PST) X-Google-Smtp-Source: AK7set/wKlg9PZiruAYaSh2VCfYDWjyxyyQkK3yJOuvAdnoOuBYNtZSDGVr+ir1vNAdIYfhmGuPz X-Received: by 2002:a17:907:8c89:b0:8b1:779c:a8b1 with SMTP id td9-20020a1709078c8900b008b1779ca8b1mr29627239ejc.5.1677236614118; Fri, 24 Feb 2023 03:03:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677236614; cv=none; d=google.com; s=arc-20160816; b=jjc4vj8KOFWsj0/T7ufxE2t33fybw2bV9hxqRjadIn/KAiuEyHLqHJjgVKPWKoS5n8 WIGIc68XtVSyum4DFujlSWo+Xx0FOroO6sH7xTFch0uaJA0f3nDi6sYmrPwIALC4N2wl Vmm9hPMjWzoiBCUdj8QixDNGYlMNsSmb5HsE7GMGjvbIxBq/jnv2wWxhtZDWern//AWk 7mLgTc8PkM67g2p3jBtXVoAQv8VcSgNXkys4z2lhNu72PBuxr0qaYWkuwlLAb7ZNrH4g 34ouXIt2+WmT9RdWsTPT+EmtNL7E1azITCCfEOdsOLJEbIKFWPs+KQZA2rEl9LxBccpC u7tg== 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=wzdP0f8Dd/LfcCPdQr780PzK2RvZAJKB5vPc2XD3ufA=; b=a2GGLWP4sXQOVTtR97i/MkO3MST5aCg3qyNPu20vyPoGqaqpoELies9zKifUUyNX6p OiyLewjrHgSiIpAL/3pErpOuCzwrEq/gRWEJbJ8r6h2cox48Njy2cO+pxL3yXPU4bYeA +tq78ibNHZNVefVOt9fGfNHnpnGaNYaTmeRJl4Ir4j1ZJJm2xysRxCaMGhOrvcN1xv2P MHo/dG6zsTRlLhX53XK1TlAQp6gUArlcmlse1QgEOW6671lKKJl98wdevbLo0JMiGcE2 5+zxMohARysy2dEkonP2lmFPfMLhZi2Ff+Ez0MUtdVeU9yAmZgtsnN0VbUM7Pz8k/INs fr7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mByJV+Ja; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ep6-20020a1709069b4600b008ce48e03890si17207316ejc.320.2023.02.24.03.03.11; Fri, 24 Feb 2023 03:03:34 -0800 (PST) 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=mByJV+Ja; 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 S230138AbjBXLAk (ORCPT + 99 others); Fri, 24 Feb 2023 06:00:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjBXK77 (ORCPT ); Fri, 24 Feb 2023 05:59:59 -0500 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5157C3A0B0 for ; Fri, 24 Feb 2023 02:59:30 -0800 (PST) Received: by mail-pj1-x102d.google.com with SMTP id m8-20020a17090a4d8800b002377bced051so2550510pjh.0 for ; Fri, 24 Feb 2023 02:59:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=wzdP0f8Dd/LfcCPdQr780PzK2RvZAJKB5vPc2XD3ufA=; b=mByJV+JaU1+Ltx80aDVz38O8fe/liFVHft/qdrSEETLmITXc0LZv5kudxwrQJHEM4E 2RP0gsLabTBSZH79fsU3NEHMCeOW0Iqr1TcZhzUE9B7tGDss784ZxY3AotfpkL6jWX2/ 6HMJBJEt7J+vIZ5LMgqVreWGU2Lcz8u/UgO9U8zBTWamxRmKNBZJP6YfXSnA2eN4iPk/ X15O/ck2XYbJCcauOyeuXxchQlLYNaOq7J6UOFE9O5V7S0FVHzlkswu9pzD1R5IausqO 535j2BWGe7lKIRbK/nef5No9zFZ7ku4gO34mFvnolSNCGNgFpU9xfpODylons+mkw7YN tlQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=wzdP0f8Dd/LfcCPdQr780PzK2RvZAJKB5vPc2XD3ufA=; b=1CZ9otRkRsfcVz3t1JAn2PjNpJL7wZaciQiAVG6JwGWdQbbIABdK/8T2pI+QwveaZh 1jHOtJQP0AwQLViV6JL3nezR47wb5hwX2OdfKHoGrTaxkQGa2yIE8OpNFMluwOgF1Zbx NLr5vVcqLYjy64Hi7sYKjN4mMykZtgldKbMeWVSwOY/bt/R80wmlioDFXRePl+/1pbeE cokpc0Z11d6XCuXLtXER6cfFT+gUKLu6+1DynWOz1BrPPVbraefY/tgU9ygpj3l4Cgf0 SrcbTQ4Vi56d8J254M/wsCWVt4mKu1aDx55zFwGnbZ7Ngm00uzokI5M8WKdW5FYKJbwV ylXg== X-Gm-Message-State: AO0yUKXZQviwCeUUv5zn0M1WWQxaWKSfHmY4AAeN1U0d42+0wPApQTLX FDZx5InxwEB0ysZ77bcPjDhK X-Received: by 2002:a17:90b:4a4d:b0:234:148:4b27 with SMTP id lb13-20020a17090b4a4d00b0023401484b27mr18089652pjb.17.1677236369819; Fri, 24 Feb 2023 02:59:29 -0800 (PST) Received: from localhost.localdomain ([117.217.187.3]) by smtp.gmail.com with ESMTPSA id gd5-20020a17090b0fc500b00233cde36909sm1263853pjb.21.2023.02.24.02.59.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Feb 2023 02:59:29 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, lpieralisi@kernel.org, robh@kernel.org, kw@linux.com, krzysztof.kozlowski+dt@linaro.org, vkoul@kernel.org Cc: konrad.dybcio@linaro.org, bhelgaas@google.com, kishon@kernel.org, linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, Manivannan Sadhasivam , Krzysztof Kozlowski Subject: [PATCH v2 03/13] dt-bindings: PCI: qcom: Add SDX55 SoC Date: Fri, 24 Feb 2023 16:28:56 +0530 Message-Id: <20230224105906.16540-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230224105906.16540-1-manivannan.sadhasivam@linaro.org> References: <20230224105906.16540-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758710059545986757?= X-GMAIL-MSGID: =?utf-8?q?1758710059545986757?= Add support for the PCIe controller on the Qcom SDX55 SoC to the binding. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Manivannan Sadhasivam --- .../devicetree/bindings/pci/qcom,pcie.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index f48d0792aa57..3bba1ef3cff5 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -30,6 +30,7 @@ properties: - qcom,pcie-sc8180x - qcom,pcie-sc8280xp - qcom,pcie-sdm845 + - qcom,pcie-sdx55 - qcom,pcie-sm8150 - qcom,pcie-sm8250 - qcom,pcie-sm8450-pcie0 @@ -199,6 +200,7 @@ allOf: - qcom,pcie-sc7280 - qcom,pcie-sc8180x - qcom,pcie-sc8280xp + - qcom,pcie-sdx55 - qcom,pcie-sm8250 - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 @@ -646,6 +648,32 @@ allOf: items: - const: pci # PCIe core reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-sdx55 + then: + properties: + clocks: + minItems: 7 + maxItems: 7 + 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: sleep # PCIe Sleep clock + resets: + maxItems: 1 + reset-names: + items: + - const: pci # PCIe core reset + - if: properties: compatible: