From: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
To: Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>, "Rob Herring" <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>
Cc: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>
Subject: [PATCH 2/3] dt-bindings: add bindings for NXP PCA9450 PMIC
Date: Thu, 22 May 2025 21:23:23 +0200 [thread overview]
Message-ID: <20250522192325.1099680-2-martijn.de.gouw@prodrive-technologies.com> (raw)
In-Reply-To: <20250522192325.1099680-1-martijn.de.gouw@prodrive-technologies.com>
Add bindings for the NXP PCA9450 PMIC
Signed-off-by: Martijn de Gouw <martijn.de.gouw@prodrive-technologies.com>
---
.../regulator/nxp,pca9450-regulator.h | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 include/dt-bindings/regulator/nxp,pca9450-regulator.h
diff --git a/include/dt-bindings/regulator/nxp,pca9450-regulator.h b/include/dt-bindings/regulator/nxp,pca9450-regulator.h
new file mode 100644
index 0000000000000..08434caef429f
--- /dev/null
+++ b/include/dt-bindings/regulator/nxp,pca9450-regulator.h
@@ -0,0 +1,18 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Device Tree binding constants for the NXP PCA9450A/B/C PMIC regulators
+ */
+
+#ifndef _DT_BINDINGS_REGULATORS_NXP_PCA9450_H
+#define _DT_BINDINGS_REGULATORS_NXP_PCA9450_H
+
+/*
+ * Buck mode constants which may be used in devicetree properties (eg.
+ * regulator-initial-mode, regulator-allowed-modes).
+ * See the manufacturer's datasheet for more information on these modes.
+ */
+
+#define PCA9450_BUCK_MODE_AUTO 0
+#define PCA9450_BUCK_MODE_FORCE_PWM 1
+
+#endif
--
2.39.2
next prev parent reply other threads:[~2025-05-22 19:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 19:23 [PATCH 1/3] dt-bindings: regulator: add pca9450: Add regulator-allowed-modes Martijn de Gouw
2025-05-22 19:23 ` Martijn de Gouw [this message]
2025-05-23 6:53 ` [PATCH 2/3] dt-bindings: add bindings for NXP PCA9450 PMIC Krzysztof Kozlowski
2025-05-22 19:23 ` [PATCH 3/3] regulator: pca9450: Add support for mode operations Martijn de Gouw
2025-05-22 20:30 ` [PATCH 1/3] dt-bindings: regulator: add pca9450: Add regulator-allowed-modes Rob Herring (Arm)
2025-05-23 6:52 ` Krzysztof Kozlowski
2025-05-23 10:17 ` Mark Brown
2025-05-23 16:21 ` Mark Brown
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=20250522192325.1099680-2-martijn.de.gouw@prodrive-technologies.com \
--to=martijn.de.gouw@prodrive-technologies.com \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--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
all inboxes | Powered by JetHome®