Re: twl_reg twl_reg.7: can't register VMMC2, -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
        
On Nov 1, 2010, at 1:08 PM, Elvis Dowson wrote:

> Hi,
>       I'm getting a twl_reg twl_reg.7: can't register VMMC2, -22 error. What could the reason be? 
> ...
> Here are some code snippets for the relevant modifications:
> 
> +static struct regulator_consumer_supply beagle_vmmc2_supply = {
> +       .supply                 = "vmmc",
> +       .dev_name               = "mmci-omap-hs.1",
> +};
> +

I solved that, it was caused by the .dev_name entry for mmc2, which on my board is connected to the wl1271 wlan module.

The following works:

+static struct regulator_consumer_supply beagle_vmmc2_supply = {
+       .supply                 = "vmmc",
+};
+

[   14.691741] twl4030: PIH (irq 7) chaining IRQs 368..375
[   14.691772] twl4030: power (irq 373) chaining IRQs 376..383
[   14.692199] twl4030: gpio (irq 368) chaining IRQs 384..401
[   14.695739] regulator: VUSB1V5: 1500 mV normal standby
[   14.696258] regulator: VUSB1V8: 1800 mV normal standby
[   14.696807] regulator: VUSB3V1: 3100 mV normal standby
[   14.698608] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[   14.699432] regulator: VMMC1: 1850 <--> 3150 mV normal standby
[   14.700012] regulator: VDAC: 1800 mV normal standby
[   14.700561] regulator: VPLL2: 1800 mV normal standby
[   14.701202] regulator: VMMC2: 1850 mV normal standby
[   14.701782] regulator: VSIM: 1800 <--> 3000 mV normal standby

Best regards,

Elvis

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux