From: Dzmitry Sankouski <dsankouski@gmail.com>
To: Chanwoo Choi <cw00.choi@samsung.com>,
Krzysztof Kozlowski <krzk@kernel.org>,
Lee Jones <lee@kernel.org>, Rob Herring <robh@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-msm@vger.kernel.org,
Dzmitry Sankouski <dsankouski@gmail.com>
Subject: [PATCH 1/2] dt-bindings: add mfd/max77705 definitions
Date: Sun, 31 Aug 2025 01:21:21 +0300 [thread overview]
Message-ID: <20250831-starqltechn-correct_max77705_nodes-v1-1-5f2af9d13dad@gmail.com> (raw)
In-Reply-To: <20250831-starqltechn-correct_max77705_nodes-v1-0-5f2af9d13dad@gmail.com>
Add a dt-bindings include file for max77705 devicetree definition, define
available irq numbers.
Signed-off-by: Dzmitry Sankouski <dsankouski@gmail.com>
---
MAINTAINERS | 1 +
include/dt-bindings/mfd/max77705.h | 16 ++++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 020d7aa13188..82f500cf3c02 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -15166,6 +15166,7 @@ F: drivers/clk/clk-max77686.c
F: drivers/extcon/extcon-max14577.c
F: drivers/extcon/extcon-max77693.c
F: drivers/rtc/rtc-max77686.c
+F: include/dt-bindings/mfd/max77705.h
F: include/linux/mfd/max14577*.h
F: include/linux/mfd/max77686*.h
F: include/linux/mfd/max77693*.h
diff --git a/include/dt-bindings/mfd/max77705.h b/include/dt-bindings/mfd/max77705.h
new file mode 100644
index 000000000000..34fcf1642e2d
--- /dev/null
+++ b/include/dt-bindings/mfd/max77705.h
@@ -0,0 +1,16 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * DTS binding definitions used for the MAX77705 PMIC.
+ *
+ * Copyright (C) 2025 Dzmitry Sankouski <dsankouski@gmail.com>
+ */
+
+#ifndef _DT_BINDINGS_MFD_MAX77705_H
+#define _DT_BINDINGS_MFD_MAX77705_H
+
+#define MAX77705_IRQ_CHG 0
+#define MAX77705_IRQ_TOP 1
+#define MAX77705_IRQ_FG 2
+#define MAX77705_IRQ_USBC 3
+
+#endif
--
2.39.5
next prev parent reply other threads:[~2025-08-30 22:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-30 22:21 [PATCH 0/2] starqltechn: fix max77705 device irqs Dzmitry Sankouski
2025-08-30 22:21 ` Dzmitry Sankouski [this message]
2025-08-31 10:05 ` [PATCH 1/2] dt-bindings: add mfd/max77705 definitions Dmitry Baryshkov
2025-08-31 10:25 ` Krzysztof Kozlowski
2025-08-30 22:21 ` [PATCH 2/2] arch: arm64: sdm845: starqltechn: fix max77705 interrupts Dzmitry Sankouski
2025-09-02 13:17 ` [PATCH 0/2] starqltechn: fix max77705 device irqs Rob Herring (Arm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250831-starqltechn-correct_max77705_nodes-v1-1-5f2af9d13dad@gmail.com \
--to=dsankouski@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cw00.choi@samsung.com \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).