Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp421061rdb; Fri, 8 Sep 2023 05:12:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFzc6THm3/Rxv0dJVfIUpMxGyzpcOxXPWikRgAejtgLpUTx7bk95lN+dujlWb1clcA9QxpJ X-Received: by 2002:a2e:8506:0:b0:2bc:f41a:d9c6 with SMTP id j6-20020a2e8506000000b002bcf41ad9c6mr1678071lji.0.1694175146207; Fri, 08 Sep 2023 05:12:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694175146; cv=none; d=google.com; s=arc-20160816; b=MruabJlgFLMyeyCAYKF4HPbLGc5cmTv6hal6OjBUZWV5dh5AGHBUf0HH6Mg0bWjxbO RMbghGz4Zd1bRieUWJUuIE4MtS2qgGjuy0BX2/C3vDEB4q6948ApLq0wxnOBuk/14lZ1 q1cSyNVCk4zKI1OHlRwZincx3T2fWvjETxQ49EBNtRZ7anrgl/lEbyzGQpH8K+4eAzAB cVCWhnV4Z4f3aGTXN8CSwVuOjN/zSPHpYofn208Owe+DGg8XW7WQLbRAmvwP/58aYKHU +aKfx2NDfVyDd143C2ATYC/76ELFmQRxVMz53ysEHjW7tX0tyGYLouFQPVs+gqkda908 jZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=3poYFOkUskFIxIDSNTJDHKbBDZsl3LnZlcY2Y6Rgi5E=; fh=SgwX4S9b/TMvgjZP9hlucHeqVDoYwLFT6+lwtCvE0iY=; b=A/3r9uTxy65c2b0Z/gzDOGECw2geBHpkVkNIB1gS9qxLZUcylRkgvZupApue72sSY+ vdxWpzTMHkFrU728BsY85UJEVBreGAvmhettTDXTT5coG7gmtZQNVZnQ+E6o2vwm29pG 8gJjLimsVyBSLqml4RnaM0kKftP/BOsWK6bon5m9V+CyzXEcdsYdb28RKKI6oYa8RdF0 xiLjPREZqCkY9b9E/Nc9lUGahDvI9/AoyQcpBrslk6RYMUApMd7SqQRMIFNzOOIAnSY0 nISE+j86I8j0klrOrybQL6YHXT2QtKk+4LgvkuFbvNnh8ryQ6hws2DeI6RMCDdVn1AG5 f9DQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rl23-20020a170907217700b00991e694a0a2si1114867ejb.240.2023.09.08.05.11.55; Fri, 08 Sep 2023 05:12:26 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239662AbjIHJbz convert rfc822-to-8bit (ORCPT + 99 others); Fri, 8 Sep 2023 05:31:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229644AbjIHJbw (ORCPT ); Fri, 8 Sep 2023 05:31:52 -0400 Received: from mail-yw1-f172.google.com (mail-yw1-f172.google.com [209.85.128.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B0311B; Fri, 8 Sep 2023 02:31:48 -0700 (PDT) Received: by mail-yw1-f172.google.com with SMTP id 00721157ae682-58dce1f42d6so41465407b3.0; Fri, 08 Sep 2023 02:31:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694165508; x=1694770308; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7In3jR24QqYcvy6RjXqyS7E+iqbgjrxBTgClw17SH70=; b=nq2dorLvSPIABtLMNGQWWjWNl8kZVvFj94DJccgDjfpvtPhuwZjXwCSdoJQoSCemgp Su/aZ5rh8ouIuHuLUheWzUmgIIzplbpnl8kQ0SxDiiaa4IjDP8R2gOY2m/kzHo4QHjBL 5RcKV+TZK5a6/bPesdD36CsXdGZ/3W4R4vjTwVeTTw4fm1ehL5+jV2V46e5ZDSBZwnqJ CQHQbsdzNeagz4uGUNxV2GSyfEMo0SVOmjL/zrGXWIq77stZ0eMdSj0B43r2jnS65Twh GE6CraDnDOjNey6NCUrU5p9SbIC6xuacpPJonvPM+ksBbViY/OgkIHxnV7i6hxJz80w+ tFdw== X-Gm-Message-State: AOJu0YwERo0Z3IpwXJ3yMc+0hqdRPoh92syQrQmk9YfKowxBhMUzBcy/ WuwD7Kgwjn6oYnJdKamJ0lLXb71KLbFhRric X-Received: by 2002:a25:ab26:0:b0:d7b:9b3c:7388 with SMTP id u35-20020a25ab26000000b00d7b9b3c7388mr2169078ybi.6.1694165507791; Fri, 08 Sep 2023 02:31:47 -0700 (PDT) Received: from mail-yb1-f174.google.com (mail-yb1-f174.google.com. [209.85.219.174]) by smtp.gmail.com with ESMTPSA id y18-20020a25bb92000000b00d7e08d9972asm281895ybg.11.2023.09.08.02.31.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 08 Sep 2023 02:31:47 -0700 (PDT) Received: by mail-yb1-f174.google.com with SMTP id 3f1490d57ef6-d7830c5b20aso2538422276.0; Fri, 08 Sep 2023 02:31:46 -0700 (PDT) X-Received: by 2002:a25:ad10:0:b0:d40:3069:b3b1 with SMTP id y16-20020a25ad10000000b00d403069b3b1mr5512491ybi.17.1694165506752; Fri, 08 Sep 2023 02:31:46 -0700 (PDT) MIME-Version: 1.0 References: <20220722151155.21100-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220722151155.21100-3-prabhakar.mahadev-lad.rj@bp.renesas.com> <8735eqdbav.wl-maz@kernel.org> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 8 Sep 2023 11:31:35 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v3 2/3] dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property To: Marc Zyngier Cc: Lad Prabhakar , Thomas Gleixner , Rob Herring , Krzysztof Kozlowski , Magnus Damm , Linux-Renesas , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Linux Kernel Mailing List , Prabhakar , Biju Das Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Marc, On Thu, Aug 11, 2022 at 4:50 PM Geert Uytterhoeven wrote: > On Sun, Jul 24, 2022 at 1:01 PM Marc Zyngier wrote: > > On Fri, 22 Jul 2022 16:11:54 +0100, > > Lad Prabhakar wrote: > > > > > > Update description for '#interrupt-cells' property to utilize the > > > RZG2L_{NMI,IRQX} for the first cell defined in the > > > include/dt-bindings/interrupt-controller/irqc-rzg2l.h file. > > > > > > Signed-off-by: Lad Prabhakar > > > --- > > > v3: > > > * New patch > > > > --- a/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml > > > +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,rzg2l-irqc.yaml > > > @@ -31,8 +31,9 @@ properties: > > > - const: renesas,rzg2l-irqc > > > > > > '#interrupt-cells': > > > - description: The first cell should contain external interrupt number (IRQ0-7) and the > > > - second cell is used to specify the flag. > > > + description: The first cell should contain a macro RZG2L_{NMI,IRQX} included in the > > > + include/dt-bindings/interrupt-controller/irqc-rzg2l.h and the second > > > + cell is used to specify the flag. > > > > I think a binding should be self describing, and not rely on an opaque > > macro. Mentioning that there is a macro that encodes it is fine, but > > the values are what matter, specially when considering that other OSs > > could (and should be able to) write their own DTs from scratch without > > depending on something that is very much Linux-specific. > > The macros are not Linux-specific, and are part of the bindings. > But the only hard dependency on > is the DT source file describing the board. > > Reviewed-by: Geert Uytterhoeven Looks like this fell through the cracks? The two other patches from this series were applied in v6.1. Note that the current DT bindings are incorrect, as they do not take into account that the value of zero is used to represent the NMI. Fixes: 96fed779d3d4cb3c ("dt-bindings: interrupt-controller: Add Renesas RZ/G2L Interrupt Controller") Should we resend instead? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds