On Mon, Aug 3, 2026 at 2:21 AM Krzysztof Kozlowski [off-list ref] wrote:
On 03/08/2026 10:20, Krzysztof Kozlowski wrote:
quoted
quoted
quoted
quoted
--- /dev/null
+++ b/include/dt-bindings/mfd/x-powers,ac200.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Interrupt numbers of the X-Powers AC200 interrupt controller.
+ */
+
+#ifndef _DT_BINDINGS_MFD_X_POWERS_AC200_H
+#define _DT_BINDINGS_MFD_X_POWERS_AC200_H
+
+#define AC200_IRQ_TVE 0
+#define AC200_IRQ_EPHY 1
+#define AC200_IRQ_RTC 2
Hardware constants are not really bindings, even though you use them in
the driver.
Should I do something different for this?
I would just drop the defines and the header, because these are fixed
hardware numbers.
Hm, unless they are not and you added abstract ID numbers for both DTS
and drivers? Then this would be fine.
Yeah, these are more abstract ID numbers, they aren't really hardware
constants as the driver translates them.
Best regards,
Krzysztof