mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 01:24:12 +08:00
regulator: ab8500: Remove USB regulator
The USB regulator is controlled by hardware. The software support was only needed for early hardware (ED) which is no longer supported. Signed-off-by: Bengt Jonsson <bengt.g.jonsson@stericsson.com> Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
18bc2b3930
commit
41a06aa738
@ -488,25 +488,6 @@ static struct ab8500_regulator_info
|
|||||||
.update_val_idle = 0x82,
|
.update_val_idle = 0x82,
|
||||||
.update_val_normal = 0x02,
|
.update_val_normal = 0x02,
|
||||||
},
|
},
|
||||||
|
|
||||||
/*
|
|
||||||
* Regulators with fixed voltage and normal mode
|
|
||||||
*/
|
|
||||||
[AB8500_LDO_USB] = {
|
|
||||||
.desc = {
|
|
||||||
.name = "LDO-USB",
|
|
||||||
.ops = &ab8500_regulator_ops,
|
|
||||||
.type = REGULATOR_VOLTAGE,
|
|
||||||
.id = AB8500_LDO_USB,
|
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.n_voltages = 1,
|
|
||||||
.min_uV = 3300000,
|
|
||||||
.enable_time = 150,
|
|
||||||
},
|
|
||||||
.update_bank = 0x03,
|
|
||||||
.update_reg = 0x82,
|
|
||||||
.update_mask = 0x03,
|
|
||||||
},
|
|
||||||
[AB8500_LDO_AUDIO] = {
|
[AB8500_LDO_AUDIO] = {
|
||||||
.desc = {
|
.desc = {
|
||||||
.name = "LDO-AUDIO",
|
.name = "LDO-AUDIO",
|
||||||
@ -862,7 +843,6 @@ static struct of_regulator_match ab8500_regulator_matches[] = {
|
|||||||
{ .name = "ab8500_ldo_aux3", .driver_data = (void *) AB8500_LDO_AUX3, },
|
{ .name = "ab8500_ldo_aux3", .driver_data = (void *) AB8500_LDO_AUX3, },
|
||||||
{ .name = "ab8500_ldo_intcore", .driver_data = (void *) AB8500_LDO_INTCORE, },
|
{ .name = "ab8500_ldo_intcore", .driver_data = (void *) AB8500_LDO_INTCORE, },
|
||||||
{ .name = "ab8500_ldo_tvout", .driver_data = (void *) AB8500_LDO_TVOUT, },
|
{ .name = "ab8500_ldo_tvout", .driver_data = (void *) AB8500_LDO_TVOUT, },
|
||||||
{ .name = "ab8500_ldo_usb", .driver_data = (void *) AB8500_LDO_USB, },
|
|
||||||
{ .name = "ab8500_ldo_audio", .driver_data = (void *) AB8500_LDO_AUDIO, },
|
{ .name = "ab8500_ldo_audio", .driver_data = (void *) AB8500_LDO_AUDIO, },
|
||||||
{ .name = "ab8500_ldo_anamic1", .driver_data = (void *) AB8500_LDO_ANAMIC1, },
|
{ .name = "ab8500_ldo_anamic1", .driver_data = (void *) AB8500_LDO_ANAMIC1, },
|
||||||
{ .name = "ab8500_ldo_amamic2", .driver_data = (void *) AB8500_LDO_ANAMIC2, },
|
{ .name = "ab8500_ldo_amamic2", .driver_data = (void *) AB8500_LDO_ANAMIC2, },
|
||||||
|
@ -19,7 +19,6 @@ enum ab8500_regulator_id {
|
|||||||
AB8500_LDO_AUX3,
|
AB8500_LDO_AUX3,
|
||||||
AB8500_LDO_INTCORE,
|
AB8500_LDO_INTCORE,
|
||||||
AB8500_LDO_TVOUT,
|
AB8500_LDO_TVOUT,
|
||||||
AB8500_LDO_USB,
|
|
||||||
AB8500_LDO_AUDIO,
|
AB8500_LDO_AUDIO,
|
||||||
AB8500_LDO_ANAMIC1,
|
AB8500_LDO_ANAMIC1,
|
||||||
AB8500_LDO_ANAMIC2,
|
AB8500_LDO_ANAMIC2,
|
||||||
|
Loading…
Reference in New Issue
Block a user