Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7437607rwl; Fri, 30 Dec 2022 08:27:14 -0800 (PST) X-Google-Smtp-Source: AMrXdXtV5uqHbZQ3ErwkGzrVbLI41RXZLkxMWhtqvv2A6fDAU0P/JzOR6aM/ly2GVgoKvOAo0bQS X-Received: by 2002:a05:6a20:42a0:b0:a5:6e3d:1055 with SMTP id o32-20020a056a2042a000b000a56e3d1055mr52134847pzj.16.1672417634605; Fri, 30 Dec 2022 08:27:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672417634; cv=none; d=google.com; s=arc-20160816; b=pTjg/07x9+wgklsGqXoHaFdV6fWCrnRW91mamF578t6O4j2zTGHzF+Ab3bjHlqwZOF eAVlWzL18ENENTTUcLRVQrx3RaqJR6kzUs+sqt4kydAZzYlXhB0aGuxMf5G1pYa/m+sp L/IINwpzZf+A+gY9LuBT85LyAQA8i5g1vIUQaDsS019g8hgr+JF/9zf8qPa+TdPE16VW xZFyUhM0cqcG7LkmEvpStnUbrxWybvI4RVUzL7tvSIv/IUduC4m/HGsgZo/haprlNfZx b3rucmRZZpjRSJmN1H597GzNvReES2gcbrvRFqw6R+F9IaZYsGzyNyomXw2DQQ5V4J83 0LiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mq1i6IJKC9SBw8qgCPS2Ci15ZV0GAkSOd/GuxAx7Ca8=; b=RmR4JJ65mFkTj/87n1789SiZpQyhvD4uORDejkdX9E4XvNWojRWSaAcm5ysO4FGG9H v3Had1kedzSK2RrD3ULKTzGlfZ9K+qMCmNSagjqMZTNKUFmMvz97J7mg8kKfpkPD4dyF OrvKKudAFX/rx3OnhgHSxk+T+MMdzLjHyIGZvDFMh1mqyfthKY9yE3c2poPRiFd4mpo/ ya8sZyOaklFayYreF3F6eE4sBZ72UuUcCastEY0iuVoH3VGrnFMgtn24wjMGskMj+M+z 6tavMSf6adYk1oh58AxMGrh3dsFLMLLIzoJFtbP99ZgFOjAtFPE+FMGdTynbLESeqBaQ Rehw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QcruFRIU; 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 b20-20020a6567d4000000b004827ef5f0casi6013007pgs.367.2022.12.30.08.27.06; Fri, 30 Dec 2022 08:27:14 -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=@kernel.org header.s=k20201202 header.b=QcruFRIU; 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 S235075AbiL3PqM (ORCPT + 63 others); Fri, 30 Dec 2022 10:46:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229527AbiL3PqL (ORCPT ); Fri, 30 Dec 2022 10:46:11 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67A3D1B9EF; Fri, 30 Dec 2022 07:46:10 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 1CF68B81B92; Fri, 30 Dec 2022 15:46:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3EC7CC433D2; Fri, 30 Dec 2022 15:46:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672415167; bh=2AVHoufg330kW2hssR4nmveKmkX70vDH6IXBOdzJ9fU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QcruFRIUZkPRQHPXbnqaHB82Mo/IXsBbr1P+H1EZJz/ni784t42Bd6DF7dkcbXJrQ TpsU56Gff/NaVrtVvp234kLyCnZUHJGZcxKiVS7u+658/DHm2k07WG/fc+hWDbcSt6 hG0huUfXoB9n/CuvFXE51jeuIykxhJyJeu3bujuNg3TJ932sk9GqA8+qi5VTfvgV+z nRmVooB6q5CvZbZQ2YpCuU7n3LYbqRPepCfH60y2da18RyS4aubs+jAQPpH2gC/H6L HNPcx76oaWPdWurtRnaCkHC0rFMtSin6nXmPBpE86Xm80SDKbYNHS5GLNDxlwvHi1q Egi7clqxVyIdg== Date: Fri, 30 Dec 2022 16:46:01 +0100 From: Lorenzo Pieralisi To: Manivannan Sadhasivam Cc: andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, 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 Subject: Re: [PATCH v2 2/3] dt-bindings: PCI: qcom: Document msi-map and msi-map-mask properties Message-ID: References: <20221222133123.50676-1-manivannan.sadhasivam@linaro.org> <20221222133123.50676-3-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221222133123.50676-3-manivannan.sadhasivam@linaro.org> X-Spam-Status: No, score=-7.1 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 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 On Thu, Dec 22, 2022 at 07:01:22PM +0530, Manivannan Sadhasivam wrote: > The Qcom PCIe controller is capable of using either internal MSI controller > or the external GIC-ITS for receiving the MSIs from endpoint devices. "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 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 >