<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/stmpe.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:13Z</updated>
<entry>
<title>mfd: stmpe: Remove #ifdef guards for PM related functions</title>
<updated>2022-12-07T13:28:13Z</updated>
<author>
<name>Paul Cercueil</name>
</author>
<published>2022-10-23T09:48:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f7f292fe819b6c754836923e126ec27c29be2d07'/>
<id>urn:sha1:f7f292fe819b6c754836923e126ec27c29be2d07</id>
<content type='text'>
Use the new EXPORT_GPL_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;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
</content>
</entry>
<entry>
<title>mfd: stmpe: Switch to using gpiod API</title>
<updated>2022-09-28T15:17:40Z</updated>
<author>
<name>Dmitry Torokhov</name>
</author>
<published>2022-09-06T18:35:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ac3e91199d694612a74673b0b53e339ad02b564d'/>
<id>urn:sha1:ac3e91199d694612a74673b0b53e339ad02b564d</id>
<content type='text'>
This patch switches the driver away from legacy gpio/of_gpio API to
gpiod API, and removes use of of_get_named_gpio_flags() which I want to
make private to gpiolib.

We also need to patch relevant DTS files, as the original code relied on
the fact that of_get_named_gpio_flags() would fetch any data encoded in
GPIO flags, even if it does not reflect valid flags for a GPIO.

Signed-off-by: Dmitry Torokhov &lt;dmitry.torokhov@gmail.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/YxeS1BK2OBH1P/kO@google.com
</content>
</entry>
<entry>
<title>mfd: stmpe: Probe sub-function by compatible</title>
<updated>2022-09-28T15:09:48Z</updated>
<author>
<name>Francesco Dolcini</name>
</author>
<published>2022-07-12T16:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d7667f19033925f263512145d8b7a02dd3d35fa6'/>
<id>urn:sha1:d7667f19033925f263512145d8b7a02dd3d35fa6</id>
<content type='text'>
Use sub-function of_compatible during probe, instead of using the node
name. The code should not rely on the node names during probe, in
addition to that the previously hard-coded node names are not compliant
to the latest naming convention (they are not generic and they use
underscores), and it was broken by mistake already once [1].

[1] commit 56086b5e804f ("ARM: dts: imx6qdl-apalis: Avoid underscore in node name")

Suggested-by: Ahmad Fatoum &lt;a.fatoum@pengutronix.de&gt;
Signed-off-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/20220712163345.445811-3-francesco.dolcini@toradex.com
</content>
</entry>
<entry>
<title>mfd: stmpe: Remove rotator block from probe</title>
<updated>2022-09-28T15:09:48Z</updated>
<author>
<name>Francesco Dolcini</name>
</author>
<published>2022-07-12T16:33:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c4352976ff2121d6d3dce5b7641f3c30c03a415'/>
<id>urn:sha1:8c4352976ff2121d6d3dce5b7641f3c30c03a415</id>
<content type='text'>
Remove rotator block from probe, it is not used in any device tree file,
there is no related cell defined, it's just dead non-working code with no
of_compatible for it.

This is a preliminary change to allow probing by of_compatible and not
by a fixed name.

Signed-off-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
Signed-off-by: Lee Jones &lt;lee@kernel.org&gt;
Link: https://lore.kernel.org/r/20220712163345.445811-2-francesco.dolcini@toradex.com
</content>
</entry>
<entry>
<title>mfd: stmpe: Support disabling sub-functions</title>
<updated>2021-11-29T13:17:00Z</updated>
<author>
<name>Oleksandr Suvorov</name>
</author>
<published>2021-10-27T08:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=786c6f140bb67ba315962b4742326e93e8b3207c'/>
<id>urn:sha1:786c6f140bb67ba315962b4742326e93e8b3207c</id>
<content type='text'>
Add support of sub-functions disabling. It allows one to define
an stmpe sub-function device in devicetree, but keep it disabled.

