/* * Copyright (C) ST-Ericsson SA 2010 * * License Terms: GNU General Public License v2 * * Authors: Sundar Iyer * Bengt Jonsson * * MOP500 board specific initialization for regulators */ #include #include #include #include "board-mop500-regulators.h" static struct regulator_consumer_supply gpio_en_3v3_consumers[] = { REGULATOR_SUPPLY("vdd33a", "smsc911x.0"), }; struct regulator_init_data gpio_en_3v3_regulator = { .constraints = { .name = "EN-3V3", .min_uV = 3300000, .max_uV = 3300000, .valid_ops_mask = REGULATOR_CHANGE_STATUS, }, .num_consumer_supplies = ARRAY_SIZE(gpio_en_3v3_consumers), .consumer_supplies = gpio_en_3v3_consumers, }; /* * TPS61052 regulator */ static struct regulator_consumer_supply tps61052_vaudio_consumers[] = { /* * Boost converter supply to raise voltage on audio speaker, this * is actually connected to three pins, VInVhfL (left amplifier) * VInVhfR (right amplifier) and VIntDClassInt - all three must * be connected to the same voltage. */ REGULATOR_SUPPLY("vintdclassint", "ab8500-codec.0"), }; struct regulator_init_data tps61052_regulator = { .constraints = { .name = "vaudio-hf", .min_uV = 4500000, .max_uV = 4500000, .valid_ops_mask = REGULATOR_CHANGE_STATUS, }, .num_consumer_supplies = ARRAY_SIZE(tps61052_vaudio_consumers), .consumer_supplies = tps61052_vaudio_consumers,