[PATCH 1/4] regulator: dt-bindings: Add Silergy SYR82X allowed modes

From: Victor Krawiec

Date: Wed Jul 15 2026 - 11:52:44 EST


Make the PWM mode configurable from devicetree. Some boards require forced
PWM mode to keep the supply ripple within acceptable limits under light
load conditions

Indexes are starting from 1 to keep backward compatibility with existing
device trees

Signed-off-by: Victor Krawiec <victor.krawiec@xxxxxxxxxxx>
---
.../dt-bindings/regulator/silergy,syr82x.h | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644 include/dt-bindings/regulator/silergy,syr82x.h

diff --git a/include/dt-bindings/regulator/silergy,syr82x.h b/include/dt-bindings/regulator/silergy,syr82x.h
new file mode 100644
index 000000000000..6d4aa86bb5c1
--- /dev/null
+++ b/include/dt-bindings/regulator/silergy,syr82x.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
+/*
+ * Copyright (c) 2026 Arturia - All rights reserved.
+ *
+ * Device Tree binding constants for the Sylergy SYR827 and SYR828 PMIC regulators
+ */
+
+#ifndef _DT_BINDINGS_REGULATOR_SYR82X_H
+#define _DT_BINDINGS_REGULATOR_SYR82X_H
+
+/*
+ * Constants to specify regulator modes in device tree for SYR82X regulators
+ * SYR82X_REGULATOR_MODE_FORCE_PWM: Force fixed PWM mode
+ * SYR82X_REGULATOR_MODE_AUTO: Allow auto-PFM mode during light load
+ */
+
+#define SYR82X_REGULATOR_MODE_FORCE_PWM 1
+#define SYR82X_REGULATOR_MODE_AUTO 2
+
+#endif
--
2.43.0