Re: omap3: regulator_get() failure in ads7846

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

 



On Tue, Sep 07, 2010 at 05:16:44PM +0530, Premi, Sanjeev wrote:

> ts->reg = regulator_get(&spi->dev, "vcc");

> This regulator isn't defined for omap3evm. And I suspect - once
> defined - the name will be different than "vcc".

What makes you say this?  The names for regulator supplies are defined
in terms of the chip being supplied, not in terms of the board.

> Looking at pointers on how this should be handled.

The best thing to do is to define the mapping for the regulator.  You
can work around it by enabling REGULATOR_DUMMY.
--
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