<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/mmc/core/core.h, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2017-02-13T12:20:43Z</updated>
<entry>
<title>mmc: core: Rename __mmc_set_signal_voltage() to mmc_set_signal_voltage()</title>
<updated>2017-02-13T12:20:43Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2017-01-25T10:12:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e74b6b3c6e9adfe6a8fdebfc56a6416a996d905'/>
<id>urn:sha1:4e74b6b3c6e9adfe6a8fdebfc56a6416a996d905</id>
<content type='text'>
Earlier the mmc_set_signal_voltage() existed, but since it has been renamed
to mmc_set_uhs_voltage(), we can now use that name instead.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Tested-by: Jan Glauber &lt;jglauber@cavium.com&gt;
Tested-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
</content>
</entry>
<entry>
<title>mmc: core: Clarify usage of mmc_set_signal_voltage()</title>
<updated>2017-02-13T12:20:43Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2017-01-25T09:25:01Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ed573b603f78289dd1435c94597aa25a97e2b76'/>
<id>urn:sha1:2ed573b603f78289dd1435c94597aa25a97e2b76</id>
<content type='text'>
The mmc_set_signal_voltage() function is used for SD/SDIO when switching to
1.8V for UHS mode. To clarify this let's do the following changes.

- We are always providing MMC_SIGNAL_VOLTAGE_180 as the signal_voltage
  parameter to the function. Then, let's just remove the parameter as it
  serves no purpose.
- Rename the function to mmc_set_uhs_voltage().

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Tested-by: Jan Glauber &lt;jglauber@cavium.com&gt;
Tested-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
</content>
</entry>
<entry>
<title>mmc: core: Move public functions from core.h to private headers</title>
<updated>2017-02-13T12:20:21Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2017-01-13T13:14:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55244c5659b5e73a969b285a2e763223d8aab979'/>
<id>urn:sha1:55244c5659b5e73a969b285a2e763223d8aab979</id>
<content type='text'>
A significant amount of functions are available through the public mmc
core.h header file. Let's slim down this public mmc interface, as to
prevent users from abusing it, by moving some of the functions to private
mmc header files.

This change concentrates on moving the functions into private mmc headers,
following changes may continue with additional clean-ups, as an example
some functions can be turned into static.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>mmc: core: First step in cleaning up private mmc header files</title>
<updated>2017-02-13T12:20:20Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2017-01-13T13:14:07Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=066185d690631478b16045d152b163a51a5e4847'/>
<id>urn:sha1:066185d690631478b16045d152b163a51a5e4847</id>
<content type='text'>
This is the first step in cleaning up the private mmc header files. In this
change we makes sure each header file builds standalone, as that helps to
resolve dependencies.

While changing this, it also seems reasonable to stop including other
headers from inside a header itself which it don't depend upon.
Additionally, in some cases such dependencies are better resolved by
forward declaring the needed struct.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
</content>
</entry>
<entry>
<title>mmc: fix mmc_{un,}register_pm_notifier prototypes</title>
<updated>2015-12-22T10:32:09Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2015-11-20T10:28:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fb0229dfec3df9247190f001f1b51d767f2ee035'/>
<id>urn:sha1:fb0229dfec3df9247190f001f1b51d767f2ee035</id>
<content type='text'>
The mmc pm notifiers were recently reworked, but the new
code produces a lot of warnings when CONFIG_PM_SLEEP is disabled:

In file included from ../drivers/mmc/core/sdio_bus.c:27:0:
drivers/mmc/core/core.h:97:13: warning: 'mmc_register_pm_notifier' defined but not used [-Wunused-function]

The obvious solution is to add the 'inline' keyword at the
function definition, as it should be for any function defined
in a header file.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Fixes: 0e40be7c20e0 ("mmc: core: Refactor code to register the MMC PM notifier")
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Refactor code to register the MMC PM notifier</title>
<updated>2015-12-22T10:32:04Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2015-11-05T15:11:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8dede18e2e86c8e272cd74e66b0e86872cbe7e02'/>
<id>urn:sha1:8dede18e2e86c8e272cd74e66b0e86872cbe7e02</id>
<content type='text'>
Instead of checking for "#ifdef" directly in the code, let's invent a pair
of mmc core functions to deal with register/unregister the MMC PM notifier
block. Implement stubs for these functions when CONFIG_PM_SLEEP is unset,
as in that case the PM notifiers isn't used.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Remove MMC_CLKGATE</title>
<updated>2015-10-26T15:00:09Z</updated>
<author>
<name>Ulf Hansson</name>
</author>
<published>2015-10-02T08:56:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eadcc0581a8ccaf4c2378aa1c193fb164304f1d'/>
<id>urn:sha1:9eadcc0581a8ccaf4c2378aa1c193fb164304f1d</id>
<content type='text'>
MMC_CLKGATE was once invented to save power by gating the bus clock at
request inactivity. At that time it served its purpose. The modern way to
deal with power saving for these scenarios, is by using runtime PM.

Nowadays, several host drivers have deployed runtime PM, but for those
that haven't and which still cares power saving at request inactivity,
it's certainly time to deploy runtime PM as it has been around for several
years now.

To simplify code to mmc core and thus decrease maintenance efforts, this
patch removes all code related to MMC_CLKGATE.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reviewed-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Factor out common code in drive strength selection</title>
<updated>2015-06-01T07:07:12Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2015-02-06T12:12:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e23350b35deb77ef8e33c35dbb0ed1dab9e8ab86'/>
<id>urn:sha1:e23350b35deb77ef8e33c35dbb0ed1dab9e8ab86</id>
<content type='text'>
Make a new function out of common code used for drive
strength selection.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Add support for HS400 re-tuning</title>
<updated>2015-06-01T07:06:57Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2015-05-07T10:10:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6376f69d20a6905c1d83be451065f70200490b98'/>
<id>urn:sha1:6376f69d20a6905c1d83be451065f70200490b98</id>
<content type='text'>
HS400 re-tuning must be done in HS200 mode. Add
the ability to switch from HS400 mode to HS200
mode before re-tuning and switch back to HS400
after re-tuning.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Simplify by adding mmc_execute_tuning()</title>
<updated>2015-01-19T08:56:30Z</updated>
<author>
<name>Adrian Hunter</name>
</author>
<published>2014-12-05T17:40:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63e415c64003fd62a302a1dc19f082e2c6f1b7cc'/>
<id>urn:sha1:63e415c64003fd62a302a1dc19f082e2c6f1b7cc</id>
<content type='text'>
For each MMC, SD and SDIO there is code that
holds the clock, calls ops-&gt;execute_tuning, and
releases the clock. Simplify the code a bit by
providing a separate function to do that.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
</feed>
