Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5888287rwp; Mon, 17 Jul 2023 11:01:58 -0700 (PDT) X-Google-Smtp-Source: APBJJlHXW5bBI2YzHIlJ4yc9CAq6zv/bNHU1nQcqzHZNIbw3QyWGo1Yq+UQeri2Ifqf8Ll4SMPzg X-Received: by 2002:a05:6402:38d:b0:51d:f589:9cbd with SMTP id o13-20020a056402038d00b0051df5899cbdmr11107443edv.39.1689616918604; Mon, 17 Jul 2023 11:01:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689616918; cv=none; d=google.com; s=arc-20160816; b=NzO14R6hrAcZk3um5hsUt33XA/w4+cAUZWSE1Wsq0+4F2v+T4PSFGiBYIUQR8Rhw7D GgKcQQO+51TIQhcsH5wfv0m7PhPEtvccimkVPyGYIAqsfjS7vcCCNQtawO1BfPuckvoo THaFxBX8Y2blQNpFJ28E5VHla/kW87kvnHfeo3gdTpR1ogbIGGcN88xa7uOYrfX9z+u6 GAKcTPFAIg9QGu9/gLdizwpDJBXGeXyBp1m853uDfHQfT3UN/r1jb0CqNNeQYajkrmy4 nIqY2VK3mAHQPzGPt+HnxC5OBmwcgSQ08Z5otxknLAEoqRgTrzjPGQ0t9a8Ack2//N6A WwYQ== 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=6VTnPH+662qXyottJQj7WkK8TH5GlV5TORVLs5Rb0lU=; fh=LfQCrBMaKEgbD0siDAPrEFK33OeuzJ3zXGk+5eD9ICw=; b=UZugJjkRPm4mcm8JyKiPEPoLdbHYCH7udG8kaYnq8IMjEovwEXzzsXF9IqzYEqE87G 1VfMaJWU4k2Mot5hOwqW95rWGAgKFrtAFiyQXM1RcerHokqNfL8Wt5ZsDJ4nlKJQTFCt NGOSvQE8i+mqkMXnHB7YH9f/l4P5DfNidI7pHC0YnhwEytUbZ0uODXfAL1uDkL2gdm1X zzPVMX/2Oy69wg6xpKLLmh7GMeGsm5p24aTPXg6I28otImBXgK/qFfO4lyuP5Z8hRbkg 539ZjbaqJhZ4lTGBqQKr5QGhxspEp2Vb0UGmoqHMemOUIu/5ANAZYuYCiS2ZmYobu/e8 Ln8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=gBd2jq4J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r13-20020aa7d58d000000b0051f493e176bsi12970404edq.514.2023.07.17.11.01.33; Mon, 17 Jul 2023 11:01:58 -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=@collabora.com header.s=mail header.b=gBd2jq4J; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231268AbjGQR1W (ORCPT + 99 others); Mon, 17 Jul 2023 13:27:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230019AbjGQR1D (ORCPT ); Mon, 17 Jul 2023 13:27:03 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C42DBD; Mon, 17 Jul 2023 10:26:57 -0700 (PDT) Received: from jupiter.universe (dyndsl-091-248-189-171.ewe-ip-backbone.de [91.248.189.171]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sre) by madras.collabora.co.uk (Postfix) with ESMTPSA id C95EC66028F5; Mon, 17 Jul 2023 18:26:55 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1689614815; bh=E9QpBFx3OjWlRLEoFnsSGJDKU0c7IinxD+9ybLulYfM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gBd2jq4JHb9CE+ya1XOhEhR8MKtURZmk5lB5peFJDBeh0wOKk17+kgS9Nm7+Hhgcu qOh5mOdHVwJqaRFRLPSb2mtpgUa+weZKMTIfWhfBBUMJL1KX4zqgXU+i8nqP4Ys4ZA YqZ6FfDfHgAG8X+lXT+iuq+YzVtnzqGIfVVtZur9+umaXpmzUAAMSJ0oVdd/n7vcnn mlCT5fMjyhVTy91uj1/5o/yi1XBcgko8OTZSzbQSWmaBNERCxbnaTt6Ea5+4Xhrsvb QP69NWwHMMo1j1VpSErayFf4O6ZrLxo9WHyDL2CyiGpkf1/nBS++clnJnMr8ehOU7a b7jOZmADZrYiw== Received: by jupiter.universe (Postfix, from userid 1000) id 19AC7480C77; Mon, 17 Jul 2023 19:26:53 +0200 (CEST) From: Sebastian Reichel To: linux-pci@vger.kernel.org, linux-rockchip@lists.infradead.org, Serge Semin Cc: Jingoo Han , Gustavo Pimentel , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , 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, Sebastian Reichel , kernel@collabora.com Subject: [PATCH v3 1/5] dt-bindings: PCI: dwc: improve msi handling Date: Mon, 17 Jul 2023 19:26:47 +0200 Message-Id: <20230717172651.64324-2-sebastian.reichel@collabora.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230717172651.64324-1-sebastian.reichel@collabora.com> References: <20230717172651.64324-1-sebastian.reichel@collabora.com> 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_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 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" 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