RE: [PATCH 1/1] OMAP3: rx-51: Add full regulator definitions

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

 



Hi,

 > -----Original Message-----
 > From: ext Jarkko Nikula [mailto:jhnikula@xxxxxxxxx]
 > Sent: 29. huhtikuuta 2011 17:04
 > To: Jokiniemi Kalle (Nokia-SD/Tampere)
 > Cc: tony@xxxxxxxxxxx; Ailus Sakari (Nokia-SD/Helsinki); linux-
 > omap@xxxxxxxxxxxxxxx; lrg@xxxxxxxxxxxxxxx;
 > broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx
 > Subject: Re: [PATCH 1/1] OMAP3: rx-51: Add full regulator definitions
 > 
 > On Fri, 29 Apr 2011 15:47:44 +0300
 > Kalle Jokiniemi <kalle.jokiniemi@xxxxxxxxx> wrote:
 > 
 > > +static struct regulator_init_data rx51_vintana1 = {
 > > +	.constraints = {
 > > +		.name			= "VINTANA1",
 > > +		.min_uV			= 1500000,
 > > +		.max_uV			= 1500000,
 > > +		.always_on		= true,
 > ...
 > > +static struct regulator_init_data rx51_vintdig = {
 > > +	.constraints = {
 > > +		.name			= "VINTDIG",
 > > +		.min_uV			= 1500000,
 > > +		.max_uV			= 1500000,
 > > +		.always_on		= true,
 > 
 > Are these two used at all? According to public schematics they are
 > connected to just one capasitor. Could be some needed filtering/charge
 > pump capacitors for TWL though.
 > 
 > I was thinking are all of these regulators really always_on? How about
 > letting those without any known user to be switched off?

In a working environment, these regulators were on. If you let all regulators
get disabled, you'll just be asking for trouble.

Here's the initial discussion how this patch came about: 
http://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg30775.html 


 > 
 > > @@ -838,6 +911,8 @@ static int __init rx51_i2c_init(void)
 > >  	omap_register_i2c_bus(2, 100, rx51_peripherals_i2c_board_info_2,
 > >  			      ARRAY_SIZE(rx51_peripherals_i2c_board_info_2));
 > >  	omap_register_i2c_bus(3, 400, NULL, 0);
 > > +	regulator_has_full_constraints();
 > > +
 > >  	return 0;
 > >  }
 > >
 > Move this somewhere else than in i2c initialization function :-)

I figured it would be right after the regulators have been initialized...
But yes, I'll find a better place for this.

- Kalle

 > 
 > --
 > Jarkko
--
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