Re: [RFC PATCH v2 25/30] include/dt-bindings: Add sh_intc IRQ - EVT conversion helper
Krzysztof Kozlowski <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <[email protected]> |
On 13/09/2023 11:23, Yoshinori Sato wrote: > Signed-off-by: Yoshinori Sato <[email protected]> > --- > arch/sh/boot/dts/include/dt-bindings | 1 + > include/dt-bindings/interrupt-controller/sh_intc.h | 7 +++++++ > 2 files changed, 8 insertions(+) > create mode 120000 arch/sh/boot/dts/include/dt-bindings > create mode 100644 include/dt-bindings/interrupt-controller/sh_intc.h > > diff --git a/arch/sh/boot/dts/include/dt-bindings b/arch/sh/boot/dts/include/dt-bindings > new file mode 120000 > index 000000000000..08c00e4972fa > --- /dev/null > +++ b/arch/sh/boot/dts/include/dt-bindings > @@ -0,0 +1 @@ > +../../../../../include/dt-bindings > \ No newline at end of file Nothing improved here. This is a friendly reminder during the review process. It seems my previous comments were not fully addressed. Maybe my feedback got lost between the quotes, maybe you just forgot to apply it. Please go back to the previous discussion and either implement all requested changes or keep discussing them. Thank you. > diff --git a/include/dt-bindings/interrupt-controller/sh_intc.h b/include/dt-bindings/interrupt-controller/sh_intc.h > new file mode 100644 > index 000000000000..cab546fba396 > --- /dev/null > +++ b/include/dt-bindings/interrupt-controller/sh_intc.h > @@ -0,0 +1,7 @@ > +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > + * > + * SH3/4 INTC EVT - IRQ conversion > + */ > + > +#define evt2irq(evt) ((evt) >> 5) > +#define irq2evt(irq) ((irq) << 5) No, that's not a binding. Drop entire file. Best regards, Krzysztof