diff options
| author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2019-06-25 12:49:15 -0400 |
|---|---|---|
| committer | Sekhar Nori <nsekhar@ti.com> | 2019-07-02 10:48:33 -0400 |
| commit | ed667776d6e652819f3f44d28cd79bdffac15141 (patch) | |
| tree | b25f319439d8726a6f4144b49b8dc70820860374 | |
| parent | 018ad0523208ad86ec85d47ebb59abd91d3f0d8b (diff) | |
ARM: davinci: omapl138-hawk: add missing regulator constraints for OHCI
We need to enable status changes for the fixed power supply for the USB
controller.
Fixes: 1d272894ec4f ("ARM: davinci: omapl138-hawk: add a fixed regulator for ohci-da8xx")
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
| -rw-r--r-- | arch/arm/mach-davinci/board-omapl138-hawk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-omapl138-hawk.c b/arch/arm/mach-davinci/board-omapl138-hawk.c index db177a6a7e48..5390a8630cf0 100644 --- a/arch/arm/mach-davinci/board-omapl138-hawk.c +++ b/arch/arm/mach-davinci/board-omapl138-hawk.c | |||
| @@ -306,6 +306,9 @@ static struct regulator_consumer_supply hawk_usb_supplies[] = { | |||
| 306 | static struct regulator_init_data hawk_usb_vbus_data = { | 306 | static struct regulator_init_data hawk_usb_vbus_data = { |
| 307 | .consumer_supplies = hawk_usb_supplies, | 307 | .consumer_supplies = hawk_usb_supplies, |
| 308 | .num_consumer_supplies = ARRAY_SIZE(hawk_usb_supplies), | 308 | .num_consumer_supplies = ARRAY_SIZE(hawk_usb_supplies), |
| 309 | .constraints = { | ||
| 310 | .valid_ops_mask = REGULATOR_CHANGE_STATUS, | ||
| 311 | }, | ||
| 309 | }; | 312 | }; |
| 310 | 313 | ||
| 311 | static struct fixed_voltage_config hawk_usb_vbus = { | 314 | static struct fixed_voltage_config hawk_usb_vbus = { |
