<feed xmlns='http://www.w3.org/2005/Atom'>
<title>blackbird-op-linux/include/linux/regulator/driver.h, branch v3.15-rc8</title>
<subtitle>Blackbird™ Linux sources for OpenPOWER</subtitle>
<id>https://git.raptorcs.com/git/blackbird-op-linux/atom?h=v3.15-rc8</id>
<link rel='self' href='https://git.raptorcs.com/git/blackbird-op-linux/atom?h=v3.15-rc8'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/'/>
<updated>2014-03-06T09:30:10+00:00</updated>
<entry>
<title>regulator: helpers: Modify helpers enabling multi-bit control</title>
<updated>2014-03-06T09:30:10+00:00</updated>
<author>
<name>Carlo Caione</name>
<email>carlo@caione.org</email>
</author>
<published>2014-03-05T21:11:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=ca5d1b3524b4d90a2e2f1f71583c1dca6b96fd92'/>
<id>urn:sha1:ca5d1b3524b4d90a2e2f1f71583c1dca6b96fd92</id>
<content type='text'>
This patch extends the regulator helpers to account for device that use
multiple bits for control when using regmap enable/disable/bypass ops.

The actual regulator helpers wrongly assume that the regulator control
is always performed using single bits, using in the regulator_desc
struct only two parameters *_reg and *_mask defining register and mask
for control.

This patch extends this struct and introduces the helpers to take into
account devices where control is performed using multiple bits and
specific multi-bit values are used for enabling/disabling/bypassing the
regulator.

Signed-off-by: Carlo Caione &lt;carlo@caione.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regulator/topic/linear' into regulator-next</title>
<updated>2013-10-24T10:11:37+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-24T10:11:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=4c35c8676fb224d0cb328ab83237286f8e2df224'/>
<id>urn:sha1:4c35c8676fb224d0cb328ab83237286f8e2df224</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regulator/topic/fixed' into regulator-next</title>
<updated>2013-10-24T10:11:36+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-24T10:11:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=706664c290d69f890a9e3acfc6a8196098459826'/>
<id>urn:sha1:706664c290d69f890a9e3acfc6a8196098459826</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regulator/topic/alias' into regulator-next</title>
<updated>2013-10-24T10:11:32+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-10-24T10:11:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=420118d48311e0c4ef4aace5aede35079ecc2412'/>
<id>urn:sha1:420118d48311e0c4ef4aace5aede35079ecc2412</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: Add REGULATOR_LINEAR_RANGE macro</title>
<updated>2013-10-11T11:49:16+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2013-10-11T01:32:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=8828bae464b129abed95b748263f1ab53bdc5755'/>
<id>urn:sha1:8828bae464b129abed95b748263f1ab53bdc5755</id>
<content type='text'>
Add REGULATOR_LINEAR_RANGE macro and convert regulator drivers to use it.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: Remove max_uV from struct regulator_linear_range</title>
<updated>2013-10-11T11:49:12+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2013-10-11T01:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=e277e656804c85a0729d4fd8cdd3c8ab3e6b3b86'/>
<id>urn:sha1:e277e656804c85a0729d4fd8cdd3c8ab3e6b3b86</id>
<content type='text'>
linear ranges means each range has linear voltage settings.
So we can calculate max_uV for each linear range in regulator core rather than
set the max_uV field in drivers.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: fix fatal kernel-doc error</title>
<updated>2013-09-17T10:49:25+00:00</updated>
<author>
<name>Randy Dunlap</name>
<email>rdunlap@infradead.org</email>
</author>
<published>2013-09-17T01:08:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=7c2330f1afe13b3a934140857bc8060d00103a89'/>
<id>urn:sha1:7c2330f1afe13b3a934140857bc8060d00103a89</id>
<content type='text'>
Fix fatal kernel-doc error in &lt;linux/regulator/driver.h&gt;:

Error(include/linux/regulator/driver.h:52): cannot understand prototype: 'struct regulator_linear_range '

Signed-off-by: Randy Dunlap &lt;rdunlap@infradead.org&gt;
[Rewrote first line -- broonie]
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Provide managed regulator registration</title>
<updated>2013-09-16T23:27:53+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-08-31T10:58:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=b33e46bcdc4e598d738ed12a5a7906be4e11d786'/>
<id>urn:sha1:b33e46bcdc4e598d738ed12a5a7906be4e11d786</id>
<content type='text'>
Many regulator drivers have a remove function that consists solely of
calling regulator_unregister() so provide a devm_regulator_register()
in order to allow this repeated code to be removed and help eliminate
error handling code.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: provide fixed voltage in desc for single voltage rail</title>
<updated>2013-09-10T17:19:52+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2013-09-10T10:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=5a523605afa7d3b54b2e7041f8c9e6bc39872a7e'/>
<id>urn:sha1:5a523605afa7d3b54b2e7041f8c9e6bc39872a7e</id>
<content type='text'>
If given rail has the single voltage (n_voltages = 1) then provide the
rail voltage through regulator descriptor so that core can use this
value for finding voltage.

This will avoid the implementation of the callback for get_voltage() or
list_voltage() callback on regulator driver.

Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add helpers for multiple linear ranges</title>
<updated>2013-07-15T10:20:32+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2013-07-02T21:52:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/blackbird-op-linux/commit/?id=94d33c02c7186b69849c292e1216a08ad1c0d99d'/>
<id>urn:sha1:94d33c02c7186b69849c292e1216a08ad1c0d99d</id>
<content type='text'>
Many regulators have several linear ranges of selector with different
step sizes, for example offering better resolution at lower voltages.
Provide regulator_{map,list}_voltage_linear_range() allowing these
regulators to use generic code. To do so a table of regulator_linear_range
structs needs to be pointed to from the descriptor.

This was inspired by similar code included in a driver submission from
Chao Xie and Yi Zhang at Marvell.

Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
