<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/regulator, branch v2.6.31</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>regulator/max1586: fix V3 gain calculation integer overflow</title>
<updated>2009-06-15T10:18:27+00:00</updated>
<author>
<name>Philipp Zabel</name>
<email>philipp.zabel@gmail.com</email>
</author>
<published>2009-05-28T19:00:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c8f1e5025ca2fa8e6e037451f3d271e66745a19b'/>
<id>c8f1e5025ca2fa8e6e037451f3d271e66745a19b</id>
<content type='text'>
On Thu, May 28, 2009 at 10:59 AM, Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt; wrote:
&gt; On Thu, May 28, 2009 at 07:15:16AM +0200, Philipp Zabel wrote:
&gt;&gt; The V3 regulator can be configured with an external resistor
&gt;&gt; connected to the feedback pin (R24 in the data sheet) to
&gt;&gt; increase the voltage range.
&gt;&gt;
&gt;&gt; For example, hx4700 has R24 = 3.32 kOhm to achieve a maximum
&gt;&gt; V3 voltage of 1.55 V which is needed for 624 MHz CPU frequency.
&gt;&gt;
&gt;&gt; Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
&gt;
&gt; Looks good.
&gt;
&gt; Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;

Thanks, but it turns out I hit a 32 bit integer overflow in
the gain calculation. I'd like to mend that with the following
patch. Now max_uV could be increased up to 4.294 V, enough to
charge LiPo cells.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Acked-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Thu, May 28, 2009 at 10:59 AM, Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt; wrote:
&gt; On Thu, May 28, 2009 at 07:15:16AM +0200, Philipp Zabel wrote:
&gt;&gt; The V3 regulator can be configured with an external resistor
&gt;&gt; connected to the feedback pin (R24 in the data sheet) to
&gt;&gt; increase the voltage range.
&gt;&gt;
&gt;&gt; For example, hx4700 has R24 = 3.32 kOhm to achieve a maximum
&gt;&gt; V3 voltage of 1.55 V which is needed for 624 MHz CPU frequency.
&gt;&gt;
&gt;&gt; Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
&gt;
&gt; Looks good.
&gt;
&gt; Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;

Thanks, but it turns out I hit a 32 bit integer overflow in
the gain calculation. I'd like to mend that with the following
patch. Now max_uV could be increased up to 4.294 V, enough to
charge LiPo cells.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Acked-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator/max1586: support increased V3 voltage range</title>
<updated>2009-06-15T10:18:26+00:00</updated>
<author>
<name>Philipp Zabel</name>
<email>philipp.zabel@gmail.com</email>
</author>
<published>2009-05-28T05:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=b110a8fb242bc34e4b7686252899ce0fca956e2c'/>
<id>b110a8fb242bc34e4b7686252899ce0fca956e2c</id>
<content type='text'>
The V3 regulator can be configured with an external resistor
connected to the feedback pin (R24 in the data sheet) to
increase the voltage range.

For example, hx4700 has R24 = 3.32 kOhm to achieve a maximum
V3 voltage of 1.55 V which is needed for 624 MHz CPU frequency.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The V3 regulator can be configured with an external resistor
connected to the feedback pin (R24 in the data sheet) to
increase the voltage range.

For example, hx4700 has R24 = 3.32 kOhm to achieve a maximum
V3 voltage of 1.55 V which is needed for 624 MHz CPU frequency.

