<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/linux.git/include/linux/regulator/driver.h, branch v3.6.4</title>
<subtitle>Linux kernel stable tree (mirror)</subtitle>
<id>https://git.radix-linux.su/kernel/linux.git/atom?h=v3.6.4</id>
<link rel='self' href='https://git.radix-linux.su/kernel/linux.git/atom?h=v3.6.4'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/'/>
<updated>2012-07-22T18:32:00+00:00</updated>
<entry>
<title>Merge branch 'regulator-drivers' into regulator-next</title>
<updated>2012-07-22T18:32:00+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-07-22T18:32:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=3384fb98845dc014770caa224d61a2effd258ca5'/>
<id>urn:sha1:3384fb98845dc014770caa224d61a2effd258ca5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: Add REGULATOR_STATUS_UNDEFINED.</title>
<updated>2012-07-12T17:19:24+00:00</updated>
<author>
<name>Krystian Garbaciak</name>
<email>krystian.garbaciak@diasemi.com</email>
</author>
<published>2012-07-12T12:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=1beaf762b4ad5f53876f790bb6cfbd3bac072985'/>
<id>urn:sha1:1beaf762b4ad5f53876f790bb6cfbd3bac072985</id>
<content type='text'>
REGULATOR_STATUS_UNDEFINED is to be returned by regulator, if any other state
doesn't really apply.

Signed-off-by: Krystian Garbaciak &lt;krystian.garbaciak@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add core support for GPIO controlled enable lines</title>
<updated>2012-07-03T19:29:27+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-06-27T13:14:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=65f735082de35aa4d44e8d0afe862798d0e09e29'/>
<id>urn:sha1:65f735082de35aa4d44e8d0afe862798d0e09e29</id>
<content type='text'>
It is very common for regulators to support having their enable signal
controlled by a GPIO. Since there are a bunch of fiddly things to get
right like handling the operations when the enable signal is tied to
a rail and it's just replicated code add support for this to the core.

Drivers should set ena_gpio in their config if they have a GPIO control,
using ena_gpio_flags to specify any flags (including GPIOF_OUT_INIT_ for
the initial state) and ena_gpio_invert if the GPIO is active low. The
core will then override any enable and disable operations the driver has
and instead control the specified GPIO.

This will in the future also allow us to further extend the core by
identifying when several enable signals have been tied together and
handling this properly.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Allow fixed enable_time to be set in the regulator_desc</title>
<updated>2012-07-03T19:28:33+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-06-27T13:23:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=79511ed3225a64f6b7fc749f4f9c1ed82f24f729'/>
<id>urn:sha1:79511ed3225a64f6b7fc749f4f9c1ed82f24f729</id>
<content type='text'>
Many regulators have a fixed specification for their enable time. Allow
this to be set in the regulator_desc as a number to save them having to
implement an explicit operation.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Change the unit of ramp_delay from mV/uS to uV/uS</title>
<updated>2012-06-18T09:56:58+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-06-18T06:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=ea38d13fd1666bc030cb1c0feec5b0da2f89f9b2'/>
<id>urn:sha1:ea38d13fd1666bc030cb1c0feec5b0da2f89f9b2</id>
<content type='text'>
This change makes it possible to set ramp_delay with 0.xxx mV/uS without
truncation issue.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: Add ramp_delay configuration to constraints</title>
<updated>2012-06-17T20:08:52+00:00</updated>
<author>
<name>Yadwinder Singh Brar</name>
<email>yadi.brar01@gmail.com</email>
</author>
<published>2012-06-11T12:11:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=6f0b2c696ca340cc2da381fe693fda3f8fdb2149'/>
<id>urn:sha1:6f0b2c696ca340cc2da381fe693fda3f8fdb2149</id>
<content type='text'>
For some hardwares ramp_delay for BUCKs is a configurable parameter which can
be configured through DT or board file.This patch adds ramp_delay to regulator
constraints and allow user to configure it for regulators which supports this
feature, through DT or board file. It will provide two ways of setting the
ramp_delay for a regulator:
	First, by setting it as constraints in board file(for configurable
regulators) and set_machine_constraints() will take care of setting it on
hardware by calling(the provided) .set_ramp_delay() operation(callback).
	Second, by setting it as data in regulator_desc(as fixed/default
ramp_delay rate) for a regulator in driver.

regulator_set_voltage_time_sel() will give preference to
constraints-&gt;ramp_delay while reading ramp_delay rate for regulator. Similarly
users should also take care accordingly while refering ramp_delay rate(in case
of implementing their private .set_voltage_time_sel() callbacks for different
regulators).

[Rewrote subject for 80 columns -- broonie]

Signed-off-by: Yadwinder Singh Brar &lt;yadi.brar@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Add regulator_set_voltage_time_sel to calculate ramp delay.</title>
<updated>2012-06-11T04:01:46+00:00</updated>
<author>
<name>Yadwinder Singh Brar</name>
<email>yadi.brar01@gmail.com</email>
</author>
<published>2012-06-09T11:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=98a175b60f46a80dfa44fb0e0807f2e5a351f35f'/>
<id>urn:sha1:98a175b60f46a80dfa44fb0e0807f2e5a351f35f</id>
<content type='text'>
This patch adds regulator_set_voltage_time_sel(), to move into core, the
commonly used code by drivers to provide the .set_voltage_time_sel callback.
It will also allow us to configure different ramp delay for different
regulators easily.

Signed-off-by: Yadwinder Singh Brar &lt;yadi.brar@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: core: Allow drivers to set voltage mapping table in regulator_desc</title>
<updated>2012-06-03T12:19:45+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@gmail.com</email>
</author>
<published>2012-05-20T02:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/linux.git/commit/?id=cffc9592fde309deafce12362e0a285108cfa3c8'/>
<id>urn:sha1:cffc9592fde309deafce12362e0a285108cfa3c8</id>
<content type='text'>
Some regulator hardware use table based mapping can set volt_table in
regulator_desc and use regulator_list_voltage_table() for their list_voltage
callback.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Liam Girdwood &lt;lrg@ti.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:32+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-09T20:38:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/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:23+00:00</updated>
<author>
<name>Mark Brown</name>
<email>broonie@opensource.wolfsonmicro.com</email>
</author>
<published>2012-05-09T20:16:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/kernel/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>
</feed>
