<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/of_regulator.c, branch linux-3.6.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.6.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-07-03T19:19:41Z</updated>
<entry>
<title>regulator: dt: regulator match by regulator-compatible</title>
<updated>2012-07-03T19:19:41Z</updated>
<author>
<name>Laxman Dewangan</name>
</author>
<published>2012-06-20T12:23:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5260cd2bc97318b8477b1d1e99c5a2c53764135b'/>
<id>urn:sha1:5260cd2bc97318b8477b1d1e99c5a2c53764135b</id>
<content type='text'>
Match the device's regulators with the property of
"regulator-compatible" of each regulator node.

Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Acked-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: Fix setting constraints-&gt;ramp_delay in of_get_regulation_constraints</title>
<updated>2012-06-18T09:46:57Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-06-18T05:59:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=086ccd4379ad6c9c7c7713ef5f61b9d12e995147'/>
<id>urn:sha1:086ccd4379ad6c9c7c7713ef5f61b9d12e995147</id>
<content type='text'>
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:52Z</updated>
<author>
<name>Yadwinder Singh Brar</name>
</author>
<published>2012-06-11T12:11:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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: Add generic DT parsing for regulators</title>
<updated>2012-05-04T12:25:15Z</updated>
<author>
<name>Thierry Reding</name>
</author>
<published>2012-04-26T14:52:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.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: Set apply_uV only when min and max voltages are defined</title>
<updated>2012-01-26T11:01:21Z</updated>
<author>
<name>Karol Lewandowski</name>
</author>
<published>2012-01-25T09:31:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a093049c604ab32d94bcc5baa24f7939d5e3f7b'/>
<id>urn:sha1:8a093049c604ab32d94bcc5baa24f7939d5e3f7b</id>
<content type='text'>
apply_uV is errornously set when regulator is instantiated from device
tree, even when it doesn't contain any voltage constraints.

This commit fixes error:

  machine_constraints_voltage: CHARGER: failed to apply 0uV constraint

for following regulator description in DTS:

  CHARGER {
	regulator-min-microamp = &lt;100000&gt;;
	regulator-max-microamp = &lt;200000&gt;;
  }

Signed-off-by: Karol Lewandowski &lt;k.lewandowsk@samsung.com&gt;
Signed-off-by: Kyungmin Park &lt;kyungmin.park@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: pass device_node to of_get_regulator_init_data()</title>
<updated>2011-12-05T19:10:17Z</updated>
<author>
<name>Shawn Guo</name>
</author>
<published>2011-12-01T09:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d9a861cce10596ae1f10cffefe1ad4519a253475'/>
<id>urn:sha1:d9a861cce10596ae1f10cffefe1ad4519a253475</id>
<content type='text'>
It's not always true that the device_node of regulator can be found
at dev-&gt;of_node at the time when of_get_regulator_init_data() is being
called, because in some cases the regulator nodes in device tree do
not have 'struct device' behind them until regulator_dev gets created
for it by core function regulator_register().

The patch adds device_node as a new parameter to
of_get_regulator_init_data(), so that caller can pass in the node of
regulator directly.

Signed-off-by: Shawn Guo &lt;shawn.guo@linaro.org&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Liam Girdwood &lt;lrg@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: If a single voltage is set with device tree then set apply_uV</title>
<updated>2011-12-05T18:59:10Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2011-12-05T10:58:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab62aa931ed3512bc67857a03636756b96c78eae'/>
<id>urn:sha1:ab62aa931ed3512bc67857a03636756b96c78eae</id>
<content type='text'>
Otherwise there is no way in the bindings to configure a fixed voltage
via software. It seems reasonable to assume that if the binding explicitly
specifies a voltage we want to actually use that voltage.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: export of_get_regulator_init_data</title>
<updated>2011-11-27T11:29:21Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2011-11-26T10:50:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e69af5e9677b1e5bf2a2432747ecd714aa537f2a'/>
<id>urn:sha1:e69af5e9677b1e5bf2a2432747ecd714aa537f2a</id>
<content type='text'>
of_get_regulator_init_data is called in drivers/regulator/fixed.c
which could be a module.

Export of_get_regulator_init_data to fix below build error:
ERROR: "of_get_regulator_init_data" [drivers/regulator/fixed.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2

Reported-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
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: helper routine to extract regulator_init_data</title>
<updated>2011-11-23T18:46:55Z</updated>
<author>
<name>Rajendra Nayak</name>
</author>
<published>2011-11-18T11:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8f446e6fa1d506be2cb80f91c214f1705327c7f9'/>
<id>urn:sha1:8f446e6fa1d506be2cb80f91c214f1705327c7f9</id>
<content type='text'>
The helper routine is meant to be used by the regulator drivers
to extract the regulator_init_data structure from the data
that is passed from device tree.
'consumer_supplies' which is part of regulator_init_data is not extracted
as the regulator consumer mappings are passed through DT differently,
implemented in subsequent patches.
Similarly the regulator&lt;--&gt;parent/supply mapping is handled in
subsequent patches.

Also add documentation for regulator bindings to be used to pass
regulator_init_data struct information from device tree.

Some of the regulator properties which are linux and board specific,
are left out since its not clear if they can
be in someway embedded into the kernel or passed in from DT.
They will be revisited later.

Signed-off-by: Rajendra Nayak &lt;rnayak@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
</feed>
