<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lwn.git/drivers/mmc/host/sdhci.c, branch standardize-docs</title>
<subtitle>Linux kernel documentation tree maintained by Jonathan Corbet</subtitle>
<id>http://mirrors.hust.edu.cn/git/lwn.git/atom?h=standardize-docs</id>
<link rel='self' href='http://mirrors.hust.edu.cn/git/lwn.git/atom?h=standardize-docs'/>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/'/>
<updated>2017-04-24T19:42:27+00:00</updated>
<entry>
<title>mmc: sdhci: Control the delay between tuning commands</title>
<updated>2017-04-24T19:42:27+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-04-20T08:14:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=83b600b8de0e83661a8f40091a7966fac052a21b'/>
<id>urn:sha1:83b600b8de0e83661a8f40091a7966fac052a21b</id>
<content type='text'>
The delay between tuning commands for SD cards is not part of the
specification. A driver that needs it probably needs it for eMMC
too, whereas most drivers would probably like to set it to 0. Make
it a host member (host-&gt;tuning_delay) that defaults to the existing
behaviour. Drivers can set it to zero to eliminate the delay, or
set it to a positive value to always have a delay.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Yangbo Lu &lt;yangbo.lu@nxp.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: Export sdhci_enable_sdio_irq() from sdhci.c</title>
<updated>2017-04-24T19:42:14+00:00</updated>
<author>
<name>Hu Ziji</name>
<email>huziji@marvell.com</email>
</author>
<published>2017-03-30T15:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=2f05b6ab5fa7f279015c70f625ec5c532781eb2b'/>
<id>urn:sha1:2f05b6ab5fa7f279015c70f625ec5c532781eb2b</id>
<content type='text'>
Export sdhci_enable_sdio_irq() from sdhci.c.
Thus vendor SDHC driver can implement its specific SDIO irq
control.

Signed-off-by: Hu Ziji &lt;huziji@marvell.com&gt;
Signed-off-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Acked-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: sdhci: Export sdhci_start_signal_voltage_switch() in sdhci.c</title>
<updated>2017-04-24T19:42:14+00:00</updated>
<author>
<name>Hu Ziji</name>
<email>huziji@marvell.com</email>
</author>
<published>2017-03-30T15:22:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=c376ea9e46215fbfa09b371f79c821fa5a51f26e'/>
<id>urn:sha1:c376ea9e46215fbfa09b371f79c821fa5a51f26e</id>
<content type='text'>
Export sdhci_start_signal_voltage_switch() from sdhci.c.
Thus vendor sdhci driver can implement its own signal voltage
switch routine.

Signed-off-by: Hu Ziji &lt;huziji@marvell.com&gt;
Signed-off-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Acked-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: sdhci: Export sdhci_set_ios() from sdhci.c</title>
<updated>2017-04-24T19:42:13+00:00</updated>
<author>
<name>Hu Ziji</name>
<email>huziji@marvell.com</email>
</author>
<published>2017-03-30T15:22:55+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=6a6d4ceb7be0c72b2190f4b6b9d5d8982957fc04'/>
<id>urn:sha1:6a6d4ceb7be0c72b2190f4b6b9d5d8982957fc04</id>
<content type='text'>
Export sdhci_set_ios() in sdhci.c.
Thus vendor sdhci driver can implement its own set_ios() routine.

Signed-off-by: Hu Ziji &lt;huziji@marvell.com&gt;
Signed-off-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Acked-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: use new core function mmc_get_dma_dir</title>
<updated>2017-04-24T19:41:52+00:00</updated>
<author>
<name>Heiner Kallweit</name>
<email>hkallweit1@gmail.com</email>
</author>
<published>2017-03-26T18:45:56+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=feeef096a770d288c943c1759785bd9d4f9247b7'/>
<id>urn:sha1:feeef096a770d288c943c1759785bd9d4f9247b7</id>
<content type='text'>
Use new core function mmc_get_dma_dir().

Signed-off-by: Heiner Kallweit &lt;hkallweit1@gmail.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: clarify the get_timeout_clock callback</title>
<updated>2017-04-24T19:41:48+00:00</updated>
<author>
<name>Shawn Lin</name>
<email>shawn.lin@rock-chips.com</email>
</author>
<published>2017-03-24T07:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=8cc35289227c5cbb8811048519c1703e2137d421'/>
<id>urn:sha1:8cc35289227c5cbb8811048519c1703e2137d421</id>
<content type='text'>
Currently the get_timeout_clock callback doesn't clearly
have a statement that it needs the variant drivers to return
the timeout clock rate in kHz if the SDHCI_TIMEOUT_CLK_UNIT
isn't present, otherwise the variant drivers should return it
in MHz. It's also very likely that further variant drivers which
are going to use this callback will be confused by this situation.
Given the fact that moderm sdhci variant hosts are very prone to get
the timeout clock from common clock framework (actually the only three
users did that), it's more natural to return the value in Hz and we
make an explicit comment there. Then we put the unit conversion inside
the sdhci core. Thus will improve the code and prevent further misuses.

Reported-by: Anssi Hannula &lt;anssi.hannula@bitwise.fi&gt;
Signed-off-by: Shawn Lin &lt;shawn.lin@rock-chips.com&gt;
Acked-by: Masahiro Yamada &lt;yamada.masahiro@socionext.com&gt;
Acked-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: sdhci: Add CQE support</title>
<updated>2017-04-24T19:41:36+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-03-20T17:50:47+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f12e39dbf3e6eb521435085712addc131d803bfd'/>
<id>urn:sha1:f12e39dbf3e6eb521435085712addc131d803bfd</id>
<content type='text'>
Add an interrupt hook and helper functions for enabling, disabling and
delivering interrupts to a CQE.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Tested-by: Ludovic Desroches &lt;ludovic.desroches@microchip.com&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: Factor out sdhci_set_default_irqs</title>
<updated>2017-04-24T19:41:35+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-03-20T17:50:46+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=f5c1ab821b96419261e7676efb1a355e9d735faf'/>
<id>urn:sha1:f5c1ab821b96419261e7676efb1a355e9d735faf</id>
<content type='text'>
Factor out sdhci_set_default_irqs().

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Tested-by: Ludovic Desroches &lt;ludovic.desroches@microchip.com&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: Add sdhci_cleanup_host</title>
<updated>2017-04-24T19:41:34+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-03-20T17:50:45+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=4180ffa81779551a25772efae1128ac5a9689536'/>
<id>urn:sha1:4180ffa81779551a25772efae1128ac5a9689536</id>
<content type='text'>
Add sdhci_cleanup_host() to cleanup __sdhci_add_host().

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Tested-by: Ludovic Desroches &lt;ludovic.desroches@microchip.com&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: Export sdhci_dumpregs</title>
<updated>2017-04-24T19:41:33+00:00</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2017-03-20T17:50:43+00:00</published>
<link rel='alternate' type='text/html' href='http://mirrors.hust.edu.cn/git/lwn.git/commit/?id=d28981727dccd0e1e867deceaa709bc89f1a5ebc'/>
<id>urn:sha1:d28981727dccd0e1e867deceaa709bc89f1a5ebc</id>
<content type='text'>
Export sdhci_dumpregs so that it can be called by drivers.

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