0b5ea1e230
The SMSC911x Ethernet chip requires a fixed-regulator in order to function correctly. We have previously provided a means to obtain this during a Device Tree boot, however nothing has been put into place when booting with a non-DT kernel. This patch aims to change that. Signed-off-by: Lee Jones <lee.jones@linaro.org> [Added a Kconfig select so the build does not break] Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
23 lines
672 B
C
23 lines
672 B
C
/*
|
|
* 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>
|
|
|
|
extern struct ab8500_regulator_reg_init
|
|
ab8500_regulator_reg_init[AB8500_NUM_REGULATOR_REGISTERS];
|
|
extern struct regulator_init_data ab8500_regulators[AB8500_NUM_REGULATORS];
|
|
extern struct regulator_init_data tps61052_regulator;
|
|
extern struct regulator_init_data gpio_en_3v3_regulator;
|
|
|
|
#endif
|