<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/mt6397-core.c, branch linux-4.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.9.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-02-27T09:06:58Z</updated>
<entry>
<title>mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported</title>
<updated>2019-02-27T09:06:58Z</updated>
<author>
<name>Nicolas Boichat</name>
</author>
<published>2018-10-22T02:55:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=91e6613e22921b4e975608f83785a48f28eac65d'/>
<id>urn:sha1:91e6613e22921b4e975608f83785a48f28eac65d</id>
<content type='text'>
[ Upstream commit a177276aa098aa47a100d51a13eaaef029604b6d ]

If the PMIC ID is unknown, the current code would call
irq_domain_remove and panic, as pmic-&gt;irq_domain is only
initialized by mt6397_irq_init.

Return immediately with an error, if the chip ID is unsupported.

Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: Sasha Levin &lt;sashal@kernel.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: IRQ domain should initialize before mfd_add_devices()</title>
<updated>2016-05-09T07:20:22Z</updated>
<author>
<name>Henry Chen</name>
</author>
<published>2016-04-15T08:30:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1387ff53568ba409eef072087fa02359b3a3551b'/>
<id>urn:sha1:1387ff53568ba409eef072087fa02359b3a3551b</id>
<content type='text'>
Some sub driver like RTC module need irq domain from parent to create
irq mapping when driver initialize. so move mt6397_irq_init() before
mfd_add_devices().

Acked-by: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Henry Chen &lt;henryc.chen@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Use devm_mfd_add_devices() for mfd_device registration</title>
<updated>2016-04-19T06:55:40Z</updated>
<author>
<name>Laxman Dewangan</name>
</author>
<published>2016-04-07T18:43:04Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08e380a53a92a445bdfd98e09680237bf0c269aa'/>
<id>urn:sha1:08e380a53a92a445bdfd98e09680237bf0c269aa</id>
<content type='text'>
Use devm_mfd_add_devices() for MFD devices registration and get
rid of .remove callback to remove MFD child-devices. This is done
by managed device framework.

CC: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Add platform device ID table</title>
<updated>2016-03-16T08:50:32Z</updated>
<author>
<name>Javier Martinez Canillas</name>
</author>
<published>2016-02-10T16:50:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e1d9a10918396ae26dd5181d454c793ff17c9ded'/>
<id>urn:sha1:e1d9a10918396ae26dd5181d454c793ff17c9ded</id>
<content type='text'>
The platform bus_type .match callback attempts to match the platform device
name with an entry on the .id_table if provided and fallbacks to match with
the driver's name if a table is not provided.

Using a platform device ID to match is more explicit, allows the driver to
support more than one device and also the MODULE_DEVICE_TABLE macro can be
used to export the module aliases information instead of the MODULE_ALIAS.

Signed-off-by: Javier Martinez Canillas &lt;javier@osg.samsung.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Add MT6323 support to MT6397 driver</title>
<updated>2016-03-16T08:50:30Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-01-27T11:47:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=44760cf3bf0a29da8f5cc271698c8772b8f79673'/>
<id>urn:sha1:44760cf3bf0a29da8f5cc271698c8772b8f79673</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Add support for different Slave types</title>
<updated>2016-03-16T08:50:29Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-01-27T11:47:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d2c25ed4558cc591072e43e16118f08f7eeb206'/>
<id>urn:sha1:1d2c25ed4558cc591072e43e16118f08f7eeb206</id>
<content type='text'>
Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: int_con and int_status may vary in location</title>
<updated>2016-03-16T08:50:28Z</updated>
<author>
<name>John Crispin</name>
</author>
<published>2016-01-27T11:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=feec4799ac4d214abd62e2bdfccb3ca9c5801d2f'/>
<id>urn:sha1:feec4799ac4d214abd62e2bdfccb3ca9c5801d2f</id>
<content type='text'>
MT6323 has the INT_CON and INT_STATUS located at a different position.
Make the registers locations configurable.

Signed-off-by: John Crispin &lt;blogic@openwrt.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: mt6397: Implement wake handler and suspend/resume to handle wake up event</title>
<updated>2015-08-11T14:09:11Z</updated>
<author>
<name>Henry Chen</name>
</author>
<published>2015-08-10T13:10:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3151ab4a7320ce3f48955fe796bd90dd00881ab'/>
<id>urn:sha1:f3151ab4a7320ce3f48955fe796bd90dd00881ab</id>
<content type='text'>
Implement .irq_set_wake() to get who is wakeup source and setup on suspend/reumse. Enable
mt6393_irq as wake up source properly to pinctrl by enable_irq_wake()/enable_irq_wake().

Signed-off-by: Henry Chen &lt;henryc.chen@mediatek.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc</title>
<updated>2015-08-11T14:09:06Z</updated>
<author>
<name>Jiang Liu</name>
</author>
<published>2015-07-13T20:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1e84aa445893a608445af2fda5d8a03c0a86af84'/>
<id>urn:sha1:1e84aa445893a608445af2fda5d8a03c0a86af84</id>
<content type='text'>
Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
already have a pointer to corresponding irq_desc.

Do the same change to avoid the pattern "irq_get_chip_data(data-&gt;irq)".

Signed-off-by: Jiang Liu &lt;jiang.liu@linux.intel.com&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: Kill off set_irq_flags usage</title>
<updated>2015-08-11T14:09:01Z</updated>
<author>
<name>Rob Herring</name>
</author>
<published>2015-07-27T20:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9bd09f345e62257958342f712efef644494274fb'/>
<id>urn:sha1:9bd09f345e62257958342f712efef644494274fb</id>
<content type='text'>
set_irq_flags is ARM specific with custom flags which have genirq
equivalents. Convert drivers to use the genirq interfaces directly, so we
can kill off set_irq_flags. The translation of flags is as follows:

IRQF_VALID -&gt; !IRQ_NOREQUEST
IRQF_PROBE -&gt; !IRQ_NOPROBE
IRQF_NOAUTOEN -&gt; IRQ_NOAUTOEN

For IRQs managed by an irqdomain, the irqdomain core code handles clearing
and setting IRQ_NOREQUEST already, so there is no need to do this in
.map() functions and we can simply remove the set_irq_flags calls. Some
users also modify IRQ_NOPROBE and this has been maintained although it
is not clear that is really needed. There appears to be a great deal of
blind copy and paste of this code.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
</feed>
