Skip to content

Commit

Permalink
regulator: fixed regulator interface
Browse files Browse the repository at this point in the history
This patch adds support for fixed regulators. This class of regulator is
not software controllable but can coexist on machines with software
controlable regulators.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Jul 30, 2008
1 parent 4c1184e commit 48d335b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions include/linux/regulator/fixed.h
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 48d335b

Please sign in to comment.