Signed-off-by: Oleksandr Suvorov &lt;oleksandr.suvorov@toradex.com&gt;
Signed-off-by: Francesco Dolcini &lt;francesco.dolcini@toradex.com&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Marcel Ziswiler &lt;marcel.ziswiler@toradex.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Link: https://lore.kernel.org/r/20211027082155.206449-1-francesco.dolcini@toradex.com
</content>
</entry>
<entry>
<title>mfd: stmpe: Make stmpe_remove() return void</title>
<updated>2021-11-05T14:40:26Z</updated>
<author>
<name>Uwe Kleine-König</name>
</author>
<published>2021-10-12T15:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=356bbabade8e56efe2834159b5c062b8aff277dd'/>
<id>urn:sha1:356bbabade8e56efe2834159b5c062b8aff277dd</id>
<content type='text'>
Up to now stmpe_remove() returns zero unconditionally. Make it return
void instead which makes it easier to see in the callers that there is
no error to handle.

Also the return value of i2c and spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König &lt;u.kleine-koenig@pengutronix.de&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Link: https://lore.kernel.org/r/20211012153945.2651412-10-u.kleine-koenig@pengutronix.de
</content>
</entry>
<entry>
<title>mfd: Don't use irq_create_mapping() to resolve a mapping</title>
<updated>2021-08-05T11:41:06Z</updated>
<author>
<name>Marc Zyngier</name>
</author>
<published>2021-07-25T18:07:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9ff80e2de36d0554e3a6da18a171719fe8663c17'/>
<id>urn:sha1:9ff80e2de36d0554e3a6da18a171719fe8663c17</id>
<content type='text'>
Although irq_create_mapping() is able to deal with duplicate
mappings, it really isn't supposed to be a substitute for
irq_find_mapping(), and can result in allocations that take place
in atomic context if the mapping didn't exist.

Fix the handful of MFD drivers that use irq_create_mapping() in
interrupt context by using irq_find_mapping() instead.

Cc: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Cc: Lee Jones &lt;lee.jones@linaro.org&gt;
Cc: Maxime Coquelin &lt;mcoquelin.stm32@gmail.com&gt;
Cc: Alexandre Torgue &lt;alexandre.torgue@foss.st.com&gt;
Signed-off-by: Marc Zyngier &lt;maz@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: stmpe: Revert "Constify static struct resource"</title>
<updated>2021-04-14T15:03:22Z</updated>
<author>
<name>Rikard Falkeborn</name>
</author>
<published>2021-03-04T23:07:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb9e880a797a77c21c0f0e7ccd553da8eb4870af'/>
<id>urn:sha1:cb9e880a797a77c21c0f0e7ccd553da8eb4870af</id>
<content type='text'>
In stmpe_devices_init(), the start and end field of these structs are
modified, so they can not be const. Add a comment to those structs that
lacked it to reduce the risk that this happens again.

This reverts commit 8d7b3a6dac4eae22c58b0853696cbd256966741b.

Fixes: 8d7b3a6dac4e ("mfd: stmpe: Constify static struct resource")
Reported-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Rikard Falkeborn &lt;rikard.falkeborn@gmail.com&gt;
Reviewed-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: stmpe: Constify static struct resource</title>
<updated>2020-11-19T08:34:21Z</updated>
<author>
<name>Rikard Falkeborn</name>
</author>
<published>2020-09-22T19:26:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8d7b3a6dac4eae22c58b0853696cbd256966741b'/>
<id>urn:sha1:8d7b3a6dac4eae22c58b0853696cbd256966741b</id>
<content type='text'>
Constify a couple of static struct resource. The only usage of the
structs is to assign their address to the resources field in the
mfd_cell struct. This allows the compiler to put them in read-only
memory. Done with the help of Coccinelle.

Signed-off-by: Rikard Falkeborn &lt;rikard.falkeborn@gmail.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464</title>
<updated>2019-06-19T15:09:10Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2019-06-04T08:10:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1f67b599f8b8f976d2ea1a447c0f5e768a78ae8e'/>
<id>urn:sha1:1f67b599f8b8f976d2ea1a447c0f5e768a78ae8e</id>
<content type='text'>
Based on 1 normalized pattern(s):

  license terms gnu general public license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 11 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Enrico Weigelt &lt;info@metux.net&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081202.373849232@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
