From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CBA8CCA489 for ; Fri, 22 Jul 2022 09:02:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233556AbiGVJCA (ORCPT ); Fri, 22 Jul 2022 05:02:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230409AbiGVJB6 (ORCPT ); Fri, 22 Jul 2022 05:01:58 -0400 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5FCA183B7; Fri, 22 Jul 2022 02:01:57 -0700 (PDT) Received: by mail-qk1-f170.google.com with SMTP id o1so3141668qkg.9; Fri, 22 Jul 2022 02:01:57 -0700 (PDT) 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=1DaHwUZ1RE1PYQHo6ho0JHLd5AyS1nGZAw53JopZtuc=; b=gHA/DliFBweURmf9WxF/3yy3xRmX+qMxuXci9T2veXS6XL0DUMI9tWE1mnhX4/hXXJ Hb1Clt6iam/PfK1M8VW9fllklNXOHmxycIUwcXBnnfq1wnC5FCWLuUNgm9UgS4mu7CPf 7FPs6icf5y7XJoqGS7iWvZ1mM135NJHjy6lNBQRNbv+Zu9pZkUFby69O3y3MfKvu6Rwt 6Zl0pJnnd7+3eKpaYxMGcyc0oUi0rWM8MtOA9GSy2is/m1yW1SE4EPp5DrwVipGb45qu HLcxCigPBQYss48dNiwJ40TmLRgZIA6gmm9IHSD9waQ3F+n/slae1OK0XIT5q9VB9N7u 071g== X-Gm-Message-State: AJIora+0cnkVKxpMVFowjaSBlbtpI/ErVNYzZWOdkZgGLpLqJ9AZbGhG LeGsxfbetuy6w4fPrLOQPNKVCMxZ7dEeQw== X-Google-Smtp-Source: AGRyM1vIPmi34jnrTC5KHNV4WLLQN9Y5oIVAthkOvkY0eQWfeys9E0ccahs5qzsO+RtZ+Dg3cMxhtA== X-Received: by 2002:a05:620a:bd4:b0:6ab:8874:4cdc with SMTP id s20-20020a05620a0bd400b006ab88744cdcmr1742339qki.415.1658480516738; Fri, 22 Jul 2022 02:01:56 -0700 (PDT) Received: from mail-yw1-f182.google.com (mail-yw1-f182.google.com. [209.85.128.182]) by smtp.gmail.com with ESMTPSA id bs16-20020a05620a471000b006b618e006ffsm2989239qkb.2.2022.07.22.02.01.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Jul 2022 02:01:56 -0700 (PDT) Received: by mail-yw1-f182.google.com with SMTP id 00721157ae682-31e560aa854so41036027b3.6; Fri, 22 Jul 2022 02:01:56 -0700 (PDT) X-Received: by 2002:a81:4f87:0:b0:31e:7122:16fb with SMTP id d129-20020a814f87000000b0031e712216fbmr2224273ywb.358.1658480516055; Fri, 22 Jul 2022 02:01:56 -0700 (PDT) MIME-Version: 1.0 References: <20220721165701.17888-1-prabhakar.mahadev-lad.rj@bp.renesas.com> <20220721165701.17888-2-prabhakar.mahadev-lad.rj@bp.renesas.com> In-Reply-To: From: Geert Uytterhoeven Date: Fri, 22 Jul 2022 11:01:44 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: pinctrl: rzg2l-pinctrl: Add macros for IRQ0-7 To: Biju Das , Prabhakar Mahadev Lad Cc: Magnus Damm , Rob Herring , Krzysztof Kozlowski , "linux-renesas-soc@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Prabhakar , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org CC maz On Fri, Jul 22, 2022 at 6:34 AM Biju Das wrote: > > Subject: [PATCH v2 1/2] dt-bindings: pinctrl: rzg2l-pinctrl: Add macros > > for IRQ0-7 > > > > Add macros for IRQ0-7 which map to SPI1-8 so that it can be used in > > dts/i. > > > > Signed-off-by: Lad Prabhakar > > --- > > v1->v2 > > * New patch > > --- > > include/dt-bindings/pinctrl/rzg2l-pinctrl.h | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/include/dt-bindings/pinctrl/rzg2l-pinctrl.h b/include/dt- > > bindings/pinctrl/rzg2l-pinctrl.h > > index c78ed5e5efb7..6aae2ac206d6 100644 > > --- a/include/dt-bindings/pinctrl/rzg2l-pinctrl.h > > +++ b/include/dt-bindings/pinctrl/rzg2l-pinctrl.h > > @@ -20,4 +20,14 @@ > > /* Convert a port and pin label to its global pin index */ > > #define RZG2L_GPIO(port, pin) ((port) * RZG2L_PINS_PER_PORT + > > (pin)) > > > > +/* IRQ0-7 map to SPI1-8 */ > > +#define RZG2L_IRQ0 1 > > +#define RZG2L_IRQ1 2 > > +#define RZG2L_IRQ2 3 > > +#define RZG2L_IRQ3 4 > > +#define RZG2L_IRQ4 5 > > +#define RZG2L_IRQ5 6 > > +#define RZG2L_IRQ6 7 > > +#define RZG2L_IRQ7 8 No definition for NMI? > > + > > Not sure, may be these macros to be moved to [1]?? as it is nothing to do > with rzg2l-pinctrl. > > [1] > include/dt-bindings/interrupt-controller/irqc-rzg2l.h > > and binding update to use these macros. Indeed. 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