<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/twl-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: twl-core: Fix section annotations on {,un}protect_pm_master</title>
<updated>2019-02-27T09:06:58Z</updated>
<author>
<name>Nathan Chancellor</name>
</author>
<published>2018-10-17T17:13:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c42ae90ce5ee137854ab8445bbdddc4642d9e79c'/>
<id>urn:sha1:c42ae90ce5ee137854ab8445bbdddc4642d9e79c</id>
<content type='text'>
[ Upstream commit 8838555089f0345b87f4277fe5a8dd647dc65589 ]

When building the kernel with Clang, the following section mismatch
warning appears:

WARNING: vmlinux.o(.text+0x3d84a3b): Section mismatch in reference from
the function twl_probe() to the function
.init.text:unprotect_pm_master()
The function twl_probe() references
the function __init unprotect_pm_master().
This is often because twl_probe lacks a __init
annotation or the annotation of unprotect_pm_master is wrong.

Remove the __init annotation on the *protect_pm_master functions so
there is no more mismatch.

Signed-off-by: Nathan Chancellor &lt;natechancellor@gmail.com&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: twl-core: Make it explicitly non-modular</title>
<updated>2016-10-04T14:48:04Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2016-09-12T14:40:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7a243b632383fd05cd230779f33f2b123fc16b40'/>
<id>urn:sha1:7a243b632383fd05cd230779f33f2b123fc16b40</id>
<content type='text'>
The Kconfig currently controlling compilation of this code is:

drivers/mfd/Kconfig:config TWL4030_CORE
drivers/mfd/Kconfig:    bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 Support"

...meaning that it currently is not being built as a module by anyone.

Lets remove what modular code that we can, so that when reading the
driver there is less doubt that it is builtin-only.  Note that we can't
remove the twl_remove() itself ; it is still used by the probe unwind
routine.  So we leave it linked into the .remove as well, even though
it will most likely never be called via that path from an unbind.

Since module_i2c_driver() uses the same init level priority as
builtin_i2c_driver() the init ordering remains unchanged with
this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: Refactoring for add_numbered_child()</title>
<updated>2016-06-29T09:16:16Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2016-06-26T11:03:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8175a01c2117e13f53b258e039f3a89c58be1425'/>
<id>urn:sha1:8175a01c2117e13f53b258e039f3a89c58be1425</id>
<content type='text'>
Adjust jump targets according to the Linux coding style convention.
Another check for the variable "status" can be omitted then at the end.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: Return directly after a failed platform_device_alloc() in add_numbered_child()</title>
<updated>2016-06-29T09:16:11Z</updated>
<author>
<name>Markus Elfring</name>
</author>
<published>2016-06-26T10:25:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a67911d38f2deda8a48cb0e8a4b3f59afeda7b81'/>
<id>urn:sha1:a67911d38f2deda8a48cb0e8a4b3f59afeda7b81</id>
<content type='text'>
The platform_device_put() function was called in one case by the
add_numbered_child() function during error handling even if the passed
variable "pdev" contained a null pointer.
Return directly in this case.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring &lt;elfring@users.sourceforge.net&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>twl4030_charger: use runtime_pm to keep usb phy active while charging.</title>
<updated>2015-08-05T03:10:06Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2015-07-30T00:11:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e57c4a67d71275e4a15b9f0f92a322ea27b26a6e'/>
<id>urn:sha1:e57c4a67d71275e4a15b9f0f92a322ea27b26a6e</id>
<content type='text'>
The twl4030 usb phy needs to be active while we are using
the USB VBUS as a current source for charging.
In particular, the usb3v1 regulator must be enabled and the
PHY_PWR_PHYPWD bit must be set to keep the phy powered.

commit ab37813f4093a5f59cb8e083cde277289dc72ed3
    twl4030_charger: Allow charger to control the regulator that feeds it

gave the charger control over the regulator, but didn't resolve
the PHY_PWR_PHYPWD issue.

Now that both of these are controlled by runtime_pm in
phy-twl4030-usb, we can simply take a runtime_pm reference to the USB
phy whenever the charger wants to use it as a current source.

So this patch reverts the above commit, and adds the necessary
runtime_pm calls.

