2010-12-10 03:08:48 -07:00
|
|
|
/*
|
|
|
|
* Copyright (C) ST-Ericsson SA 2010
|
|
|
|
*
|
|
|
|
* License Terms: GNU General Public License v2
|
|
|
|
*
|
|
|
|
* Author: Bengt Jonsson <bengt.g.jonsson@stericsson.com> for ST-Ericsson
|
|
|
|
*
|
|
|
|
* MOP500 board specific initialization for regulators
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __BOARD_MOP500_REGULATORS_H
|
|
|
|
#define __BOARD_MOP500_REGULATORS_H
|
|
|
|
|
|
|
|
#include <linux/regulator/machine.h>
|
|
|
|
#include <linux/regulator/ab8500.h>
|
|
|
|
|
regulator: initialization for ab8500 regulators
The regulators on the AB8500 have a lot of custom
hardware control settings pertaining to 8 external
signals, settings which are board-specific and need
be provided from the platform at startup.
Initialization added for regulators Vana, VextSupply1,
VextSupply2, VextSupply3, Vaux1, Vaux2, Vaux3, VTVout,
Vintcore12, Vaudio, Vdmic, Vamic1, Vamic2, VrefDDR.
Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com>
Reviewed-by: Rickard Andersson <rickard.andersson@stericsson.com>
Reviewed-by: Jonas Aberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
2011-03-11 03:54:46 -07:00
|
|
|
extern struct ab8500_regulator_reg_init
|
|
|
|
ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS];
|
2010-12-10 03:08:48 -07:00
|
|
|
extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS];
|
2011-03-07 03:48:15 -07:00
|
|
|
extern struct regulator_init_data tps61052_regulator;
|
2012-09-03 06:33:39 -07:00
|
|
|
extern struct regulator_init_data gpio_en_3v3_regulator;
|
2010-12-10 03:08:48 -07:00
|
|
|
|
|
|
|
#endif
|