Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1150637pxu; Fri, 27 Nov 2020 00:31:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe2072ZBWkwHoM6TWIZCDUNQyzxsTLt+2L++KbCw6mRx7Slzc9fxR5+tvl4W/9YiY9c4+p X-Received: by 2002:a50:e00f:: with SMTP id e15mr6605620edl.210.1606465888543; Fri, 27 Nov 2020 00:31:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606465888; cv=none; d=google.com; s=arc-20160816; b=uLnbJqyEFO6tsEy68It7JXAoTsnNPQUQ7BCa9cD5QZW5f1LzvAfR1NA/aSKf38Alzi 5HDks+dmhKEK8mRrNnLROvz1RIQm0CkV8F7OmdbYxHBr92fi4rZplFGXRuAjWBO3erK0 WRZMCSjk0Aeni6Yznsv/+FkgfCbO3e8rYx7cZkwXB0fqRukWpc73OJX3O4h7mFoU0rgz IuCmf7ZceqyGEZmf6j72D01ROnPzr/zDHhlipp0tcKD0N6kWT8/T1+6FS30pAOdqzsWX 0A3v06AcycQq61wnnjx5xoDdHCg8vvPtTUJw5isuA4IVET0X+jFm1YqCUddvxrJi5V0f BAhA== 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 :message-id:date:subject:cc:to:from; bh=KlBY9EBm90VSx2mo/FYG1+uN1Jzl0OePJEKhgUnbhJc=; b=tD0We9wMdTaPPLR6fLLLOveVW18uVTrWu59SREY+wmS7tYMO+aF5iEnbryhXGsKIJk 5QtWj0tgkLoqHbM8Fc9olKDx873vflbCUpLCr0eYJprLSr+3Lp+ki80gAmhxW30885eV nHWx0kG8FPNoQNELPVPKAjqcFhdKgRjUO5VNaZwy+5Ka7IsGkV1swrmD3rk75teWPgq0 hF1wQeN+vuI6b6UVNxYDarxfPBRKXbiTDxDY6Ga9GK7itfKTJZjteab3u3cyWBNEzZ4Y TJqorahA3NNNHoyFBeJFmRua+n1zVtM/8RkALGoNyB4BFGnlaP/Ij/n+vRPGZdolamQO cS1Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si5328574eju.565.2020.11.27.00.31.06; Fri, 27 Nov 2020 00:31:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390628AbgKZOUo (ORCPT + 99 others); Thu, 26 Nov 2020 09:20:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390340AbgKZOUn (ORCPT ); Thu, 26 Nov 2020 09:20:43 -0500 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8832FC061A54 for ; Thu, 26 Nov 2020 06:20:42 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by michel.telenet-ops.be with bizsmtp id x2Ld2300K4C55Sk062LdkG; Thu, 26 Nov 2020 15:20:38 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1kiI8T-005s37-6m; Thu, 26 Nov 2020 15:20:37 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1kiFvt-00H9xt-4v; Thu, 26 Nov 2020 12:59:29 +0100 From: Geert Uytterhoeven To: Lad Prabhakar , Yoshihiro Shimoda , Rob Herring , Bjorn Helgaas , Marek Vasut Cc: linux-pci@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH/RFC] dt-bindings: pci: rcar-pci-ep: Document missing interrupts property Date: Thu, 26 Nov 2020 12:59:27 +0100 Message-Id: <20201126115927.4089838-1-geert@linux-m68k.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The R-Car PCIe controller does not use interrupts when configured for endpoint mode, hence the bindings do not document the interrupt property. However, all DTS files provide interrupts properties, and thus fail to validate. Fix this by documenting the interrupts property. Fixes: 5be478f9c24fbdf8 ("dt-bindings: Another round of adding missing 'additionalProperties'") Fixes: 4c0f80920923f103 ("dt-bindings: PCI: rcar: Add bindings for R-Car PCIe endpoint controller") Signed-off-by: Geert Uytterhoeven --- Alternatively, the interrupts properties should be removed from the corresponding device nodes in the DTS files. Obviously they should be retained in the device nodes representing PCIe controllers configured in host mode, which describe the same hardware... --- Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml index fb97f4ea0e63682b..32a3b7665ff5473c 100644 --- a/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml +++ b/Documentation/devicetree/bindings/pci/rcar-pci-ep.yaml @@ -33,6 +33,10 @@ properties: - const: memory2 - const: memory3 + interrupts: + minItems: 3 + maxItems: 3 + power-domains: maxItems: 1 @@ -54,6 +58,7 @@ required: - compatible - reg - reg-names + - interrupts - resets - power-domains - clocks @@ -65,6 +70,7 @@ additionalProperties: false examples: - | #include + #include #include pcie0_ep: pcie-ep@fe000000 { @@ -76,6 +82,9 @@ examples: <0x30000000 0x8000000>, <0x38000000 0x8000000>; reg-names = "apb-base", "memory0", "memory1", "memory2", "memory3"; + interrupts = , + , + ; resets = <&cpg 319>; power-domains = <&sysc R8A774C0_PD_ALWAYS_ON>; clocks = <&cpg CPG_MOD 319>; -- 2.25.1