Signed-off-by: Philipp Zabel &lt;philipp.zabel@gmail.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Robert Jarzmik &lt;robert.jarzmik@free.fr&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: lp3971 - fix driver link error when built-in.</title>
<updated>2009-06-15T10:18:26+00:00</updated>
<author>
<name>Liam Girdwood</name>
<email>lrg@slimlogic.co.uk</email>
</author>
<published>2009-05-19T10:44:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=6113c3a5a63b8f0d5613b2a71cd1f5335a37b89a'/>
<id>6113c3a5a63b8f0d5613b2a71cd1f5335a37b89a</id>
<content type='text'>
lp3971_i2c_remove' referenced in section `.data' of drivers/built-in.o:
defined in discarded section `.devexit.text' of drivers/built-in.o

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lp3971_i2c_remove' referenced in section `.data' of drivers/built-in.o:
defined in discarded section `.devexit.text' of drivers/built-in.o

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>LP3971 PMIC regulator driver (updated and combined version)</title>
<updated>2009-06-15T10:18:26+00:00</updated>
<author>
<name>Marek Szyprowski</name>
<email>m.szyprowski@samsung.com</email>
</author>
<published>2009-05-19T05:33:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0cbdf7bce5b98807b946d1a96956f30dcae24a50'/>
<id>0cbdf7bce5b98807b946d1a96956f30dcae24a50</id>
<content type='text'>
This patch adds regulator drivers for National Semiconductors LP3971 PMIC.
This LP3971 PMIC controller has 3 DC/DC voltage converters and 5 low
drop-out (LDO) regulators. LP3971 PMIC controller uses I2C interface.

Reviewed-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch adds regulator drivers for National Semiconductors LP3971 PMIC.
This LP3971 PMIC controller has 3 DC/DC voltage converters and 5 low
drop-out (LDO) regulators. LP3971 PMIC controller uses I2C interface.

Reviewed-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Marek Szyprowski &lt;m.szyprowski@samsung.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: remove driver_data direct access of struct device</title>
<updated>2009-06-15T10:18:25+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@suse.de</email>
</author>
<published>2009-04-30T22:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1909e2f658ee6ec5bcca62a5599f5653857cfe18'/>
<id>1909e2f658ee6ec5bcca62a5599f5653857cfe18</id>
<content type='text'>
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device.  Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.

Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device.  Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used.  These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.

Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Set MODULE_ALIAS for regulator drivers</title>
<updated>2009-06-15T10:18:24+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2009-04-28T10:13:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=38c53c89139e6140b895b419b18c586e8593a6e8'/>
<id>38c53c89139e6140b895b419b18c586e8593a6e8</id>
<content type='text'>
Several of the regulator drivers didn't have MODULE_ALIAS so couldn't be
auto loaded. Add the MODULE_ALIAS in case they do get built as modules.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Several of the regulator drivers didn't have MODULE_ALIAS so couldn't be
auto loaded. Add the MODULE_ALIAS in case they do get built as modules.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Support list_voltage for fixed voltage regulator</title>
<updated>2009-06-15T10:18:24+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2009-04-28T10:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=9035cefc2d4b67591cbc2e4e8fbc8d73901ca9eb'/>
<id>9035cefc2d4b67591cbc2e4e8fbc8d73901ca9eb</id>
<content type='text'>
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Move regulator drivers to subsys_initcall()</title>
<updated>2009-06-15T10:18:23+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2009-04-27T17:21:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=5a1b22beeff30d870bf2169a37e343e06cb5db3a'/>
<id>5a1b22beeff30d870bf2169a37e343e06cb5db3a</id>
<content type='text'>
Regulators need to be available early in init in order to allow them
to be available for consumers when requested. This is generally done
by registering them at subsys_initcall() time but not all regulator
drivers have done that. Convert these drivers to do so in order to
mimimise future support.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Mike Rapoport &lt;mike@compulab.co.il&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Regulators need to be available early in init in order to allow them
to be available for consumers when requested. This is generally done
by registering them at subsys_initcall() time but not all regulator
drivers have done that. Convert these drivers to do so in order to
mimimise future support.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Mike Rapoport &lt;mike@compulab.co.il&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: build fix for powerpc - renamed show_state</title>
<updated>2009-06-15T10:18:23+00:00</updated>
<author>
<name>Liam Girdwood</name>
<email>lrg@slimlogic.co.uk</email>
</author>
<published>2009-04-28T11:01:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=7c314991d7d7ad4edf96e8322bcb30e8452957b7'/>
<id>7c314991d7d7ad4edf96e8322bcb30e8452957b7</id>
<content type='text'>
This patch fixes the follwing build failure on powerpc:-

&gt; Today's linux-next build (powerpc allyesconfig) failed like this:
&gt;
&gt; drivers/regulator/userspace-consumer.c:43: error: conflicting types
&gt; for 'show_state'
&gt; include/linux/sched.h:273: note: previous definition of 'show_state'
&gt; was here
&gt;
&gt; Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
&gt; add userspace-consumer driver") which I have reverted for today.

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch fixes the follwing build failure on powerpc:-

&gt; Today's linux-next build (powerpc allyesconfig) failed like this:
&gt;
&gt; drivers/regulator/userspace-consumer.c:43: error: conflicting types
&gt; for 'show_state'
&gt; include/linux/sched.h:273: note: previous definition of 'show_state'
&gt; was here
&gt;
&gt; Caused by commit 5defa2bce704ca4151cfe24e4297aa7797cafd22 ("regulator:
&gt; add userspace-consumer driver") which I have reverted for today.

Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: add userspace-consumer driver</title>
<updated>2009-06-15T10:18:22+00:00</updated>
<author>
<name>Mike Rapoport</name>
<email>mike@compulab.co.il</email>
</author>
<published>2009-04-26T13:49:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe'/>
<id>1d98cccf7f8b944ba4ea56d14bbb7c2eeee59bfe</id>
<content type='text'>
The userspace-consumer driver allows control of voltage and current
regulator state from userspace. This is required for fine-grained
power management of devices that are completely controller by userspace
applications, e.g. a GPS transciever connected to a serial port.

Signed-off-by: Mike Rapoport &lt;mike@compulab.co.il&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The userspace-consumer driver allows control of voltage and current
regulator state from userspace. This is required for fine-grained
power management of devices that are completely controller by userspace
applications, e.g. a GPS transciever connected to a serial port.

Signed-off-by: Mike Rapoport &lt;mike@compulab.co.il&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</pre>
</div>
</content>
</entry>
</feed>
