Re: [RFC PATCH v3 15/35] Documentation/devicetree/bindings/interrupt-controller: Add renesas,sh7751-intc.yaml
Geert Uytterhoeven <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.drivers.devicetree |
|---|---|
| Message-ID | <CAMuHMdUyzGvDt-XvOwwuc-sDknx1z+kbEHe+HhT_2yi-vx-v7w@mail.gmail.com> |
Hi Sato-san, On Thu, Oct 19, 2023 at 1:29 PM Geert Uytterhoeven <[email protected]> wrote: > On Sat, Oct 14, 2023 at 4:54 PM Yoshinori Sato > <[email protected]> wrote: > > SH7751 interrupt controller binding definition. > > > > Signed-off-by: Yoshinori Sato <[email protected]> > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/interrupt-controller/renesas,sh7751-intc.yaml > > @@ -0,0 +1,102 @@ > > +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause > > +%YAML 1.2 > > +--- > > +$id: http://devicetree.org/schemas/interrupt-controller/renesas,sh7751-intc.yaml# > > +$schema: http://devicetree.org/meta-schemas/core.yaml# > > + > > +title: Renesas SH7751 Interrupt Controller > > + > > +maintainers: > > + - Yoshinori Sato <[email protected]> > > + > > +properties: > > + compatible: > > + items: > > + - const: renesas,sh7751-intc > > + > > + '#interrupt-cells': > > + # an interrupt index and flags, as defined in interrupts.txt in > > + # this directory > > I think you can drop this comment. > > > + const: 2 And given the second cell is always zero, and the driver uses irq_domain_xlate_onecell, I guess this should be one instead? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] 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