Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp254749imw; Thu, 14 Jul 2022 00:46:59 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uLTJxmniwQPcOEBCgLkHqmLNmaB41kdTpSi0cG4meRqI9now/kF1ixmMGj/Fbyqzq/2RIM X-Received: by 2002:a17:902:e5d0:b0:16c:40bc:cfeb with SMTP id u16-20020a170902e5d000b0016c40bccfebmr7200062plf.115.1657784819231; Thu, 14 Jul 2022 00:46:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657784819; cv=none; d=google.com; s=arc-20160816; b=b3VUaONuuxShXXtFhVkIyBgataiQoLsxCL/cIQxcCA43nfBocK0pNZR4eFmNiJkA2Y t4FbFFHGes7j6UI4BdnHWuUuejD34eDPkWj0pigLqFBwaHnUzMM01pbrJxikJsG/KwKj 2o1wdo8ELpQmc6IsYhrZomJDgdMAQVIc2/ST6eTlmu1UWTLZQy7qJbE2rfS+IqenC6mt GyPMP6Ghm9dRPERT+3kQUqKgX2vWs+ZWdWQ2lNgGVteXWDn0Bpvwe1Ais4yDDknmZWbS 4e1oX7RhhsU3Pqy85+BJpYQr21rcOEMEIKV5R61ylRU6j3J25ShlyxrF/OuiYnP2Mtv3 E70g== 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=5YaEYzlCEMcH/I5qD9LLyy0PlspJTG5SF6/465BKPd4=; b=yvDTEVgTOaKb/jnP1bzISvtDkIGSk3CKMummi9ugGllJIxqfUcrwZay7DBcQVzUE5u I+iftCmdwChm8bJFx/PQpJ/LPYNYScM4uojHU5RBDSf1CpKiO4EEbTBMUvvnVD5l5pwQ 7Pb8SFa5l7Nt3o6+70Rfp4L+zwENt10vXAtNP/EZc1RwrW8I6hhEnFNn+gCCh8N05y9f gy9C5PDzxi2INBBAGeLbLRPMPHVb6jgE1LAVA+o7hpxiFY8/S3loZQGYAs/3wRxMR5Zr YZxIehU3lnuIyqkV/M0ZjvfpDBApxrCnaIYTDSGMFX7kgw2imlVK0AvvMq0R7FCdOzwq CFGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Zuzl5vBA; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l17-20020a17090aaa9100b001ef7e191d66si1228192pjq.11.2022.07.14.00.46.46; Thu, 14 Jul 2022 00:46:59 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=Zuzl5vBA; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236864AbiGNHOO (ORCPT + 99 others); Thu, 14 Jul 2022 03:14:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231127AbiGNHOD (ORCPT ); Thu, 14 Jul 2022 03:14:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC82FDF4C; Thu, 14 Jul 2022 00:14:02 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 68AA061B9C; Thu, 14 Jul 2022 07:14:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4253C341C6; Thu, 14 Jul 2022 07:14:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657782841; bh=VzcVFB6LAmsnbOvtp2UG9xz17D7uT1wYZmOvynZD8g0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Zuzl5vBA0inaj8zK8+fscKRJV4XgP04LGUlPgJaWGEWw3V4B3Pg3f6eWuTqWzoHB2 LT1dit1yZSd93RYRiuQmB0ygz6yK7AXfvAehEwXWKho80PMCiZJosjIkszOQyp9dxn 9rqyzTB9ci0B5Z2RQBxnIQZlrvlrmmzc+X2HTaQkzPAq8v7slLudre/me4vhSn1qr0 XZ1FMZ4EzGG25MDxQhhYMDpP5McvbkQjdslAuf9XGvXI4ZnK8913/j3Yg0vczvonbA GF+FVEfyR0XnAMGQ+FRUyo3AGslGZBu4KFuDkc6vnyHjbPZ9AUkMxDHEeUZmqEvDqg D0X56pGEznMaA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1oBt30-0001m9-5G; Thu, 14 Jul 2022 09:14:06 +0200 From: Johan Hovold To: Bjorn Helgaas , Stanimir Varbanov , Lorenzo Pieralisi Cc: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Dmitry Baryshkov , Manivannan Sadhasivam , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Krzysztof Kozlowski Subject: [PATCH v2 2/8] dt-bindings: PCI: qcom: Add SC8280XP to binding Date: Thu, 14 Jul 2022 09:13:42 +0200 Message-Id: <20220714071348.6792-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220714071348.6792-1-johan+linaro@kernel.org> References: <20220714071348.6792-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Add the SC8280XP platform to the binding. SC8280XP use four host interrupts for MSI routing so remove the obsolete comment referring to newer chipsets supporting one or eight interrupts (e.g. for backwards compatibility). Acked-by: Krzysztof Kozlowski Signed-off-by: Johan Hovold --- .../devicetree/bindings/pci/qcom,pcie.yaml | 50 ++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 8142c891f18b..577d166a7476 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -27,6 +27,7 @@ properties: - qcom,pcie-qcs404 - qcom,pcie-sc7280 - qcom,pcie-sc8180x + - qcom,pcie-sc8280xp - qcom,pcie-sdm845 - qcom,pcie-sm8150 - qcom,pcie-sm8250 @@ -181,6 +182,7 @@ allOf: enum: - qcom,pcie-sc7280 - qcom,pcie-sc8180x + - qcom,pcie-sc8280xp - qcom,pcie-sm8250 - qcom,pcie-sm8450-pcie0 - qcom,pcie-sm8450-pcie1 @@ -596,6 +598,35 @@ allOf: items: - const: pci # PCIe core reset + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-sc8280xp + then: + properties: + clocks: + minItems: 8 + maxItems: 9 + clock-names: + minItems: 8 + items: + - 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: ddrss_sf_tbu # PCIe SF TBU clock + - const: noc_aggr_4 # NoC aggregate 4 clock + - const: noc_aggr_south_sf # NoC aggregate South SF clock + - const: cnoc_qx # Configuration NoC QX clock + resets: + maxItems: 1 + reset-names: + items: + - const: pci # PCIe core reset + - if: not: properties: @@ -624,7 +655,6 @@ allOf: - resets - reset-names - # On newer chipsets support either 1 or 8 msi interrupts - if: properties: compatible: @@ -660,6 +690,24 @@ allOf: - const: msi6 - const: msi7 + - if: + properties: + compatible: + contains: + enum: + - qcom,pcie-sc8280xp + then: + properties: + interrupts: + minItems: 4 + maxItems: 4 + interrupt-names: + items: + - const: msi0 + - const: msi1 + - const: msi2 + - const: msi3 + - if: properties: compatible: -- 2.35.1