From patchwork Mon Jan 2 10:58:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 38089 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4109493wrt; Mon, 2 Jan 2023 03:02:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXv6hsDb4DmUmkCLoizRY947A61ACAX9KmFq7vQxQSpXzRHef/7gaAsYvPtQVAvz0oFKR+qS X-Received: by 2002:a17:906:d216:b0:7ae:ccf3:7be5 with SMTP id w22-20020a170906d21600b007aeccf37be5mr45393411ejz.32.1672657340846; Mon, 02 Jan 2023 03:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672657340; cv=none; d=google.com; s=arc-20160816; b=l/SY+GwwSg2rlBMt9BAQAcL5FQi4Sqvir1yq8G85iIIrTl9Cksk00Yxeh3w+hEMktO MJ2oWA1LGPuzYONGz2CiWeri8yRIh5OhJ9TS+XU6kHLnVh+UOjBpOJ+3nnZw4VCjAYLd CXVqoOtgzEN4G1gqa36LAH5EfFCzbE7cWhM644qadV8AuqU1X2JgfCUHq8uug6l8UTcG fgUjcv+o5ZlFP6jrLETd5KCUhGUWxbOaBiPiommKGqHUyU1t6zvywru0/xscPrVD4yUP Jqkv4kvgOu2vzmvll8TAj3omZm29TySFgU1i5VijyGl7DXGJycTmv7UmX7R9xUzQLF9x 0+6w== 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=aPXQEziYyJgrkEttV4nV18ITm8GK1OMkVvR6V9u1w4Q=; b=ns7CZcrKtGxRLEATvZrDKVtpjYztjAsjHkvthAJnFhmNpV0t6nGc96VfF7E6a1lqQs PPlc3dtN4S7qhFiwsQ+njFVnMZIVreZGbqvAbiTUtuDK6AkP72FEJf/prFsMeOl3q1JB RtfOb/aY+w9KtLWobFOJlDRaczfPwelL4pAAuGTsjHX7vJek5xWLLvPhmWTHdtdaoVWE RY8oZCcKko5ArWQN5GhrC/2nXcAKUkwlmZr9nUDuYzJFY7yLVSH4RipmhPUzAVnNS2SX HMaVq80+WJmm7bVfLeT5mYraNxQkxXVqmUyL1uh0KQXvKioEyZg36pSWPYoePTIw2mVs 9Ong== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kyyra2mE; 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 xh12-20020a170906da8c00b00787b9cd2fe3si23823493ejb.844.2023.01.02.03.01.57; Mon, 02 Jan 2023 03:02:20 -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=kyyra2mE; 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 S232682AbjABK7M (ORCPT + 99 others); Mon, 2 Jan 2023 05:59:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232699AbjABK7D (ORCPT ); Mon, 2 Jan 2023 05:59:03 -0500 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4DD52B1D for ; Mon, 2 Jan 2023 02:59:03 -0800 (PST) Received: by mail-pg1-x532.google.com with SMTP id 36so18110376pgp.10 for ; Mon, 02 Jan 2023 02:59:03 -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=aPXQEziYyJgrkEttV4nV18ITm8GK1OMkVvR6V9u1w4Q=; b=kyyra2mEwzPYdU41a+cqvpIT1rAI6Jd+vrzM5Iu3EcnOOxMvQIEUj7SGwoPPFXm+Z1 JVd/rDduPc/JrFPj8nAEfxfmtd19JACSy4I7bSxDfHl+Gnxhsw0RDdcnGMNActIQoQSx g7sCtQ481cZMXFXcU2ibbLbplX17YHpBgnGiLphmDm5Dz0rlo2Kp8jLWvS+lhqY0XQJW Ca4fkuXfWPxFZCwbjQLuQ1Yh9E0n4JTLsjSMkaVpqBv3Dugo3BCE2BRNjmCztpLvuTMY RAExRyqaHB+sneSvHASZgF1Tzw8WJ77AMl6gv7gFHqurvWjj760Ik8f1Ihb2/lx1yx6x Er5w== 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=aPXQEziYyJgrkEttV4nV18ITm8GK1OMkVvR6V9u1w4Q=; b=LYHC2DzcBhPi8mdsjomvPk+IV0fxAVXL7vq67KvH1CFyvGSLyAklFdUmMccDK8gBxv FRM6asiugTVgcsXh3sFtEShC6MyqjyPApTWklV5IwHVn/mWWlLiPcTZNP7UbcHgEVTg6 +Y4/RY1xxczfsQhK9KqSQaMFezMQaeUA7G0sxvmCHnhT7zt3uwoJuUW1HCA6IUvQgCJx HlJv1ReBWRx0sNBVSa+X3cM1yqKzf0W/nolWokEQSfyHOAwVgqBCCdqzshRdWYOkvsJ9 ryti8cyTeAc5NoxXellvlnFnBuWom1DnS6IrCEIFI48qTPWZvmVuB4Sp+9mdwTYxcMLE awmw== X-Gm-Message-State: AFqh2kr8ssoI14L51HXPYVU6qymFVDJgvyvS1RnJvFps10rcwvzg4VIj 02EvTCRwpCOGjkVPPG0WpC+2 X-Received: by 2002:a62:18d1:0:b0:580:ea08:527a with SMTP id 200-20020a6218d1000000b00580ea08527amr31750436pfy.30.1672657142973; Mon, 02 Jan 2023 02:59:02 -0800 (PST) Received: from localhost.localdomain ([220.158.158.187]) by smtp.gmail.com with ESMTPSA id k26-20020aa79d1a000000b0058130f1eca1sm12756773pfp.182.2023.01.02.02.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 02:59:02 -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, lpieralisi@kernel.org, Manivannan Sadhasivam Subject: [PATCH v3 2/3] dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties Date: Mon, 2 Jan 2023 16:28:20 +0530 Message-Id: <20230102105821.28243-3-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230102105821.28243-1-manivannan.sadhasivam@linaro.org> References: <20230102105821.28243-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_PASS autolearn=no 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?1753908343670659258?= X-GMAIL-MSGID: =?utf-8?q?1753908343670659258?= The Qcom PCIe controller is capable of using either internal MSI controller or the external GIC-ITS for signaling MSIs sent by 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 a3639920fcbb..01208450e05c 100644 --- a/Documentation/devicetree/bindings/pci/qcom,pcie.yaml +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.yaml @@ -114,14 +114,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: