<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/regulator, branch tegra-10.7.1</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>tegra gpio module: Using regulator module for GPIO power rail control</title>
<updated>2010-06-26T16:55:02+00:00</updated>
<author>
<name>Luke Huang</name>
<email>lhuang@nvidia.com</email>
</author>
<published>2010-06-23T22:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=f73e9712a20da75c44071ff7d35d041c77d8fdc1'/>
<id>f73e9712a20da75c44071ff7d35d041c77d8fdc1</id>
<content type='text'>
Modify gpio module to use regulator module for controlling GPIO power rail.
Since there are some issues related to init sequence after this change, using
"postcore_initcall_sync" to involve regulator module, as well as modifying
NvRmOpenNew routine are required.

Bug Id 697774

Change-Id: Ie8002f1190da83355c0554496f9fef24d18207f5
Reviewed-on: http://git-master/r/3103
Reviewed-by: Gary King &lt;gking@nvidia.com&gt;
Tested-by: Gary King &lt;gking@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify gpio module to use regulator module for controlling GPIO power rail.
Since there are some issues related to init sequence after this change, using
"postcore_initcall_sync" to involve regulator module, as well as modifying
NvRmOpenNew routine are required.

Bug Id 697774

Change-Id: Ie8002f1190da83355c0554496f9fef24d18207f5
Reviewed-on: http://git-master/r/3103
Reviewed-by: Gary King &lt;gking@nvidia.com&gt;
Tested-by: Gary King &lt;gking@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: tegra: add charger support to the tegra regulator driver</title>
<updated>2010-05-28T05:23:26+00:00</updated>
<author>
<name>Gary King</name>
<email>gking@nvidia.com</email>
</author>
<published>2010-05-28T05:18:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=4180d7ad0253f460e061bab968022c504868173b'/>
<id>4180d7ad0253f460e061bab968022c504868173b</id>
<content type='text'>
add new fields to the platform data structure to allow specification of
chargers (current sources) vs regulators (voltage sources) on the platform

Change-Id: If4d0b2520a37afb96d103d6cbf78ec2fba2d02f9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
add new fields to the platform data structure to allow specification of
chargers (current sources) vs regulators (voltage sources) on the platform

Change-Id: If4d0b2520a37afb96d103d6cbf78ec2fba2d02f9
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: tegra: add support for SoC power-off</title>
<updated>2010-05-26T00:35:49+00:00</updated>
<author>
<name>Gary King</name>
<email>gking@nvidia.com</email>
</author>
<published>2010-05-26T00:22:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=728efdade0e861db1b334e0f22c2cbab04d1845a'/>
<id>728efdade0e861db1b334e0f22c2cbab04d1845a</id>
<content type='text'>
SoC power-off in the ODM PMU adaptation is triggered by requesting a
voltage of 0 for the voltage rails specified by the NV_VDD_SoC_ODM_ID
GUID. mark this regulator as enabled-on-boot.

Change-Id: I5b8b3df6176a5cd67b2041c328014291d6d0feb0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SoC power-off in the ODM PMU adaptation is triggered by requesting a
voltage of 0 for the voltage rails specified by the NV_VDD_SoC_ODM_ID
GUID. mark this regulator as enabled-on-boot.

Change-Id: I5b8b3df6176a5cd67b2041c328014291d6d0feb0
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: add tegra SoC regulator driver</title>
<updated>2010-05-24T05:14:31+00:00</updated>
<author>
<name>Gary King</name>
<email>gking@nvidia.com</email>
</author>
<published>2010-05-24T05:14:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=50c9c5c39223a2b59809b61b87ee8351f0bbea9c'/>
<id>50c9c5c39223a2b59809b61b87ee8351f0bbea9c</id>
<content type='text'>
enables platform code to register ODM queriable GUIDs as named regulators,
and to specify the list of consumers for each registered regulator. uses
NvRm PMU API to program the PMU

Change-Id: I0cd04ad4bebc610d945daaf575f5d09e8d838385
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
enables platform code to register ODM queriable GUIDs as named regulators,
and to specify the list of consumers for each registered regulator. uses
NvRm PMU API to program the PMU

