All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 04/13] regulator: fixed regulator interface
@ 2008-05-02 15:41 Liam Girdwood
  0 siblings, 0 replies; only message in thread
From: Liam Girdwood @ 2008-05-02 15:41 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, arm kernel, Mark Brown

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

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
---
 include/linux/regulator/fixed.h |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 include/linux/regulator/fixed.h

diff --git a/include/linux/regulator/fixed.h b/include/linux/regulator/fixed.h
new file mode 100644
index 0000000..1387a5d
--- /dev/null
+++ b/include/linux/regulator/fixed.h
@@ -0,0 +1,22 @@
+/*
+ * fixed.h
+ *
+ * Copyright 2008 Wolfson Microelectronics PLC.
+ *
+ * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
+ *
+ * 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
-- 
1.5.4.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-02 15:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 15:41 [PATCH 04/13] regulator: fixed regulator interface Liam Girdwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.