<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/ad5398.c, branch linux-3.8.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.8.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-11-20T01:53:38Z</updated>
<entry>
<title>regulator: remove use of __devexit</title>
<updated>2012-11-20T01:53:38Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2012-11-19T18:26:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dc995f56ef7aedb41873fdeaa1971f3aa166ebd'/>
<id>urn:sha1:8dc995f56ef7aedb41873fdeaa1971f3aa166ebd</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit is no
longer needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: remove use of __devinit</title>
<updated>2012-11-20T01:31:26Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2012-11-19T18:22:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a5023574d120ca3b9337cedd4e27de90cae9aff7'/>
<id>urn:sha1:a5023574d120ca3b9337cedd4e27de90cae9aff7</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devinit is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: remove use of __devexit_p</title>
<updated>2012-11-20T01:31:19Z</updated>
<author>
<name>Bill Pemberton</name>
</author>
<published>2012-11-19T18:20:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5eb9f2b96381ac3fa4a5910c37213c1cb62e9c65'/>
<id>urn:sha1:5eb9f2b96381ac3fa4a5910c37213c1cb62e9c65</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer
needed.

Signed-off-by: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: ad5398: Fix min/max current limit boundary checking</title>
<updated>2012-07-04T11:39:38Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-07-04T03:55:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9c6a74c5e0ca3bfac09cb1e7bf7629cc0f3aa48c'/>
<id>urn:sha1:9c6a74c5e0ca3bfac09cb1e7bf7629cc0f3aa48c</id>
<content type='text'>
It is ok to request current limit with min_uA &lt; chip-&gt;min_uA and
max_uA &gt; chip-&gt;max_uA.

We need to set min_uA = chip-&gt;min_uA if (min_uA &lt; chip-&gt;min_uA),
this ensures the equation to calcuate selator does not return negative number.

Also set max_uA = chip-&gt;max_uA if (max_uA &gt; chip-&gt;max_uA), as suggested by
Sonic.

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: 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>
</feed>
