<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/ad5398.c, branch linux-3.5.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.5.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-04-09T11:37:09Z</updated>
<entry>
<title>regulator: core: Use a struct to pass in regulator runtime configuration</title>
<updated>2012-04-09T11:37:09Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-04-03T23:50:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c172708d38a401b2f3f841dfcd862b469fa0b670'/>
<id>urn:sha1:c172708d38a401b2f3f841dfcd862b469fa0b670</id>
<content type='text'>
Rather than adding new arguments to regulator_register() every time we
want to add a new bit of dynamic information at runtime change the function
to take these via a struct. By doing this we avoid needing to do further
changes like the recent addition of device tree support which required each
regulator driver to be updated to take an additional parameter.

The regulator_desc which should (mostly) be static data is still passed
separately as most drivers are able to configure this statically at build
time.

Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'regulator-register' into regulator-drivers</title>
<updated>2012-04-09T11:30:21Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-04-09T11:30:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1474e4dbcae04125ed6e503eadcef266846f4675'/>
<id>urn:sha1:1474e4dbcae04125ed6e503eadcef266846f4675</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: ad5398: Constify regulator_desc</title>
<updated>2012-04-05T09:40:57Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-04-05T03:56:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=487f71e6f5038ef738de6291ff572717a507129c'/>
<id>urn:sha1:487f71e6f5038ef738de6291ff572717a507129c</id>
<content type='text'>
Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: ad5398: Use devm_kzalloc</title>
<updated>2012-04-01T10:59:36Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-03-27T02:09:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0df8c96fa1c1adb23c49124685dde77b6560bef2'/>
<id>urn:sha1:0df8c96fa1c1adb23c49124685dde77b6560bef2</id>
<content type='text'>
Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: ad5398: show changing current in uA</title>
<updated>2012-04-01T10:59:35Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-03-27T02:08:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=935c14a216c1afa855678e200607e98cc8cc2c51'/>
<id>urn:sha1:935c14a216c1afa855678e200607e98cc8cc2c51</id>
<content type='text'>
Integer division may truncate the result.
Current code shows changing current is 0mA when selector is 1 ... 8.

For example:
selector = 1
ad5398_calc_current returns 117, debug message shows 117/1000 = 0mA
selector = 2
ad5398_calc_current returns 234, debug message shows 234/1000 = 0mA
selector = 3
ad5398_calc_current returns 351, debug message shows 351/1000 = 0mA
............
selector = 8
ad5398_calc_current returns 937, debug message shows 937/1000 = 0mA

Show the changing current in uA makes it easier for debugging.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: ad5398: Use DIV_ROUND_UP macro to calculate selector</title>
<updated>2012-03-11T20:48:49Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-03-02T08:20:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8148ed6e6618598729efa53d3a1f905379de801e'/>
<id>urn:sha1:8148ed6e6618598729efa53d3a1f905379de801e</id>
<content type='text'>
Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: pass additional of_node to regulator_register()</title>
<updated>2011-11-23T18:47:04Z</updated>
<author>
<name>Rajendra Nayak</name>
</author>
<published>2011-11-18T11:17:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c043bcbf287dc69848054d5c02c55c20f7a7bc5'/>
<id>urn:sha1:2c043bcbf287dc69848054d5c02c55c20f7a7bc5</id>
<content type='text'>
With device tree support for regulators, its needed that the
regulator_dev-&gt;dev device has the right of_node attached.
To be able to do this add an additional parameter to the
regulator_register() api, wherein the dt-adapted driver can
then pass this additional info onto the regulator core.

Signed-off-by: Rajendra Nayak &lt;rnayak@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>i2c: Remove obsolete cleanup for clientdata</title>
<updated>2010-09-30T12:14:22Z</updated>
<author>
<name>Wolfram Sang</name>
</author>
<published>2010-09-30T12:14:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=59bfee6e0682635c269fb271422e2595fa441c21'/>
<id>urn:sha1:59bfee6e0682635c269fb271422e2595fa441c21</id>
<content type='text'>
A few new i2c-drivers came into the kernel which clear the clientdata-pointer
on exit. This is obsolete meanwhile, so fix it and hope the word will spread.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Jean Delvare &lt;khali@linux-fr.org&gt;
</content>
</entry>
<entry>
<title>regulator: ad5398 - fix a memory leak</title>
<updated>2010-09-01T11:59:35Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2010-09-01T02:29:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=58d463eec844f6381d63d04dc89d319ae3057ca9'/>
<id>urn:sha1:58d463eec844f6381d63d04dc89d319ae3057ca9</id>
<content type='text'>
In current implementation, the address return from regulator_register()
is different from the address for regulator_unregister().

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Acked-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
<entry>
<title>regulator: make sure the regulator is available prior to the consumers.</title>
<updated>2010-08-11T10:38:00Z</updated>
<author>
<name>Sonic Zhang</name>
</author>
<published>2010-06-10T08:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=839b8362a78e02d123f6ac586349b357136a733f'/>
<id>urn:sha1:839b8362a78e02d123f6ac586349b357136a733f</id>
<content type='text'>
Some systems are likely to want this to be subsys_initcall() to
make sure the regulator is available prior to the consumers.

Signed-off-by: Sonic Zhang &lt;sonic.zhang@analog.com&gt;
Acked-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Signed-off-by: Liam Girdwood &lt;lrg@slimlogic.co.uk&gt;
</content>
</entry>
</feed>
