Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp104680rwj; Thu, 22 Dec 2022 05:36:03 -0800 (PST) X-Google-Smtp-Source: AMrXdXuV8RUSDM8m6MxHCFsQnLQS40N+S0HppEltYXFbQwPTqUdNN3oOMw7VOquqh5kx7s2pUK8L X-Received: by 2002:a17:906:e2d3:b0:7c0:deb3:596a with SMTP id gr19-20020a170906e2d300b007c0deb3596amr5314352ejb.70.1671716162822; Thu, 22 Dec 2022 05:36:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671716162; cv=none; d=google.com; s=arc-20160816; b=RdgdbWTTUKlXSEnVgfgp8dQ1EWpP8R/+2wCixloEtbigQOMsi07goNGSuA6Z3vMFat ZMU5kbGeXplXcQS2fuq3epB/75k/BLdlFzMHqFZkPh90xXWySfxIb5etnb+D/WGffOju 7TvUX3MWOxAaOkaCF6z+lnK7rgKh/8asU7e37GgYHKNbWIW7X/LixX52gg/XtOY1up3K 3y4UA3FmnNSYOid5ar/no9y8a8H80zt34vlcZs9kxaVj1NCApJ6hvS8W7p+OSdpB6EE3 BqRzHqScAg0/inT9p5SGvxo8rSa88sgBukvxkVMNCIu97MLKBvqqtZdUKD5NxIZL+bGy Hn/g== 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=jOniKrb0GQ9WjhoUQcWo7o7ITGbjHRsfNlny869TuiA=; b=YOsNqTIicQbNzPVbs1qurtjoAFkhf2EFXR2mU975FVMQde4xJZE+gDmgS6W+3AloLb 4lBL8EoEqBQd0SlS4QVMEwJB8fRckbeTY5cUsg6VSjZdZQnJOA+jZMJlpLB8PMC1tlHg GsrxirddY1q7yjkWw2uwO9/xyf8XAB442218gtQy2T1UszOmbBOLaqLtmDZNkwaSUuBh chlCAfstOZxO3Xbr32F6CP60sPOlFfjD2TH5OmyH65OzLLa371LC0HBp3O8d9u0/S2G6 8qNfzoTjOAFTjh8UAwFyeUvSveX+eStD3a/ZUnnkY/M+8NsDMwqkn7f0047lnX83cOIy q4Uw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RXfCUc6D; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id wt12-20020a170906ee8c00b007c0d4f96d8esi450994ejb.566.2022.12.22.05.35.47; Thu, 22 Dec 2022 05:36:02 -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=RXfCUc6D; 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 S235350AbiLVNby (ORCPT + 67 others); Thu, 22 Dec 2022 08:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229566AbiLVNbs (ORCPT ); Thu, 22 Dec 2022 08:31:48 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FD9A14D38 for ; Thu, 22 Dec 2022 05:31:47 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id d82so1212458pfd.11 for ; Thu, 22 Dec 2022 05:31:47 -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=jOniKrb0GQ9WjhoUQcWo7o7ITGbjHRsfNlny869TuiA=; b=RXfCUc6DuscK6pSxe4TWf7ROX9vnBY/mOBG8/W2FUvubLqbhzjVOE3w/Hf6dXzf8gh IkhVVvyKBH3hEhzV0bTP+hgPrXzgs4uUUnpdTjeBKY6BQRbkDWcvGqyAQCHRa/0xtUgx mwAoA30aOtXjknVTCEVlt22ks/lj6ule3aPYzWYon0qjYDxjY2pgTVOcwpStvlibqdHk QXlyOfIrhAwFBG+Ms7WL8WDih0el88qT7UFslSFORnuJ8ycSfZJede76gZoOuB9COoud F9sghyxBYljYN7xJZIEfN8dDdvxJEI88GK6P3bZYiN1lW3i6UPcBWQgc3Gk9TC5CJh4R W/gA== 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=jOniKrb0GQ9WjhoUQcWo7o7ITGbjHRsfNlny869TuiA=; b=F/XOiCQGUyGE78mAvq/OdfX6OqTn3TXzlGPc96UIVdpk6VjB3q5DFzOxw7mS59Tnmu lA2XtnkVLR4DVETtSu2YmYl756lSXbdB/hfT96n3KfhLEQYu9YqQ5blbs+aoImwkLcSS dPUEd+ZpqpaDwBTESeFe1CVq6UI+PJl+V9fS1iXzbQ5TBpGQi8Tdm6SNZ6yag9MaK7tX wLLVxBaupHFwon3UjdonQkurxvOblPMczu8v8+MTCC68QsOJMUXgiA17yF3jpltq8S5A qKxPFP50Ds0mhOcsKF+af5RD+GDJw8HpkhqfNQElZqkwGlDYX780MCL9pn9qp/oJTBHl YJCw== X-Gm-Message-State: AFqh2krjwdVW0+RPH69vLP0b0XT5zp1j2hXDApNEn/CxrVMgYv/M5Euj eBKfydV3URhvFssczCCZymld X-Received: by 2002:a05:6a00:13a4:b0:57f:f7a4:511a with SMTP id t36-20020a056a0013a400b0057ff7a4511amr8553345pfg.2.1671715906971; Thu, 22 Dec 2022 05:31:46 -0800 (PST) Received: from localhost.localdomain ([117.217.177.99]) by smtp.gmail.com with ESMTPSA id f66-20020a623845000000b00573a9d13e9esm737467pfa.36.2022.12.22.05.31.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 05:31:46 -0800 (PST) From: Manivannan Sadhasivam To: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org Cc: bhelgaas@google.com, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: [PATCH v2 2/3] dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties Date: Thu, 22 Dec 2022 19:01:22 +0530 Message-Id: <20221222133123.50676-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221222133123.50676-1-manivannan.sadhasivam@linaro.org> References: <20221222133123.50676-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 The Qcom PCIe controller is capable of using either internal MSI controller or the external GIC-ITS for receiving the MSIs from endpoint devices. Currently, the binding only documents the internal MSI implementation. Let's document the GIC-ITS imeplementation by making use of msi-map and msi-map-mask properties. Only one of the implementation should be used at a time. Signed-off-by: Manivannan Sadhasivam --- Documentation/devicetree/bindings/pci/qcom,pcie.yaml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml index 02450fb26bb9..10fec6a7abfc 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -104,14 +104,20 @@ required: - compatible - reg - reg-names - - interrupts - - interrupt-names - - "#interrupt-cells" - interrupt-map-mask - interrupt-map - clocks - clock-names +oneOf: + - required: + - interrupts + - interrupt-names + - "#interrupt-cells" + - required: + - msi-map + - msi-map-mask + allOf: - $ref: /schemas/pci/pci-bus.yaml# - if: -- 2.25.1