summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h')
-rw-r--r--dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h b/dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h
new file mode 100644
index 0000000000..63f99d4c1c
--- /dev/null
+++ b/dts/include/dt-bindings/regulator/richtek,rt5190a-regulator.h
@@ -0,0 +1,15 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+
+#ifndef __DT_BINDINGS_RICHTEK_RT5190A_REGULATOR_H__
+#define __DT_BINDINGS_RICHTEK_RT5190A_REGULATOR_H__
+
+/*
+ * BUCK/LDO mode constants which may be used in devicetree properties
+ * (eg. regulator-allowed-modes).
+ * See the manufacturer's datasheet for more information on these modes.
+ */
+
+#define RT5190A_OPMODE_AUTO 0
+#define RT5190A_OPMODE_FPWM 1
+
+#endif