<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mfd/twl-core.c, branch linux-4.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-08-05T03:10:06Z</updated>
<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>
<entry>
<title>mfd: twl-core: Fix passing of platform data in the device tree case</title>
<updated>2014-01-21T08:13:38Z</updated>
<author>
<name>Tony Lindgren</name>
</author>
<published>2013-11-16T00:36:03Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=80ec831e8069c3da06bd96db196422d736d364bc'/>
<id>urn:sha1:80ec831e8069c3da06bd96db196422d736d364bc</id>
<content type='text'>
Since we still need to rely on a mix of device tree initialized
drivers and legacy platform data initialize drivers, let's fix
the passing of platform data to twl4030-gpio.

As the twl4030 GPIO is initialized by twl-core.c, we need to register
the auxdata for twl4030 GPIO in twl-core.c.

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: Clean up module by removing twl603x pdata handling</title>
<updated>2014-01-21T08:13:38Z</updated>
<author>
<name>Ruslan Ruslichenko</name>
</author>
<published>2013-11-21T12:13:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2b6bfd4d4af86310903804b35183e3b50b469591'/>
<id>urn:sha1:2b6bfd4d4af86310903804b35183e3b50b469591</id>
<content type='text'>
Since currently nobody uses TWL603x platform data and all new
users will supply it through device tree, handling of these
data within twl-core will never be used, so remove it.

Signed-off-by: Ruslan Ruslichenko &lt;ruslan.ruslichenko@globallogic.com&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: Enable regcache for audio registers</title>
<updated>2014-01-08T11:37:52Z</updated>
<author>
<name>Peter Ujfalusi</name>
</author>
<published>2014-01-03T13:27:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9146070089cca0fa5c396f1a4d0b96d675004c04'/>
<id>urn:sha1:9146070089cca0fa5c396f1a4d0b96d675004c04</id>
<content type='text'>
Enable regmap's regcache for the audio registers:
i2c address 0x49, register range 0x01 - 0x49
Mark all other registers as volatile to avoid any side effect for the non
audio functions behind 0x49 i2c address.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
<entry>
<title>mfd: twl-core: API to set the regcache bypass for a given regmap in twl</title>
<updated>2014-01-08T11:37:39Z</updated>
<author>
<name>Peter Ujfalusi</name>
</author>
<published>2014-01-03T13:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3def927ea8c0a1983aa9f1499645efc53e005bb6'/>
<id>urn:sha1:3def927ea8c0a1983aa9f1499645efc53e005bb6</id>
<content type='text'>
If the regcache is enabled on the regmap module drivers might need to access
to HW register(s) in certain cases in cache bypass mode.
As an example of this is the audio block's ANAMICL register. In normal
operation the content can be cached but during initialization one bit from
the register need to be monitored. With the twl_set_regcache_bypass() the
client driver can switch regcache bypass on and off when it is needed so
we can utilize the regcache for more registers.

Signed-off-by: Peter Ujfalusi &lt;peter.ujfalusi@ti.com&gt;
Acked-by: Mark Brown &lt;broonie@kernel.org&gt;
Signed-off-by: Lee Jones &lt;lee.jones@linaro.org&gt;
</content>
</entry>
</feed>
