lkml.org 
[lkml]   [2022]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2 1/2] dt-bindings: pinctrl: rzg2l-pinctrl: Add macros for IRQ0-7
Hi Geert,

Thank you for the review.

On Fri, Jul 22, 2022 at 10:01 AM Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
>
> CC maz
>
> On Fri, Jul 22, 2022 at 6:34 AM Biju Das <biju.das.jz@bp.renesas.com> 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 <prabhakar.mahadev-lad.rj@bp.renesas.com>
> > > ---
> > > 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?
>
Ok, I will add a macro for NMI.

Cheers,
Prabhakar

\
 
 \ /
  Last update: 2022-07-22 12:14    [W:0.146 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site