<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/max77686.c, branch linux-5.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2021-11-05T14:40:06Z</updated>
<entry>
<title>mfd: max77686: Do not enforce (incorrect) interrupt trigger type</title>
<updated>2021-11-05T14:40:06Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2021-06-02T11:04:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=215e50b0864678e2fd765a8d57ae9aec713156c4'/>
<id>urn:sha1:215e50b0864678e2fd765a8d57ae9aec713156c4</id>
<content type='text'>
Interrupt line can be configured on different hardware in different way,
even inverted.  Therefore driver should not enforce specific trigger
type - edge falling - but instead rely on Devicetree to configure it.

The Maxim 77686 datasheet describes the interrupt line as active low
with a requirement of acknowledge from the CPU therefore the edge
falling is not correct.

The interrupt line is shared between PMIC and RTC driver, so using level
sensitive interrupt is here especially important to avoid races.  With
an edge configuration in case if first PMIC signals interrupt followed
shortly after by the RTC, the interrupt might not be yet cleared/acked
thus the second one would not be noticed.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Link: https://lore.kernel.org/r/20210602110445.33536-2-krzysztof.kozlowski@canonical.com
</content>
</entry>
<entry>
<title>mfd: max77686: Drop of_match_ptr from of_device_id table</title>
<updated>2020-11-27T08:02:19Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2020-11-20T16:21:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=608a4758575df01076e550ceb1a97fa326e19e63'/>
<id>urn:sha1:608a4758575df01076e550ceb1a97fa326e19e63</id>
<content type='text'>
The driver can match only via the DT table so the table should be always
used and the of_match_ptr does not have any sense (this also allows ACPI
matching via PRP0001, even though it is not relevant here).  This fixes
compile warning (!CONFIG_OF on x86_64):

  drivers/mfd/max77686.c:148:34: warning: ‘max77686_pmic_dt_match’ defined but not used [-Wunused-const-variable=]

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Acked-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: maxim: Add SPDX license identifiers</title>
<updated>2018-10-23T07:58:34Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2018-08-07T16:11:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7d8d7a2405f8b6296660648e893fc3442269d81'/>
<id>urn:sha1:d7d8d7a2405f8b6296660648e893fc3442269d81</id>
<content type='text'>
Replace GPL v2.0+ license statements with SPDX license identifiers.

Signed-off-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Remove I2C device ID table</title>
<updated>2017-02-13T09:29:43Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-01-13T13:34:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=644b2ee06d9af0846caa70d13056d50917b98c67'/>
<id>urn:sha1:644b2ee06d9af0846caa70d13056d50917b98c67</id>
<content type='text'>
The driver is only used in DT platforms so there's no need to
have an i2c_device_id table.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Acked-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Use the struct i2c_driver .probe_new instead of .probe</title>
<updated>2017-02-13T09:29:43Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-01-13T13:34:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be1bb2355bf3a500d9eb4288f5a99225126b7453'/>
<id>urn:sha1:be1bb2355bf3a500d9eb4288f5a99225126b7453</id>
<content type='text'>
If a driver is only used in DT platforms, there's no need to get the
i2c_device_id as an argument of the probe function. Since this data
can be get from the matching of_device_id.

There's a temporary .probe_new field in struct i2c_driver that can be
used as probe callback for the case when i2c_device_id won't be used.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Acked-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Use of_device_get_match_data() helper</title>
<updated>2017-02-13T09:29:43Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-01-13T13:34:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68e61f75aba91077409a86740c0d5882145968e8'/>
<id>urn:sha1:68e61f75aba91077409a86740c0d5882145968e8</id>
<content type='text'>
Use the generic helper to get the matched of_device_id .data, instead of
open coding it.

The driver was checking if matching the OF node with the driver's OF table
was failing, but this doesn't make too much sense since this can't happen
in practice. The fact the probe function was called, means OF registered a
device with a valid compatible string so a of_device_get_match_data() call
will always succeed. So just remove this unneeded check.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Acked-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Don't attempt to get i2c_device_id .data</title>
<updated>2017-02-13T09:29:43Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2017-01-13T13:34:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17ee971f03ad2c0786842d3a6b551e842459e2ac'/>
<id>urn:sha1:17ee971f03ad2c0786842d3a6b551e842459e2ac</id>
<content type='text'>
The driver is only used in platforms that have DT support so always the
I2C device .data will be get from the matched OF node and never will be
from the I2C device ID table.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Acked-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Tested-by: Krzysztof Kozlowski &lt;krzk@kernel.org&gt;
Reviewed-by: Chanwoo Choi &lt;cw00.choi@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Use devm_mfd_add_devices and devm_regmap_add_irq_chip</title>
<updated>2016-05-09T12:27:20Z</updated>
<author>
<name>Laxman Dewangan</name>
</author>
<published>2016-04-21T12:25:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a5422c9e56a20898a73da5726d935d5d8072f78'/>
<id>urn:sha1:1a5422c9e56a20898a73da5726d935d5d8072f78</id>
<content type='text'>
Use devm_mfd_add_devices() for adding MFD child devices and
devm_regmap_add_irq_chip() for IRQ chip registration.

This reduces the error code path and .remove callback for removing
MFD child devices and deleting IRQ chip data.

Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Tested-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686: Use module_i2c_driver() instead of subsys initcall</title>
<updated>2016-04-19T06:59:28Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2016-04-04T22:46:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8a0aee4a7c8500278495012d8f4b653033df83a3'/>
<id>urn:sha1:8a0aee4a7c8500278495012d8f4b653033df83a3</id>
<content type='text'>
The driver's init and exit function don't do anything besides adding and
deleting the I2C driver so the module_i2c_driver() macro could be used.

Currently is not being used because the driver is initialized at subsys
initcall level, claiming that this is done to allow consumers devices to
use the resources provided by this driver. But dependencies are in DT so
manual ordering of init calls is not necessary any more.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Reviewed-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Reviewed-by: Andi Shyti &lt;andi.shyti@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: max77686/max77693: Fix misspelled Samsung address</title>
<updated>2016-04-19T06:59:14Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2016-04-05T02:04:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=630fd98c0a7fcba67d4b33440793b0c9bd1fb440'/>
<id>urn:sha1:630fd98c0a7fcba67d4b33440793b0c9bd1fb440</id>
<content type='text'>
Correct smasung.com into samsung.com.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
</feed>
