Skip to contentSkip to conversation

regulator: fixed regulator interface

PATCH In review Liam Girdwood 1 participant 1 message May 2, 2008 Voltage and current regulator framework

lore
Share & tools
lore
#0 lore raw

PATCH 4/13 regulator: fixed regulator interface

This patch adds support for fixed regulators. This class of regulator is not software controllable but can coexist on machines with software controllable regulators.

---
 include/linux/regulator/fixed.h |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 include/linux/regulator/fixed.h
include/linux/regulator/fixed.h new file +22 -0
new file mode 100644
index 0000000..1387a5d
@@ -0,0 +1,22 @@
+/*
+ * fixed.h
+ *
+ * Copyright 2008 Wolfson Microelectronics PLC.
+ *
+ * Author: Mark Brown <[email protected]>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ */
+
+#ifndef __REGULATOR_FIXED_H
+#define __REGULATOR_FIXED_H
+
+struct fixed_voltage_config {
+	const char *supply_name;
+	int microvolts;
+};
+
+#endif
Signature · 1 line
1.5.4.3