<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/regulator, branch v3.16</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/regulator?h=v3.16</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/regulator?h=v3.16'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2014-06-28T13:01:04Z</updated>
<entry>
<title>Merge remote-tracking branches 'regulator/fix/bcm590xx', 'regulator/fix/palmas' and 'regulator/fix/tps65218' into regulator-linus</title>
<updated>2014-06-28T13:01:04Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2014-06-28T13:01:04Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=11767484b81926280bfcca66ddcad875a8b7e41c'/>
<id>urn:sha1:11767484b81926280bfcca66ddcad875a8b7e41c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: tps65218: Correct the the config register for LDO1</title>
<updated>2014-06-24T15:28:58Z</updated>
<author>
<name>Keerthy</name>
<email>j-keerthy@ti.com</email>
</author>
<published>2014-06-18T15:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=0eada6a1fc85a98ce69a199e46925abd6a7001c2'/>
<id>urn:sha1:0eada6a1fc85a98ce69a199e46925abd6a7001c2</id>
<content type='text'>
Correct the the config register for LDO1.

Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for
TPS65218 PMIC)
Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v3.15
</content>
</entry>
<entry>
<title>regulator: tps65218: Add the missing of_node assignment in probe</title>
<updated>2014-06-24T15:28:49Z</updated>
<author>
<name>Keerthy</name>
<email>j-keerthy@ti.com</email>
</author>
<published>2014-06-18T15:17:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d2fa87c3af0df7ed10463afc588affdab954fa92'/>
<id>urn:sha1:d2fa87c3af0df7ed10463afc588affdab954fa92</id>
<content type='text'>
Add the missing of_node assignment in probe.

Fixes: 90e7d5262796 (regulator: tps65218: Add Regulator driver for TPS65218 PMIC)
Signed-off-by: Keerthy &lt;j-keerthy@ti.com&gt;
Signed-off-by: Felipe Balbi &lt;balbi@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
Cc: &lt;stable@vger.kernel.org&gt; # v3.15
</content>
</entry>
<entry>
<title>regulator: palmas: fix typo in enable_reg calculation</title>
<updated>2014-06-24T10:58:36Z</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2014-06-23T20:53:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5b01bd11b78b71ea1f5fc93e6e45ce6d71f5de1b'/>
<id>urn:sha1:5b01bd11b78b71ea1f5fc93e6e45ce6d71f5de1b</id>
<content type='text'>
When setting up .enable_reg for an SMPS regulator, presumably we should
call PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE, ...) rather than using
LDO_BASE. This change makes the LCD panel and HDMI work again on the
NVIDIA Dalmore board anyway.

Fixes: 318dbb02b50c ("regulator: palmas: Fix SMPS enable/disable/is_enabled")
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Acked-by: Nishanth Menon &lt;nm@ti.com&gt;
Tested-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: bcm590xx: fix vbus name</title>
<updated>2014-06-22T11:00:14Z</updated>
<author>
<name>Graham Williams</name>
<email>graham.williams@linaro.org</email>
</author>
<published>2014-06-18T19:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=636f4a31e3bb5ff8907d02a8862ee02f8a068084'/>
<id>urn:sha1:636f4a31e3bb5ff8907d02a8862ee02f8a068084</id>
<content type='text'>
The vbus regulator was not getting its name set. This results
in the sysfs entry being empty. The lack of a bcm590xx_regs[]
table entry also upsets Coverity runs. Add the table entry
so the name gets set properly.

Signed-off-by: Graham Williams &lt;graham.williams@linaro.org&gt;
Acked-by: Matt Porter &lt;mporter@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>regulator: palmas: Fix SMPS enable/disable/is_enabled</title>
<updated>2014-06-21T10:22:09Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2014-06-20T17:26:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=318dbb02b50c8d4535ceb52f382e74ff7953aa42'/>
<id>urn:sha1:318dbb02b50c8d4535ceb52f382e74ff7953aa42</id>
<content type='text'>
We use regmap regulator ops to enable/disable and check if regulator
is enabled for various SMPS. However, these depend on valid
enable_reg, enable_mask and enable_value in regulator descriptor.

Currently we do not populate these for SMPS other than SMPS10, this
results in spurious results as regmap assumes that the values are
valid and ends up reading register 0x0 RTC:SECONDS_REG on Palmas
variants that do have RTC! To fix this, we update proper parameters
for the descriptor fields.

