<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/include/linux/regulator, branch v3.5-rc2</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.5-rc2</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.5-rc2'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2012-05-14T17:03:04Z</updated>
<entry>
<title>regulator: tps62360: support force PWM mode via regulator mode</title>
<updated>2012-05-14T17:03:04Z</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2012-05-14T12:16:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9a00630c3db8ca064a8904dbcd9632fb81244bc0'/>
<id>urn:sha1:9a00630c3db8ca064a8904dbcd9632fb81244bc0</id>
<content type='text'>
Change the mechanism of enabling the force PWM mode through
regulator set mode. This can be dynamically configured now.
In the REGULATOR_MODE_FAST the force PWM is enabled and in
REGULATOR_MODE_NORMAL the force PWM is disabled.

Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: tps62360: make init_data of platform data to pointer.</title>
<updated>2012-05-13T12:47:47Z</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2012-05-11T06:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=8bdca009e66bb18a990a4be1830c73acacfce331'/>
<id>urn:sha1:8bdca009e66bb18a990a4be1830c73acacfce331</id>
<content type='text'>
Convert platform data member regulator_init_data to pointer type.
This will avoid the copy of entire regualator init data into
platform data member when adding dt support and it can be achieve
by simple assignment:
pdata-&gt;init_data = of_get_regulator_init_data(dev, dev-&gt;of_node);

Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Allow drivers to set simple linear voltage maps as data</title>
<updated>2012-05-12T10:11:32Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-09T20:38:33Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=bca7bbfff37808d56355bbcf0ceec34f0cc6c85d'/>
<id>urn:sha1:bca7bbfff37808d56355bbcf0ceec34f0cc6c85d</id>
<content type='text'>
A lot of regulator hardware maps selectors on to voltages with a simple
linear mapping function

    selector = base + (selector * step size)

Provide off the shelf list_voltage() and map_voltage() operations which
use new min_uV and uV_step members in the regulator_desc to implement
this function.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Allow regulators to provide a voltage to selector mapping</title>
<updated>2012-05-12T10:11:23Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-09T20:16:06Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e843fc4616485bbd8b5a115f5bd4f73808656373'/>
<id>urn:sha1:e843fc4616485bbd8b5a115f5bd4f73808656373</id>
<content type='text'>
In order to allow more drivers to factor things out into data allow
drivers to provide a mapping function to convert voltages into selectors.
This allows any driver to use set_voltage_sel(). The existing mapping
based on iterating over list_voltage() is provided as an operation which
can be assigned to the new map_voltage() function though for ease of
transition it is treated as the default.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'regulator/topic/drivers' into regulator-next</title>
<updated>2012-05-12T10:10:25Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-12T10:10:25Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=5949a7e9ab2db04edaeee7c368eb4c99131f4629'/>
<id>urn:sha1:5949a7e9ab2db04edaeee7c368eb4c99131f4629</id>
<content type='text'>
Conflicts:
	drivers/regulator/88pm8607.c (simple overlap with a bugfix in v3.4)
</content>
</entry>
<entry>
<title>regulator: Add generic DT parsing for regulators</title>
<updated>2012-05-04T12:25:15Z</updated>
<author>
<name>Thierry Reding</name>
<email>thierry.reding@avionic-design.de</email>
</author>
<published>2012-04-26T14:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=1c8fa58f4750e9ad722fbf899866c312ffabab67'/>
<id>urn:sha1:1c8fa58f4750e9ad722fbf899866c312ffabab67</id>
<content type='text'>
Looking up init data for regulators found on chips is a common operation
that can be handled in a generic way. The new helper function introduced
by this patch looks up the children of a given node by names specified
in a match table and fills that match table with information parsed from
the DT.

This is based on work by Rhyland Klein &lt;rklein@nvidia.com&gt;.

Signed-off-by: Thierry Reding &lt;thierry.reding@avionic-design.de&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Provide standard enable operations for regmap users</title>
<updated>2012-04-16T18:52:42Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-04-15T11:37:47Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=cd6dffb4c6c476f5787f4df3eda7ecb16e25780d'/>
<id>urn:sha1:cd6dffb4c6c476f5787f4df3eda7ecb16e25780d</id>
<content type='text'>
Since the enable(), disable() and is_enabled() operations for most regmap
based regulators come down to reading and updating a single register bit
we can factor out the code and allow these drivers to just define which
bit to update using the enable_reg and enable_mask fields in their desc
and then use operations provided by the core.

As well as the code saving this opens the door to future optimisation of
the bulk operations - if the core can realise that we are updating a
single register for multiple regulators then it should be able to combine
these updates into a single physical operation.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Provide regmap based voltage_sel operations</title>
<updated>2012-04-16T18:52:03Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-04-15T10:23:30Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4ab5b3d92c863e55fa28cc41a7b005b7ae87afee'/>
<id>urn:sha1:4ab5b3d92c863e55fa28cc41a7b005b7ae87afee</id>
<content type='text'>
Since the voltage selector operations are intended to directly map a
bitfield in the device register map into regulator API operations the
code for implementing them is usually very standard we can save some
code by providing standard implementations for devices using the regmap
API.

Drivers using regmap can pass their regmap in in the regmap_config
struct, set vsel_reg and vsel_mask in their regulator_desc and then
use regulator_{get,set}_voltage_sel_regmap in their ops. This saves
a small amount of code from each driver.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Allow drivers to pass in a regmap</title>
<updated>2012-04-16T18:51:53Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-04-15T10:16:05Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=65b19ce6c223287ac95bbc22b12ef5a2738472d1'/>
<id>urn:sha1:65b19ce6c223287ac95bbc22b12ef5a2738472d1</id>
<content type='text'>
Since many regulators use regmap for register I/O and since there's quite
a few very common patterns in the code allow drivers to pass in a regmap
to the core for use in generic code.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'v3.4-rc2' into regulator-drivers</title>
<updated>2012-04-10T08:52:59Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-04-10T08:52:59Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=b920eb41a8241c54efbbd4f2ed6d074f497b0d9e'/>
<id>urn:sha1:b920eb41a8241c54efbbd4f2ed6d074f497b0d9e</id>
<content type='text'>
Linux 3.4-rc2 contains some fixes that further patches depend upon.
</content>
</entry>
</feed>
