<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-dev/drivers/regulator/88pm800.c, branch linus/master</title>
<subtitle>Linux kernel development work - see feature branches</subtitle>
<id>https://git.zx2c4.com/linux-dev/atom/drivers/regulator/88pm800.c?h=linus%2Fmaster</id>
<link rel='self' href='https://git.zx2c4.com/linux-dev/atom/drivers/regulator/88pm800.c?h=linus%2Fmaster'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/'/>
<updated>2019-06-12T15:56:03Z</updated>
<entry>
<title>regulator: 88pm800: fix warning same module names</title>
<updated>2019-06-12T15:56:03Z</updated>
<author>
<name>Anders Roxell</name>
<email>anders.roxell@linaro.org</email>
</author>
<published>2019-06-12T08:11:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6f10419187d0d5fe395e2a2f2a64370961bf02a3'/>
<id>urn:sha1:6f10419187d0d5fe395e2a2f2a64370961bf02a3</id>
<content type='text'>
When building with CONFIG_MFD_88PM800 and CONFIG_REGULATOR_88PM800
enabled as loadable modules, we see the following warning:

warning: same module names found:
  drivers/regulator/88pm800.ko
  drivers/mfd/88pm800.ko

Rework so that the file is named 88pm800-regulator.

Signed-off-by: Anders Roxell &lt;anders.roxell@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: Get rid of struct pm800_regulators</title>
<updated>2019-03-15T16:29:21Z</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2019-03-14T11:55:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6cabb8b7fc1428eb573f426a17a853d81227d095'/>
<id>urn:sha1:6cabb8b7fc1428eb573f426a17a853d81227d095</id>
<content type='text'>
The struct pm800_regulators only has 2 members: *chip and *map.
The pm800_data-&gt;chip is not used. The pm800_data-&gt;map is not necessary.
Thus remove the struct pm800_regulators.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: constify regulator_ops structures</title>
<updated>2017-01-31T20:32:26Z</updated>
<author>
<name>Bhumika Goyal</name>
<email>bhumirks@gmail.com</email>
</author>
<published>2017-01-28T13:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=b9f19321287fd9adbc98541b3d9d4cd85de2f482'/>
<id>urn:sha1:b9f19321287fd9adbc98541b3d9d4cd85de2f482</id>
<content type='text'>
Declare regulator_ops structures as const as they are only stored in the
ops field of a regulator_desc structure. This field is of type const, so
regulator_ops structures having this property can be made const too.

File size before: drivers/regulator/88pm800.o
   text	   data	    bss	    dec	    hex	filename
   1001	   6288	      0	   7289	   1c79	drivers/regulator/88pm800.o

File size after: drivers/regulator/88pm800.o
   text	   data	    bss	    dec	    hex	filename
   1513	   5776	      0	   7289	   1c79	drivers/regulator/88pm800.o

Signed-off-by: Bhumika Goyal &lt;bhumirks@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge branch 'fix/88pm800' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-88pm800</title>
<updated>2015-07-17T11:42:48Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-07-17T11:42:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=bf1fc23c80e61695e8e899354d17549a4946a9d0'/>
<id>urn:sha1:bf1fc23c80e61695e8e899354d17549a4946a9d0</id>
<content type='text'>
Conflicts:
	drivers/regulator/88pm800.c
</content>
</entry>
<entry>
<title>regulator: 88pm800: Use regulator_nodes/of_match in the descriptor</title>
<updated>2015-07-16T20:32:58Z</updated>
<author>
<name>Vaibhav Hiremath</name>
<email>vaibhav.hiremath@linaro.org</email>
</author>
<published>2015-07-16T18:16:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=fa26e4d2b3cf1c84f20fbc003501bb028f682d92'/>
<id>urn:sha1:fa26e4d2b3cf1c84f20fbc003501bb028f682d92</id>
<content type='text'>
This patch is add regulator_nodes/of_match in the regulator
descriptor for using information from DT instead of specific codes.

