<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/mt6397-core.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-06-02T09:49:59Z</updated>
<entry>
<title>mfd: mt6397: Add PMIC keys for MT6358</title>
<updated>2021-06-02T09:49:59Z</updated>
<author>
<name>Mattijs Korpershoek</name>
</author>
<published>2021-05-06T09:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34b6677e067998122a5082691c2a3a7a6a50ea79'/>
<id>urn:sha1:34b6677e067998122a5082691c2a3a7a6a50ea79</id>
<content type='text'>
 Add compatible strings and interrupts for pmic keys
which serves as child device of MFD.

MT6358 has two interrupts per key: one for press, another one for
release (_R)

Signed-off-by: Mattijs Korpershoek &lt;mkorpershoek@baylibre.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Use named IRQs instead of index (keys)</title>
<updated>2021-06-02T09:49:59Z</updated>
<author>
<name>Mattijs Korpershoek</name>
</author>
<published>2021-05-06T09:41:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7addf7e705c897d78f5b0f829cb7626a9279ec1e'/>
<id>urn:sha1:7addf7e705c897d78f5b0f829cb7626a9279ec1e</id>
<content type='text'>
Some pmics of the mt6397 family (such as MT6358), have two IRQs per
physical key: one for press event, another for release event.

The mtk-pmic-keys driver assumes that each key only has one
IRQ. The key index and the RES_IRQ resource index have a 1/1 mapping.

This won't work for MT6358, as we have multiple resources (2) for one key.

To prepare mtk-pmic-keys to support MT6358, retrieve IRQs by name
instead of by index.

Note: The keys_resources are not part of the device-tree bindings so
this won't break any DT schemas.

Signed-off-by: Mattijs Korpershoek &lt;mkorpershoek@baylibre.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Add support for the MediaTek MT6359 PMIC</title>
<updated>2021-06-01T15:44:23Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
</author>
<published>2021-05-26T06:52:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e545b8f380a96174df40db4203d09156e096ee89'/>
<id>urn:sha1:e545b8f380a96174df40db4203d09156e096ee89</id>
<content type='text'>
This adds support for the MediaTek MT6359 PMIC. This is a
multifunction device with the following sub modules:

- Codec
- Interrupt
- Regulator
- RTC

It is interfaced to the host controller using SPI interface
by a proprietary hardware called PMIC wrapper or pwrap.
MT6359 MFD is a child device of the pwrap.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Drop of_match_ptr from of_device_id table</title>
<updated>2020-11-27T08:01:54Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2020-11-20T16:21:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4fae30103194226eb29ee118ac74e83d2a7bde6e'/>
<id>urn:sha1:4fae30103194226eb29ee118ac74e83d2a7bde6e</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/mt6397-core.c:214:34: warning: ‘mt6397_of_match’ defined but not used [-Wunused-const-variable=]

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: Add support for the MediaTek MT6358 PMIC</title>
<updated>2020-05-21T07:55:29Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
</author>
<published>2020-04-21T03:00:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b91c28f2abd9471aac4aa6cd8de7896ef469153'/>
<id>urn:sha1:2b91c28f2abd9471aac4aa6cd8de7896ef469153</id>
<content type='text'>
This adds support for the MediaTek MT6358 PMIC. This is a
multifunction device with the following sub modules:

- Regulator
- RTC
- Codec
- Interrupt

It is interfaced to the host controller using SPI interface
by a proprietary hardware called PMIC wrapper or pwrap.
MT6358 MFD is a child device of the pwrap.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Trim probe function to support different chips more cleanly</title>
<updated>2020-05-21T07:54:57Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
</author>
<published>2020-04-21T03:00:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d0c7347dc78f059fa2579a32f444b378589ad7f0'/>
<id>urn:sha1:d0c7347dc78f059fa2579a32f444b378589ad7f0</id>
<content type='text'>
Add new struct members for mfd-cells and irq initial function, so we can
call devm_mfd_add_devices() only once.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Modify suspend/resume behavior</title>
<updated>2020-05-21T07:54:40Z</updated>
<author>
<name>Hsin-Hsiung Wang</name>
</author>
<published>2020-04-21T03:00:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e2e7cfec13afa41fcbed1d9b93d83432aa0154f'/>
<id>urn:sha1:4e2e7cfec13afa41fcbed1d9b93d83432aa0154f</id>
<content type='text'>
Some pmics don't need backup interrupt settings, so we change to use
pm notifier for the pmics which are necessary to store settings.

Signed-off-by: Hsin-Hsiung Wang &lt;hsin-hsiung.wang@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Use PLATFORM_DEVID_NONE macro instead of -1</title>
<updated>2019-11-11T08:45:02Z</updated>
<author>
<name>Fabien Parent</name>
</author>
<published>2019-10-20T15:07:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb00f70d774fd28142148ad8a4f97db6b1d55f7b'/>
<id>urn:sha1:eb00f70d774fd28142148ad8a4f97db6b1d55f7b</id>
<content type='text'>
Use the correct macro when adding the MFD devices instead of using
directly '-1' value.

Signed-off-by: Fabien Parent &lt;fparent@baylibre.com&gt;
Reviewed-by: Matthias Brugger &lt;matthias.bgg@gmail.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Fix probe after changing mt6397-core</title>
<updated>2019-11-11T08:45:02Z</updated>
<author>
<name>Frank Wunderlich</name>
</author>
<published>2019-10-03T18:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=11c4f2be58c24a43e60f1379e6f23ba027b740e3'/>
<id>urn:sha1:11c4f2be58c24a43e60f1379e6f23ba027b740e3</id>
<content type='text'>
Part 3 from this series [1] was not merged due to wrong splitting
and breaks mt6323 pmic on bananapi-r2

dmesg prints this line and at least switch is not initialized on bananapi-r2

mt6397 1000d000.pwrap:mt6323: unsupported chip: 0x0

this patch contains only the probe-changes and chip_data structs
from original part 3 by Hsin-Hsiung Wang

[1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=164155

Fixes: a4872e80ce7d ("mfd: mt6397: Extract IRQ related code from core driver")
Signed-off-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6323: Add MT6323 RTC and PWRC</title>
<updated>2019-09-02T10:20:40Z</updated>
<author>
<name>Josef Friedl</name>
</author>
<published>2019-08-18T13:56:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8391c6cb2414d9a75bbe247a838d28cb0cee77ee'/>
<id>urn:sha1:8391c6cb2414d9a75bbe247a838d28cb0cee77ee</id>
<content type='text'>
Add entry for RTC and Power Controller to MT6323.

Signed-off-by: Josef Friedl &lt;josef.friedl@speed.at&gt;
Signed-off-by: Frank Wunderlich &lt;frank-w@public-files.de&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
</feed>