Change-Id: I0cd04ad4bebc610d945daaf575f5d09e8d838385
</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Fix display of null constraints for regulators</title>
<updated>2010-02-23T15:37:49+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2010-02-11T19:20:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bb0d31fbf221f50a44ba5d59dfcf54bbf128ac2b'/>
<id>bb0d31fbf221f50a44ba5d59dfcf54bbf128ac2b</id>
<content type='text'>
commit 973e9a2795b3b41d8408a0bb6f87b783c5efc88a upstream.

If the regulator constraints are empty and there is no voltage
reported then nothing will be added to the text displayed for the
constraints, leading to random stack data being printed. This is
unlikely to happen for practical regulators since most will at
least report a voltage but should still be fixed.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit 973e9a2795b3b41d8408a0bb6f87b783c5efc88a upstream.

If the regulator constraints are empty and there is no voltage
reported then nothing will be added to the text displayed for the
constraints, leading to random stack data being printed. This is
unlikely to happen for practical regulators since most will at
least report a voltage but should still be fixed.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Specify REGULATOR_CHANGE_STATUS for WM835x LED constraints</title>
<updated>2010-02-09T12:50:53+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2010-01-04T15:30:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00362b9adebdca260ae03717665a16f6948a6a4a'/>
<id>00362b9adebdca260ae03717665a16f6948a6a4a</id>
<content type='text'>
commit a2fad9bf26a1d44a8d31a5c4528108a2b9f468ab upstream.

The WM8350 LED driver needs to be able to enable and disable the
regulators it is using. Previously the core wasn't properly enforcing
status change constraints so the driver was able to function but this
has always been intended to be required.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
commit a2fad9bf26a1d44a8d31a5c4528108a2b9f468ab upstream.

The WM8350 LED driver needs to be able to enable and disable the
regulators it is using. Previously the core wasn't properly enforcing
status change constraints so the driver was able to function but this
has always been intended to be required.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>regulator: Initialise wm831x structure pointor for ISINK driver</title>
<updated>2009-12-02T19:37:16+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2009-11-30T14:01:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=e8092da92e1fd38dc7c38a4eeae93eaa21764584'/>
<id>e8092da92e1fd38dc7c38a4eeae93eaa21764584</id>
<content type='text'>
The version that made it into mainline missed the initialisation of the
chip handle.

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>
The version that made it into mainline missed the initialisation of the
chip handle.

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>dereferencing freed memory regulator_fixed_voltage_remove()</title>
<updated>2009-11-16T12:40:25+00:00</updated>
<author>
<name>Dan Carpenter</name>
<email>error27@gmail.com</email>
</author>
<published>2009-11-16T09:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=80099c707e0915ac3159ddc70fb714adbb3d53e3'/>
<id>80099c707e0915ac3159ddc70fb714adbb3d53e3</id>
<content type='text'>
Don't dereference drvdata after it has been freed.

regards,
dan carpenter

Signed-off-by: Dan Carpenter &lt;error27@gmail.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>
Don't dereference drvdata after it has been freed.

regards,
dan carpenter

Signed-off-by: Dan Carpenter &lt;error27@gmail.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: Fix check of unsigned return value and transmit errors in wm831x_gp_ldo_get_mode()</title>
<updated>2009-11-16T09:57:17+00:00</updated>
<author>
<name>Roel Kluin</name>
<email>roel.kluin@gmail.com</email>
</author>
<published>2009-10-16T12:16:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=9a767d43fbddb3319dca568df49c48e0d1bb6bd8'/>
<id>9a767d43fbddb3319dca568df49c48e0d1bb6bd8</id>
<content type='text'>
If ret is unsigned, the checks for negative wm831x_reg_read() return values
are wrong. The error value should be transmitted to its caller, e.g.
wm831x_gp_ldo_get_status() which tests for a negative return value.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.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>
If ret is unsigned, the checks for negative wm831x_reg_read() return values
are wrong. The error value should be transmitted to its caller, e.g.
wm831x_gp_ldo_get_status() which tests for a negative return value.

Signed-off-by: Roel Kluin &lt;roel.kluin@gmail.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: Handle missing constraints in _regulator_disable()</title>
<updated>2009-11-16T09:57:16+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2009-10-13T12:06:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=60ef66fcf40f0e7bc9579981aa16bd8218942a83'/>
<id>60ef66fcf40f0e7bc9579981aa16bd8218942a83</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>
</feed>
