Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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
controlable regulators.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>

authored by

Mark Brown and committed by
Liam Girdwood
48d335ba 4c1184e8

+22
+22
include/linux/regulator/fixed.h
··· 1 + /* 2 + * fixed.h 3 + * 4 + * Copyright 2008 Wolfson Microelectronics PLC. 5 + * 6 + * Author: Mark Brown <broonie@opensource.wolfsonmicro.com> 7 + * 8 + * This program is free software; you can redistribute it and/or 9 + * modify it under the terms of the GNU General Public License as 10 + * published by the Free Software Foundation; either version 2 of the 11 + * License, or (at your option) any later version. 12 + */ 13 + 14 + #ifndef __REGULATOR_FIXED_H 15 + #define __REGULATOR_FIXED_H 16 + 17 + struct fixed_voltage_config { 18 + const char *supply_name; 19 + int microvolts; 20 + }; 21 + 22 + #endif