* [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings
@ 2014-02-11 8:56 Geert Uytterhoeven
[not found] ` <1392109008-29941-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-02-11 8:56 UTC (permalink / raw)
To: Simon Horman, Kuninori Morimoto
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
Geert Uytterhoeven, Mark Brown
From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Binding documentation:
- Add future-proof "renesas,hspi-<soctype>" compatible values,
- Add "interrupt-parent", "#address-cells" and "#size-cells" properties,
- Add reference to pinctrl documentation,
- Add example bindings.
r8a7778 and r8a7779 dtsi:
- Add "renesas,hspi-r8a7778" resp. "renesas,hspi-r8a7779" compatible
values,
- Correct reference to parent interrupt controller
(use "interrupt-parent" instead of "interrupt-controller"),
- Add missing "#address-cells" and "#size-cells" properties, which are
needed when populating the SPI buses.
Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Cc: Mark Brown <broonie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
---
Untested due to lack of hardware
Documentation/devicetree/bindings/spi/sh-hspi.txt | 27 ++++++++++++++++++---
arch/arm/boot/dts/r8a7778.dtsi | 18 +++++++++-----
arch/arm/boot/dts/r8a7779.dtsi | 18 +++++++++-----
3 files changed, 48 insertions(+), 15 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/sh-hspi.txt b/Documentation/devicetree/bindings/spi/sh-hspi.txt
index 30b57b1c8a13..d43080eb6b3a 100644
--- a/Documentation/devicetree/bindings/spi/sh-hspi.txt
+++ b/Documentation/devicetree/bindings/spi/sh-hspi.txt
@@ -1,7 +1,28 @@
Renesas HSPI.
Required properties:
-- compatible : "renesas,hspi"
-- reg : Offset and length of the register set for the device
-- interrupts : interrupt line used by HSPI
+- compatible : "renesas,hspi-<soctype>", "renesas,hspi" as fallback.
+ Examples of valid soctypes are "r8a7778" (R-Car M1),
+ and "r8a7779" (R-Car H1)
+- reg : Offset and length of the register set for the device
+- interrupt-parent : The phandle for the interrupt controller that
+ services interrupts for this device
+- interrupts : Interrupt specifier
+- #address-cells : Must be <1>
+- #size-cells : Must be <0>
+
+Pinctrl properties might be needed, too. See
+Documentation/devicetree/bindings/pinctrl/renesas,*.
+
+Example:
+
+ hspi0: spi@fffc7000 {
+ compatible = "renesas,hspi-r8a7778", "renesas,hspi";
+ reg = <0xfffc7000 0x18>;
+ interrupt-parent = <&gic>;
+ interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
index 85c5b3b99f5e..3c6fab5c9702 100644
--- a/arch/arm/boot/dts/r8a7778.dtsi
+++ b/arch/arm/boot/dts/r8a7778.dtsi
@@ -204,26 +204,32 @@
};
hspi0: spi@fffc7000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7778", "renesas,hspi";
reg = <0xfffc7000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
hspi1: spi@fffc8000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7778", "renesas,hspi";
reg = <0xfffc8000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
hspi2: spi@fffc6000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7778", "renesas,hspi";
reg = <0xfffc6000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
};
diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
index d0561d4c7c46..8b1a336ee401 100644
--- a/arch/arm/boot/dts/r8a7779.dtsi
+++ b/arch/arm/boot/dts/r8a7779.dtsi
@@ -256,26 +256,32 @@
};
hspi0: spi@fffc7000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7779", "renesas,hspi";
reg = <0xfffc7000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
hspi1: spi@fffc8000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7779", "renesas,hspi";
reg = <0xfffc8000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
hspi2: spi@fffc6000 {
- compatible = "renesas,hspi";
+ compatible = "renesas,hspi-r8a7779", "renesas,hspi";
reg = <0xfffc6000 0x18>;
- interrupt-controller = <&gic>;
+ interrupt-parent = <&gic>;
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
status = "disabled";
};
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH 2/2] ARM: shmobile: bockw reference dts: Add SPI FLASH
[not found] ` <1392109008-29941-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
@ 2014-02-11 8:56 ` Geert Uytterhoeven
2014-02-13 5:56 ` [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings Simon Horman
1 sibling, 0 replies; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-02-11 8:56 UTC (permalink / raw)
To: Simon Horman, Kuninori Morimoto
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
Add Spansion s25fl008k SPI FLASH and MTD partition, based on bockw legacy
board code.
Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
---
Untested due to lack of hardware
arch/arm/boot/dts/r8a7778-bockw-reference.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7778-bockw-reference.dts b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
index 06cda19dac6a..f76f6ec01e19 100644
--- a/arch/arm/boot/dts/r8a7778-bockw-reference.dts
+++ b/arch/arm/boot/dts/r8a7778-bockw-reference.dts
@@ -109,4 +109,18 @@
pinctrl-0 = <&hspi0_pins>;
pinctrl-names = "default";
status = "okay";
+
+ flash: flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "spansion,s25fl008k";
+ reg = <0>;
+ spi-max-frequency = <104000000>;
+ m25p,fast-read;
+
+ partition@0 {
+ label = "data(spi)";
+ reg = <0x00000000 0x00100000>;
+ };
+ };
};
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings
[not found] ` <1392109008-29941-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
2014-02-11 8:56 ` [PATCH 2/2] ARM: shmobile: bockw reference dts: Add SPI FLASH Geert Uytterhoeven
@ 2014-02-13 5:56 ` Simon Horman
[not found] ` <20140213055600.GF17183-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Simon Horman @ 2014-02-13 5:56 UTC (permalink / raw)
To: Geert Uytterhoeven, Kuninori Morimoto
Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
Geert Uytterhoeven, Mark Brown
Hi Morimoto-san,
could you test this series as Geert does not have access to a bockw board?
On Tue, Feb 11, 2014 at 09:56:47AM +0100, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
>
> Binding documentation:
> - Add future-proof "renesas,hspi-<soctype>" compatible values,
> - Add "interrupt-parent", "#address-cells" and "#size-cells" properties,
> - Add reference to pinctrl documentation,
> - Add example bindings.
>
> r8a7778 and r8a7779 dtsi:
> - Add "renesas,hspi-r8a7778" resp. "renesas,hspi-r8a7779" compatible
> values,
> - Correct reference to parent interrupt controller
> (use "interrupt-parent" instead of "interrupt-controller"),
> - Add missing "#address-cells" and "#size-cells" properties, which are
> needed when populating the SPI buses.
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> Cc: Mark Brown <broonie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> Untested due to lack of hardware
>
> Documentation/devicetree/bindings/spi/sh-hspi.txt | 27 ++++++++++++++++++---
> arch/arm/boot/dts/r8a7778.dtsi | 18 +++++++++-----
> arch/arm/boot/dts/r8a7779.dtsi | 18 +++++++++-----
> 3 files changed, 48 insertions(+), 15 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/spi/sh-hspi.txt b/Documentation/devicetree/bindings/spi/sh-hspi.txt
> index 30b57b1c8a13..d43080eb6b3a 100644
> --- a/Documentation/devicetree/bindings/spi/sh-hspi.txt
> +++ b/Documentation/devicetree/bindings/spi/sh-hspi.txt
> @@ -1,7 +1,28 @@
> Renesas HSPI.
>
> Required properties:
> -- compatible : "renesas,hspi"
> -- reg : Offset and length of the register set for the device
> -- interrupts : interrupt line used by HSPI
> +- compatible : "renesas,hspi-<soctype>", "renesas,hspi" as fallback.
> + Examples of valid soctypes are "r8a7778" (R-Car M1),
> + and "r8a7779" (R-Car H1)
> +- reg : Offset and length of the register set for the device
> +- interrupt-parent : The phandle for the interrupt controller that
> + services interrupts for this device
> +- interrupts : Interrupt specifier
> +- #address-cells : Must be <1>
> +- #size-cells : Must be <0>
> +
> +Pinctrl properties might be needed, too. See
> +Documentation/devicetree/bindings/pinctrl/renesas,*.
> +
> +Example:
> +
> + hspi0: spi@fffc7000 {
> + compatible = "renesas,hspi-r8a7778", "renesas,hspi";
> + reg = <0xfffc7000 0x18>;
> + interrupt-parent = <&gic>;
> + interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> + status = "disabled";
> + };
>
> diff --git a/arch/arm/boot/dts/r8a7778.dtsi b/arch/arm/boot/dts/r8a7778.dtsi
> index 85c5b3b99f5e..3c6fab5c9702 100644
> --- a/arch/arm/boot/dts/r8a7778.dtsi
> +++ b/arch/arm/boot/dts/r8a7778.dtsi
> @@ -204,26 +204,32 @@
> };
>
> hspi0: spi@fffc7000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7778", "renesas,hspi";
> reg = <0xfffc7000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
>
> hspi1: spi@fffc8000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7778", "renesas,hspi";
> reg = <0xfffc8000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
>
> hspi2: spi@fffc6000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7778", "renesas,hspi";
> reg = <0xfffc6000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
> };
> diff --git a/arch/arm/boot/dts/r8a7779.dtsi b/arch/arm/boot/dts/r8a7779.dtsi
> index d0561d4c7c46..8b1a336ee401 100644
> --- a/arch/arm/boot/dts/r8a7779.dtsi
> +++ b/arch/arm/boot/dts/r8a7779.dtsi
> @@ -256,26 +256,32 @@
> };
>
> hspi0: spi@fffc7000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7779", "renesas,hspi";
> reg = <0xfffc7000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
>
> hspi1: spi@fffc8000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7779", "renesas,hspi";
> reg = <0xfffc8000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
>
> hspi2: spi@fffc6000 {
> - compatible = "renesas,hspi";
> + compatible = "renesas,hspi-r8a7779", "renesas,hspi";
> reg = <0xfffc6000 0x18>;
> - interrupt-controller = <&gic>;
> + interrupt-parent = <&gic>;
> interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
> + #address-cells = <1>;
> + #size-cells = <0>;
> status = "disabled";
> };
> };
> --
> 1.7.9.5
>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings
[not found] ` <20140213055600.GF17183-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
@ 2014-02-13 7:11 ` Kuninori Morimoto
[not found] ` <87zjlvbi7l.wl%kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2014-02-13 7:11 UTC (permalink / raw)
To: Simon Horman
Cc: Geert Uytterhoeven, Kuninori Morimoto,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-spi-u79uwXL29TY76Z2rM5mHXA, linux-sh-u79uwXL29TY76Z2rM5mHXA,
Geert Uytterhoeven, Mark Brown
Hi Simon, Geert
Cc Mark
> could you test this series as Geert does not have access to a bockw board?
>
> On Tue, Feb 11, 2014 at 09:56:47AM +0100, Geert Uytterhoeven wrote:
> > From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> >
> > Binding documentation:
> > - Add future-proof "renesas,hspi-<soctype>" compatible values,
> > - Add "interrupt-parent", "#address-cells" and "#size-cells" properties,
> > - Add reference to pinctrl documentation,
> > - Add example bindings.
> >
> > r8a7778 and r8a7779 dtsi:
> > - Add "renesas,hspi-r8a7778" resp. "renesas,hspi-r8a7779" compatible
> > values,
> > - Correct reference to parent interrupt controller
> > (use "interrupt-parent" instead of "interrupt-controller"),
> > - Add missing "#address-cells" and "#size-cells" properties, which are
> > needed when populating the SPI buses.
> >
> > Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
> > Cc: Mark Brown <broonie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> > ---
I tested this patch, and it works well.
But there are some notes
1) m25p80 driver DT support seems strange ??
${LINUX}/Documentation/devicetree/bindings/mtd/m25p80.txt
has explain about DT of m25p80 driver, but,
${LINUX}/drivers/mtd/devices/m25p80.c
doesn't have driver :: of_match_table.
but, it is using of_property_read_bool() on probe.
Is it out-of-tree support ?? I'm not sure,
anyway, m25p80 driver didn't probe.
So, I quick-hacked this issue in my local environment.
2) it needs Geert's this patch
Subject: [PATCH] mtd: m25p80: add support for the Spansion s25fl008k chip
Date: Tue, 11 Feb 2014 09:51:18 +0100
Kernel will hung-up without this patch
For HSPI / BockW point of view
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings
[not found] ` <87zjlvbi7l.wl%kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2014-02-13 8:31 ` Geert Uytterhoeven
2014-02-13 9:02 ` Kuninori Morimoto
0 siblings, 1 reply; 6+ messages in thread
From: Geert Uytterhoeven @ 2014-02-13 8:31 UTC (permalink / raw)
To: Kuninori Morimoto
Cc: Simon Horman, Kuninori Morimoto,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-spi,
Linux-sh list, Geert Uytterhoeven, Mark Brown
Hi Morimoto-san,
On Thu, Feb 13, 2014 at 8:11 AM, Kuninori Morimoto
<kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>> could you test this series as Geert does not have access to a bockw board?
>>
>> On Tue, Feb 11, 2014 at 09:56:47AM +0100, Geert Uytterhoeven wrote:
>> > From: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
>> >
>> > Binding documentation:
>> > - Add future-proof "renesas,hspi-<soctype>" compatible values,
>> > - Add "interrupt-parent", "#address-cells" and "#size-cells" properties,
>> > - Add reference to pinctrl documentation,
>> > - Add example bindings.
>> >
>> > r8a7778 and r8a7779 dtsi:
>> > - Add "renesas,hspi-r8a7778" resp. "renesas,hspi-r8a7779" compatible
>> > values,
>> > - Correct reference to parent interrupt controller
>> > (use "interrupt-parent" instead of "interrupt-controller"),
>> > - Add missing "#address-cells" and "#size-cells" properties, which are
>> > needed when populating the SPI buses.
>> >
>> > Signed-off-by: Geert Uytterhoeven <geert+renesas-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
>> > Cc: Mark Brown <broonie-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
>> > ---
>
> I tested this patch, and it works well.
> But there are some notes
>
> 1) m25p80 driver DT support seems strange ??
>
> ${LINUX}/Documentation/devicetree/bindings/mtd/m25p80.txt
> has explain about DT of m25p80 driver, but,
> ${LINUX}/drivers/mtd/devices/m25p80.c
> doesn't have driver :: of_match_table.
> but, it is using of_property_read_bool() on probe.
> Is it out-of-tree support ?? I'm not sure,
> anyway, m25p80 driver didn't probe.
It probes based on the values in m25p_ids[].
See drivers/of/base.c:of_modalias_node():
* Based on the value of the compatible property, this routine will attempt
* to choose an appropriate modalias value for a particular device tree node.
* It does this by stripping the manufacturer prefix (as delimited by a ',')
* from the first entry in the compatible list property.
Which is used by drivers/spi/spi.c:of_register_spi_devices().
> So, I quick-hacked this issue in my local environment.
Was there anything else you needed to do, besides adding support for
s25fl008k to m25p80.c?
> 2) it needs Geert's this patch
>
> Subject: [PATCH] mtd: m25p80: add support for the Spansion s25fl008k chip
> Date: Tue, 11 Feb 2014 09:51:18 +0100
>
> Kernel will hung-up without this patch
Hang up? Not just ignoring the device?
> For HSPI / BockW point of view
>
> Tested-by: Kuninori Morimoto <kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
Thanks!
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings
2014-02-13 8:31 ` Geert Uytterhoeven
@ 2014-02-13 9:02 ` Kuninori Morimoto
0 siblings, 0 replies; 6+ messages in thread
From: Kuninori Morimoto @ 2014-02-13 9:02 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Simon Horman, Kuninori Morimoto, devicetree@vger.kernel.org,
linux-spi, Linux-sh list, Geert Uytterhoeven, Mark Brown
Hi Geert
CC Simon
Thank you for your help
> * Based on the value of the compatible property, this routine will attempt
> * to choose an appropriate modalias value for a particular device tree node.
> * It does this by stripping the manufacturer prefix (as delimited by a ',')
> * from the first entry in the compatible list property.
>
> Which is used by drivers/spi/spi.c:of_register_spi_devices().
>
> > So, I quick-hacked this issue in my local environment.
>
> Was there anything else you needed to do, besides adding support for
> s25fl008k to m25p80.c?
I re-tested cleanly this patch.
Yes, indeed, my local-hack was not needed.
It was my fault.
> > 2) it needs Geert's this patch
> >
> > Subject: [PATCH] mtd: m25p80: add support for the Spansion s25fl008k chip
> > Date: Tue, 11 Feb 2014 09:51:18 +0100
> >
> > Kernel will hung-up without this patch
>
> Hang up? Not just ignoring the device?
It works without Hang-up in my re-test now.
My previous test seems something wrong.
Thank you
Tested-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Best regards
---
Kuninori Morimoto
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-02-13 9:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-11 8:56 [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings Geert Uytterhoeven
[not found] ` <1392109008-29941-1-git-send-email-geert-Td1EMuHUCqxL1ZNQvxDV9g@public.gmane.org>
2014-02-11 8:56 ` [PATCH 2/2] ARM: shmobile: bockw reference dts: Add SPI FLASH Geert Uytterhoeven
2014-02-13 5:56 ` [PATCH 1/2] ARM: shmobile: r8a7778/r8a7779 dtsi: Improve and correct HSPI bindings Simon Horman
[not found] ` <20140213055600.GF17183-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2014-02-13 7:11 ` Kuninori Morimoto
[not found] ` <87zjlvbi7l.wl%kuninori.morimoto.gx-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2014-02-13 8:31 ` Geert Uytterhoeven
2014-02-13 9:02 ` Kuninori Morimoto
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).