Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp260985iog; Fri, 24 Jun 2022 03:35:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1siiZm9ezLAW7o6R0bO/2N9uTs4NB4RlbuohOip6K/MXKWh4otkT+wElpRYL2dEuluK8Yg0 X-Received: by 2002:a17:906:7a54:b0:722:e8e3:ef60 with SMTP id i20-20020a1709067a5400b00722e8e3ef60mr12408734ejo.453.1656066904678; Fri, 24 Jun 2022 03:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656066904; cv=none; d=google.com; s=arc-20160816; b=dxFSzuKd8eGQe/vyXDMY0m5xfVrke+zJa0ihqTv4JMs0A93SoLiUPT7+cqBHCRqXuq aAWG30w8acYo8P9OZw/FacsRIL+pG8muWPBQuLgA4xU7e7A0WM7y9BGXQDTKi37wpO3q 9DUqLy8IMKKNNhoh5258BWBxsK/O5U2feUa08GqN4Zb8gqaLslxh4gJrxxLhobwSBpc9 43F4kgsYDKdbs0eGZT/T+szHVGSJ0C3zvf0EwJN+bZG2lCSYvwkbVDEbUFPK76mGKXv5 BcJm+O2hM02wVFW8iPHANSBQBNhhuDayPg8CPuNLlsa74caZYty0hmksqZGy7566uLdh i1pQ== 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=WIvuhv2O2LJCEA/cN0nPJqVqA1J4nPDoUe8QnZLZj2o=; b=GL+OhVcpIIdX9X43y5RiDZxHU6qDnUJFs/SFTr/NGhFKMO+3OI71Byg2h3p3R6Ah0Z dpuP2c81kFsVRRKbzfvgd33/PNHHCp2GKPYNIEt5ym3T8RKmEc79CckdPIBriXlWDK+k y8+cT1bf8vB4m1o8vyI2T25nPGheT/hbN7e+B05nLTs7hO1J2BqLaX3PVN/2zdpLWELT eesrbxkF7kW3KlQAJn5QnASh5V+DEc60gCnvBAsfAqci+7xxzOubZshNcxZ/MThr7HfF vappm6aO//UUgG2G0eY/Mos5lQONG3rMndXquINAjTxjveEc+UqbjrG1oqrEK7fExboV shLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=OanFfdyu; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qb7-20020a1709077e8700b00707aefb3cc2si2341638ejc.510.2022.06.24.03.34.39; Fri, 24 Jun 2022 03:35:04 -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=@gmail.com header.s=20210112 header.b=OanFfdyu; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230383AbiFXKBm (ORCPT + 99 others); Fri, 24 Jun 2022 06:01:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229872AbiFXKBk (ORCPT ); Fri, 24 Jun 2022 06:01:40 -0400 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF41B7A1A1; Fri, 24 Jun 2022 03:01:39 -0700 (PDT) Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-3178ea840easo19298757b3.13; Fri, 24 Jun 2022 03:01:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WIvuhv2O2LJCEA/cN0nPJqVqA1J4nPDoUe8QnZLZj2o=; b=OanFfdyuKWF/daWLttmMlN7K0lRksfwYbjOsxSKcHo34GCUcbPBriX5mcqX8lLgrog 8Ptx1jfKsJY0bB7uGBoWlYtGGu4nC1+GVlG/m0Pck2Wvm6Rwyadt01y+fUxnUdxodFD1 GFPSAjSKnKV0IluZSwSLEwFHrLFsclN6mGg4Aizheu7R29WvVsteR32S86H+xPZQ9IAk shfRsHsiL6cGYE+ydspOeHaia/esEdz46UL3kvYHPbc2cwzVlm7kc0sK6Zs7TNbihsNg FNr9gvBxhLU8gXS5OjhqS3rggnw91+1tg4pu5g9cYg3fyPGJsyU2DdhcDyD+zbSBn2+4 Nj7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WIvuhv2O2LJCEA/cN0nPJqVqA1J4nPDoUe8QnZLZj2o=; b=RhUkS6KrTw1Icy4UdsgBcJGErROmyLvynwbynSWU9RcewG2TpoV/CrXN+upet5kzsp PQuBnKWPFQ4iDwnGu1iIyRtJc9Q8m1MjTULcbgUUcj/AomDBl6YtdRQ7HrWh0PMN5/qw gr1l7YVZXLuFjcVmZC8ptO3v9kbakWhk+66YaDU/Kru6cN/G5Qbjnq2B5by0KuZ00THL gh9nMno4HmXxTa+glVxh+UY+Mgx7ugaSM/BCmLKR00Afne3AnF1DFy5zS/kk5yzYHYSG ep35dT5H8sc7t//LK1b/vYA2ZNDN/LOw8Z8W/wQuAuF/Rdg14aIbp9nkH9o2ecg9dwLR blcQ== X-Gm-Message-State: AJIora89i57912md6/aVtpiJx7UBUddXVOsiNFMvZIUwLSQqxkqK+A6u 4frNslTYk4CoKnRLwEgEJyHEVO+6ObICIufrOt0= X-Received: by 2002:a81:600a:0:b0:318:81bc:e928 with SMTP id u10-20020a81600a000000b0031881bce928mr6392488ywb.119.1656064898995; Fri, 24 Jun 2022 03:01:38 -0700 (PDT) MIME-Version: 1.0 References: <20220524172214.5104-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220524172214.5104-2-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: "Lad, Prabhakar" Date: Fri, 24 Jun 2022 11:01:12 +0100 Message-ID: Subject: Re: [PATCH RFC 1/2] dt-bindings: interrupt-controller: sifive,plic: Document Renesas RZ/Five SoC To: Geert Uytterhoeven Cc: Lad Prabhakar , Thomas Gleixner , Marc Zyngier , Rob Herring , Krzysztof Kozlowski , Palmer Dabbelt , Paul Walmsley , Sagar Kadam , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-riscv , Geert Uytterhoeven , Linux Kernel Mailing List , Linux-Renesas , Phil Edworthy , Biju Das Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Hi Geert, Thank you for the review. On Thu, Jun 9, 2022 at 10:42 AM Geert Uytterhoeven wrote: > > Hi Prabhakar, > > On Tue, May 24, 2022 at 7:22 PM Lad Prabhakar > wrote: > > Document Renesas RZ/Five (R9A07G043) SoC. > > > > Signed-off-by: Lad Prabhakar > > Thanks for your patch! > > > --- a/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > > +++ b/Documentation/devicetree/bindings/interrupt-controller/sifive,plic-1.0.0.yaml > > @@ -28,7 +28,10 @@ description: > > > > While the PLIC supports both edge-triggered and level-triggered interrupts, > > interrupt handlers are oblivious to this distinction and therefore it is not > > - specified in the PLIC device-tree binding. > > + specified in the PLIC device-tree binding for SiFive PLIC (and similar PLIC's), > > + but for the Renesas RZ/Five Soc (AX45MP AndesCore) which has NCEPLIC100 we need > > + to specify the interrupt type as the flow for EDGE interrupts is different > > + compared to LEVEL interrupts. > > > > While the RISC-V ISA doesn't specify a memory layout for the PLIC, the > > "sifive,plic-1.0.0" device is a concrete implementation of the PLIC that > > @@ -57,6 +60,7 @@ properties: > > - enum: > > - allwinner,sun20i-d1-plic > > - const: thead,c900-plic > > + - const: renesas-r9a07g043-plic > > renesas,r9a07g043-plic > Agreed. > > > > reg: > > maxItems: 1 > > @@ -64,8 +68,7 @@ properties: > > '#address-cells': > > const: 0 > > > > - '#interrupt-cells': > > - const: 1 > > + '#interrupt-cells': true > > > > interrupt-controller: true > > > > @@ -91,6 +94,35 @@ required: > > - interrupts-extended > > - riscv,ndev > > > > +if: > > + properties: > > + compatible: > > + contains: > > + const: renesas-r9a07g043-plic > > renesas,r9a07g043-plic > ditto. Cheers, Prabhakar