Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3396276pxu; Mon, 30 Nov 2020 02:03:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyUIGQCmCX3jKx2PRkSwB127za7tzNVkZ5hs1kfZ3tlv6k4AN4YIqjRROWZ/eEvigrTLKH X-Received: by 2002:aa7:cfcd:: with SMTP id r13mr21010540edy.63.1606730601055; Mon, 30 Nov 2020 02:03:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606730601; cv=none; d=google.com; s=arc-20160816; b=ysa1CowU8relImyKedWuGRKbjJrmisoP8SVavpBX6vl3afVhI/EmZyphxhyszgoU7i 7R9ybWTiNXRWf6sF2t3Ylp1CUPHK3Xict+Lriv4jpMzn6/gEjPcjb2JVkcX4i2vk5R66 Cj0o0XE1EbEqaIkGWziQlWQtoThnf08UBtF6aFJuHfuo8uhnXreqhKbC0+TdWAfonKx5 Vo/HFYmIHH5FQBZIo412nxnNh6q6exYu2QvDZGNITWZCd0UjWdayS2JHnkMToJrwKp3L ShC1vswVFupszd6FJGc6l1WUI0/bSMD2Z/kyxJOMko8e4IhwswLjYDidCDmVXOwTPXfk oJ8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=QrQ+mZLjBbK5DfqffZ8lKAuOuSmxsWOhRa4QsJYuQNQ=; b=uOWhZhkI6A8aKoRV2lOBno2BSQBgr5kYDjCssnOMJp4lr1y1j2Q3KJ/yXRy3BC8xhs X4bP8E8BTUCIrrnRI5E/bsMS5jsVvL77josvsedOlGdSM0CElqJQtR4jbVzP2KDuEIgX /f9GEv3ZCQ61AIWY7ZYUsFuby+8SVXha1s+e8UGglLTSAz4SUlbvaAA5iRZ/K6Q0Pb2U avjpjd2T1QtAqEiBcMQ20bdjp6dzErTO6q1moYCjFM7Wjmw+XOEAZ8Rdq0rqUJmRfgoM Nd6MwmJZa+bdu2dTvQfaoM3J2tqc8jUisJbmxsvySixkTtELPiNixmnl8Dj4NN/ah3W9 WwMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KOmbDFxv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me13si96691ejb.582.2020.11.30.02.02.56; Mon, 30 Nov 2020 02:03:21 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KOmbDFxv; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727818AbgK3KBj (ORCPT + 99 others); Mon, 30 Nov 2020 05:01:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727105AbgK3KBi (ORCPT ); Mon, 30 Nov 2020 05:01:38 -0500 Received: from mail-yb1-xb2e.google.com (mail-yb1-xb2e.google.com [IPv6:2607:f8b0:4864:20::b2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A873DC0613CF; Mon, 30 Nov 2020 02:00:52 -0800 (PST) Received: by mail-yb1-xb2e.google.com with SMTP id k65so10837645ybk.5; Mon, 30 Nov 2020 02:00:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QrQ+mZLjBbK5DfqffZ8lKAuOuSmxsWOhRa4QsJYuQNQ=; b=KOmbDFxv6rRfxOSmRwVz8ObJsjew+jHH+QNOlpQ1EcRNTsU3er994tuWTiKuxWOovG OvMc35By63krOaFSQ03CG/UgbL4TrRHnuK/5+3ylFKnj+HSHKA31aVt6B2Ri3uMxiYj3 ofe46GQS80MDXiZvNuOzlbcChBMqPX40yMCZydEN6Mmb5wX7a/TFO0y6UJ4wNWPenjaE LNvDMM708mc1xbcVmLTh1QHu+XUI34WF4R8LmkqwpJiL5uLnkjtKB5CYIv1hgOI/GoII Z2b+92YNNvJ29u67E69/232EwU5IG6LsyLZtqa8IIcXJdWa4L+pSqKyTpEP9UUbYZQB+ +lzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QrQ+mZLjBbK5DfqffZ8lKAuOuSmxsWOhRa4QsJYuQNQ=; b=UAk7h7UaRtAI1jcHPn10z33pqx4L/AgCuC8p0ohCcBdh2PJAUubT3MFudkBV7La7GS 0zdchPCMg5+PVZnOe9Mg1IYKL+y8xQYfN6/s/YGCP3jmHeGvb/SG9d4DF+9xnbn3qqP1 H5TU4hpjcikP5STyvcaZxtTJFMKtqaLPI92UjRqMlcqIjOe51UKsHr4V2NqwmpGrl8CH OOvo6JKEfZTFZrxRKYfUT39pFKeeXcGG01jBcWnHipQU78bLDqPX7RJKnpvjJxfU3Tv7 7nLVcnPJBPZw08NihqvxCllKXwC0APItn4hrAX1kYvhU/XZGsTlu4CruXFVn+sQdDhex 8gig== X-Gm-Message-State: AOAM5317btFsr/T4ULzDrvMal6SBt6FdQ6FmWgbqv6dYK87BADCxH3A2 JWmE7u/KnKb/X9zu2euJ2qZNZb91I5baR6uDaKw= X-Received: by 2002:a25:e00b:: with SMTP id x11mr26929848ybg.518.1606730451965; Mon, 30 Nov 2020 02:00:51 -0800 (PST) MIME-Version: 1.0 References: <20201126115927.4089838-1-geert@linux-m68k.org> In-Reply-To: <20201126115927.4089838-1-geert@linux-m68k.org> From: "Lad, Prabhakar" Date: Mon, 30 Nov 2020 10:00:26 +0000 Message-ID: Subject: Re: [PATCH/RFC] dt-bindings: pci: rcar-pci-ep: Document missing interrupts property To: Geert Uytterhoeven Cc: Lad Prabhakar , Yoshihiro Shimoda , Rob Herring , Bjorn Helgaas , Marek Vasut , linux-pci , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Geert, Thank you for the patch. On Thu, Nov 26, 2020 at 2:21 PM Geert Uytterhoeven wrote: > > 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(+) > Reviewed-by: Lad Prabhakar Cheers, Prabhakar > 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 >