<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/regulator/ltc3589.c, branch linux-5.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-06-08T12:37:45Z</updated>
<entry>
<title>regulator: ltc3589: Convert to use regulator_set_ramp_delay_regmap</title>
<updated>2021-06-08T12:37:45Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2021-06-04T11:58:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba6622c43381e7045f8bc5438089ae53054fdf83'/>
<id>urn:sha1:ba6622c43381e7045f8bc5438089ae53054fdf83</id>
<content type='text'>
Use regulator_set_ramp_delay_regmap instead of open-coded

LTC3589_LINEAR_REG() no longer call LTC3589_REG() now.
Only LTC3589_LINEAR_REG() needs to set go_bit, thus remove go_bit
parameter from LTC3589_REG() macro.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Link: https://lore.kernel.org/r/20210604115803.1260976-1-axel.lin@ingics.com
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: remove locking around regulator_notifier_call_chain()</title>
<updated>2020-09-07T17:35:25Z</updated>
<author>
<name>Michał Mirosław</name>
</author>
<published>2020-08-10T04:33:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e9c142b0d2c08178a9e146d47d8fe397373bda3e'/>
<id>urn:sha1:e9c142b0d2c08178a9e146d47d8fe397373bda3e</id>
<content type='text'>
regulator_notifier_call_chain() doesn't need rdev lock and rdev's
existence is assumed in the code anyway. Remove the locks from drivers.

Signed-off-by: Michał Mirosław &lt;mirq-linux@rere.qmqm.pl&gt;
Acked-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Reviewed-by: Dmitry Osipenko &lt;digetx@gmail.com&gt;
Link: https://lore.kernel.org/r/42393f66dcc4d80dcd9797be45216b4035aa96cb.1597032945.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: ltc3589: Fix W=1 build warning when CONFIG_OF=n</title>
<updated>2020-08-21T16:28:12Z</updated>
<author>
<name>Jisheng Zhang</name>
</author>
<published>2020-08-21T03:14:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ece31564f1964d52eb1180ee33314c63533947e'/>
<id>urn:sha1:8ece31564f1964d52eb1180ee33314c63533947e</id>
<content type='text'>
Fix below warning when CONFIG_OF=n:

drivers/regulator/ltc3589.c:460:34: warning: ‘ltc3589_of_match’ defined but not used [-Wunused-const-variable=]
  460 | static const struct of_device_id ltc3589_of_match[] = {
      |                                  ^~~~~~~~~~~~~~~~

Signed-off-by: Jisheng Zhang &lt;Jisheng.Zhang@synaptics.com&gt;
Link: https://lore.kernel.org/r/20200821111449.7cf580f2@xhacker.debian
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: ltc3589: Switch to SPDX identifier</title>
<updated>2019-04-26T09:38:20Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2019-04-18T11:45:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b2745697bfe46ce04af5493f194c6073e683b0f1'/>
<id>urn:sha1:b2745697bfe46ce04af5493f194c6073e683b0f1</id>
<content type='text'>
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: ltc3589: Get rid of struct ltc3589_regulator</title>
<updated>2019-04-26T09:38:20Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2019-04-18T11:44:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63c7c2962ae715f3e1ed042db9046b36af637611'/>
<id>urn:sha1:63c7c2962ae715f3e1ed042db9046b36af637611</id>
<content type='text'>
After converting to use simplified DT parsing, the struct ltc3589_regulator
only has a desc member. So let's remove struct ltc3589_regulator and use
struct regulator_desc instead.

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: ltc3589: Convert to use simplified DT parsing</title>
<updated>2019-04-26T09:38:19Z</updated>
<author>
<name>Axel Lin</name>
</author>
<published>2019-04-18T11:44:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ce62ba3afd10cee12fb8f2f81853ae1e91e21387'/>
<id>urn:sha1:ce62ba3afd10cee12fb8f2f81853ae1e91e21387</id>
<content type='text'>
Use regulator core's simplified DT parsing code to simplify the driver
implementation.

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: ltc3589: Fix notifier mutex lock warning</title>
<updated>2019-03-13T15:11:55Z</updated>
<author>
<name>Steve Twiss</name>
</author>
<published>2019-02-26T15:35:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f132da2534ec6599c78c4adcef15340cff2e9dd9'/>
<id>urn:sha1:f132da2534ec6599c78c4adcef15340cff2e9dd9</id>
<content type='text'>
The mutex for the regulator_dev must be controlled by the caller of
the regulator_notifier_call_chain(), as described in the comment
for that function.

Failure to mutex lock and unlock surrounding the notifier call results
in a kernel WARN_ON_ONCE() which will dump a backtrace for the
regulator_notifier_call_chain() when that function call is first made.
The mutex can be controlled using the regulator_lock/unlock() API.

Fixes: 3eb2c7ecb7ea ("regulator: Add LTC3589 support")
Suggested-by: Adam Thomson &lt;Adam.Thomson.Opensource@diasemi.com&gt;
Signed-off-by: Steve Twiss &lt;stwiss.opensource@diasemi.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: split up regmap_config.use_single_rw</title>
<updated>2018-09-07T12:03:55Z</updated>
<author>
<name>David Frey</name>
</author>
<published>2018-09-01T16:50:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1c96a2f67cd9b617b013f0a7580d76aae7dcd0d7'/>
<id>urn:sha1:1c96a2f67cd9b617b013f0a7580d76aae7dcd0d7</id>
<content type='text'>
Split regmap_config.use_single_rw into use_single_read and
use_single_write. This change enables drivers of devices which only
support bulk operations in one direction to use the regmap_bulk_*()
functions for both directions and have their bulk operation split into
single operations only when necessary.

Update all struct regmap_config instances where use_single_rw==true to
instead set both use_single_read and use_single_write. No attempt was
made to evaluate whether it is possible to set only one of
use_single_read or use_single_write.

Signed-off-by: David Frey &lt;dpfrey@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: ltc3589: constify i2c_device_id</title>
<updated>2017-08-21T17:10:42Z</updated>
<author>
<name>Arvind Yadav</name>
</author>
<published>2017-08-21T16:51:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6d284bb11c302a4db4d169ca13d48dbb4d9b5cbe'/>
<id>urn:sha1:6d284bb11c302a4db4d169ca13d48dbb4d9b5cbe</id>
<content type='text'>
i2c_device_id are not supposed to change at runtime. All functions
working with i2c_device_id provided by &lt;linux/i2c.h&gt; work with
const i2c_device_id. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav &lt;arvind.yadav.cs@gmail.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regulator: ltc3589: Add OF device ID table</title>
<updated>2017-02-21T18:30:33Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-02-21T14:29:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=45a86172452a168f3157e2b0f16cfb113b43fa79'/>
<id>urn:sha1:45a86172452a168f3157e2b0f16cfb113b43fa79</id>
<content type='text'>
The driver doesn't have a struct of_device_id table but supported devices
are registered via Device Trees. This is working on the assumption that a
I2C device registered via OF will always match a legacy I2C device ID and
that the MODALIAS reported will always be of the form i2c:&lt;device&gt;.

But this could change in the future so the correct approach is to have an
OF device ID table if the devices are registered via OF.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
</feed>
