summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mfd
diff options
context:
space:
mode:
authorGuru Das Srinagesh <gurus@codeaurora.org>2021-05-25 21:02:38 +0300
committerLee Jones <lee.jones@linaro.org>2021-06-02 12:51:17 +0300
commitd10a83bf86f9da7374ea2f1d08ac7797e2c32a2a (patch)
tree63e7bbd61e8df7d4f44a1ee98a3c397a08826199 /include/dt-bindings/mfd
parent921071a83dc78f5e68a0fa48fc2cfd3a0bb98e1b (diff)
downloadlinux-d10a83bf86f9da7374ea2f1d08ac7797e2c32a2a.tar.xz
dt-bindings: mfd: pm8008: Add IRQ listing
Add a header file listing all of the IRQs that Qualcomm Technologies, Inc. PM8008 supports. The constants defined in this file may be used in the client device tree node to specify interrupts. Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/dt-bindings/mfd')
-rw-r--r--include/dt-bindings/mfd/qcom-pm8008.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/qcom-pm8008.h b/include/dt-bindings/mfd/qcom-pm8008.h
new file mode 100644
index 000000000000..eca9448df228
--- /dev/null
+++ b/include/dt-bindings/mfd/qcom-pm8008.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * Copyright (c) 2021 The Linux Foundation. All rights reserved.
+ */
+
+#ifndef __DT_BINDINGS_MFD_QCOM_PM8008_H
+#define __DT_BINDINGS_MFD_QCOM_PM8008_H
+
+/* PM8008 IRQ numbers */
+#define PM8008_IRQ_MISC_UVLO 0
+#define PM8008_IRQ_MISC_OVLO 1
+#define PM8008_IRQ_MISC_OTST2 2
+#define PM8008_IRQ_MISC_OTST3 3
+#define PM8008_IRQ_MISC_LDO_OCP 4
+#define PM8008_IRQ_TEMP_ALARM 5
+#define PM8008_IRQ_GPIO1 6
+#define PM8008_IRQ_GPIO2 7
+
+#endif