With this patch, driver gets simplified,

  - No need to maintain "struct of_regulator_match" table
    and call of_regulator_match() fn.
  - No need for pm800_regulator_dt_init() fn, as it was only
    used for of_regulator_match().
  - probe() fn got simplified around regulator_config and regulator_desc
    initialization.

Signed-off-by: Vaibhav Hiremath &lt;vaibhav.hiremath@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: Update driver to use devm_regulator_register fn</title>
<updated>2015-07-16T20:32:58Z</updated>
<author>
<name>Vaibhav Hiremath</name>
<email>vaibhav.hiremath@linaro.org</email>
</author>
<published>2015-07-16T18:16:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=a07d94a54b93d94d8cb990ffe018c595cfb94662'/>
<id>urn:sha1:a07d94a54b93d94d8cb990ffe018c595cfb94662</id>
<content type='text'>
This patch replaces standard regulator_register with
devm_regulator_register() fn, as using devm_regulator_register() fn
simplifies the driver return/exit path.

As part of this update, patch also cleanups up all unnecessary changes
which is result of this patch -

  - Remove _remove() fn, as devm_ variant takes care of it.
  - Remove pm800_regulators.regulators[] field, as it was only
    needed during cleanup, so we no longer need this.
    This also saved some amount of memory.

Signed-off-by: Vaibhav Hiremath &lt;vaibhav.hiremath@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: Fix indentation of assignments of data structures</title>
<updated>2015-07-16T20:32:58Z</updated>
<author>
<name>Vaibhav Hiremath</name>
<email>vaibhav.hiremath@linaro.org</email>
</author>
<published>2015-07-16T18:16:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=4d45c70bfb3ffe55fad1d1681feaec2094f4da3b'/>
<id>urn:sha1:4d45c70bfb3ffe55fad1d1681feaec2094f4da3b</id>
<content type='text'>
This patch makes code more clean from readability point of view,
make all assignments of LDO, BUCk and regulator_ops structure
at the same indentation.

Signed-off-by: Vaibhav Hiremath &lt;vaibhav.hiremath@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: fix LDO vsel_mask value</title>
<updated>2015-07-09T19:04:25Z</updated>
<author>
<name>Yi Zhang</name>
<email>yizhang@marvell.com</email>
</author>
<published>2015-07-09T12:41:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=322dfa6402ec08da1ca182ac0061a1cf2c5c3101'/>
<id>urn:sha1:322dfa6402ec08da1ca182ac0061a1cf2c5c3101</id>
<content type='text'>
As per datasheet,
Except LDO2, all other LDO's use bit [3:0] for VOUT select.

Current code uses wrong mask value of 0x1f, So this patch
fixes it to use 0xf.

Signed-off-by: Yi Zhang &lt;yizhang@marvell.com&gt;
[vaibhav.hiremath@linaro.org: Updated changelog with more detailed description]
Signed-off-by: Vaibhav Hiremath &lt;vaibhav.hiremath@linaro.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: drop owner assignment from platform_drivers</title>
<updated>2014-10-20T14:21:29Z</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@the-dreams.de</email>
</author>
<published>2014-10-20T14:21:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=6c794b2654555d6af7572e3a8f13b2b39126df0c'/>
<id>urn:sha1:6c794b2654555d6af7572e3a8f13b2b39126df0c</id>
<content type='text'>
A platform_driver does not need to set an owner, it will be populated by the
driver core.

Signed-off-by: Wolfram Sang &lt;wsa@the-dreams.de&gt;
</content>
</entry>
<entry>
<title>regulator: 88pm800: remove duplicate PM800_BUCK3 define</title>
<updated>2014-06-09T19:58:39Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2014-06-09T15:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/linux-dev/commit/?id=ce44beb7c0b12d33ce88b396aeaea0ba4ca1bbfc'/>
<id>urn:sha1:ce44beb7c0b12d33ce88b396aeaea0ba4ca1bbfc</id>
<content type='text'>
The PM800_BUCK3 define is cut and pasted twice so we can remove the
second instance.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Mark Brown &lt;broonie@linaro.org&gt;
</content>
</entry>
</feed>
