<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/max8997.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>2013-01-27T02:56:13Z</updated>
<entry>
<title>regulator: max8997: Fix using wrong dev argument at various places</title>
<updated>2013-01-27T02:56:13Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2013-01-25T02:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b4895e2ca58a67ebab11f4671cc301fef0eedeb7'/>
<id>urn:sha1:b4895e2ca58a67ebab11f4671cc301fef0eedeb7</id>
<content type='text'>
Use &amp;pdev-&gt;dev rather than iodev-&gt;dev for dev_err(), dev_warn() and dev_info().
Use &amp;pdev-&gt;dev rather than iodev-&gt;dev for devm_kzalloc() and
of_get_regulator_init_data(), this fixes memory leak.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: max8997: Use uV in voltage_map_desc</title>
<updated>2013-01-08T11:14:35Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-12-28T09:09:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bc3b7756b5ff66828acf7bc24f148d28b8d61108'/>
<id>urn:sha1:bc3b7756b5ff66828acf7bc24f148d28b8d61108</id>
<content type='text'>
Current code does integer division (min_vol = min_uV / 1000) before pass
min_vol to max8997_get_voltage_proper_val().
So it is possible min_vol is truncated to a smaller value.

For example, if the request min_uV is 800900 for ldo.
min_vol = 800900 / 1000 = 800 (mV)
Then max8997_get_voltage_proper_val returns 800 mV for this case which is lower
than the requested voltage.

Use uV rather than mV in voltage_map_desc to prevent truncation by integer
division.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: stable@vger.kernel.org
</content>
</entry>
<entry>
<title>Merge branch 'topic/hotplug' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-max8997</title>
<updated>2012-11-27T20:06:08Z</updated>
<author>
<name>Mark Brown</name>
</author>
<published>2012-11-27T20:06:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b87d07b13c779c42e4929e590003c9eb8c2f06fa'/>
<id>urn:sha1:b87d07b13c779c42e4929e590003c9eb8c2f06fa</id>
<content type='text'>
Conflicts:
	drivers/regulator/max8997.c
</content>
</entry>
<entry>
<title>regulator: add device tree support for max8997</title>
<updated>2012-11-27T20:05:36Z</updated>
<author>
<name>Thomas Abraham</name>
</author>
<published>2012-11-27T08:34:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=77b71b370ed06c75bdebef09be438d5275f70fc1'/>
<id>urn:sha1:77b71b370ed06c75bdebef09be438d5275f70fc1</id>
<content type='text'>
Add device tree based discovery support for max8997.

Signed-off-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Acked-by: MyungJoo Ham &lt;myungjoo.ham@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: max8997: limit the number of dvs registers programmed in non-dvs mode</title>
<updated>2012-11-24T17:57:04Z</updated>
<author>
<name>Thomas Abraham</name>
</author>
<published>2012-11-23T08:03:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=068a8c8239d50a5fd025c97f94945d9f2ffa3438'/>
<id>urn:sha1:068a8c8239d50a5fd025c97f94945d9f2ffa3438</id>
<content type='text'>
In case the gpio based volatage selection mode is not used for either of
buck 1/2/5, then only the BUCKxDVS1 register need to be programmed. So
determine whether dvs mode is used and limit the loop count appropriately.

Signed-off-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<entry>
<title>regulator: max8997: reorder buck1/2/5 dvs setup code</title>
<updated>2012-11-24T17:56:32Z</updated>
<author>
<name>Thomas Abraham</name>
</author>
<published>2012-11-23T08:03:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11ec7bf001e7bfd37f244042032e15dac2c301bc'/>
<id>urn:sha1:11ec7bf001e7bfd37f244042032e15dac2c301bc</id>
<content type='text'>
The BUCKxDVSx register programming is now moved prior to setting up of the
gpio based dvs mode. This will ensure that all the BUCKxDVSx registers
are programmed with appropriate voltage values before the gpio based dvs
mode is selected for buck1/2/5.

Signed-off-by: Thomas Abraham &lt;thomas.abraham@linaro.org&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
<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: max8997: Properly handle gpio_request failure</title>
<updated>2012-07-15T20:49:53Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2012-07-05T15:06:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8fa25eda86b1a149fd19b5ce80d8cf7b6c8fb566'/>
<id>urn:sha1:8fa25eda86b1a149fd19b5ce80d8cf7b6c8fb566</id>
<content type='text'>
Convert to devm_gpio_request to save a few error handling code.

This patch properly handle the gpio_request failure with -EBUSY, we should
return error rather than ommit the gpio_request failure with -EBUSY.

I think one of the reason we got -EBUSY is because current code does not free
gpios in max8997_pmic_remove(). So it got -EBUSY when reload the module.

Yest another reason is in current code if gpio_request() returns -EBUSY,
the rest of the code still calls gpio_direction_output to config buck125_gpios
and set gpio value in max8997_set_gpio().  This looks wrong to me.

Signed-off-by: Axel Lin &lt;axel.lin@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
</content>
</entry>
</feed>