Acked-by: Lee Jones &lt;lee.jones@linaro.org&gt;
Signed-off-by: NeilBrown &lt;neil@brown.name&gt;
Signed-off-by: Sebastian Reichel &lt;sre@kernel.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: Constify struct regmap_config and reg_default array</title>
<updated>2015-01-22T16:03:48Z</updated>
<author>
<name>Krzysztof Kozlowski</name>
</author>
<published>2015-01-05T09:01:32Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d842b61ba9e63b77830f24f1bfdcc102f5628167'/>
<id>urn:sha1:d842b61ba9e63b77830f24f1bfdcc102f5628167</id>
<content type='text'>
The regmap_config struct may be const because it is not modified by the
driver and regmap_init() accepts pointer to const. Make array of
struct reg_default const as well.

Signed-off-by: Krzysztof Kozlowski &lt;k.kozlowski@samsung.com&gt;
Acked-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ib-mfd-omap-3.16' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into omap-for-v3.16/pm</title>
<updated>2014-05-06T20:48:02Z</updated>
<author>
<name>Tony Lindgren</name>
</author>
<published>2014-05-06T20:48:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=08eb9a8c8a01e7bd689aeb05e51ac945f0adaf61'/>
<id>urn:sha1:08eb9a8c8a01e7bd689aeb05e51ac945f0adaf61</id>
<content type='text'>
Immutable branch between MFD and ARM OMAP due for v3.16 merge-window.
</content>
</entry>
<entry>
<title>mfd: twl-core: Fix idle mode signaling for omaps when booted with device tree</title>
<updated>2014-04-23T14:31:05Z</updated>
<author>
<name>Tony Lindgren</name>
</author>
<published>2014-04-10T23:47:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a613b739b8c08eab811e677810045cc0522fc3e6'/>
<id>urn:sha1:a613b739b8c08eab811e677810045cc0522fc3e6</id>
<content type='text'>
I noticed a regression where the omap sys_clkreq signal will never
trigger for omap3 when booted with device tree while it triggers
when booted in legacy mode. This means voltage scaling does not
do anything when booted with device tree.

Turns out the reason is we fail to initialize the SmartReflex
enable bit in twl4030 with the following error:

twl: not initialized

And that happens because we are wrongly tinkering with the twl4030
registers in arch/arm/mach-omap2/omap_twl.c before the driver is
initialized. Looking at the the SmartReflex bit enable code in
omap_twl.c, we need to always set it.

So let's fix the issue by always enabling the twl4030 SmartReflex
bit in the drivers/mfd/twl-core.c probe, and drop the related
code in omap_twl.c.

Note that we still have some twl4030 tinkering left in omap_twl.c
for the twl6030 case, but that's a different patch.

Signed-off-by: Tony Lindgren &lt;tony@atomide.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: Fix accessibility of some twl4030 audio registers</title>
<updated>2014-03-19T08:58:43Z</updated>
<author>
<name>Tomas Novotny</name>
</author>
<published>2014-03-10T18:12:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=56816b700c8c773270f3aaf4c92be53e359a03fd'/>
<id>urn:sha1:56816b700c8c773270f3aaf4c92be53e359a03fd</id>
<content type='text'>
There are some unused registers in twl4030 at I2C address 0x49 and function
twl4030_49_nop_reg() is used to check accessibility of that registers. These
registers are written in decimal format but the values are correct in
hexadecimal format. (It can be checked few lines above the patched code -
these registers are marked as unused there.)

As a consequence three registers of audio submodule are treated as
inaccessible (preamplifier carkit right and both handsfree registers).

Cc: stable@vger.kernel.org
Signed-off-by: Tomas Novotny &lt;tomas@novotny.cz&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'ib-asoc-3.14.2' into for-mfd-next</title>
<updated>2014-01-21T08:26:12Z</updated>
<author>
<name>Lee Jones</name>
</author>
<published>2014-01-21T08:26:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=09fd19da0074b86030a00303522b2ba63a4399b7'/>
<id>urn:sha1:09fd19da0074b86030a00303522b2ba63a4399b7</id>
<content type='text'>
Immutable branch between MFD and ASoC due for the v3.14 merge window
</content>
</entry>
</feed>
