Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7461016rwp; Tue, 18 Jul 2023 16:06:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlFVY0ueVrHjjZ5ETL95FRQhkLBYSQk0t2Vw8A1+Alti8FweFvjoMwd/141p2Yov0NEAWgCv X-Received: by 2002:a2e:958b:0:b0:2b6:e96c:5414 with SMTP id w11-20020a2e958b000000b002b6e96c5414mr490183ljh.52.1689721602959; Tue, 18 Jul 2023 16:06:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689721602; cv=none; d=google.com; s=arc-20160816; b=b3DH6z53wdf1Uqovy4wfGY9kfBlxAksUwiEERpdo/G2X2DbgggYQv8IqfSXJUe98W2 /fWa8eqd/SeCYjB+jngwVKS85t5dMu4anPbYQ0BtiI0Tam/gfFfK8/K+Zy2YmdXcXtll rt7F6ddlHj6x1sE735SBqLUXVPLan72XF6UAOGjwWcuF6vkpPRgSe+POCCRP3iDFIsv9 xr5pc6Dydzf2/biiv1WvHb0Enpw6Ys9xoElMdRGx9W3DOZLznEt4LcVhO1tKKRo421LE sJI6AO6d910HUspgFTEKcShES2Wgwo8q5MOnoI1uQJ1GMMdA5bkVUXxUcbjVMoCEtiAa SvfA== 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=uEGocqyhGxe+kLyBaTSQh0Fz6MPrGgnCOCfLp4gY8Ug=; fh=IUX22+CJXPv7QAymP84iTG2FGDPZgOP12QiLIvaZafM=; b=AAPPO2HtajS/WVNqYFWB2FrYICAg2fGrCAEWJEe32+KfYDT4gpNSMYj4TbMJ6Xqow3 hj2uRw97yNQf+EWIBVc4d2J2H8s/b4FSyaGd5PSyr8jgmQpriPeSujDQYPYUZ6nJ2TJA uYmOis01h9X5FpzkR++ZC9tqiDLawlA1PvkUCcamNRJPAHLaqpd1v5UZ/vYXYMfNcFog W4YXmpbMFfEYiBB6jDURbTUyekrZT2T08J0q4pwpujQNJx6KZYQioxYpTW8ulIWIOyr1 9PKAJWbGMWRs7EIIhyzOOAnxcp5xMAKzM0hM2AtPwEUTtezzVHIAaPnfx8WfT3G22tN2 CtfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Y4ZhtFF+; 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 v22-20020a1709061dd600b00992acf124adsi1670719ejh.924.2023.07.18.16.06.18; Tue, 18 Jul 2023 16:06:42 -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=Y4ZhtFF+; 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 S229802AbjGRWlV (ORCPT + 99 others); Tue, 18 Jul 2023 18:41:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjGRWlU (ORCPT ); Tue, 18 Jul 2023 18:41:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17EF91992; Tue, 18 Jul 2023 15:41:20 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9F9286126C; Tue, 18 Jul 2023 22:41:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 36781C433C7; Tue, 18 Jul 2023 22:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689720079; bh=Pdv6QIpn8FQCnZstZsZ0RQR6Zm2Buc8EqGmX8Albn5c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y4ZhtFF+qm9hkGQO5cHMDfNftjPP3amO9/hgnzAsDWjOzavM8ZMHPBgbvKrvfwcv0 4XpAAAPGc1euY9kxCb+2l9kDernTG4hRMoEd3zdGwqpGV8LsSAfBYOkVcGBbnKCxOD u6x70PlWdU2JDqBb+rmulxRPCmLEx3QsYXXn/K+UhKoAbkQXVBPqNrAcpwTXaaAoPM SKVmXf0oUhy2F+2YWFheKBWuPPtSf3rxtSY+bN79+GFOZYF+yxyn5bnUs62z99/4Jc tk15R5bytpam1HqZykgT+eLSsG54NSs388IDZbPiFR8V5+E1wuon/uORgX25FBXLYi 1XL4Eag4y10JQ== Received: (nullmailer pid 2143349 invoked by uid 1000); Tue, 18 Jul 2023 22:41:16 -0000 Date: Tue, 18 Jul 2023 16:41:16 -0600 From: Rob Herring To: Sebastian Reichel Cc: linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, Serge Semin , Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Shawn Lin , Simon Xue , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: Re: [PATCH v3 1/5] dt-bindings: PCI: dwc: improve msi handling Message-ID: <20230718224116.GA2142638-robh@kernel.org> References: <20230717172651.64324-1-sebastian.reichel@collabora.com> <20230717172651.64324-2-sebastian.reichel@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230717172651.64324-2-sebastian.reichel@collabora.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 On Mon, Jul 17, 2023 at 07:26:47PM +0200, Sebastian Reichel wrote: > Allow missing "msi" interrupt, iff the node has a "msi-map" property. > > Signed-off-by: Sebastian Reichel > --- > .../devicetree/bindings/pci/snps,dw-pcie.yaml | 12 +++++++++--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > index 1a83f0f65f19..abc1bcef13ec 100644 > --- a/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > +++ b/Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml > @@ -25,6 +25,15 @@ select: > allOf: > - $ref: /schemas/pci/pci-bus.yaml# > - $ref: /schemas/pci/snps,dw-pcie-common.yaml# > + - if: > + not: > + required: > + - msi-map > + then: > + properties: > + interrupt-names: > + contains: > + const: "msi" Don't need quotes. > > properties: > reg: > @@ -193,9 +202,6 @@ properties: > oneOf: > - description: See native "app" IRQ for details > enum: [ intr ] > - allOf: > - - contains: > - const: msi > > additionalProperties: true > > -- > 2.40.1 >