Thread (10 messages) 10 messages, 2 authors, 2011-06-27
STALE5491d

[PATCH] OMAP4: PANDA, SDP: Fix EHCI regulator supply

From: Jaswinder Singh <hidden>
Date: 2011-06-27 08:08:54
Also in: linux-omap

Hi Felipe,

On 27 June 2011 13:30, Felipe Balbi [off-list ref] wrote:
quoted
quoted
+static struct regulator_consumer_supply sdp4430_vusb_supply =
+ ? ? ? REGULATOR_SUPPLY("hsusb0", "ehci-omap.0");
this should be an array.
Ok, I can make it an array of _one_ element.
Though I am not sure why is that a good thing, or are we to use another
possible VUSB supply on Panda/SDP boards ?  Please suggest so that
I can add that too.
quoted
quoted
?static struct regulator_init_data sdp4430_vusb = {
? ? ? ?.constraints = {
? ? ? ? ? ? ? ?.min_uV ? ? ? ? ? ? ? ? = 3300000,
? ? ? ? ? ? ? ?.max_uV ? ? ? ? ? ? ? ? = 3300000,
- ? ? ? ? ? ? ? .apply_uV ? ? ? ? ? ? ? = true,
? ? ? ? ? ? ? ?.valid_modes_mask ? ? ? = REGULATOR_MODE_NORMAL
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| REGULATOR_MODE_STANDBY,
? ? ? ? ? ? ? ?.valid_ops_mask ?= ? ? ?REGULATOR_CHANGE_MODE
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?| REGULATOR_CHANGE_STATUS,
? ? ? ?},
+ ? ? ? .num_consumer_supplies ?= 1,
ARRAY_SIZE()
Yes, of course if we are to switch to single-element array.

Thanks,
Jassi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help