* [PATCH v2] Device Tree binding for the mvsdio driver and related changes
@ 2012-12-21 14:48 Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio Thomas Petazzoni
` (21 more replies)
0 siblings, 22 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:48 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
This series of patches adds a Device Tree binding to the mvsdio driver
(the driver for the SDIO interface found in many Marvell SoCs), and
uses this binding to enable the SDIO interface on Armada 370 and
Armada XP platforms, as well as converting the Kirkwood platforms to
using the Device Tree to probe the SDIO interface.
The series has been tested on Kirkwood Topkick, Armada 370 Mirabox,
Armada XP OpenBlocks, Armada 370 DB and Armada XP DB. The changes on
the Dreamplug and MPLCEC4 boards should be tested by their respective
maintainers if possible.
This series is obviously 3.9 material.
Here is a short description of the patches:
* Patches 1 and 2 cleanup the mvsdio driver initialization by using
the slot-gpio helpers for the card-detect and write-protect GPIOs
* Patch 3 adds the Device Tree binding itself to the mvsdio driver
* Patch 4 adds pinctrl integration to the mvsdio driver
* Patch 5 adds Device Tree information to describe the SDIO interface
on the Armada 370 and Armada XP SoCs.
* Patches 6 and 7 add pin muxing options for the SDIO interface on
Armada 370 and Armada XP SoCs.
* Patches 8, 9, 10 enable the SDIO interface on the Armada XP DB,
Armada 370 DB and Globalscale Mirabox platforms.
* Patch 11 adds Device Tree information to describe the SDIO
interface on the Kirkwood SoCs.
* Patches 12 and 13 convert the Dreamplug and mplcec4 Kirkwood
platforms to use the Device Tree to probe their SDIO interface and
mux the corresponding pins.
* Patch 14 adds a pin mux option for the SDIO interface on the
88F6282 SoC, which is used in the Topkick platform.
* Patch 15 makes the Topkick DTS file inherit the kirkwood-8262.dtsi,
so that it gets the pinctrl definition.
* Patch 16 converts the Kirkwood Topkick platform to use the Device
Tree to probe its SDIO interface and mux the corresponding pins.
* Patch 17 removes a useless header inclusion related to the SDIO
interface to the Kirkwood Dockstar platform.
* Patches 18, 19 and 20 update the mvebu_defconfig to enable the
mvsdio driver, as well as Wifi/Bluetooth drivers needed for the
SD8787 chip connected over SDIO on the Globalscale Mirabox.
Changes since v1:
* On Kirkwood Dreamplug, use the Device Tree to mux the SDIO pins,
and remove a header inclusion that has become useless in the board
C file. Requested by Andrew Lunn.
* On Kirkwood MPLCEC4, use the Device Tree to mux the SDIO pins, and
remove a header inclusion that has become useless in the board C
file. Requested by Andrew Lunn.
* Add a pin mux option for the SDIO interface in the 88F6282 SoC.
* Make the Kirkwood Topkick DTS file inherit the 88F6282 DTSI file.
* On Kirkwood Topkick, use the Device Tree to mux the SDIO pins, and
remove a header inclusion that has become useless in the board C
file. Requested by Andrew Lunn.
Best regards,
Thomas
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-22 14:05 ` Shawn Guo
2012-12-21 14:49 ` [PATCH v2 02/20] mmc: mvsdio: use slot-gpio for card detect gpio Thomas Petazzoni
` (20 subsequent siblings)
21 siblings, 1 reply; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The MMC core subsystem provides in drivers/mmc/core/slot-gpio.c a nice
set of helper functions to simplify the management of the write
protect GPIO in MMC host drivers. This patch migrates the mvsdio
driver to using those helpers, which will make the ->probe() code
simpler, and therefore ease the process of adding a Device Tree
binding for this driver.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
drivers/mmc/host/mvsdio.c | 34 +++++-----------------------------
1 file changed, 5 insertions(+), 29 deletions(-)
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index de4c20b..a24a22f 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -22,6 +22,7 @@
#include <linux/clk.h>
#include <linux/gpio.h>
#include <linux/mmc/host.h>
+#include <linux/mmc/slot-gpio.h>
#include <asm/sizes.h>
#include <asm/unaligned.h>
@@ -54,7 +55,6 @@ struct mvsd_host {
int irq;
struct clk *clk;
int gpio_card_detect;
- int gpio_write_protect;
};
#define mvsd_write(offs, val) writel(val, iobase + (offs))
@@ -566,20 +566,6 @@ static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable)
spin_unlock_irqrestore(&host->lock, flags);
}
-static int mvsd_get_ro(struct mmc_host *mmc)
-{
- struct mvsd_host *host = mmc_priv(mmc);
-
- if (host->gpio_write_protect)
- return gpio_get_value(host->gpio_write_protect);
-
- /*
- * Board doesn't support read only detection; let the mmc core
- * decide what to do.
- */
- return -ENOSYS;
-}
-
static void mvsd_power_up(struct mvsd_host *host)
{
void __iomem *iobase = host->base;
@@ -676,7 +662,7 @@ static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
static const struct mmc_host_ops mvsd_ops = {
.request = mvsd_request,
- .get_ro = mvsd_get_ro,
+ .get_ro = mmc_gpio_get_ro,
.set_ios = mvsd_set_ios,
.enable_sdio_irq = mvsd_enable_sdio_irq,
};
@@ -798,15 +784,7 @@ static int __init mvsd_probe(struct platform_device *pdev)
if (!host->gpio_card_detect)
mmc->caps |= MMC_CAP_NEEDS_POLL;
- if (mvsd_data->gpio_write_protect) {
- ret = gpio_request(mvsd_data->gpio_write_protect,
- DRIVER_NAME " wp");
- if (ret == 0) {
- gpio_direction_input(mvsd_data->gpio_write_protect);
- host->gpio_write_protect =
- mvsd_data->gpio_write_protect;
- }
- }
+ mmc_gpio_request_ro(mmc, mvsd_data->gpio_write_protect);
setup_timer(&host->timer, mvsd_timeout_timer, (unsigned long)host);
platform_set_drvdata(pdev, mmc);
@@ -831,8 +809,7 @@ out:
free_irq(gpio_to_irq(host->gpio_card_detect), host);
gpio_free(host->gpio_card_detect);
}
- if (host->gpio_write_protect)
- gpio_free(host->gpio_write_protect);
+ mmc_gpio_free_ro(mmc);
if (host->base)
iounmap(host->base);
}
@@ -861,8 +838,7 @@ static int __exit mvsd_remove(struct platform_device *pdev)
}
mmc_remove_host(mmc);
free_irq(host->irq, host);
- if (host->gpio_write_protect)
- gpio_free(host->gpio_write_protect);
+ mmc_gpio_free_ro(mmc);
del_timer_sync(&host->timer);
mvsd_power_down(host);
iounmap(host->base);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 02/20] mmc: mvsdio: use slot-gpio for card detect gpio
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 03/20] mmc: mvsdio: implement a Device Tree binding Thomas Petazzoni
` (19 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The MMC core subsystem provides in drivers/mmc/core/slot-gpio.c a nice
set of helper functions to simplify the management of the card detect
GPIO in MMC host drivers. This patch migrates the mvsdio driver to
using those helpers, which will make the ->probe() code simpler, and
therefore ease the process of adding a Device Tree binding for this
driver.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
drivers/mmc/host/mvsdio.c | 44 +++++++++-----------------------------------
1 file changed, 9 insertions(+), 35 deletions(-)
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index a24a22f..baf19fc 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -54,7 +54,6 @@ struct mvsd_host {
struct resource *res;
int irq;
struct clk *clk;
- int gpio_card_detect;
};
#define mvsd_write(offs, val) writel(val, iobase + (offs))
@@ -540,13 +539,6 @@ static void mvsd_timeout_timer(unsigned long data)
mmc_request_done(host->mmc, mrq);
}
-static irqreturn_t mvsd_card_detect_irq(int irq, void *dev)
-{
- struct mvsd_host *host = dev;
- mmc_detect_change(host->mmc, msecs_to_jiffies(100));
- return IRQ_HANDLED;
-}
-
static void mvsd_enable_sdio_irq(struct mmc_host *mmc, int enable)
{
struct mvsd_host *host = mmc_priv(mmc);
@@ -765,23 +757,11 @@ static int __init mvsd_probe(struct platform_device *pdev)
clk_prepare_enable(host->clk);
}
- if (mvsd_data->gpio_card_detect) {
- ret = gpio_request(mvsd_data->gpio_card_detect,
- DRIVER_NAME " cd");
- if (ret == 0) {
- gpio_direction_input(mvsd_data->gpio_card_detect);
- irq = gpio_to_irq(mvsd_data->gpio_card_detect);
- ret = request_irq(irq, mvsd_card_detect_irq,
- IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING,
- DRIVER_NAME " cd", host);
- if (ret == 0)
- host->gpio_card_detect =
- mvsd_data->gpio_card_detect;
- else
- gpio_free(mvsd_data->gpio_card_detect);
- }
- }
- if (!host->gpio_card_detect)
+ if (gpio_is_valid(mvsd_data->gpio_card_detect)) {
+ ret = mmc_gpio_request_cd(mmc, mvsd_data->gpio_card_detect);
+ if (ret)
+ goto out;
+ } else
mmc->caps |= MMC_CAP_NEEDS_POLL;
mmc_gpio_request_ro(mmc, mvsd_data->gpio_write_protect);
@@ -794,9 +774,9 @@ static int __init mvsd_probe(struct platform_device *pdev)
pr_notice("%s: %s driver initialized, ",
mmc_hostname(mmc), DRIVER_NAME);
- if (host->gpio_card_detect)
+ if (!(mmc->caps & MMC_CAP_NEEDS_POLL))
printk("using GPIO %d for card detection\n",
- host->gpio_card_detect);
+ mvsd_data->gpio_card_detect);
else
printk("lacking card detect (fall back to polling)\n");
return 0;
@@ -805,10 +785,7 @@ out:
if (host) {
if (host->irq)
free_irq(host->irq, host);
- if (host->gpio_card_detect) {
- free_irq(gpio_to_irq(host->gpio_card_detect), host);
- gpio_free(host->gpio_card_detect);
- }
+ mmc_gpio_free_cd(mmc);
mmc_gpio_free_ro(mmc);
if (host->base)
iounmap(host->base);
@@ -832,10 +809,7 @@ static int __exit mvsd_remove(struct platform_device *pdev)
if (mmc) {
struct mvsd_host *host = mmc_priv(mmc);
- if (host->gpio_card_detect) {
- free_irq(gpio_to_irq(host->gpio_card_detect), host);
- gpio_free(host->gpio_card_detect);
- }
+ mmc_gpio_free_cd(mmc);
mmc_remove_host(mmc);
free_irq(host->irq, host);
mmc_gpio_free_ro(mmc);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 03/20] mmc: mvsdio: implement a Device Tree binding
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 02/20] mmc: mvsdio: use slot-gpio for card detect gpio Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 04/20] mmc: mvsdio: add pinctrl integration Thomas Petazzoni
` (18 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
This patch adds a simple Device Tree binding for the mvsdio driver, as
well as the necessary documentation for it. Compatibility with non-DT
platforms is preserved, by keeping the platform_data based
initialization.
We introduce a small difference between non-DT and DT platforms: DT
platforms are required to provide a clocks = <...> property, which the
driver uses to get the frequency of the clock that goes to the SDIO
IP. The behaviour on non-DT platforms is kept unchanged: a clock
reference is not mandatory, but the clock frequency must be passed in
the "clock" field of the mvsdio_platform_data structure.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
.../devicetree/bindings/mmc/orion-sdio.txt | 17 ++++++
drivers/mmc/host/mvsdio.c | 60 +++++++++++++++-----
2 files changed, 62 insertions(+), 15 deletions(-)
create mode 100644 Documentation/devicetree/bindings/mmc/orion-sdio.txt
diff --git a/Documentation/devicetree/bindings/mmc/orion-sdio.txt b/Documentation/devicetree/bindings/mmc/orion-sdio.txt
new file mode 100644
index 0000000..84f0ebd
--- /dev/null
+++ b/Documentation/devicetree/bindings/mmc/orion-sdio.txt
@@ -0,0 +1,17 @@
+* Marvell orion-sdio controller
+
+This file documents differences between the core properties in mmc.txt
+and the properties used by the orion-sdio driver.
+
+- compatible: Should be "marvell,orion-sdio"
+- clocks: reference to the clock of the SDIO interface
+
+Example:
+
+ mvsdio at d00d4000 {
+ compatible = "marvell,orion-sdio";
+ reg = <0xd00d4000 0x200>;
+ interrupts = <54>;
+ clocks = <&gateclk 17>;
+ status = "disabled";
+ };
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index baf19fc..56954bc 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -21,6 +21,8 @@
#include <linux/irq.h>
#include <linux/clk.h>
#include <linux/gpio.h>
+#include <linux/of_gpio.h>
+#include <linux/of_irq.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
@@ -683,17 +685,17 @@ mv_conf_mbus_windows(struct mvsd_host *host,
static int __init mvsd_probe(struct platform_device *pdev)
{
+ struct device_node *np = pdev->dev.of_node;
struct mmc_host *mmc = NULL;
struct mvsd_host *host = NULL;
- const struct mvsdio_platform_data *mvsd_data;
const struct mbus_dram_target_info *dram;
struct resource *r;
int ret, irq;
+ int gpio_card_detect, gpio_write_protect;
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
irq = platform_get_irq(pdev, 0);
- mvsd_data = pdev->dev.platform_data;
- if (!r || irq < 0 || !mvsd_data)
+ if (!r || irq < 0)
return -ENXIO;
r = request_mem_region(r->start, SZ_1K, DRIVER_NAME);
@@ -710,7 +712,35 @@ static int __init mvsd_probe(struct platform_device *pdev)
host->mmc = mmc;
host->dev = &pdev->dev;
host->res = r;
- host->base_clock = mvsd_data->clock / 2;
+
+ /* Some non-DT platforms do not pass a clock, and the clock
+ frequency is passed through platform_data. On DT platforms,
+ a clock must always be passed, even if there is no gatable
+ clock associated to the SDIO interface (it can simply be a
+ fixed rate clock). */
+ host->clk = clk_get(&pdev->dev, NULL);
+ if (!IS_ERR(host->clk))
+ clk_prepare_enable(host->clk);
+
+ if (np) {
+ if (IS_ERR(host->clk)) {
+ dev_err(&pdev->dev, "DT platforms must have a clock associated\n");
+ ret = -EINVAL;
+ goto out;
+ }
+
+ host->base_clock = clk_get_rate(host->clk) / 2;
+ gpio_card_detect = of_get_named_gpio(np, "cd-gpios", 0);
+ gpio_write_protect = of_get_named_gpio(np, "wp-gpios", 0);
+ } else {
+ const struct mvsdio_platform_data *mvsd_data;
+ mvsd_data = pdev->dev.platform_data;
+ if (!mvsd_data)
+ return -ENXIO;
+ host->base_clock = mvsd_data->clock / 2;
+ gpio_card_detect = mvsd_data->gpio_card_detect;
+ gpio_write_protect = mvsd_data->gpio_write_protect;
+ }
mmc->ops = &mvsd_ops;
@@ -750,21 +780,14 @@ static int __init mvsd_probe(struct platform_device *pdev)
} else
host->irq = irq;
- /* Not all platforms can gate the clock, so it is not
- an error if the clock does not exists. */
- host->clk = clk_get(&pdev->dev, NULL);
- if (!IS_ERR(host->clk)) {
- clk_prepare_enable(host->clk);
- }
-
- if (gpio_is_valid(mvsd_data->gpio_card_detect)) {
- ret = mmc_gpio_request_cd(mmc, mvsd_data->gpio_card_detect);
+ if (gpio_is_valid(gpio_card_detect)) {
+ ret = mmc_gpio_request_cd(mmc, gpio_card_detect);
if (ret)
goto out;
} else
mmc->caps |= MMC_CAP_NEEDS_POLL;
- mmc_gpio_request_ro(mmc, mvsd_data->gpio_write_protect);
+ mmc_gpio_request_ro(mmc, gpio_write_protect);
setup_timer(&host->timer, mvsd_timeout_timer, (unsigned long)host);
platform_set_drvdata(pdev, mmc);
@@ -776,7 +799,7 @@ static int __init mvsd_probe(struct platform_device *pdev)
mmc_hostname(mmc), DRIVER_NAME);
if (!(mmc->caps & MMC_CAP_NEEDS_POLL))
printk("using GPIO %d for card detection\n",
- mvsd_data->gpio_card_detect);
+ gpio_card_detect);
else
printk("lacking card detect (fall back to polling)\n");
return 0;
@@ -855,12 +878,19 @@ static int mvsd_resume(struct platform_device *dev)
#define mvsd_resume NULL
#endif
+static const struct of_device_id mvsdio_dt_ids[] = {
+ { .compatible = "marvell,orion-sdio" },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, mvsdio_dt_ids);
+
static struct platform_driver mvsd_driver = {
.remove = __exit_p(mvsd_remove),
.suspend = mvsd_suspend,
.resume = mvsd_resume,
.driver = {
.name = DRIVER_NAME,
+ .of_match_table = mvsdio_dt_ids,
},
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 04/20] mmc: mvsdio: add pinctrl integration
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (2 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 03/20] mmc: mvsdio: implement a Device Tree binding Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 05/20] arm: mvebu: add DT information for the SDIO interface of Armada 370/XP Thomas Petazzoni
` (17 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
On many Marvell SoCs, the pins used for the SDIO interface are part of
the MPP pins, that are muxable pins. In order to get the muxing of
those pins correct, this commit integrates the mvsdio driver with the
pinctrl infrastructure by calling devm_pinctrl_get_select_default()
during ->probe().
Note that we permit this function to fail because not all Marvell
platforms have yet been fully converted to using the pinctrl
infrastructure.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
drivers/mmc/host/mvsdio.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c
index 56954bc..feb16bd 100644
--- a/drivers/mmc/host/mvsdio.c
+++ b/drivers/mmc/host/mvsdio.c
@@ -25,6 +25,7 @@
#include <linux/of_irq.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
+#include <linux/pinctrl/consumer.h>
#include <asm/sizes.h>
#include <asm/unaligned.h>
@@ -692,6 +693,7 @@ static int __init mvsd_probe(struct platform_device *pdev)
struct resource *r;
int ret, irq;
int gpio_card_detect, gpio_write_protect;
+ struct pinctrl *pinctrl;
r = platform_get_resource(pdev, IORESOURCE_MEM, 0);
irq = platform_get_irq(pdev, 0);
@@ -713,6 +715,10 @@ static int __init mvsd_probe(struct platform_device *pdev)
host->dev = &pdev->dev;
host->res = r;
+ pinctrl = devm_pinctrl_get_select_default(&pdev->dev);
+ if (IS_ERR(pinctrl))
+ dev_warn(&pdev->dev, "no pins associated\n");
+
/* Some non-DT platforms do not pass a clock, and the clock
frequency is passed through platform_data. On DT platforms,
a clock must always be passed, even if there is no gatable
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 05/20] arm: mvebu: add DT information for the SDIO interface of Armada 370/XP
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (3 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 04/20] mmc: mvsdio: add pinctrl integration Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 06/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada 370 Thomas Petazzoni
` (16 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the mvsdio MMC driver has a Device Tree binding, we add the
Device Tree informations to describe the SDIO interface available in
the Armada 370/XP SoCs.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-370-xp.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index cf6c48a..41a5b11 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -129,6 +129,14 @@
clocks = <&coreclk 0>;
status = "disabled";
};
+
+ mvsdio at d00d4000 {
+ compatible = "marvell,orion-sdio";
+ reg = <0xd00d4000 0x200>;
+ interrupts = <54>;
+ clocks = <&gateclk 17>;
+ status = "disabled";
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 06/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada 370
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (4 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 05/20] arm: mvebu: add DT information for the SDIO interface of Armada 370/XP Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 07/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada XP Thomas Petazzoni
` (15 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The SDIO interface is available either on pins MPP9/11/12/13/14/15 or
MPP47/48/49/50/51/52 on the Armada 370. Even though all combinations
are potentially possible, those two muxing options are the most
probable ones, so we provide those at the SoC level .dtsi file.
In practice, in turns out the Armada 370 DB board uses the former,
while the Armada 370 Mirabox uses the latter.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-370.dtsi | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi
index 636cf7d..88f9bab 100644
--- a/arch/arm/boot/dts/armada-370.dtsi
+++ b/arch/arm/boot/dts/armada-370.dtsi
@@ -47,6 +47,18 @@
pinctrl {
compatible = "marvell,mv88f6710-pinctrl";
reg = <0xd0018000 0x38>;
+
+ sdio_pins1: sdio-pins1 {
+ marvell,pins = "mpp9", "mpp11", "mpp12",
+ "mpp13", "mpp14", "mpp15";
+ marvell,function = "sd0";
+ };
+
+ sdio_pins2: sdio-pins2 {
+ marvell,pins = "mpp47", "mpp48", "mpp49",
+ "mpp50", "mpp51", "mpp52";
+ marvell,function = "sd0";
+ };
};
gpio0: gpio at d0018100 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 07/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada XP
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (5 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 06/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada 370 Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 08/20] arm: mvebu: enable the SD card slot on Armada XP DB board Thomas Petazzoni
` (14 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The SDIO interface is only available on pins MPP30/31/32/33/34/35 on
the various Armada XP variants, so we provide a pin muxing option for
this in the Armada XP .dtsi files.
Even though those muxing options are the same for MV78230, MV78260 and
MV78460, we keep them in each .dtsi file, because the number of pins,
and therefore the declaration of the pinctrl node, is different for
each SoC variant.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-xp-mv78230.dtsi | 6 ++++++
arch/arm/boot/dts/armada-xp-mv78260.dtsi | 6 ++++++
arch/arm/boot/dts/armada-xp-mv78460.dtsi | 6 ++++++
3 files changed, 18 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
index c45c7b4..3fa9c84 100644
--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
@@ -40,6 +40,12 @@
pinctrl {
compatible = "marvell,mv78230-pinctrl";
reg = <0xd0018000 0x38>;
+
+ sdio_pins: sdio-pins {
+ marvell,pins = "mpp30", "mpp31", "mpp32",
+ "mpp33", "mpp34", "mpp35";
+ marvell,function = "sd0";
+ };
};
gpio0: gpio at d0018100 {
diff --git a/arch/arm/boot/dts/armada-xp-mv78260.dtsi b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
index a2aee57..5a907b3 100644
--- a/arch/arm/boot/dts/armada-xp-mv78260.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78260.dtsi
@@ -48,6 +48,12 @@
pinctrl {
compatible = "marvell,mv78260-pinctrl";
reg = <0xd0018000 0x38>;
+
+ sdio_pins: sdio-pins {
+ marvell,pins = "mpp30", "mpp31", "mpp32",
+ "mpp33", "mpp34", "mpp35";
+ marvell,function = "sd0";
+ };
};
gpio0: gpio at d0018100 {
diff --git a/arch/arm/boot/dts/armada-xp-mv78460.dtsi b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
index da03a12..6dcdc50d 100644
--- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
@@ -63,6 +63,12 @@
pinctrl {
compatible = "marvell,mv78460-pinctrl";
reg = <0xd0018000 0x38>;
+
+ sdio_pins: sdio-pins {
+ marvell,pins = "mpp30", "mpp31", "mpp32",
+ "mpp33", "mpp34", "mpp35";
+ marvell,function = "sd0";
+ };
};
gpio0: gpio at d0018100 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 08/20] arm: mvebu: enable the SD card slot on Armada XP DB board
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (6 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 07/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada XP Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 09/20] arm: mvebu: enable the SD card slot on Armada 370 " Thomas Petazzoni
` (13 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Armada XP DB evaluation board has one SD card slot, directly
connected to the SDIO IP of the SoC, so we enable this
IP. Unfortunately, there are no GPIOs for card-detect and
write-protect.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-xp-db.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts
index 8e53b25..c7035c5 100644
--- a/arch/arm/boot/dts/armada-xp-db.dts
+++ b/arch/arm/boot/dts/armada-xp-db.dts
@@ -90,5 +90,12 @@
phy = <&phy3>;
phy-mode = "sgmii";
};
+
+ mvsdio at d00d4000 {
+ pinctrl-0 = <&sdio_pins>;
+ pinctrl-names = "default";
+ status = "okay";
+ /* No CD or WP GPIOs */
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 09/20] arm: mvebu: enable the SD card slot on Armada 370 DB board
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (7 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 08/20] arm: mvebu: enable the SD card slot on Armada XP DB board Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 10/20] arm: mvebu: enable the SDIO interface on the Globalscale Mirabox Thomas Petazzoni
` (12 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Armada XP DB evaluation board has one SD card slot, directly
connected to the SDIO IP of the SoC, so we add a device tree
description for it.
However, in the default configuration of the board, the SD card slot
is not usable: the connector plugged into CON40 must be changed
against a different one, provided with the board by the
manufacturer. Since such a manual modification of the hardware is
needed, we did not enable the SDIO interface by default, and left it
to the board user to modify the Device Tree if needed. Since this
board is really only an evaluation board for developers and not a
final product, it is not too bad.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-370-db.dts | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-db.dts b/arch/arm/boot/dts/armada-370-db.dts
index 0004402..43ff156 100644
--- a/arch/arm/boot/dts/armada-370-db.dts
+++ b/arch/arm/boot/dts/armada-370-db.dts
@@ -59,5 +59,20 @@
phy = <&phy1>;
phy-mode = "rgmii-id";
};
+
+ mvsdio at d00d4000 {
+ pinctrl-0 = <&sdio_pins1>;
+ pinctrl-names = "default";
+ /*
+ * This device is disabled by default, because
+ * using the SD card connector requires
+ * changing the default CON40 connector
+ * "DB-88F6710_MPP_2xRGMII_DEVICE_Jumper" to a
+ * different connector
+ * "DB-88F6710_MPP_RGMII_SD_Jumper".
+ */
+ status = "disabled";
+ /* No CD or WP GPIOs */
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 10/20] arm: mvebu: enable the SDIO interface on the Globalscale Mirabox
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (8 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 09/20] arm: mvebu: enable the SD card slot on Armada 370 " Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 11/20] arm: kirkwood: add Device Tree informations for the SDIO controller Thomas Petazzoni
` (11 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Globalscale Mirabox uses the SDIO interface of the Armada 370 to
connect to a Wifi/Bluetooth SD8787 chip, so we enable the SDIO
interface of this board in its Device Tree file.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/armada-370-mirabox.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts
index 3b40713..1864820 100644
--- a/arch/arm/boot/dts/armada-370-mirabox.dts
+++ b/arch/arm/boot/dts/armada-370-mirabox.dts
@@ -52,5 +52,15 @@
phy = <&phy1>;
phy-mode = "rgmii-id";
};
+
+ mvsdio at d00d4000 {
+ pinctrl-0 = <&sdio_pins2>;
+ pinctrl-names = "default";
+ status = "okay";
+ /*
+ * No CD or WP GPIOs: SDIO interface used for
+ * Wifi/Bluetooth chip
+ */
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 11/20] arm: kirkwood: add Device Tree informations for the SDIO controller
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (9 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 10/20] arm: mvebu: enable the SDIO interface on the Globalscale Mirabox Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 12/20] arm: kirkwood: dreamplug: use Device Tree to probe SDIO Thomas Petazzoni
` (10 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the SDIO controller has a Device Tree binding, let's use it
in kirkwood.dtsi.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/boot/dts/kirkwood.dtsi | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood.dtsi b/arch/arm/boot/dts/kirkwood.dtsi
index 7735cee..baf1045 100644
--- a/arch/arm/boot/dts/kirkwood.dtsi
+++ b/arch/arm/boot/dts/kirkwood.dtsi
@@ -190,5 +190,13 @@
clocks = <&gate_clk 17>;
status = "okay";
};
+
+ mvsdio at 90000 {
+ compatible = "marvell,orion-sdio";
+ reg = <0x90000 0x200>;
+ interrupts = <28>;
+ clocks = <&gate_clk 4>;
+ status = "disabled";
+ };
};
};
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 12/20] arm: kirkwood: dreamplug: use Device Tree to probe SDIO
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (10 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 11/20] arm: kirkwood: add Device Tree informations for the SDIO controller Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 13/20] arm: kirkwood: mplcec4: " Thomas Petazzoni
` (9 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the mvsdio driver has a Device Tree binding, and the SDIO
controller is declared in kirkwood.dtsi, migrate the dreamplug board
to use the Device Tree to probe the SDIO controller and to mux this
interface properly.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
---
Changes since v1:
* Remove the useless header inclusion from board-dreamplug.c, now
that the SDIO interface is probed from the Device Tree.
* Reference the pmx_sdio muxing option from the DT node describing
the SDIO interface, in order to get proper muxing of this
interface.
---
arch/arm/boot/dts/kirkwood-dreamplug.dts | 7 +++++++
arch/arm/mach-kirkwood/board-dreamplug.c | 6 ------
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/kirkwood-dreamplug.dts b/arch/arm/boot/dts/kirkwood-dreamplug.dts
index f2d386c..ef2d8c7 100644
--- a/arch/arm/boot/dts/kirkwood-dreamplug.dts
+++ b/arch/arm/boot/dts/kirkwood-dreamplug.dts
@@ -74,6 +74,13 @@
status = "okay";
nr-ports = <1>;
};
+
+ mvsdio at 90000 {
+ pinctrl-0 = <&pmx_sdio>;
+ pinctrl-names = "default";
+ status = "okay";
+ /* No CD or WP GPIOs */
+ };
};
gpio-leds {
diff --git a/arch/arm/mach-kirkwood/board-dreamplug.c b/arch/arm/mach-kirkwood/board-dreamplug.c
index 08248e2..0903242 100644
--- a/arch/arm/mach-kirkwood/board-dreamplug.c
+++ b/arch/arm/mach-kirkwood/board-dreamplug.c
@@ -15,7 +15,6 @@
#include <linux/init.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
-#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
static struct mv643xx_eth_platform_data dreamplug_ge00_data = {
@@ -26,10 +25,6 @@ static struct mv643xx_eth_platform_data dreamplug_ge01_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(1),
};
-static struct mvsdio_platform_data dreamplug_mvsdio_data = {
- /* unfortunately the CD signal has not been connected */
-};
-
void __init dreamplug_init(void)
{
/*
@@ -37,5 +32,4 @@ void __init dreamplug_init(void)
*/
kirkwood_ge00_init(&dreamplug_ge00_data);
kirkwood_ge01_init(&dreamplug_ge01_data);
- kirkwood_sdio_init(&dreamplug_mvsdio_data);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (11 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 12/20] arm: kirkwood: dreamplug: use Device Tree to probe SDIO Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-27 12:32 ` Stefan Peter
2012-12-27 22:57 ` Stefan Peter
2012-12-21 14:49 ` [PATCH v2 14/20] arm: kirkwood: add pinmux option for the SDIO interface on 88F6282 Thomas Petazzoni
` (8 subsequent siblings)
21 siblings, 2 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the mvsdio driver has a Device Tree binding, and the SDIO
controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
use the Device Tree to probe the SDIO controller and to mux the pins
of the SDIO interface correctly.
This patch has not been tested, it remains to be tested by a person
having access to the hardware.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Stefan Peter <s.peter@mpl.ch>
---
Changes since v1:
* Remove the useless header inclusion from board-mplcec4.c, now
that the SDIO interface is probed from the Device Tree.
* Reference the pmx_sdio muxing option from the DT node describing
the SDIO interface, in order to get proper muxing of this
interface.
---
arch/arm/boot/dts/kirkwood-mplcec4.dts | 11 +++++++++--
arch/arm/mach-kirkwood/board-mplcec4.c | 7 -------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
index 262c654..662dfd8 100644
--- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
+++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
@@ -20,12 +20,11 @@
pinctrl: pinctrl at 10000 {
pinctrl-0 = < &pmx_nand &pmx_uart0
- &pmx_led_health &pmx_sdio
+ &pmx_led_health
&pmx_sata0 &pmx_sata1
&pmx_led_user1o
&pmx_led_user1g &pmx_led_user0o
&pmx_led_user0g &pmx_led_misc
- &pmx_sdio_cd
>;
pinctrl-names = "default";
@@ -133,6 +132,14 @@
status = "okay";
};
+
+ mvsdio at 90000 {
+ pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
+ pinctrl-names = "default";
+ status = "okay";
+ cd-gpios = <&gpio1 15 0>;
+ /* No WP GPIO */
+ };
};
gpio-leds {
diff --git a/arch/arm/mach-kirkwood/board-mplcec4.c b/arch/arm/mach-kirkwood/board-mplcec4.c
index 56bfe5a..73a0332 100644
--- a/arch/arm/mach-kirkwood/board-mplcec4.c
+++ b/arch/arm/mach-kirkwood/board-mplcec4.c
@@ -12,7 +12,6 @@
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/mv643xx_eth.h>
-#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
#include "mpp.h"
@@ -24,11 +23,6 @@ static struct mv643xx_eth_platform_data mplcec4_ge01_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(2),
};
-static struct mvsdio_platform_data mplcec4_mvsdio_data = {
- .gpio_card_detect = 47, /* MPP47 used as SD card detect */
-};
-
-
void __init mplcec4_init(void)
{
/*
@@ -36,7 +30,6 @@ void __init mplcec4_init(void)
*/
kirkwood_ge00_init(&mplcec4_ge00_data);
kirkwood_ge01_init(&mplcec4_ge01_data);
- kirkwood_sdio_init(&mplcec4_mvsdio_data);
kirkwood_pcie_init(KW_PCIE0);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 14/20] arm: kirkwood: add pinmux option for the SDIO interface on 88F6282
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (12 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 13/20] arm: kirkwood: mplcec4: " Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC Thomas Petazzoni
` (7 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
This commit adds a pinmux option, pmx_sdio, to enable the muxing of
the SDIO interface on the 88F6282 SoC from Marvell.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
* This patch is new in v2.
---
arch/arm/boot/dts/kirkwood-6282.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/kirkwood-6282.dtsi b/arch/arm/boot/dts/kirkwood-6282.dtsi
index 9ae2004..0386ae4 100644
--- a/arch/arm/boot/dts/kirkwood-6282.dtsi
+++ b/arch/arm/boot/dts/kirkwood-6282.dtsi
@@ -30,6 +30,11 @@
marvell,pins = "mpp13", "mpp14";
marvell,function = "uart1";
};
+ pmx_sdio: pmx-sdio {
+ marvell,pins = "mpp12", "mpp13", "mpp14",
+ "mpp15", "mpp16", "mpp17";
+ marvell,function = "sdio";
+ };
};
i2c at 11100 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (13 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 14/20] arm: kirkwood: add pinmux option for the SDIO interface on 88F6282 Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2013-01-10 2:29 ` Jason Cooper
2012-12-21 14:49 ` [PATCH v2 16/20] arm: kirkwood: topkick: use Device Tree to probe SDIO Thomas Petazzoni
` (6 subsequent siblings)
21 siblings, 1 reply; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Topkick board uses a 88F6282 SoC, so the Device Tree Source
describing the Topkick should inherit from kirkwood-6282.dtsi, which
allows to take advantage of pin muxing capabilities.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
Changes since v1:
* This patch is new in v2
---
arch/arm/boot/dts/kirkwood-topkick.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
index c0de5a7..8f4a5b8 100644
--- a/arch/arm/boot/dts/kirkwood-topkick.dts
+++ b/arch/arm/boot/dts/kirkwood-topkick.dts
@@ -1,6 +1,7 @@
/dts-v1/;
/include/ "kirkwood.dtsi"
+/include/ "kirkwood-6282.dtsi"
/ {
model = "Univeral Scientific Industrial Co. Topkick-1281P2";
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 16/20] arm: kirkwood: topkick: use Device Tree to probe SDIO
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (14 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 17/20] arm: kirkwood: dockstar: remove useless include of SDIO header Thomas Petazzoni
` (5 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the mvsdio driver has a Device Tree binding, and the SDIO
controller is declared in kirkwood.dtsi, migrate the topkick board to
use the Device Tree to probe the SDIO controller and mux the pins of
the SDIO interface properly.
The patch has been tested on the Topkick hardware. However, due to an
apparently unrelated problem, it is unable to detect the Wifi chip
connected on the SDIO bus.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Jason Cooper <jason@lakedaemon.net>
---
Changes since v1:
* Remove the useless header inclusion from board-usi_topkick.c, now
that the SDIO interface is probed from the Device Tree.
* Reference the pmx_sdio muxing option from the DT node describing
the SDIO interface, in order to get proper muxing of this
interface.
---
arch/arm/boot/dts/kirkwood-topkick.dts | 9 +++++++++
arch/arm/mach-kirkwood/board-usi_topkick.c | 6 ------
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
index 8f4a5b8..82329b5 100644
--- a/arch/arm/boot/dts/kirkwood-topkick.dts
+++ b/arch/arm/boot/dts/kirkwood-topkick.dts
@@ -55,6 +55,15 @@
status = "okay";
nr-ports = <1>;
};
+
+
+ mvsdio at 90000 {
+ pinctrl-0 = <&pmx_sdio>;
+ pinctrl-names = "default";
+ status = "okay";
+ /* No CD or WP GPIOs */
+ };
+
};
gpio-leds {
diff --git a/arch/arm/mach-kirkwood/board-usi_topkick.c b/arch/arm/mach-kirkwood/board-usi_topkick.c
index 15e69fc..6c83416 100644
--- a/arch/arm/mach-kirkwood/board-usi_topkick.c
+++ b/arch/arm/mach-kirkwood/board-usi_topkick.c
@@ -14,7 +14,6 @@
#include <linux/init.h>
#include <linux/mv643xx_eth.h>
#include <linux/gpio.h>
-#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
#include "mpp.h"
@@ -22,10 +21,6 @@ static struct mv643xx_eth_platform_data topkick_ge00_data = {
.phy_addr = MV643XX_ETH_PHY_ADDR(0),
};
-static struct mvsdio_platform_data topkick_mvsdio_data = {
- /* unfortunately the CD signal has not been connected */
-};
-
/*
* GPIO LED layout
*
@@ -77,5 +72,4 @@ void __init usi_topkick_init(void)
gpio_set_value(TOPKICK_SATA0_PWR_ENABLE, 1);
kirkwood_ge00_init(&topkick_ge00_data);
- kirkwood_sdio_init(&topkick_mvsdio_data);
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 17/20] arm: kirkwood: dockstar: remove useless include of SDIO header
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (15 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 16/20] arm: kirkwood: topkick: use Device Tree to probe SDIO Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 18/20] arm: mvebu: enable SDIO support in mvebu_defconfig Thomas Petazzoni
` (4 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The dockstar platform does not register any SDIO controller, therefore
it does not need to include the mmc-mvsdio.h header.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/mach-kirkwood/dockstar-setup.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-kirkwood/dockstar-setup.c b/arch/arm/mach-kirkwood/dockstar-setup.c
index 791a98f..272af69 100644
--- a/arch/arm/mach-kirkwood/dockstar-setup.c
+++ b/arch/arm/mach-kirkwood/dockstar-setup.c
@@ -19,7 +19,6 @@
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/kirkwood.h>
-#include <linux/platform_data/mmc-mvsdio.h>
#include "common.h"
#include "mpp.h"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 18/20] arm: mvebu: enable SDIO support in mvebu_defconfig
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (16 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 17/20] arm: kirkwood: dockstar: remove useless include of SDIO header Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 19/20] arm: mvebu: enable mwifiex driver " Thomas Petazzoni
` (3 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Now that the mvsdio driver has gained Device Tree support and the
necessary Device Tree informations has been added for Armada 370 and
Armada XP platforms, we enable the MMC subsystem and the mvsdio driver
in mvebu_defconfig.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/configs/mvebu_defconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
index a702fb3..14cb45c 100644
--- a/arch/arm/configs/mvebu_defconfig
+++ b/arch/arm/configs/mvebu_defconfig
@@ -39,6 +39,8 @@ CONFIG_I2C_MV64XXX=y
CONFIG_GPIOLIB=y
CONFIG_GPIO_SYSFS=y
# CONFIG_USB_SUPPORT is not set
+CONFIG_MMC=y
+CONFIG_MMC_MVSDIO=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_S35390A=y
CONFIG_DMADEVICES=y
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 19/20] arm: mvebu: enable mwifiex driver in mvebu_defconfig
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (17 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 18/20] arm: mvebu: enable SDIO support in mvebu_defconfig Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 20/20] arm: mvebu: enable btmrvl " Thomas Petazzoni
` (2 subsequent siblings)
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Globalscale Mirabox platform, based on the Armada 370 from
Marvell, has a SD8787 Wireless chip connected on the SDIO
interface. Now that the mvsdio has a Device Tree binding, and the
necessary Device Tree informations have been added at the SoC and
board level, let's enable the mwifiex driver for the Wireless part of
the SD8787 chip.
For now, the driver gets probed correctly, detects a device and shows
the network interfaces. However, scanning Wifi networks doesn't work
for now, with a 'CMD_RESP: cmd 0x6 error, result=0x1' message. This
will have to be investigated separately.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/configs/mvebu_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
index 14cb45c..19f0c3d 100644
--- a/arch/arm/configs/mvebu_defconfig
+++ b/arch/arm/configs/mvebu_defconfig
@@ -24,6 +24,7 @@ CONFIG_ARM_APPENDED_DTB=y
CONFIG_VFP=y
CONFIG_NET=y
CONFIG_INET=y
+CONFIG_CFG80211=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
@@ -31,6 +32,8 @@ CONFIG_SATA_MV=y
CONFIG_NETDEVICES=y
CONFIG_MVNETA=y
CONFIG_MARVELL_PHY=y
+CONFIG_MWIFIEX=y
+CONFIG_MWIFIEX_SDIO=y
CONFIG_SERIAL_8250=y
CONFIG_SERIAL_8250_CONSOLE=y
CONFIG_SERIAL_OF_PLATFORM=y
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 20/20] arm: mvebu: enable btmrvl driver in mvebu_defconfig
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (18 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 19/20] arm: mvebu: enable mwifiex driver " Thomas Petazzoni
@ 2012-12-21 14:49 ` Thomas Petazzoni
2013-01-08 20:38 ` [PATCH v2] Device Tree binding for the mvsdio driver and related changes Florian Fainelli
2013-01-10 3:13 ` Jason Cooper
21 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-21 14:49 UTC (permalink / raw)
To: linux-arm-kernel
The Globalscale Mirabox platform, based on the Armada 370 from
Marvell, has a SD8787 Wireless/Bluetooth chip connected on the SDIO
interface. Now that the mvsdio has a Device Tree binding, and the
necessary Device Tree informations have been added at the SoC and
board level, let's enable the btmrvl driver for the Bluetooth part of
the SD8787 chip.
For now, the driver gets probed correctly, detects the device but
apparently fails to push the firmware to the device:
Bluetooth: vendor=0x2df, device=0x911a, class=255, fn=2
Bluetooth: FW failed to be active in time!
Bluetooth: Downloading firmware failed!
Bluetooth: vendor=0x2df, device=0x911b, class=255, fn=3
Bluetooth: FW failed to be active in time!
Bluetooth: Downloading firmware failed!
This will have to be investigated separately.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/arm/configs/mvebu_defconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/configs/mvebu_defconfig b/arch/arm/configs/mvebu_defconfig
index 19f0c3d..f849ac3 100644
--- a/arch/arm/configs/mvebu_defconfig
+++ b/arch/arm/configs/mvebu_defconfig
@@ -24,6 +24,9 @@ CONFIG_ARM_APPENDED_DTB=y
CONFIG_VFP=y
CONFIG_NET=y
CONFIG_INET=y
+CONFIG_BT=y
+CONFIG_BT_MRVL=y
+CONFIG_BT_MRVL_SDIO=y
CONFIG_CFG80211=y
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_BLK_DEV_SD=y
--
1.7.9.5
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio
2012-12-21 14:49 ` [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio Thomas Petazzoni
@ 2012-12-22 14:05 ` Shawn Guo
2012-12-22 14:49 ` Thomas Petazzoni
0 siblings, 1 reply; 34+ messages in thread
From: Shawn Guo @ 2012-12-22 14:05 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Dec 21, 2012 at 03:49:00PM +0100, Thomas Petazzoni wrote:
> @@ -831,8 +809,7 @@ out:
> free_irq(gpio_to_irq(host->gpio_card_detect), host);
> gpio_free(host->gpio_card_detect);
> }
> - if (host->gpio_write_protect)
> - gpio_free(host->gpio_write_protect);
> + mmc_gpio_free_ro(mmc);
I posted a series[1] to save the call from error path and .remove().
Shawn
PS. What's the merge path for these mmc patches? I do not even see
linux-mmc and Chris Ball on the Cc list.
[1] http://thread.gmane.org/gmane.linux.kernel.mmc/18197
> if (host->base)
> iounmap(host->base);
> }
> @@ -861,8 +838,7 @@ static int __exit mvsd_remove(struct platform_device *pdev)
> }
> mmc_remove_host(mmc);
> free_irq(host->irq, host);
> - if (host->gpio_write_protect)
> - gpio_free(host->gpio_write_protect);
> + mmc_gpio_free_ro(mmc);
> del_timer_sync(&host->timer);
> mvsd_power_down(host);
> iounmap(host->base);
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio
2012-12-22 14:05 ` Shawn Guo
@ 2012-12-22 14:49 ` Thomas Petazzoni
0 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-22 14:49 UTC (permalink / raw)
To: linux-arm-kernel
Dear Shawn Guo,
On Sat, 22 Dec 2012 22:05:32 +0800, Shawn Guo wrote:
> On Fri, Dec 21, 2012 at 03:49:00PM +0100, Thomas Petazzoni wrote:
> > @@ -831,8 +809,7 @@ out:
> > free_irq(gpio_to_irq(host->gpio_card_detect), host);
> > gpio_free(host->gpio_card_detect);
> > }
> > - if (host->gpio_write_protect)
> > - gpio_free(host->gpio_write_protect);
> > + mmc_gpio_free_ro(mmc);
>
> I posted a series[1] to save the call from error path and .remove().
Yes, I've seen this one. Would you mind if I send a followup patch
series that improves the mvsdio to use your new helper functions? I
would like to avoid having too many dependencies for patch series.
> PS. What's the merge path for these mmc patches? I do not even see
> linux-mmc and Chris Ball on the Cc list.
The merge path remains to be figured out. For now, I've Cc'ed Nicolas
Pitre, who is referenced as the maintainer for the mvsdio driver, as
well as the Marvell maintainers Jason Cooper, Andrew Lunn and Gr?gory
Cl?ment. If a v3 is needed, I'll add linux-mmc and Chris Ball to the Cc
list. That said, the majority of the patch is mostly Marvell-specific,
so I guess it would be simpler if we could carry this through the
Marvell maintainers, and then through arm-soc, of course with the Ack
of the relevant MMC maintainers.
Thanks,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-21 14:49 ` [PATCH v2 13/20] arm: kirkwood: mplcec4: " Thomas Petazzoni
@ 2012-12-27 12:32 ` Stefan Peter
2012-12-27 12:43 ` Thomas Petazzoni
2012-12-27 16:45 ` Jason Cooper
2012-12-27 22:57 ` Stefan Peter
1 sibling, 2 replies; 34+ messages in thread
From: Stefan Peter @ 2012-12-27 12:32 UTC (permalink / raw)
To: linux-arm-kernel
on 21.12.2012 15:49, Thomas Petazzoni wrote:
> Now that the mvsdio driver has a Device Tree binding, and the SDIO
> controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
> use the Device Tree to probe the SDIO controller and to mux the pins
> of the SDIO interface correctly.
>
> This patch has not been tested, it remains to be tested by a person
> having access to the hardware.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Stefan Peter <s.peter@mpl.ch>
> ---
> Changes since v1:
> * Remove the useless header inclusion from board-mplcec4.c, now
> that the SDIO interface is probed from the Device Tree.
> * Reference the pmx_sdio muxing option from the DT node describing
> the SDIO interface, in order to get proper muxing of this
> interface.
> ---
> arch/arm/boot/dts/kirkwood-mplcec4.dts | 11 +++++++++--
> arch/arm/mach-kirkwood/board-mplcec4.c | 7 -------
> 2 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> index 262c654..662dfd8 100644
> --- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
> +++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> @@ -20,12 +20,11 @@
> pinctrl: pinctrl at 10000 {
>
> pinctrl-0 = < &pmx_nand &pmx_uart0
> - &pmx_led_health &pmx_sdio
> + &pmx_led_health
> &pmx_sata0 &pmx_sata1
> &pmx_led_user1o
> &pmx_led_user1g &pmx_led_user0o
> &pmx_led_user0g &pmx_led_misc
> - &pmx_sdio_cd
> >;
> pinctrl-names = "default";
>
> @@ -133,6 +132,14 @@
> status = "okay";
>
> };
> +
> + mvsdio at 90000 {
> + pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
> + pinctrl-names = "default";
> + status = "okay";
> + cd-gpios = <&gpio1 15 0>;
> + /* No WP GPIO */
> + };
> };
>
> gpio-leds {
> diff --git a/arch/arm/mach-kirkwood/board-mplcec4.c b/arch/arm/mach-kirkwood/board-mplcec4.c
> index 56bfe5a..73a0332 100644
> --- a/arch/arm/mach-kirkwood/board-mplcec4.c
> +++ b/arch/arm/mach-kirkwood/board-mplcec4.c
> @@ -12,7 +12,6 @@
> #include <linux/kernel.h>
> #include <linux/init.h>
> #include <linux/mv643xx_eth.h>
> -#include <linux/platform_data/mmc-mvsdio.h>
> #include "common.h"
> #include "mpp.h"
>
> @@ -24,11 +23,6 @@ static struct mv643xx_eth_platform_data mplcec4_ge01_data = {
> .phy_addr = MV643XX_ETH_PHY_ADDR(2),
> };
>
> -static struct mvsdio_platform_data mplcec4_mvsdio_data = {
> - .gpio_card_detect = 47, /* MPP47 used as SD card detect */
> -};
> -
> -
> void __init mplcec4_init(void)
> {
> /*
> @@ -36,7 +30,6 @@ void __init mplcec4_init(void)
> */
> kirkwood_ge00_init(&mplcec4_ge00_data);
> kirkwood_ge01_init(&mplcec4_ge01_data);
> - kirkwood_sdio_init(&mplcec4_mvsdio_data);
> kirkwood_pcie_init(KW_PCIE0);
> }
>
>
After applying "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk
for USB device" from Andrew to 3.8-rc1, I was able to test these patches
on the MPL CEC4 under 3.8-rc1. The mvsdio was fully functional.
Regards
Stefan Peter
--
MPL AG, Switzerland http://www.mpl.ch
Tel. +41 (0)56 483 34 34 Fax: +41(0)56 493 30 20
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-27 12:32 ` Stefan Peter
@ 2012-12-27 12:43 ` Thomas Petazzoni
2012-12-27 16:45 ` Jason Cooper
1 sibling, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2012-12-27 12:43 UTC (permalink / raw)
To: linux-arm-kernel
Dear Stefan Peter,
On Thu, 27 Dec 2012 13:32:00 +0100, Stefan Peter wrote:
> After applying "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk
> for USB device" from Andrew to 3.8-rc1, I was able to test these patches
> on the MPL CEC4 under 3.8-rc1. The mvsdio was fully functional.
Excellent, thanks for the test!
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-27 12:32 ` Stefan Peter
2012-12-27 12:43 ` Thomas Petazzoni
@ 2012-12-27 16:45 ` Jason Cooper
2012-12-27 22:22 ` Stefan Peter
1 sibling, 1 reply; 34+ messages in thread
From: Jason Cooper @ 2012-12-27 16:45 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 27, 2012 at 01:32:00PM +0100, Stefan Peter wrote:
> on 21.12.2012 15:49, Thomas Petazzoni wrote:
> > Now that the mvsdio driver has a Device Tree binding, and the SDIO
> > controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
> > use the Device Tree to probe the SDIO controller and to mux the pins
> > of the SDIO interface correctly.
> >
> > This patch has not been tested, it remains to be tested by a person
> > having access to the hardware.
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > Cc: Stefan Peter <s.peter@mpl.ch>
...
> After applying "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk
> for USB device" from Andrew to 3.8-rc1, I was able to test these patches
> on the MPL CEC4 under 3.8-rc1. The mvsdio was fully functional.
If you are comfortable saying so, please add a "Tested-by: ..." We don't
like to assume ;-)
thx,
Jason.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-27 16:45 ` Jason Cooper
@ 2012-12-27 22:22 ` Stefan Peter
2012-12-27 22:29 ` Jason Cooper
0 siblings, 1 reply; 34+ messages in thread
From: Stefan Peter @ 2012-12-27 22:22 UTC (permalink / raw)
To: linux-arm-kernel
Hi Jason
On 27.12.2012 17:45, Jason Cooper wrote:
> On Thu, Dec 27, 2012 at 01:32:00PM +0100, Stefan Peter wrote:
>> on 21.12.2012 15:49, Thomas Petazzoni wrote:
>>> Now that the mvsdio driver has a Device Tree binding, and the SDIO
>>> controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
>>> use the Device Tree to probe the SDIO controller and to mux the pins
>>> of the SDIO interface correctly.
>>>
>>> This patch has not been tested, it remains to be tested by a person
>>> having access to the hardware.
>>>
>>> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>>> Cc: Stefan Peter <s.peter@mpl.ch>
> ...
>> After applying "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk
>> for USB device" from Andrew to 3.8-rc1, I was able to test these patches
>> on the MPL CEC4 under 3.8-rc1. The mvsdio was fully functional.
>
> If you are comfortable saying so, please add a "Tested-by: ..." We don't
> like to assume ;-)
>
I will do so as soon as I don't need two additional patches to get it
working. However, if you are interested in getting a Tested-by for the
"Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk for USB device"
from Andrew, let my know.
Regards
Stefan Peter
--
MPL AG, Switzerland http://www.mpl.ch
Tel. +41 (0)56 483 34 34 Fax: +41(0)56 493 30 20
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-27 22:22 ` Stefan Peter
@ 2012-12-27 22:29 ` Jason Cooper
0 siblings, 0 replies; 34+ messages in thread
From: Jason Cooper @ 2012-12-27 22:29 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Dec 27, 2012 at 11:22:47PM +0100, Stefan Peter wrote:
> Hi Jason
>
> On 27.12.2012 17:45, Jason Cooper wrote:
> > On Thu, Dec 27, 2012 at 01:32:00PM +0100, Stefan Peter wrote:
> >> on 21.12.2012 15:49, Thomas Petazzoni wrote:
> >>> Now that the mvsdio driver has a Device Tree binding, and the SDIO
> >>> controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
> >>> use the Device Tree to probe the SDIO controller and to mux the pins
> >>> of the SDIO interface correctly.
> >>>
> >>> This patch has not been tested, it remains to be tested by a person
> >>> having access to the hardware.
> >>>
> >>> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> >>> Cc: Stefan Peter <s.peter@mpl.ch>
> > ...
> >> After applying "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk
> >> for USB device" from Andrew to 3.8-rc1, I was able to test these patches
> >> on the MPL CEC4 under 3.8-rc1. The mvsdio was fully functional.
> >
> > If you are comfortable saying so, please add a "Tested-by: ..." We don't
> > like to assume ;-)
> >
>
> I will do so as soon as I don't need two additional patches to get it
> working. However, if you are interested in getting a Tested-by for the
> "Fixes for 3.8-rc1" and"ARM: Kirkwood: Fix missing clk for USB device"
> from Andrew, let my know.
Please do. In the future it's ok to put the qualifier about
dependencies on a Tested-by:, as I'll be making sure the patches are
merged in the correct order to satisfy those dependencies.
thx,
Jason.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 13/20] arm: kirkwood: mplcec4: use Device Tree to probe SDIO
2012-12-21 14:49 ` [PATCH v2 13/20] arm: kirkwood: mplcec4: " Thomas Petazzoni
2012-12-27 12:32 ` Stefan Peter
@ 2012-12-27 22:57 ` Stefan Peter
1 sibling, 0 replies; 34+ messages in thread
From: Stefan Peter @ 2012-12-27 22:57 UTC (permalink / raw)
To: linux-arm-kernel
On 21.12.2012 15:49, Thomas Petazzoni wrote:
> Now that the mvsdio driver has a Device Tree binding, and the SDIO
> controller is declared in kirkwood.dtsi, migrate the mplcec4 board to
> use the Device Tree to probe the SDIO controller and to mux the pins
> of the SDIO interface correctly.
>
> This patch has not been tested, it remains to be tested by a person
> having access to the hardware.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> Cc: Stefan Peter <s.peter@mpl.ch>
> ---
> Changes since v1:
> * Remove the useless header inclusion from board-mplcec4.c, now
> that the SDIO interface is probed from the Device Tree.
> * Reference the pmx_sdio muxing option from the DT node describing
> the SDIO interface, in order to get proper muxing of this
> interface.
> ---
> arch/arm/boot/dts/kirkwood-mplcec4.dts | 11 +++++++++--
> arch/arm/mach-kirkwood/board-mplcec4.c | 7 -------
> 2 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> index 262c654..662dfd8 100644
> --- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
> +++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
> @@ -20,12 +20,11 @@
> pinctrl: pinctrl at 10000 {
>
> pinctrl-0 = < &pmx_nand &pmx_uart0
> - &pmx_led_health &pmx_sdio
> + &pmx_led_health
> &pmx_sata0 &pmx_sata1
> &pmx_led_user1o
> &pmx_led_user1g &pmx_led_user0o
> &pmx_led_user0g &pmx_led_misc
> - &pmx_sdio_cd
> >;
> pinctrl-names = "default";
>
> @@ -133,6 +132,14 @@
> status = "okay";
>
> };
> +
> + mvsdio at 90000 {
> + pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
> + pinctrl-names = "default";
> + status = "okay";
> + cd-gpios = <&gpio1 15 0>;
> + /* No WP GPIO */
> + };
> };
>
> gpio-leds {
> diff --git a/arch/arm/mach-kirkwood/board-mplcec4.c b/arch/arm/mach-kirkwood/board-mplcec4.c
> index 56bfe5a..73a0332 100644
> --- a/arch/arm/mach-kirkwood/board-mplcec4.c
> +++ b/arch/arm/mach-kirkwood/board-mplcec4.c
> @@ -12,7 +12,6 @@
> #include <linux/kernel.h>
> #include <linux/init.h>
> #include <linux/mv643xx_eth.h>
> -#include <linux/platform_data/mmc-mvsdio.h>
> #include "common.h"
> #include "mpp.h"
>
> @@ -24,11 +23,6 @@ static struct mv643xx_eth_platform_data mplcec4_ge01_data = {
> .phy_addr = MV643XX_ETH_PHY_ADDR(2),
> };
>
> -static struct mvsdio_platform_data mplcec4_mvsdio_data = {
> - .gpio_card_detect = 47, /* MPP47 used as SD card detect */
> -};
> -
> -
> void __init mplcec4_init(void)
> {
> /*
> @@ -36,7 +30,6 @@ void __init mplcec4_init(void)
> */
> kirkwood_ge00_init(&mplcec4_ge00_data);
> kirkwood_ge01_init(&mplcec4_ge01_data);
> - kirkwood_sdio_init(&mplcec4_mvsdio_data);
> kirkwood_pcie_init(KW_PCIE0);
> }
>
>
Requires "Fixes for 3.8-rc1" and "ARM: Kirkwood: Fix missing clk for USB
device" from Andrew Lunn. With these patches,
Tested-by: Stefan Peter <s.peter@mpl.ch>
--
MPL AG, Switzerland http://www.mpl.ch
Tel. +41 (0)56 483 34 34 Fax: +41(0)56 493 30 20
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2] Device Tree binding for the mvsdio driver and related changes
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (19 preceding siblings ...)
2012-12-21 14:49 ` [PATCH v2 20/20] arm: mvebu: enable btmrvl " Thomas Petazzoni
@ 2013-01-08 20:38 ` Florian Fainelli
2013-01-10 3:13 ` Jason Cooper
21 siblings, 0 replies; 34+ messages in thread
From: Florian Fainelli @ 2013-01-08 20:38 UTC (permalink / raw)
To: linux-arm-kernel
Hello Thomas,
On Friday 21 December 2012 15:48:59 Thomas Petazzoni wrote:
> Hello,
>
> This series of patches adds a Device Tree binding to the mvsdio driver
> (the driver for the SDIO interface found in many Marvell SoCs), and
> uses this binding to enable the SDIO interface on Armada 370 and
> Armada XP platforms, as well as converting the Kirkwood platforms to
> using the Device Tree to probe the SDIO interface.
>
> The series has been tested on Kirkwood Topkick, Armada 370 Mirabox,
> Armada XP OpenBlocks, Armada 370 DB and Armada XP DB. The changes on
> the Dreamplug and MPLCEC4 boards should be tested by their respective
> maintainers if possible.
Tested on DB-MV784MP-GP and RD-A370-A1 successfully with a 16GB card. Thanks!
Tested-by: Florian Fainelli <florian@openwrt.org>
--
Florian
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC
2012-12-21 14:49 ` [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC Thomas Petazzoni
@ 2013-01-10 2:29 ` Jason Cooper
2013-01-10 6:13 ` Andrew Lunn
0 siblings, 1 reply; 34+ messages in thread
From: Jason Cooper @ 2013-01-10 2:29 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Dec 21, 2012 at 03:49:14PM +0100, Thomas Petazzoni wrote:
> The Topkick board uses a 88F6282 SoC, so the Device Tree Source
> describing the Topkick should inherit from kirkwood-6282.dtsi, which
> allows to take advantage of pin muxing capabilities.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> Changes since v1:
> * This patch is new in v2
> ---
> arch/arm/boot/dts/kirkwood-topkick.dts | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
> index c0de5a7..8f4a5b8 100644
> --- a/arch/arm/boot/dts/kirkwood-topkick.dts
> +++ b/arch/arm/boot/dts/kirkwood-topkick.dts
> @@ -1,6 +1,7 @@
> /dts-v1/;
>
> /include/ "kirkwood.dtsi"
> +/include/ "kirkwood-6282.dtsi"
Hmmm, shouldn't the cooresponding MPP.._GPIO and kirkwood_mpp_conf() be
removed as well?
thx,
Jason.
>
> / {
> model = "Univeral Scientific Industrial Co. Topkick-1281P2";
> --
> 1.7.9.5
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2] Device Tree binding for the mvsdio driver and related changes
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
` (20 preceding siblings ...)
2013-01-08 20:38 ` [PATCH v2] Device Tree binding for the mvsdio driver and related changes Florian Fainelli
@ 2013-01-10 3:13 ` Jason Cooper
21 siblings, 0 replies; 34+ messages in thread
From: Jason Cooper @ 2013-01-10 3:13 UTC (permalink / raw)
To: linux-arm-kernel
Thomas,
Thanks for the patches, I've merged them as follows:
* note, I've sorted them below in the order they will be merged
On Fri, Dec 21, 2012 at 03:48:59PM +0100, Thomas Petazzoni wrote:
> Hello,
>
> This series of patches adds a Device Tree binding to the mvsdio driver
> (the driver for the SDIO interface found in many Marvell SoCs), and
> uses this binding to enable the SDIO interface on Armada 370 and
> Armada XP platforms, as well as converting the Kirkwood platforms to
> using the Device Tree to probe the SDIO interface.
>
> The series has been tested on Kirkwood Topkick, Armada 370 Mirabox,
> Armada XP OpenBlocks, Armada 370 DB and Armada XP DB. The changes on
> the Dreamplug and MPLCEC4 boards should be tested by their respective
> maintainers if possible.
>
> This series is obviously 3.9 material.
>
> Here is a short description of the patches:
mvebu/cleanup
> * Patch 17 removes a useless header inclusion related to the SDIO
> interface to the Kirkwood Dockstar platform.
mvebu/drivers
> * Patches 1 and 2 cleanup the mvsdio driver initialization by using
> the slot-gpio helpers for the card-detect and write-protect GPIOs
>
> * Patch 3 adds the Device Tree binding itself to the mvsdio driver
>
> * Patch 4 adds pinctrl integration to the mvsdio driver
mvebu/boards
> * Patches 18, 19 and 20 update the mvebu_defconfig to enable the
> mvsdio driver, as well as Wifi/Bluetooth drivers needed for the
> SD8787 chip connected over SDIO on the Globalscale Mirabox.
mvebu/dt
> * Patch 5 adds Device Tree information to describe the SDIO interface
> on the Armada 370 and Armada XP SoCs.
>
> * Patches 6 and 7 add pin muxing options for the SDIO interface on
> Armada 370 and Armada XP SoCs.
>
> * Patches 8, 9, 10 enable the SDIO interface on the Armada XP DB,
> Armada 370 DB and Globalscale Mirabox platforms.
>
> * Patch 11 adds Device Tree information to describe the SDIO
> interface on the Kirkwood SoCs.
>
> * Patches 12 and 13 convert the Dreamplug and mplcec4 Kirkwood
> platforms to use the Device Tree to probe their SDIO interface and
> mux the corresponding pins.
>
> * Patch 14 adds a pin mux option for the SDIO interface on the
> 88F6282 SoC, which is used in the Topkick platform.
Dropped (see my reply to the individual patch):
> * Patch 15 makes the Topkick DTS file inherit the kirkwood-8262.dtsi,
> so that it gets the pinctrl definition.
>
> * Patch 16 converts the Kirkwood Topkick platform to use the Device
> Tree to probe its SDIO interface and mux the corresponding pins.
To give an idea of how it all pulls together so far, I have created a
(prone to rebasing!) branch, mvebu/for-next in which I have done the
following:
git checkout v3.8-rc2
git merge arm-soc/for-next
git merge mvebu/fixes
git merge mvebu/cleanup
git merge mvebu/drivers
git merge mvebu/boards
git merge mvebu/dt
So everything I've merged so far is in there, ready for testing.
thx,
Jason.
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC
2013-01-10 2:29 ` Jason Cooper
@ 2013-01-10 6:13 ` Andrew Lunn
2013-01-10 11:50 ` Jason Cooper
0 siblings, 1 reply; 34+ messages in thread
From: Andrew Lunn @ 2013-01-10 6:13 UTC (permalink / raw)
To: linux-arm-kernel
On Wed, Jan 09, 2013 at 09:29:26PM -0500, Jason Cooper wrote:
> On Fri, Dec 21, 2012 at 03:49:14PM +0100, Thomas Petazzoni wrote:
> > The Topkick board uses a 88F6282 SoC, so the Device Tree Source
> > describing the Topkick should inherit from kirkwood-6282.dtsi, which
> > allows to take advantage of pin muxing capabilities.
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > ---
> > Changes since v1:
> > * This patch is new in v2
> > ---
> > arch/arm/boot/dts/kirkwood-topkick.dts | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
> > index c0de5a7..8f4a5b8 100644
> > --- a/arch/arm/boot/dts/kirkwood-topkick.dts
> > +++ b/arch/arm/boot/dts/kirkwood-topkick.dts
> > @@ -1,6 +1,7 @@
> > /dts-v1/;
> >
> > /include/ "kirkwood.dtsi"
> > +/include/ "kirkwood-6282.dtsi"
>
> Hmmm, shouldn't the cooresponding MPP.._GPIO and kirkwood_mpp_conf() be
> removed as well?
Hi Jason
I have some patches for that. I will dig them out over the weekend.
I did have an issue with one of the LEDs. If i remember correctly, i
sent you an email about it. Could you look back in your archive?
Thanks
Andrew
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC
2013-01-10 6:13 ` Andrew Lunn
@ 2013-01-10 11:50 ` Jason Cooper
0 siblings, 0 replies; 34+ messages in thread
From: Jason Cooper @ 2013-01-10 11:50 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, Jan 10, 2013 at 07:13:09AM +0100, Andrew Lunn wrote:
> On Wed, Jan 09, 2013 at 09:29:26PM -0500, Jason Cooper wrote:
> > On Fri, Dec 21, 2012 at 03:49:14PM +0100, Thomas Petazzoni wrote:
> > > The Topkick board uses a 88F6282 SoC, so the Device Tree Source
> > > describing the Topkick should inherit from kirkwood-6282.dtsi, which
> > > allows to take advantage of pin muxing capabilities.
> > >
> > > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> > > ---
> > > Changes since v1:
> > > * This patch is new in v2
> > > ---
> > > arch/arm/boot/dts/kirkwood-topkick.dts | 1 +
> > > 1 file changed, 1 insertion(+)
> > >
> > > diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts
> > > index c0de5a7..8f4a5b8 100644
> > > --- a/arch/arm/boot/dts/kirkwood-topkick.dts
> > > +++ b/arch/arm/boot/dts/kirkwood-topkick.dts
> > > @@ -1,6 +1,7 @@
> > > /dts-v1/;
> > >
> > > /include/ "kirkwood.dtsi"
> > > +/include/ "kirkwood-6282.dtsi"
> >
> > Hmmm, shouldn't the cooresponding MPP.._GPIO and kirkwood_mpp_conf() be
> > removed as well?
>
> Hi Jason
>
> I have some patches for that. I will dig them out over the weekend.
>
> I did have an issue with one of the LEDs. If i remember correctly, i
> sent you an email about it. Could you look back in your archive?
Yes, I have it on my todo list. Unfortunately, I haven't unpacked my
dev plats after my office relocation. :( Hopefully, I'll get that set
up this weekend.
thx,
Jason.
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2013-01-10 11:50 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 14:48 [PATCH v2] Device Tree binding for the mvsdio driver and related changes Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 01/20] mmc: mvsdio: use slot-gpio infrastructure for write protect gpio Thomas Petazzoni
2012-12-22 14:05 ` Shawn Guo
2012-12-22 14:49 ` Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 02/20] mmc: mvsdio: use slot-gpio for card detect gpio Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 03/20] mmc: mvsdio: implement a Device Tree binding Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 04/20] mmc: mvsdio: add pinctrl integration Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 05/20] arm: mvebu: add DT information for the SDIO interface of Armada 370/XP Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 06/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada 370 Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 07/20] arm: mvebu: add pin muxing options for the SDIO interface on Armada XP Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 08/20] arm: mvebu: enable the SD card slot on Armada XP DB board Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 09/20] arm: mvebu: enable the SD card slot on Armada 370 " Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 10/20] arm: mvebu: enable the SDIO interface on the Globalscale Mirabox Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 11/20] arm: kirkwood: add Device Tree informations for the SDIO controller Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 12/20] arm: kirkwood: dreamplug: use Device Tree to probe SDIO Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 13/20] arm: kirkwood: mplcec4: " Thomas Petazzoni
2012-12-27 12:32 ` Stefan Peter
2012-12-27 12:43 ` Thomas Petazzoni
2012-12-27 16:45 ` Jason Cooper
2012-12-27 22:22 ` Stefan Peter
2012-12-27 22:29 ` Jason Cooper
2012-12-27 22:57 ` Stefan Peter
2012-12-21 14:49 ` [PATCH v2 14/20] arm: kirkwood: add pinmux option for the SDIO interface on 88F6282 Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 15/20] arm: kirkwood: topkick: the Topkick platform uses a 88F6282 SoC Thomas Petazzoni
2013-01-10 2:29 ` Jason Cooper
2013-01-10 6:13 ` Andrew Lunn
2013-01-10 11:50 ` Jason Cooper
2012-12-21 14:49 ` [PATCH v2 16/20] arm: kirkwood: topkick: use Device Tree to probe SDIO Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 17/20] arm: kirkwood: dockstar: remove useless include of SDIO header Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 18/20] arm: mvebu: enable SDIO support in mvebu_defconfig Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 19/20] arm: mvebu: enable mwifiex driver " Thomas Petazzoni
2012-12-21 14:49 ` [PATCH v2 20/20] arm: mvebu: enable btmrvl " Thomas Petazzoni
2013-01-08 20:38 ` [PATCH v2] Device Tree binding for the mvsdio driver and related changes Florian Fainelli
2013-01-10 3:13 ` Jason Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).