* [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name
@ 2012-12-12 11:54 Bastian Hecht
2012-12-12 11:54 ` [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller Bastian Hecht
` (3 more replies)
0 siblings, 4 replies; 10+ messages in thread
From: Bastian Hecht @ 2012-12-12 11:54 UTC (permalink / raw)
To: spi-devel-general, Grant Likely
Cc: linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
From: Bastian Hecht <hechtb@gmail.com>
clk_get() no longer needs a character string for associating the right
clock as this is done via the device struct now.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
---
v2: no changes
drivers/spi/spi-sh-msiof.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 1f466bc..96358d0 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -597,7 +597,6 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
struct resource *r;
struct spi_master *master;
struct sh_msiof_spi_priv *p;
- char clk_name[16];
int i;
int ret;
@@ -614,10 +613,9 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
p->info = pdev->dev.platform_data;
init_completion(&p->done);
- snprintf(clk_name, sizeof(clk_name), "msiof%d", pdev->id);
- p->clk = clk_get(&pdev->dev, clk_name);
+ p->clk = clk_get(&pdev->dev, NULL);
if (IS_ERR(p->clk)) {
- dev_err(&pdev->dev, "cannot get clock \"%s\"\n", clk_name);
+ dev_err(&pdev->dev, "cannot get clock\n");
ret = PTR_ERR(p->clk);
goto err1;
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller
2012-12-12 11:54 [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name Bastian Hecht
@ 2012-12-12 11:54 ` Bastian Hecht
[not found] ` <1355313289-29769-2-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-12 11:54 ` [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver Bastian Hecht
` (2 subsequent siblings)
3 siblings, 1 reply; 10+ messages in thread
From: Bastian Hecht @ 2012-12-12 11:54 UTC (permalink / raw)
To: spi-devel-general, Grant Likely
Cc: linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
From: Bastian Hecht <hechtb@gmail.com>
The MSIOF hardware block is used in the SH Mobile series as well, so we
add it here.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
---
v2: no changes
drivers/spi/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 1acae35..d0c0ae6 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -341,10 +341,10 @@ config SPI_SC18IS602
config SPI_SH_MSIOF
tristate "SuperH MSIOF SPI controller"
- depends on SUPERH && HAVE_CLK
+ depends on (SUPERH || ARCH_SHMOBILE) && HAVE_CLK
select SPI_BITBANG
help
- SPI driver for SuperH MSIOF blocks.
+ SPI driver for SuperH and SH Mobile MSIOF blocks.
config SPI_SH
tristate "SuperH SPI controller"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver
2012-12-12 11:54 [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name Bastian Hecht
2012-12-12 11:54 ` [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller Bastian Hecht
@ 2012-12-12 11:54 ` Bastian Hecht
2012-12-17 2:10 ` Nobuhiro Iwamatsu
2012-12-12 11:54 ` [PATCH 4/4 v2] devicetree: Add Renesas SH Mobile MSIOF spi controller binding doc Bastian Hecht
[not found] ` <1355313289-29769-1-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
3 siblings, 1 reply; 10+ messages in thread
From: Bastian Hecht @ 2012-12-12 11:54 UTC (permalink / raw)
To: spi-devel-general, Grant Likely
Cc: linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
From: Bastian Hecht <hechtb@gmail.com>
This adds the capability to retrieve setup data from the device tree
node. The usage of platform data is still available.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
---
v2:
- renamed property "chip_select" to "num-cs"
- renamed property "tx_fifo_size" to "renesas,tx-fifo-size"
- renamed property "rx_fifo_size" to "renesas,rx-fifo-size"
drivers/spi/spi-sh-msiof.c | 56 +++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 55 insertions(+), 1 deletion(-)
diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
index 96358d0..8b40d08 100644
--- a/drivers/spi/spi-sh-msiof.c
+++ b/drivers/spi/spi-sh-msiof.c
@@ -20,6 +20,7 @@
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/module.h>
+#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
@@ -592,6 +593,37 @@ static u32 sh_msiof_spi_txrx_word(struct spi_device *spi, unsigned nsecs,
return 0;
}
+#ifdef CONFIG_OF
+static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
+{
+ struct sh_msiof_spi_info *info;
+ struct device_node *np = dev->of_node;
+ u32 num_cs = 0;
+
+ info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL);
+ if (!info) {
+ dev_err(dev, "failed to allocate setup data\n");
+ return NULL;
+ }
+
+ /* Parse the MSIOF properties */
+ of_property_read_u32(np, "num-cs", &num_cs);
+ of_property_read_u32(np, "renesas,tx-fifo-size",
+ &info->tx_fifo_override);
+ of_property_read_u32(np, "renesas,rx-fifo-size",
+ &info->rx_fifo_override);
+
+ info->num_chipselect = num_cs;
+
+ return info;
+}
+#else
+static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
+{
+ return NULL;
+}
+#endif
+
static int sh_msiof_spi_probe(struct platform_device *pdev)
{
struct resource *r;
@@ -610,7 +642,17 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
p = spi_master_get_devdata(master);
platform_set_drvdata(pdev, p);
- p->info = pdev->dev.platform_data;
+ if (pdev->dev.of_node)
+ p->info = sh_msiof_spi_parse_dt(&pdev->dev);
+ else
+ p->info = pdev->dev.platform_data;
+
+ if (!p->info) {
+ dev_err(&pdev->dev, "failed to obtain device info\n");
+ ret = -ENXIO;
+ goto err1;
+ }
+
init_completion(&p->done);
p->clk = clk_get(&pdev->dev, NULL);
@@ -715,6 +757,17 @@ static int sh_msiof_spi_runtime_nop(struct device *dev)
return 0;
}
+#ifdef CONFIG_OF
+static const struct of_device_id sh_msiof_match[] = {
+ { .compatible = "renesas,sh-msiof", },
+ { .compatible = "renesas,sh-mobile-msiof", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, sh_msiof_match);
+#else
+#define sh_msiof_match NULL
+#endif
+
static struct dev_pm_ops sh_msiof_spi_dev_pm_ops = {
.runtime_suspend = sh_msiof_spi_runtime_nop,
.runtime_resume = sh_msiof_spi_runtime_nop,
@@ -727,6 +780,7 @@ static struct platform_driver sh_msiof_spi_drv = {
.name = "spi_sh_msiof",
.owner = THIS_MODULE,
.pm = &sh_msiof_spi_dev_pm_ops,
+ .of_match_table = sh_msiof_match,
},
};
module_platform_driver(sh_msiof_spi_drv);
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [PATCH 4/4 v2] devicetree: Add Renesas SH Mobile MSIOF spi controller binding doc
2012-12-12 11:54 [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name Bastian Hecht
2012-12-12 11:54 ` [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller Bastian Hecht
2012-12-12 11:54 ` [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver Bastian Hecht
@ 2012-12-12 11:54 ` Bastian Hecht
[not found] ` <1355313289-29769-4-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
[not found] ` <1355313289-29769-1-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
3 siblings, 1 reply; 10+ messages in thread
From: Bastian Hecht @ 2012-12-12 11:54 UTC (permalink / raw)
To: spi-devel-general, Grant Likely
Cc: linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
From: Bastian Hecht <hechtb@gmail.com>
Add binding documentation for Renesas' MSIOF SPI controller.
Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
---
v2:
- renamed property "chip_select" to "num-cs"
- renamed property "tx_fifo_size" to "renesas,tx-fifo-size"
- renamed property "rx_fifo_size" to "renesas,rx-fifo-size"
Documentation/devicetree/bindings/spi/sh-msiof.txt | 12 ++++++++++++
1 file changed, 12 insertions(+)
create mode 100644 Documentation/devicetree/bindings/spi/sh-msiof.txt
diff --git a/Documentation/devicetree/bindings/spi/sh-msiof.txt b/Documentation/devicetree/bindings/spi/sh-msiof.txt
new file mode 100644
index 0000000..e622210
--- /dev/null
+++ b/Documentation/devicetree/bindings/spi/sh-msiof.txt
@@ -0,0 +1,12 @@
+Renesas MSIOF spi controller
+
+Required properties:
+- compatible : "renesas,sh-msiof" for SuperH or
+ "renesas,sh-mobile-msiof" for SH Mobile series
+- reg : Offset and length of the register set for the device
+- interrupts : interrupt line used by MSIOF
+
+Optional properties:
+- num-cs : total number of chip-selects
+- renesas,tx-fifo-size : Overrides the default tx fifo size given in words
+- renesas,rx-fifo-size : Overrides the default rx fifo size given in words
--
1.7.9.5
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver
2012-12-12 11:54 ` [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver Bastian Hecht
@ 2012-12-17 2:10 ` Nobuhiro Iwamatsu
2012-12-17 11:25 ` Bastian Hecht
0 siblings, 1 reply; 10+ messages in thread
From: Nobuhiro Iwamatsu @ 2012-12-17 2:10 UTC (permalink / raw)
To: Bastian Hecht
Cc: spi-devel-general, Grant Likely,
linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
Hi, Bastian.
On Wed, Dec 12, 2012 at 8:54 PM, Bastian Hecht <hechtb@gmail.com> wrote:
> From: Bastian Hecht <hechtb@gmail.com>
>
> This adds the capability to retrieve setup data from the device tree
> node. The usage of platform data is still available.
>
> Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
> ---
> v2:
> - renamed property "chip_select" to "num-cs"
> - renamed property "tx_fifo_size" to "renesas,tx-fifo-size"
> - renamed property "rx_fifo_size" to "renesas,rx-fifo-size"
>
> drivers/spi/spi-sh-msiof.c | 56 +++++++++++++++++++++++++++++++++++++++++++-
> 1 file changed, 55 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
> index 96358d0..8b40d08 100644
> --- a/drivers/spi/spi-sh-msiof.c
> +++ b/drivers/spi/spi-sh-msiof.c
> @@ -20,6 +20,7 @@
> #include <linux/io.h>
> #include <linux/kernel.h>
> #include <linux/module.h>
> +#include <linux/of.h>
> #include <linux/platform_device.h>
> #include <linux/pm_runtime.h>
>
> @@ -592,6 +593,37 @@ static u32 sh_msiof_spi_txrx_word(struct spi_device *spi, unsigned nsecs,
> return 0;
> }
>
> +#ifdef CONFIG_OF
> +static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
> +{
> + struct sh_msiof_spi_info *info;
> + struct device_node *np = dev->of_node;
> + u32 num_cs = 0;
> +
> + info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL);
> + if (!info) {
> + dev_err(dev, "failed to allocate setup data\n");
> + return NULL;
> + }
> +
> + /* Parse the MSIOF properties */
> + of_property_read_u32(np, "num-cs", &num_cs);
> + of_property_read_u32(np, "renesas,tx-fifo-size",
> + &info->tx_fifo_override);
> + of_property_read_u32(np, "renesas,rx-fifo-size",
> + &info->rx_fifo_override);
> +
> + info->num_chipselect = num_cs;
> +
> + return info;
> +}
> +#else
> +static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
> +{
> + return NULL;
> +}
> +#endif
> +
> static int sh_msiof_spi_probe(struct platform_device *pdev)
> {
> struct resource *r;
> @@ -610,7 +642,17 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
> p = spi_master_get_devdata(master);
>
> platform_set_drvdata(pdev, p);
> - p->info = pdev->dev.platform_data;
> + if (pdev->dev.of_node)
> + p->info = sh_msiof_spi_parse_dt(&pdev->dev);
> + else
> + p->info = pdev->dev.platform_data;
> +
> + if (!p->info) {
> + dev_err(&pdev->dev, "failed to obtain device info\n");
> + ret = -ENXIO;
> + goto err1;
> + }
> +
> init_completion(&p->done);
>
> p->clk = clk_get(&pdev->dev, NULL);
> @@ -715,6 +757,17 @@ static int sh_msiof_spi_runtime_nop(struct device *dev)
> return 0;
> }
>
> +#ifdef CONFIG_OF
> +static const struct of_device_id sh_msiof_match[] = {
> + { .compatible = "renesas,sh-msiof", },
> + { .compatible = "renesas,sh-mobile-msiof", },
> + {},
> +};
> +MODULE_DEVICE_TABLE(of, sh_msiof_match);
> +#else
> +#define sh_msiof_match NULL
> +#endif
You can remove ifdef if you use of_match_ptr().
> +
> static struct dev_pm_ops sh_msiof_spi_dev_pm_ops = {
> .runtime_suspend = sh_msiof_spi_runtime_nop,
> .runtime_resume = sh_msiof_spi_runtime_nop,
> @@ -727,6 +780,7 @@ static struct platform_driver sh_msiof_spi_drv = {
> .name = "spi_sh_msiof",
> .owner = THIS_MODULE,
> .pm = &sh_msiof_spi_dev_pm_ops,
> + .of_match_table = sh_msiof_match,
You can use of_match_ptr(sh_msiof_match).
> },
> };
> module_platform_driver(sh_msiof_spi_drv);
> --
> 1.7.9.5
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver
2012-12-17 2:10 ` Nobuhiro Iwamatsu
@ 2012-12-17 11:25 ` Bastian Hecht
[not found] ` <CABYn4sybRf4vxxGccCDSCEMcza4DZdaZgTD6kZ7+v9CDspzCBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: Bastian Hecht @ 2012-12-17 11:25 UTC (permalink / raw)
To: Nobuhiro Iwamatsu
Cc: spi-devel-general, Grant Likely,
linux-arm-kernel@lists.infradead.org, linux-sh, Magnus Damm
Hi Nobuhiro,
2012/12/17 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>:
> Hi, Bastian.
>
> On Wed, Dec 12, 2012 at 8:54 PM, Bastian Hecht <hechtb@gmail.com> wrote:
>> From: Bastian Hecht <hechtb@gmail.com>
>>
>> This adds the capability to retrieve setup data from the device tree
>> node. The usage of platform data is still available.
>>
>> Signed-off-by: Bastian Hecht <hechtb+renesas@gmail.com>
>> ---
>> v2:
>> - renamed property "chip_select" to "num-cs"
>> - renamed property "tx_fifo_size" to "renesas,tx-fifo-size"
>> - renamed property "rx_fifo_size" to "renesas,rx-fifo-size"
>>
>> drivers/spi/spi-sh-msiof.c | 56 +++++++++++++++++++++++++++++++++++++++++++-
>> 1 file changed, 55 insertions(+), 1 deletion(-)
>>
>> diff --git a/drivers/spi/spi-sh-msiof.c b/drivers/spi/spi-sh-msiof.c
>> index 96358d0..8b40d08 100644
>> --- a/drivers/spi/spi-sh-msiof.c
>> +++ b/drivers/spi/spi-sh-msiof.c
>> @@ -20,6 +20,7 @@
>> #include <linux/io.h>
>> #include <linux/kernel.h>
>> #include <linux/module.h>
>> +#include <linux/of.h>
>> #include <linux/platform_device.h>
>> #include <linux/pm_runtime.h>
>>
>> @@ -592,6 +593,37 @@ static u32 sh_msiof_spi_txrx_word(struct spi_device *spi, unsigned nsecs,
>> return 0;
>> }
>>
>> +#ifdef CONFIG_OF
>> +static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
>> +{
>> + struct sh_msiof_spi_info *info;
>> + struct device_node *np = dev->of_node;
>> + u32 num_cs = 0;
>> +
>> + info = devm_kzalloc(dev, sizeof(struct sh_msiof_spi_info), GFP_KERNEL);
>> + if (!info) {
>> + dev_err(dev, "failed to allocate setup data\n");
>> + return NULL;
>> + }
>> +
>> + /* Parse the MSIOF properties */
>> + of_property_read_u32(np, "num-cs", &num_cs);
>> + of_property_read_u32(np, "renesas,tx-fifo-size",
>> + &info->tx_fifo_override);
>> + of_property_read_u32(np, "renesas,rx-fifo-size",
>> + &info->rx_fifo_override);
>> +
>> + info->num_chipselect = num_cs;
>> +
>> + return info;
>> +}
>> +#else
>> +static struct sh_msiof_spi_info *sh_msiof_spi_parse_dt(struct device *dev)
>> +{
>> + return NULL;
>> +}
>> +#endif
>> +
>> static int sh_msiof_spi_probe(struct platform_device *pdev)
>> {
>> struct resource *r;
>> @@ -610,7 +642,17 @@ static int sh_msiof_spi_probe(struct platform_device *pdev)
>> p = spi_master_get_devdata(master);
>>
>> platform_set_drvdata(pdev, p);
>> - p->info = pdev->dev.platform_data;
>> + if (pdev->dev.of_node)
>> + p->info = sh_msiof_spi_parse_dt(&pdev->dev);
>> + else
>> + p->info = pdev->dev.platform_data;
>> +
>> + if (!p->info) {
>> + dev_err(&pdev->dev, "failed to obtain device info\n");
>> + ret = -ENXIO;
>> + goto err1;
>> + }
>> +
>> init_completion(&p->done);
>>
>> p->clk = clk_get(&pdev->dev, NULL);
>> @@ -715,6 +757,17 @@ static int sh_msiof_spi_runtime_nop(struct device *dev)
>> return 0;
>> }
>>
>> +#ifdef CONFIG_OF
>> +static const struct of_device_id sh_msiof_match[] = {
>> + { .compatible = "renesas,sh-msiof", },
>> + { .compatible = "renesas,sh-mobile-msiof", },
>> + {},
>> +};
>> +MODULE_DEVICE_TABLE(of, sh_msiof_match);
>> +#else
>> +#define sh_msiof_match NULL
>> +#endif
>
> You can remove ifdef if you use of_match_ptr().
>
>> +
>> static struct dev_pm_ops sh_msiof_spi_dev_pm_ops = {
>> .runtime_suspend = sh_msiof_spi_runtime_nop,
>> .runtime_resume = sh_msiof_spi_runtime_nop,
>> @@ -727,6 +780,7 @@ static struct platform_driver sh_msiof_spi_drv = {
>> .name = "spi_sh_msiof",
>> .owner = THIS_MODULE,
>> .pm = &sh_msiof_spi_dev_pm_ops,
>> + .of_match_table = sh_msiof_match,
>
> You can use of_match_ptr(sh_msiof_match).
>
Ok very nice, will do so.
Thanks,
Bastian
>> },
>> };
>> module_platform_driver(sh_msiof_spi_drv);
>> --
>> 1.7.9.5
>
> Best regards,
> Nobuhiro
>
> --
> Nobuhiro Iwamatsu
> iwamatsu at {nigauri.org / debian.org}
> GPG ID: 40AD1FA6
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name
[not found] ` <1355313289-29769-1-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-12-19 16:37 ` Grant Likely
0 siblings, 0 replies; 10+ messages in thread
From: Grant Likely @ 2012-12-19 16:37 UTC (permalink / raw)
To: Bastian Hecht, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: Magnus Damm,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA
On Wed, 12 Dec 2012 12:54:46 +0100, Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> From: Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> clk_get() no longer needs a character string for associating the right
> clock as this is done via the device struct now.
>
> Signed-off-by: Bastian Hecht <hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
This change is already in mainline.
g.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller
[not found] ` <1355313289-29769-2-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-12-19 16:39 ` Grant Likely
0 siblings, 0 replies; 10+ messages in thread
From: Grant Likely @ 2012-12-19 16:39 UTC (permalink / raw)
To: Bastian Hecht, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: Magnus Damm,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA
On Wed, 12 Dec 2012 12:54:47 +0100, Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> From: Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> The MSIOF hardware block is used in the SH Mobile series as well, so we
> add it here.
>
> Signed-off-by: Bastian Hecht <hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
Also already applied.
g.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver
[not found] ` <CABYn4sybRf4vxxGccCDSCEMcza4DZdaZgTD6kZ7+v9CDspzCBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2012-12-19 16:41 ` Grant Likely
0 siblings, 0 replies; 10+ messages in thread
From: Grant Likely @ 2012-12-19 16:41 UTC (permalink / raw)
To: Bastian Hecht, Nobuhiro Iwamatsu
Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Magnus Damm,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA
On Mon, 17 Dec 2012 12:25:26 +0100, Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hi Nobuhiro,
>
> 2012/12/17 Nobuhiro Iwamatsu <iwamatsu-+mkmVskJBflAfugRpC6u6w@public.gmane.org>:
> > Hi, Bastian.
> >
> > On Wed, Dec 12, 2012 at 8:54 PM, Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> From: Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >>
> >> This adds the capability to retrieve setup data from the device tree
> >> node. The usage of platform data is still available.
> >>
> >> Signed-off-by: Bastian Hecht <hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> >> ---
Applied, thanks.
> >> + .of_match_table = sh_msiof_match,
> >
> > You can use of_match_ptr(sh_msiof_match).
> >
>
> Ok very nice, will do so.
Please send a fixup patch for this change.
g.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [PATCH 4/4 v2] devicetree: Add Renesas SH Mobile MSIOF spi controller binding doc
[not found] ` <1355313289-29769-4-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2012-12-19 16:41 ` Grant Likely
0 siblings, 0 replies; 10+ messages in thread
From: Grant Likely @ 2012-12-19 16:41 UTC (permalink / raw)
To: Bastian Hecht, spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Cc: Magnus Damm,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-sh-u79uwXL29TY76Z2rM5mHXA
On Wed, 12 Dec 2012 12:54:49 +0100, Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> From: Bastian Hecht <hechtb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
> Add binding documentation for Renesas' MSIOF SPI controller.
>
> Signed-off-by: Bastian Hecht <hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Applied, but squashed together with patch 3. I prefer to see
documentation and code changes applied together.
g.
--
Grant Likely, B.Sc, P.Eng.
Secret Lab Technologies, Ltd.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2012-12-19 16:41 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-12 11:54 [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name Bastian Hecht
2012-12-12 11:54 ` [PATCH 2/4 v2] spi: Add SH Mobile series as dependency to MSIOF controller Bastian Hecht
[not found] ` <1355313289-29769-2-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-19 16:39 ` Grant Likely
2012-12-12 11:54 ` [PATCH 3/4 v2] spi: sh-msiof: Add device tree parsing to driver Bastian Hecht
2012-12-17 2:10 ` Nobuhiro Iwamatsu
2012-12-17 11:25 ` Bastian Hecht
[not found] ` <CABYn4sybRf4vxxGccCDSCEMcza4DZdaZgTD6kZ7+v9CDspzCBg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-12-19 16:41 ` Grant Likely
2012-12-12 11:54 ` [PATCH 4/4 v2] devicetree: Add Renesas SH Mobile MSIOF spi controller binding doc Bastian Hecht
[not found] ` <1355313289-29769-4-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-19 16:41 ` Grant Likely
[not found] ` <1355313289-29769-1-git-send-email-hechtb+renesas-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-12-19 16:37 ` [PATCH 1/4 v2] spi: sh-msiof: Remove unneeded clock name Grant Likely
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).