Thread (75 messages) 75 messages, 12 authors, 2023-10-14

Re: [PATCH 01/21] dt-bindings: interrupt-controller: Add gs101 interrupt controller

From: Krzysztof Kozlowski <hidden>
Date: 2023-10-05 16:04:38
Also in: linux-clk, linux-devicetree, linux-gpio, linux-samsung-soc, linux-watchdog

On 05/10/2023 17:55, Peter Griffin wrote:
quoted hunk ↗ jump to hunk
Add the gs101 SoC interrupt header that provides human readable
constants for all the IRQs in the SoC.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 .../dt-bindings/interrupt-controller/gs101.h  | 758 ++++++++++++++++++
 1 file changed, 758 insertions(+)
 create mode 100644 include/dt-bindings/interrupt-controller/gs101.h
diff --git a/include/dt-bindings/interrupt-controller/gs101.h b/include/dt-bindings/interrupt-controller/gs101.h
new file mode 100644
index 000000000000..51c8eb54eca2
--- /dev/null
+++ b/include/dt-bindings/interrupt-controller/gs101.h
@@ -0,0 +1,758 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * This header provides constants for gs101 interrupt controller.
+ *
+ * Copyright 2019-2023 Google LLC
+ *
+ */
+
+#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_GS101_H
+#define _DT_BINDINGS_INTERRUPT_CONTROLLER_GS101_H
+
+#define ITNO	IRQ_TYPE_NONE
+#define ITER	IRQ_TYPE_EDGE_RISING
+#define ITEF	IRQ_TYPE_EDGE_FALLING
+#define ITEB	IRQ_TYPE_EDGE_BOTH
+#define ITLH	IRQ_TYPE_LEVEL_HIGH
+#define ITLL	IRQ_TYPE_LEVEL_LOW
No, these are not bindings.
+
+#define IRQ_ALIVE_EINT0		0
+#define IRQ_ALIVE_EINT1		1
We do not keep interrupt numbers as bindings. Please drop entire file.

Best regards,
Krzysztof


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help