<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel">
    <title>gmane.linux.ports.sh.devel</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15166"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15163"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15161"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15160"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15159"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15158"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15157"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15156"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15155"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15154"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15153"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15152"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15151"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15150"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15149"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15148"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15147"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15146"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15145"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15144"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15166">
    <title>(unknown)</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15166</link>
    <description>&lt;pre&gt;
 i am robothroli, Purchase manager from roli Merchant Ltd. We are
Import/export Company based in taiwan. We are interested in purchasing
your product and I would like to make an inquiry. Please inform me on:

Sample availability and price
Minimum order quantity
FOB Prices

Sincerely
Purchase Manager
robothroli



--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>robothroli company</dc:creator>
    <dc:date>2012-05-25T13:45:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15163">
    <title>Re: [PATCH] lib/decompress_unxz.c: removing all memory helper functions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15163</link>
    <description>&lt;pre&gt;
memcpy() is not guaranteed to work for any overlap; that is what
memmove() is for.

-hpa

&lt;/pre&gt;</description>
    <dc:creator>H. Peter Anvin</dc:creator>
    <dc:date>2012-05-25T17:13:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15161">
    <title>Re: [PATCH] lib/decompress_unxz.c: removing all memory helper functions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15161</link>
    <description>&lt;pre&gt;
Yes, I agree that having a shared file would be the best solution.
Unfortunately with the current preboot architecture and infra structure,
it would not be a trivial task. I believe defining these functions for
each arch would give a better code modularity compared to including them
in the decompressor file.


We could do that.  But according to the comment in the original
implementation, there seems to be a concern regarding its performance
speed. If you believe all archs' memcpy would give comparable
performance to the memmove. then I could do that.


For x86, I think I could move memmove to the misc.c file and put an
ifdef XZ_PREBOOT around it.  This way it should not impact other
decompressor.  I could also do this for s390 and sh.  But if we decide
to replace memmove with memcpy this would be necessart.

Thank you very for your comment.  Please let me know what you think.
I'll redo and send out a new patch.  Thanks in advance.

Thanks,
Mak.


--
To unsubscribe from this list: send the line "unsubscribe&lt;/pre&gt;</description>
    <dc:creator>Thavatchai Makphaibulcboke</dc:creator>
    <dc:date>2012-05-25T16:31:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15160">
    <title>Re: [PATCH 0/0/6 v3] mmc core, tmio / sdhi and sh-mmcif updates</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15160</link>
    <description>&lt;pre&gt;

Yes, I know, thank you for your kind words :-D It's Friday, 17:59, +30° 
Celsius (or more) :-)

SORRY

Guennadi


---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T16:01:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15159">
    <title>[PATCH 00/10:4/6 v3] mmc: cd-gpio: extend to handle more slot functions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15159</link>
    <description>&lt;pre&gt;This is an update of patches 15,17,19-23 from the previous version

http://thread.gmane.org/gmane.linux.ports.sh.devel/14673

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15158">
    <title>[PATCH 2/3 v3] mmc: sh_mmcif: fix clock management</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15158</link>
    <description>&lt;pre&gt;Regardless, whether the MMC bus clock is the same, as the PM clock on this
specific interface, it has to be managed separately. Its proper management
should also include enabling and disabling of the clock, whenever the
interface is becoming active or going idle respectively.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/sh_mmcif.c |   46 +++++++++++++++++++++---------------------
 1 files changed, 23 insertions(+), 23 deletions(-)

diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 01db31c..e5e8198 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -948,6 +948,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
 }
 if (host-&amp;gt;power) {
 pm_runtime_put(&amp;amp;host-&amp;gt;pd-&amp;gt;dev);
+clk_disable(host-&amp;gt;hclk);
 host-&amp;gt;power = false;
 if (p-&amp;gt;down_pwr &amp;amp;&amp;amp; ios-&amp;gt;power_mode == MMC_POWER_OFF)
 p-&amp;gt;down_pwr(host-&amp;gt;pd);
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -960,6 +961,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15157">
    <title>[PATCH 1/5 v3] mmc: sh_mmcif: remove redundant .down_pwr() callback</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15157</link>
    <description>&lt;pre&gt;used to turn the card's power on, and the .down_pwr() callback has been
used to turn it off. .set_pwr() can be used for both these tasks, which is
also how it is implemented by the only user of this API: the SH7724 ecovec
board.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/sh_mmcif.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index bdf42d5..3834b21 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -963,8 +963,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
 pm_runtime_put(&amp;amp;host-&amp;gt;pd-&amp;gt;dev);
 clk_disable(host-&amp;gt;hclk);
 host-&amp;gt;power = false;
-if (p-&amp;gt;down_pwr &amp;amp;&amp;amp; ios-&amp;gt;power_mode == MMC_POWER_OFF)
-p-&amp;gt;down_pwr(host-&amp;gt;pd);
+if (p-&amp;gt;set_pwr &amp;amp;&amp;amp; ios-&amp;gt;power_mode == MMC_POWER_OFF)
+p-&amp;gt;set_pwr(host-&amp;gt;pd, 0);
 }
 host-&amp;gt;state = STATE_IDLE;
 return;
&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15156">
    <title>[PATCH 1/3 v3] sh: ecovec: switch MMC power control to regulators</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15156</link>
    <description>&lt;pre&gt;Power on the CN11 and CN12 SD/MMC slots on ecovec is controlled by GPIOs,
which makes it possible to use the fixed voltage regulator driver to switch
card power on and off.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 arch/sh/boards/mach-ecovec24/setup.c |   85 ++++++++++++++++++++++++---------
 1 files changed, 62 insertions(+), 23 deletions(-)

diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index dbedfda..5ba295d 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -19,6 +19,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include &amp;lt;linux/interrupt.h&amp;gt;
 #include &amp;lt;linux/io.h&amp;gt;
 #include &amp;lt;linux/delay.h&amp;gt;
+#include &amp;lt;linux/regulator/driver.h&amp;gt;
+#include &amp;lt;linux/regulator/fixed.h&amp;gt;
+#include &amp;lt;linux/regulator/machine.h&amp;gt;
 #include &amp;lt;linux/usb/r8a66597.h&amp;gt;
 #include &amp;lt;linux/usb/renesas_usbhs.h&amp;gt;
 #include &amp;lt;linux/i2c.h&amp;gt;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -518,12 +521,66 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static struct i2c_board_info ts_i2c_clients = {
 .irq= IRQ0,
 };
 
+static struct regulator_consumer_supply cn12_power_&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15155">
    <title>[PATCH 10/10 v3] mmc: tmio: use generic GPIO CD and WP handlers</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15155</link>
    <description>&lt;pre&gt;The tmio-mmc driver is already using the generic GPIO CD handler in IRQ
mode. This patch adds support for CD polling mode and also checks for
availability of a WP GPIO.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/tmio_mmc_pio.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index 5261934..1eed200 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -871,6 +871,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int tmio_mmc_get_ro(struct mmc_host *mmc)
 {
 struct tmio_mmc_host *host = mmc_priv(mmc);
 struct tmio_mmc_data *pdata = host-&amp;gt;pdata;
+int ret = mmc_gpio_get_ro(mmc);
+if (ret &amp;gt;= 0)
+return ret;
 
 return !((pdata-&amp;gt;flags &amp;amp; TMIO_MMC_WRPROTECT_DISABLE) ||
  (sd_ctrl_read32(host, CTL_STATUS) &amp;amp; TMIO_STAT_WRPROTECT));
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -880,6 +883,9 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int tmio_mmc_get_cd(struct mmc_host *mmc)
 {
 struct tmio_mmc_host *host = mmc_priv(mmc);
 struct tmio_mmc_data *pdata = host&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:45</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15154">
    <title>[PATCH 02/10 v3] mmc: use a more generic name for slot function types and fields</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15154</link>
    <description>&lt;pre&gt;struct mmc_host::hotplug is becoming a generic hook for slot functions.
Rename it accordingly.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/core/host.c      |    2 ++
 drivers/mmc/core/slot-gpio.c |    8 ++++----
 include/linux/mmc/host.h     |   17 ++++++++++++++---
 3 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 91c84c7..b8c5290 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -327,6 +327,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; struct mmc_host *mmc_alloc_host(int extra, struct device *dev)
 
 mmc_host_clk_init(host);
 
+host-&amp;gt;slot.cd_irq = -EINVAL;
+
 spin_lock_init(&amp;amp;host-&amp;gt;lock);
 init_waitqueue_head(&amp;amp;host-&amp;gt;wq);
 INIT_DELAYED_WORK(&amp;amp;host-&amp;gt;detect, mmc_rescan);
diff --git a/drivers/mmc/core/slot-gpio.c b/drivers/mmc/core/slot-gpio.c
index 9796710..468e5a0 100644
--- a/drivers/mmc/core/slot-gpio.c
+++ b/drivers/mmc/core/slot-gpio.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -56,8 +56,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; int mmc_gpio_request_cd(struct mmc_host *host, unsigned int gpio)&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:37</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15153">
    <title>[PATCH 6/8 v3] mmc: sdhi: do not install dummy callbacks</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15153</link>
    <description>&lt;pre&gt;Currently the SDHI glue for the TMIO MMC driver installs dummy .get_cd() and
.set_pwr() callbacks even if the platform didn't supply them. This is not
necessary, since the TMIO MMC driver itself checks for NULL callbacks. This
is also dubious if the platform provides a regulator for SD-card power
switching. It is better to only install those callbacks, if they are really
provided by the platform.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/sh_mobile_sdhi.c |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index d8b167c..42f07fa 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -64,18 +64,14 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void sh_mobile_sdhi_set_pwr(struct platform_device *pdev, int state)
 {
 struct sh_mobile_sdhi_info *p = pdev-&amp;gt;dev.platform_data;
 
-if (p &amp;amp;&amp;amp; p-&amp;gt;set_pwr)
-p-&amp;gt;set_pwr(pdev, state);
+p-&amp;gt;set_pwr(pdev, state);
 }
 
 static int s&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15152">
    <title>[PATCH 3/3 v3] mmc: sh_mmcif: re-read the clock frequency every time the clock is turned on</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15152</link>
    <description>&lt;pre&gt;With aggressive clock gating the clock can be disabled during interface
inactivity. During this time its frequency can be changed by another its
user. Therefore when the interface is activated again and the clock is
re-enabled, its frequency has to be re-read.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---

v2: also move clk_enable() inside sh_mmcif_clk_update(), check its return 
value in .probe()

 drivers/mmc/host/sh_mmcif.c |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index e5e8198..bdf42d5 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -916,6 +916,19 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static void sh_mmcif_request(struct mmc_host *mmc, struct mmc_request *mrq)
 sh_mmcif_start_cmd(host, mrq);
 }
 
+static int sh_mmcif_clk_update(struct sh_mmcif_host *host)
+{
+int ret = clk_enable(host-&amp;gt;hclk);
+
+if (!ret) {
+host-&amp;gt;clk = clk_get_rate(host-&amp;gt;hclk);
+host-&amp;gt;mmc-&amp;gt;f_max = host-&amp;gt;c&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:19</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15151">
    <title>[PATCH 0/5:2/6 v3] mmc: sh_mmcif: add regulator support</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15151</link>
    <description>&lt;pre&gt;This series is an update for patches 1-3,7,8 from
http://thread.gmane.org/gmane.linux.ports.sh.devel/14673

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15150">
    <title>[PATCH 01/10 v3] mmc: extend and rename cd-gpio helpers to handle more slot GPIO functions</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15150</link>
    <description>&lt;pre&gt;GPIOs can be used in MMC/SD-card slots not only for hotplug detection, but
also to implement the write-protection pin. Rename cd-gpio helpers to
slot-gpio to make addition of further slot GPIO functions possible.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---

v3: use the IRQF_ONESHOT flag, thanks to Venkatraman for the comment.

 drivers/mmc/core/Makefile                    |    2 +-
 drivers/mmc/core/{cd-gpio.c =&amp;gt; slot-gpio.c}  |   48 +++++++++++++-------------
 drivers/mmc/host/tmio_mmc_pio.c              |    6 ++--
 include/linux/mmc/{cd-gpio.h =&amp;gt; slot-gpio.h} |    8 ++--
 4 files changed, 32 insertions(+), 32 deletions(-)
 rename drivers/mmc/core/{cd-gpio.c =&amp;gt; slot-gpio.c} (53%)
 rename include/linux/mmc/{cd-gpio.h =&amp;gt; slot-gpio.h} (68%)

diff --git a/drivers/mmc/core/Makefile b/drivers/mmc/core/Makefile
index dca4428..38ed210 100644
--- a/drivers/mmc/core/Makefile
+++ b/drivers/mmc/core/Makefile
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -7,6 +7,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; mmc_core-y:= core.o bus.o host.o \
    mmc.o mmc_ops.o sd.o sd_ops&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15149">
    <title>[PATCH 1/2 v3] mmc: sdhi: add OF support, make platform data optional</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15149</link>
    <description>&lt;pre&gt;Add primitive support for OF to the SDHI TMIO glue, which also makes it
necessary to be able to run without platform data.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/sh_mobile_sdhi.c |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 1e7c5c4..3defd77 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -21,6 +21,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #include &amp;lt;linux/kernel.h&amp;gt;
 #include &amp;lt;linux/clk.h&amp;gt;
 #include &amp;lt;linux/slab.h&amp;gt;
+#include &amp;lt;linux/mod_devicetable.h&amp;gt;
 #include &amp;lt;linux/module.h&amp;gt;
 #include &amp;lt;linux/platform_device.h&amp;gt;
 #include &amp;lt;linux/mmc/host.h&amp;gt;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -133,9 +134,8 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
 }
 
 mmc_data = &amp;amp;priv-&amp;gt;mmc_data;
-p-&amp;gt;pdata = mmc_data;
 
-if (p-&amp;gt;init) {
+if (p &amp;amp;&amp;amp; p-&amp;gt;init) {
 ret = p-&amp;gt;init(pdev, &amp;amp;sdhi_ops);
 if (ret)
 goto einit;
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -149,10 +149,6 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int __devinit s&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15148">
    <title>[PATCH 08/10 v3] mmc: sh_mobile_sdhi: support caps2 flags</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15148</link>
    <description>&lt;pre&gt;Let SDHI platforms specify mmc_host::caps2 flags in their platform data.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/sh_mobile_sdhi.c  |    1 +
 include/linux/mmc/sh_mobile_sdhi.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/sh_mobile_sdhi.c b/drivers/mmc/host/sh_mobile_sdhi.c
index 42f07fa..1e7c5c4 100644
--- a/drivers/mmc/host/sh_mobile_sdhi.c
+++ b/drivers/mmc/host/sh_mobile_sdhi.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -162,6 +162,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
 mmc_data-&amp;gt;write16_hook = sh_mobile_sdhi_write16_hook;
 mmc_data-&amp;gt;ocr_mask = p-&amp;gt;tmio_ocr_mask;
 mmc_data-&amp;gt;capabilities |= p-&amp;gt;tmio_caps;
+mmc_data-&amp;gt;capabilities2 |= p-&amp;gt;tmio_caps2;
 mmc_data-&amp;gt;cd_gpio = p-&amp;gt;cd_gpio;
 
 if (p-&amp;gt;dma_slave_tx &amp;gt; 0 &amp;amp;&amp;amp; p-&amp;gt;dma_slave_rx &amp;gt; 0) {
diff --git a/include/linux/mmc/sh_mobile_sdhi.h b/include/linux/mmc/sh_mobile_sdhi.h
index e94e620..b65679f 100644
--- a/include/linux/mmc/sh_mobile_sdhi.h
+++ b/include/linux/mmc/&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15147">
    <title>[PATCH 09/10 v3] ARM: mach-shmobile: specify inverted SDHI card-detect signal polarity</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15147</link>
    <description>&lt;pre&gt;On mackerel and ag5evm the SDHI0 CD signal is inverted (active low). To
prepare for the generic GPIO CD handler the MMC_CAP2_INVERTED_CD flag
has to be specified in platform data.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 arch/arm/mach-shmobile/board-ag5evm.c   |    1 +
 arch/arm/mach-shmobile/board-mackerel.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c
index 5a6f22f..545fd06 100644
--- a/arch/arm/mach-shmobile/board-ag5evm.c
+++ b/arch/arm/mach-shmobile/board-ag5evm.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -370,6 +370,7 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static struct sh_mobile_sdhi_info sdhi0_info = {
 .dma_slave_rx= SHDMA_SLAVE_SDHI0_RX,
 .tmio_flags= TMIO_MMC_HAS_IDLE_WAIT | TMIO_MMC_USE_GPIO_CD,
 .tmio_caps= MMC_CAP_SD_HIGHSPEED,
+.tmio_caps2= MMC_CAP2_INVERTED_CD,
 .tmio_ocr_mask= MMC_VDD_27_28 | MMC_VDD_28_29,
 .cd_gpio= GPIO_PORT251,
 };
diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-macke&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15146">
    <title>[PATCH 3/3 v3] ARM: mach-shmobile: specify IRQ names on mackerel SDHI0 interface</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15146</link>
    <description>&lt;pre&gt;Using named IRQs helps the driver to act more selectively when configuring
the interface.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 arch/arm/mach-shmobile/board-mackerel.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-mackerel.c b/arch/arm/mach-shmobile/board-mackerel.c
index 45854a9..15c8a08 100644
--- a/arch/arm/mach-shmobile/board-mackerel.c
+++ b/arch/arm/mach-shmobile/board-mackerel.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -1050,14 +1050,17 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; static struct resource sdhi0_resources[] = {
 .flags= IORESOURCE_MEM,
 },
 [1] = {
+.name= SH_MOBILE_SDHI_IRQ_CARD_DETECT,
 .start= evt2irq(0x0e00) /* SDHI0_SDHI0I0 */,
 .flags= IORESOURCE_IRQ,
 },
 [2] = {
+.name= SH_MOBILE_SDHI_IRQ_SDCARD,
 .start= evt2irq(0x0e20) /* SDHI0_SDHI0I1 */,
 .flags= IORESOURCE_IRQ,
 },
 [3] = {
+.name= SH_MOBILE_SDHI_IRQ_SDIO,
 .start= evt2irq(0x0e40) /* SDHI0_SDHI0I2 */,
 .flags= IORESOURCE_IRQ,
 },
&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15145">
    <title>[PATCH 3/8 v3] mmc: tmio: add callbacks to enable-update and disable the interface clock</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15145</link>
    <description>&lt;pre&gt;Every time the clockc is enabled after possibly being disabled, we have
to re-read its frequency and update our configuration.

Signed-off-by: Guennadi Liakhovetski &amp;lt;g.liakhovetski&amp;lt; at &amp;gt;gmx.de&amp;gt;
---
 drivers/mmc/host/tmio_mmc_pio.c |   35 ++++++++++++++++++++++++++++++++---
 include/linux/mfd/tmio.h        |    3 +++
 2 files changed, 35 insertions(+), 3 deletions(-)

diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index 8cd3637..579f990 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -751,6 +751,22 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt; fail:
 mmc_request_done(mmc, mrq);
 }
 
+static int tmio_mmc_clk_update(struct mmc_host *mmc)
+{
+struct tmio_mmc_host *host = mmc_priv(mmc);
+struct tmio_mmc_data *pdata = host-&amp;gt;pdata;
+int ret;
+
+if (!pdata-&amp;gt;clk_enable)
+return -ENOTSUPP;
+
+ret = pdata-&amp;gt;clk_enable(host-&amp;gt;pdev, &amp;amp;mmc-&amp;gt;f_max);
+if (!ret)
+mmc-&amp;gt;f_min = mmc-&amp;gt;f_max / 512;
+
+return ret;
+}
+
 /* Set MMC clock / power.
  * Note: This controller uses a simple divider scheme &lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15144">
    <title>[PATCH 0/3:6/6 v3] sh, ARM: mach-shmobile: update MMC platform data</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15144</link>
    <description>&lt;pre&gt;The patches in this series update ecovec and mackerel to use voltage 
regulators and GPIO slot functions, available for SDHI and MMCIF blocks.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:49</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.linux.ports.sh.devel/15143">
    <title>[PATCH 0/8:3/6 v3] mmc: tmio: clock and PM updates</title>
    <link>http://permalink.gmane.org/gmane.linux.ports.sh.devel/15143</link>
    <description>&lt;pre&gt;This is an update for patches 9-14,16,18 from
http://thread.gmane.org/gmane.linux.ports.sh.devel/14673

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo&amp;lt; at &amp;gt;vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

&lt;/pre&gt;</description>
    <dc:creator>Guennadi Liakhovetski</dc:creator>
    <dc:date>2012-05-25T15:45:26</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.linux.ports.sh.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.linux.ports.sh.devel</link>
  </textinput>
</rdf:RDF>