Further, we want to ensure the behavior consistent with logic
prior to commit dbabd624d4eec50b6, where, once you do a set_mode,
enable/disable ensure the logic remains consistent and configures
Palmas to the configuration that we set with set_mode (since the
configuration register is common). To do this, we can rely on the
regulator core's regulator_register behavior where the regulator
descriptor pointer provided by the regulator driver is stored. (no
reallocation and copy is done). This lets us update the enable_value
post registration, to remain consistent with the mode we configure as
part of set_mode.

Fixes: dbabd624d4eec50b6 ("regulator: palmas: Reemove open coded functions with helper functions")
Reported-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Tested-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regulator/fix/as3722', 'regulator/fix/ltc3589' and 'regulator/fix/palmas' into regulator-linus</title>
<updated>2014-06-16T15:05:57Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@linaro.org</email>
</author>
<published>2014-06-16T15:05:57Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c9ac065928d887e26da33a84210a3e3610052d31'/>
<id>urn:sha1:c9ac065928d887e26da33a84210a3e3610052d31</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regulator: ltc3589: Use of_get_child_by_name</title>
<updated>2014-06-16T14:56:33Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-06-05T00:43:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=73d23ca732edf07ce2b62668821247bf1a636b54'/>
<id>urn:sha1:73d23ca732edf07ce2b62668821247bf1a636b54</id>
<content type='text'>
of_find_node_by_name() walks the allnodes list, and can thus walk
outside of the parent node. Use of_get_child_by_name() instead.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux</title>
<updated>2014-06-11T23:09:14Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-06-11T23:09:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4251c2a67011801caecd63671f26dd8c9aedb24c'/>
<id>urn:sha1:4251c2a67011801caecd63671f26dd8c9aedb24c</id>
<content type='text'>
Pull module updates from Rusty Russell:
 "Most of this is cleaning up various driver sysfs permissions so we can
  re-add the perm check (we unified the module param and sysfs checks,
  but the module ones were stronger so we weakened them temporarily).

  Param parsing gets documented, and also "--" now forces args to be
  handed to init (and ignored by the kernel).

  Module NX/RO protections get tightened: we now set them before calling
  parse_args()"

* tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
  module: set nx before marking module MODULE_STATE_COMING.
  samples/kobject/: avoid world-writable sysfs files.
  drivers/hid/hid-picolcd_fb: avoid world-writable sysfs files.
  drivers/staging/speakup/: avoid world-writable sysfs files.
  drivers/regulator/virtual: avoid world-writable sysfs files.
  drivers/scsi/pm8001/pm8001_ctl.c: avoid world-writable sysfs files.
  drivers/hid/hid-lg4ff.c: avoid world-writable sysfs files.
  drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.
  drivers/mtd/devices/docg3.c: avoid world-writable sysfs files.
  speakup: fix incorrect perms on speakup_acntsa.c
  cpumask.h: silence warning with -Wsign-compare
  Documentation: Update kernel-parameters.tx
  param: hand arguments after -- straight to init
  modpost: Fix resource leak in read_dump()
</content>
</entry>
<entry>
<title>regulator: palmas: Fix SMPS list for 0V</title>
<updated>2014-06-05T11:40:51Z</updated>
<author>
<name>Nishanth Menon</name>
<email>nm@ti.com</email>
</author>
<published>2014-06-04T19:34:31Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6b7f2d82d5dc30fd4a31faf44f701b683c28715e'/>
<id>urn:sha1:6b7f2d82d5dc30fd4a31faf44f701b683c28715e</id>
<content type='text'>
get_voltage_sel reads from SMPS register - if the read selector value
is 0, the SMPS is actually disabled - So, this is in addition to the
ctrl_register that may also be used to enable/disable the SMPS.

The original logic(prior to commit dbabd624d4eec50b6) used to be:
static int palmas_map_voltage_smps(struct regulator_dev *rdev,
               int min_uV, int max_uV)
&lt;snip&gt;
       if (min_uV == 0)
               return 0;

To handle this scenario, with the transition to regulator_list
implementation, we seem to have missed the data necessary to mark as
one of the valid entries as "0" 'disabled regulator' which results in
0 volts - So, stick with pre-existing logic.

Without this added to the list, palmas regulator driver,
on probe, attempts to setup constraints and in the case of
OMAP5uEVM, SMPS9 (which is mapped for 2v1 audio supply) fails in
regulator_list_voltage_linear_range mapping of '0', and as a fall back
of constraints not being applied, the entire regulator list is not
enumerated due to assumption that something system wide has gone bad
on with the PMIC.

Fixes: dbabd624d4eec50b6 ("regulator: palmas: Reemove open coded functions with helper functions")
Reported-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Nishanth Menon &lt;nm@ti.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
