From patchwork Wed Mar 8 08:24:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 66106 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp213118wrd; Wed, 8 Mar 2023 00:44:52 -0800 (PST) X-Google-Smtp-Source: AK7set/5i50GT+oUdN4ZGT1gq90l0Fn/aQzpNrRZbmW9oPst/9Vo7tZe4FbsGNBBLbbJZ7fRpk+5 X-Received: by 2002:a17:907:9702:b0:8b2:d30:e722 with SMTP id jg2-20020a170907970200b008b20d30e722mr22203361ejc.3.1678265092574; Wed, 08 Mar 2023 00:44:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678265092; cv=none; d=google.com; s=arc-20160816; b=rhzYO4GG4Hk67chUglQ+xuiZpL+oY1bcGP5VI8Sg+M35Yme4VCiGnwfCx7i6TrODIY v6vN4waNKM4O9s5d3mLHQBnW/jZPsr3L91HONBBHadiDcjVWmX+CnumYAqSyDvSUF4wH SnJ59khwn6ZkLOA9DuUMYOXwqNPAqm7FHJWaRrstyyr4Kzq82MtO0rX2PQY47HMxGZFK cK111vQAecI9ICqF8dFCvXUlX++nig/NYwNNO1VfvHX0m/LdAKpu9S0dv82Zj+2VzU4y u3LVoK8hbDGOWDxbdHqH6K7a7ajqu7XJ6Qjy4/LmswohAm4VlT/tD/a9EfHT3Rz7yhaX J2yw== 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=BWGkUKxc1+RShsSquL6TSNv4d+3ZNQVwM0OHF82Nolc=; b=CCga6W3NajIEbrVVgbt6j5zD8IDGc8S0kbJqePMXnBnWOBLTuJTKooPKYnYaB7oEOe 0WR82ZpPUrynV2+eDEOPTZ2LfPeu08zYxNWqP4nDU7Gz/cTbS94CLx8o0c7L3L+HSrN0 3BfDzNM3Y5s28phbN/VA5xV2+8hKoCHn+3B7Pg2KStkwy6niylqasMuvO93D2Fdcdd20 P6/fMmn+GllxOG6pj+5eBDTW2ukbvnXUfZ0o76FrUJ+8yx2VaIzffMLgFiuArbpnR3Ut xgo3sd0U1M/XYGP2AXDXPeo7Gwyto9JCNKYV2nI+/aJmLfVNeMscbe2NkLC+TY9z20b7 m2HQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nnv0TKxz; 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 y15-20020a1709063a8f00b008de42a0a7a1si2183646ejd.825.2023.03.08.00.44.29; Wed, 08 Mar 2023 00:44:52 -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=nnv0TKxz; 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 S230248AbjCHIZb (ORCPT + 99 others); Wed, 8 Mar 2023 03:25:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230332AbjCHIY6 (ORCPT ); Wed, 8 Mar 2023 03:24:58 -0500 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D109911E83 for ; Wed, 8 Mar 2023 00:24:45 -0800 (PST) Received: by mail-pl1-x636.google.com with SMTP id x11so12422999pln.12 for ; Wed, 08 Mar 2023 00:24:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1678263885; 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=BWGkUKxc1+RShsSquL6TSNv4d+3ZNQVwM0OHF82Nolc=; b=nnv0TKxz1LQVhz72XMyVwhz2edQHF5C8K/gYRQygBo/yk+Dbv/xU+iD8tOrKpBybxo Th40/nZ5t3RuUuVaBM6w9/X487xPXQIMTOKM9TbKVKor+Z0RVV2eYg8W8PhlRGiSX/kh ddWdEZIFEpMwK++1pKPLAP1lGQcQYlhaYBvzvGWLWaFB70c6ZfKmR0GdchQKNjwHjGZc iN+14smx3G6dHXcmkw1THuLbzgflDB5QFz+VmZr10YyKqLAPt7GpI7XLw4ybBEWFJWv7 Hrj4r6bBgz9hKSJUOWbkNDVSPO/ri5RP9664q/ztWxL4fVHCC9ZgzTxmkwpwyZYGN4gi v6kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678263885; 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=BWGkUKxc1+RShsSquL6TSNv4d+3ZNQVwM0OHF82Nolc=; b=fXEXR2/Ovv0+X2Olc1X+8VubzGjTVupaPeYf8fpVGzADEfZsRWTd4jSP6J3Mi78uEk HSYrCVJqFCazYhgCPXL86cYfDX5fBDK8oTTcYC3PHiTszQI2g6nRkuS7LnG4WJkTY00y 18IM1C3evZn67mMP3Qt/RluhfOfZdStMwEmystcD0UDvCpm32+ekSmx0cj8fdsZiCQBG 7Ta8WQ9uiFarsyxgTAl8nTWYocsrG6dMQfyUm6L8JZfuUnDfHqSG7kiTDGV9BI1scuFn j8gCHbQ6M9foPw1S1HvpnxkiQA9sjjVfbns82xlyp9i0oMg8HSXhQtmfPRIAQ0b8M49W TKAA== X-Gm-Message-State: AO0yUKXjNkxWU7SC9Un0JJX7jREYGAqE6COUmbEwv1cozouvelnZjWGb QSYtAnc4DwKM6QnXEUHr9bn0 X-Received: by 2002:a17:902:cec6:b0:19d:1bc8:488a with SMTP id d6-20020a170902cec600b0019d1bc8488amr22220855plg.29.1678263885323; Wed, 08 Mar 2023 00:24:45 -0800 (PST) Received: from localhost.localdomain ([59.97.52.140]) by smtp.gmail.com with ESMTPSA id s10-20020a170902ea0a00b0019aaab3f9d7sm9448086plg.113.2023.03.08.00.24.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Mar 2023 00:24:45 -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 v3 03/13] dt-bindings: PCI: qcom: Add SDX55 SoC Date: Wed, 8 Mar 2023 13:54:14 +0530 Message-Id: <20230308082424.140224-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230308082424.140224-1-manivannan.sadhasivam@linaro.org> References: <20230308082424.140224-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,URIBL_BLOCKED autolearn=ham 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?1759788497648914953?= X-GMAIL-MSGID: =?utf-8?q?1759788497648914953?= 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 55ee86facbc0..35ef56553603 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -33,6 +33,7 @@ properties: - qcom,pcie-sc8180x - qcom,pcie-sc8280xp - qcom,pcie-sdm845 + - qcom,pcie-sdx55 - qcom,pcie-sm8150 - qcom,pcie-sm8250 - qcom,pcie-sm8350 @@ -203,6 +204,7 @@ allOf: - qcom,pcie-sc7280 - qcom,pcie-sc8180x - qcom,pcie-sc8280xp + - qcom,pcie-sdx55 - qcom,pcie-sm8250 - qcom,pcie-sm8350 - qcom,pcie-sm8450-pcie0 @@ -671,6 +673,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: