<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/max77686.c, branch linux-6.3.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-6.3.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-12-07T13:28:12Z</updated>
<entry>
<title>mfd: max77686: Remove #ifdef guards for PM related functions</title>
<updated>2022-12-07T13:28:12Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2022-10-23T09:48:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ef72ed420ea16fa21680a262bc40a5592994a46e'/>
<id>urn:sha1:ef72ed420ea16fa21680a262bc40a5592994a46e</id>
<content type='text'>
Use the new DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() macros
to handle the .suspend/.resume callbacks.

These macros allow the suspend and resume functions to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.

This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.

Signed-off-by: Paul Cercueil &lt;paul@crapouillou.net&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>rtc: max77686: Rename day-of-month defines</title>
<updated>2022-03-07T13:54:24Z</updated>
<author>
<name>Luca Ceresoli</name>
</author>
<published>2022-02-23T17:59:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a26d84633c2ba3c41fd7692986fb2231c9228c4e'/>
<id>urn:sha1:a26d84633c2ba3c41fd7692986fb2231c9228c4e</id>
<content type='text'>
RTC_DATE and REG_RTC_DATE are used for the registers holding the day of
month. Rename these constants to mean what they mean.

Signed-off-by: Luca Ceresoli &lt;luca@lucaceresoli.net&gt;
Reviewed-by: Krzysztof Kozlowski &lt;krzysztof.kozlowski@canonical.com&gt;
Acked-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<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>
</feed>
