devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: shmobile: r8a7740: Correct name of DT Ethernet clock
@ 2014-05-07 20:32 Geert Uytterhoeven
       [not found] ` <1399494750-31996-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
  2014-05-07 20:32 ` [PATCH 3/3] ARM: shmobile: armadillo-reference dts: " Geert Uytterhoeven
  0 siblings, 2 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-07 20:32 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: Sergei Shtylyov, Bastian Hecht, linux-sh, devicetree,
	linux-kernel, Geert Uytterhoeven

The preferred node name in DT for an Ethernet device is "ethernet".
"sh-eth" was used in preliminary and incomplete bindings.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This clock lookup entry should be removed after the conversion to CCF is
integrated.

 arch/arm/mach-shmobile/clock-r8a7740.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
index dd989f93498f..433ec674ead1 100644
--- a/arch/arm/mach-shmobile/clock-r8a7740.c
+++ b/arch/arm/mach-shmobile/clock-r8a7740.c
@@ -596,7 +596,7 @@ static struct clk_lookup lookups[] = {
 	CLKDEV_DEV_ID("sh_mmcif",		&mstp_clks[MSTP312]),
 	CLKDEV_DEV_ID("e6bd0000.mmc",		&mstp_clks[MSTP312]),
 	CLKDEV_DEV_ID("r8a7740-gether",		&mstp_clks[MSTP309]),
-	CLKDEV_DEV_ID("e9a00000.sh-eth",	&mstp_clks[MSTP309]),
+	CLKDEV_DEV_ID("e9a00000.ethernet",	&mstp_clks[MSTP309]),
 	CLKDEV_DEV_ID("renesas-tpu-pwm",	&mstp_clks[MSTP304]),
 	CLKDEV_DEV_ID("e6600000.pwm",		&mstp_clks[MSTP304]),
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 15+ messages in thread

* [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
       [not found] ` <1399494750-31996-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2014-05-07 20:32   ` Geert Uytterhoeven
  2014-05-08 13:00     ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-07 20:32 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: Sergei Shtylyov, Bastian Hecht, linux-sh-u79uwXL29TY76Z2rM5mHXA,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Geert Uytterhoeven

Signed-off-by: Geert Uytterhoeven <geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
---
The "clocks" entry should be uncommented after the conversion to CCF is
integrated.

 arch/arm/boot/dts/r8a7740.dtsi |   13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
index 3834b94dc02a..560d8d71cea4 100644
--- a/arch/arm/boot/dts/r8a7740.dtsi
+++ b/arch/arm/boot/dts/r8a7740.dtsi
@@ -122,6 +122,19 @@
 			      0 149 IRQ_TYPE_LEVEL_HIGH>;
 	};
 
+	ether: ethernet@e9a00000 {
+		compatible = "renesas,gether-r8a7740";
+		reg = <0xe9a00000 0x800>,
+		      <0xe9a01800 0x800>;
+		interrupt-parent = <&gic>;
+		interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
+		/* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
+		phy-mode = "mii";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		status = "disabled";
+	};
+
 	i2c0: i2c@fff20000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 15+ messages in thread

* [PATCH 3/3] ARM: shmobile: armadillo-reference dts: Add Ethernet support
  2014-05-07 20:32 [PATCH 1/3] ARM: shmobile: r8a7740: Correct name of DT Ethernet clock Geert Uytterhoeven
       [not found] ` <1399494750-31996-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
@ 2014-05-07 20:32 ` Geert Uytterhoeven
  1 sibling, 0 replies; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-07 20:32 UTC (permalink / raw)
  To: Simon Horman, Magnus Damm
  Cc: Sergei Shtylyov, Bastian Hecht, linux-sh, devicetree,
	linux-kernel, Geert Uytterhoeven

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 .../boot/dts/r8a7740-armadillo800eva-reference.dts |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
index 10344e6edd20..486007d7ffe4 100644
--- a/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
+++ b/arch/arm/boot/dts/r8a7740-armadillo800eva-reference.dts
@@ -158,6 +158,18 @@
 	};
 };
 
+&ether {
+	pinctrl-0 = <&ether_pins>;
+	pinctrl-names = "default";
+
+	phy-handle = <&phy0>;
+	status = "ok";
+
+	phy0: ethernet-phy@0 {
+		reg = <0>;
+	};
+};
+
 &i2c0 {
 	status = "okay";
 	touchscreen@55 {
@@ -189,6 +201,11 @@
 	pinctrl-0 = <&scifa1_pins>;
 	pinctrl-names = "default";
 
+	ether_pins: ether {
+		renesas,groups = "gether_mii", "gether_int";
+		renesas,function = "gether";
+	};
+
 	scifa1_pins: serial1 {
 		renesas,groups = "scifa1_data";
 		renesas,function = "scifa1";
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-07 20:32   ` [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support Geert Uytterhoeven
@ 2014-05-08 13:00     ` Sergei Shtylyov
       [not found]       ` <536B7FD3.5090506-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2014-05-08 13:00 UTC (permalink / raw)
  To: Geert Uytterhoeven, Simon Horman, Magnus Damm
  Cc: Bastian Hecht, linux-sh, devicetree, linux-kernel

Hello.

On 05/08/2014 12:32 AM, Geert Uytterhoeven wrote:

> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> ---
> The "clocks" entry should be uncommented after the conversion to CCF is
> integrated.

>   arch/arm/boot/dts/r8a7740.dtsi |   13 +++++++++++++
>   1 file changed, 13 insertions(+)

> diff --git a/arch/arm/boot/dts/r8a7740.dtsi b/arch/arm/boot/dts/r8a7740.dtsi
> index 3834b94dc02a..560d8d71cea4 100644
> --- a/arch/arm/boot/dts/r8a7740.dtsi
> +++ b/arch/arm/boot/dts/r8a7740.dtsi
> @@ -122,6 +122,19 @@
>   			      0 149 IRQ_TYPE_LEVEL_HIGH>;
>   	};
>
> +	ether: ethernet@e9a00000 {

    Are you really going to refer to this node somewhere, using its label?

> +		compatible = "renesas,gether-r8a7740";
> +		reg = <0xe9a00000 0x800>,
> +		      <0xe9a01800 0x800>;
> +		interrupt-parent = <&gic>;
> +		interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
> +		/* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */

    This property is mandatory, according to the bindings.

WBR, Sergei


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
       [not found]       ` <536B7FD3.5090506-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2014-05-08 13:06         ` Geert Uytterhoeven
  2014-05-08 13:14           ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-08 13:06 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hi Sergei,

On Thu, May 8, 2014 at 3:00 PM, Sergei Shtylyov
<sergei.shtylyov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org> wrote:
>> +       ether: ethernet@e9a00000 {
>
>    Are you really going to refer to this node somewhere, using its label?

Yes, from r8a7740-armadillo800eva-reference.dts

>> +               compatible = "renesas,gether-r8a7740";
>> +               reg = <0xe9a00000 0x800>,
>> +                     <0xe9a01800 0x800>;
>> +               interrupt-parent = <&gic>;
>> +               interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
>
>    This property is mandatory, according to the bindings.

Indeed, but you cannot put anything there until the platform has CCF, as
mstp3_clks doesn't exist yet.
Currently it relies on a matching CLKDEV_DEV_ID() in platform code.

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 devicetree" 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] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 13:06         ` Geert Uytterhoeven
@ 2014-05-08 13:14           ` Sergei Shtylyov
  2014-05-08 13:21             ` Geert Uytterhoeven
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2014-05-08 13:14 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

On 05/08/2014 05:06 PM, Geert Uytterhoeven wrote:

>>> +       ether: ethernet@e9a00000 {

>>     Are you really going to refer to this node somewhere, using its label?

> Yes, from r8a7740-armadillo800eva-reference.dts

    Ah, I completely forgot that there should be a board specific part of the 
node. Sorry.

>>> +               compatible = "renesas,gether-r8a7740";
>>> +               reg = <0xe9a00000 0x800>,
>>> +                     <0xe9a01800 0x800>;
>>> +               interrupt-parent = <&gic>;
>>> +               interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>;
>>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */

>>     This property is mandatory, according to the bindings.

> Indeed, but you cannot put anything there until the platform has CCF, as
> mstp3_clks doesn't exist yet.

    Yes, that was the main obstacle to accepting those bindings sooner. This 
patch therefore seems somewhat premature.

> Gr{oetje,eeting}s,
>                          Geert

WBR, Sergei


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 13:14           ` Sergei Shtylyov
@ 2014-05-08 13:21             ` Geert Uytterhoeven
  2014-05-08 17:52               ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-08 13:21 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

Hi Sergei,

On Thu, May 8, 2014 at 3:14 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
>>>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
>
>>>     This property is mandatory, according to the bindings.
>
>> Indeed, but you cannot put anything there until the platform has CCF, as
>> mstp3_clks doesn't exist yet.
>
>    Yes, that was the main obstacle to accepting those bindings sooner. This
> patch therefore seems somewhat premature.

My main objective is to provide working Ethernet support for Armadillo
reference now.

The DTS already has other nodes without "clocks" properties.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 13:21             ` Geert Uytterhoeven
@ 2014-05-08 17:52               ` Sergei Shtylyov
  2014-05-08 18:46                 ` Geert Uytterhoeven
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2014-05-08 17:52 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

On 05/08/2014 05:21 PM, Geert Uytterhoeven wrote:

>>>>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */

>>>>      This property is mandatory, according to the bindings.

>>> Indeed, but you cannot put anything there until the platform has CCF, as
>>> mstp3_clks doesn't exist yet.

>>     Yes, that was the main obstacle to accepting those bindings sooner. This
>> patch therefore seems somewhat premature.

> My main objective is to provide working Ethernet support for Armadillo
> reference now.

    Mine was the same (but for BOCK-W board) but DT people didn't give a damn. 
:-) So there's still no Ethernet support in BOCK-W DT.

> The DTS already has other nodes without "clocks" properties.

    It means not everybody submitting the bindings had the same bad luck as 
me. :-)

> Gr{oetje,eeting}s,
>                          Geert

WBR, Sergei


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 17:52               ` Sergei Shtylyov
@ 2014-05-08 18:46                 ` Geert Uytterhoeven
  2014-05-08 18:52                   ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-08 18:46 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

Hi Sergei,

On Thu, May 8, 2014 at 7:52 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
>>>>>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
>
>>>>>      This property is mandatory, according to the bindings.
>
>>>> Indeed, but you cannot put anything there until the platform has CCF, as
>>>> mstp3_clks doesn't exist yet.
>
>>>     Yes, that was the main obstacle to accepting those bindings sooner.
>>> This patch therefore seems somewhat premature.
>
>> My main objective is to provide working Ethernet support for Armadillo
>> reference now.
>
>    Mine was the same (but for BOCK-W board) but DT people didn't give a
> damn. :-) So there's still no Ethernet support in BOCK-W DT.

Yes there is: ethernet@18300000.

>> The DTS already has other nodes without "clocks" properties.
>
>    It means not everybody submitting the bindings had the same bad luck as me. :-)

I think we have to be pragmatic here. The clocks properties will be added to
the dtsi as soon as we have CCF support.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 18:46                 ` Geert Uytterhoeven
@ 2014-05-08 18:52                   ` Sergei Shtylyov
  2014-05-08 19:01                     ` Geert Uytterhoeven
  2014-05-11  2:25                     ` Simon Horman
  0 siblings, 2 replies; 15+ messages in thread
From: Sergei Shtylyov @ 2014-05-08 18:52 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

On 05/08/2014 10:46 PM, Geert Uytterhoeven wrote:

>>>>>>> +               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */

>>>>>>       This property is mandatory, according to the bindings.

>>>>> Indeed, but you cannot put anything there until the platform has CCF, as
>>>>> mstp3_clks doesn't exist yet.

>>>>      Yes, that was the main obstacle to accepting those bindings sooner.
>>>> This patch therefore seems somewhat premature.

>>> My main objective is to provide working Ethernet support for Armadillo
>>> reference now.

>>     Mine was the same (but for BOCK-W board) but DT people didn't give a
>> damn. :-) So there's still no Ethernet support in BOCK-W DT.

> Yes there is: ethernet@18300000.

    That's for an on-board SMSC911x, not for sh_eth.

>>> The DTS already has other nodes without "clocks" properties.

>>     It means not everybody submitting the bindings had the same bad luck as me. :-)

> I think we have to be pragmatic here. The clocks properties will be added to
> the dtsi as soon as we have CCF support.

    I'd agree, so if there's no objections from DT people, I won't object anymore.

> Gr{oetje,eeting}s,
>                          Geert

WBR, Sergei


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 18:52                   ` Sergei Shtylyov
@ 2014-05-08 19:01                     ` Geert Uytterhoeven
  2014-05-11  1:00                       ` Simon Horman
  2014-05-11  2:25                     ` Simon Horman
  1 sibling, 1 reply; 15+ messages in thread
From: Geert Uytterhoeven @ 2014-05-08 19:01 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Simon Horman, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

Hi Sergey,

On Thu, May 8, 2014 at 8:52 PM, Sergei Shtylyov
<sergei.shtylyov@cogentembedded.com> wrote:
>>>     Mine was the same (but for BOCK-W board) but DT people didn't give a
>>> damn. :-) So there's still no Ethernet support in BOCK-W DT.
>
>> Yes there is: ethernet@18300000.
>
>    That's for an on-board SMSC911x, not for sh_eth.

Oh, it has two Ethernet ports? Didn't know that.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.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

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 19:01                     ` Geert Uytterhoeven
@ 2014-05-11  1:00                       ` Simon Horman
  2014-05-11 13:48                         ` Sergei Shtylyov
  0 siblings, 1 reply; 15+ messages in thread
From: Simon Horman @ 2014-05-11  1:00 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Sergei Shtylyov, Geert Uytterhoeven, Magnus Damm, Bastian Hecht,
	Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

On Thu, May 08, 2014 at 09:01:55PM +0200, Geert Uytterhoeven wrote:
> Hi Sergey,
> 
> On Thu, May 8, 2014 at 8:52 PM, Sergei Shtylyov
> <sergei.shtylyov@cogentembedded.com> wrote:
> >>>     Mine was the same (but for BOCK-W board) but DT people didn't give a
> >>> damn. :-) So there's still no Ethernet support in BOCK-W DT.
> >
> >> Yes there is: ethernet@18300000.
> >
> >    That's for an on-board SMSC911x, not for sh_eth.
> 
> Oh, it has two Ethernet ports? Didn't know that.

IIRC only the SMSC911x is exposed on the Bock-W board.

>From my point of view I would be happy to accept support for
the other port if there was some way (for someone to) verify it.
In particular to have the necessary hardware to test it.
I do not believe that I am in a position to do so myself at this time.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-08 18:52                   ` Sergei Shtylyov
  2014-05-08 19:01                     ` Geert Uytterhoeven
@ 2014-05-11  2:25                     ` Simon Horman
  1 sibling, 0 replies; 15+ messages in thread
From: Simon Horman @ 2014-05-11  2:25 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Geert Uytterhoeven, Magnus Damm,
	Bastian Hecht, Linux-sh list, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org

On Thu, May 08, 2014 at 10:52:48PM +0400, Sergei Shtylyov wrote:
> On 05/08/2014 10:46 PM, Geert Uytterhoeven wrote:
> 
> >>>>>>>+               /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */
> 
> >>>>>>      This property is mandatory, according to the bindings.
> 
> >>>>>Indeed, but you cannot put anything there until the platform has CCF, as
> >>>>>mstp3_clks doesn't exist yet.
> 
> >>>>     Yes, that was the main obstacle to accepting those bindings sooner.
> >>>>This patch therefore seems somewhat premature.
> 
> >>>My main objective is to provide working Ethernet support for Armadillo
> >>>reference now.
> 
> >>    Mine was the same (but for BOCK-W board) but DT people didn't give a
> >>damn. :-) So there's still no Ethernet support in BOCK-W DT.
> 
> >Yes there is: ethernet@18300000.
> 
>    That's for an on-board SMSC911x, not for sh_eth.
> 
> >>>The DTS already has other nodes without "clocks" properties.
> 
> >>    It means not everybody submitting the bindings had the same bad luck as me. :-)
> 
> >I think we have to be pragmatic here. The clocks properties will be added to
> >the dtsi as soon as we have CCF support.
> 
>    I'd agree, so if there's no objections from DT people, I won't object anymore.
> 

Hi Laurent, Hi Sergei,

I have queued up this series locally and I plan to push this once I have
done some testing (I am on a plane with neither internet access nor a
consignment of boards).

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
  2014-05-11  1:00                       ` Simon Horman
@ 2014-05-11 13:48                         ` Sergei Shtylyov
       [not found]                           ` <536F7FB6.5090508-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Sergei Shtylyov @ 2014-05-11 13:48 UTC (permalink / raw)
  To: Simon Horman, Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Magnus Damm, Bastian Hecht, Linux-sh list,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org

Hello.

On 05/11/2014 05:00 AM, Simon Horman wrote:

>>>>>      Mine was the same (but for BOCK-W board) but DT people didn't give a
>>>>> damn. :-) So there's still no Ethernet support in BOCK-W DT.

>>>> Yes there is: ethernet@18300000.

>>>     That's for an on-board SMSC911x, not for sh_eth.

>> Oh, it has two Ethernet ports? Didn't know that.

> IIRC only the SMSC911x is exposed on the Bock-W board.

    Not really. You're probably mixing it with Marzen.

> From my point of view I would be happy to accept support for
> the other port if there was some way (for someone to) verify it.

    There is, and you have accepted such support in the legacy board file.
I had to postpone Ether DT support to the time when CCF support is available, 
though I have posted corresponding patches without the "clocks" property already.

WBR, Sergei


^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support
       [not found]                           ` <536F7FB6.5090508-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
@ 2014-05-11 22:49                             ` Simon Horman
  0 siblings, 0 replies; 15+ messages in thread
From: Simon Horman @ 2014-05-11 22:49 UTC (permalink / raw)
  To: Sergei Shtylyov
  Cc: Geert Uytterhoeven, Geert Uytterhoeven, Magnus Damm,
	Bastian Hecht, Linux-sh list,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

On Sun, May 11, 2014 at 05:48:38PM +0400, Sergei Shtylyov wrote:
> Hello.
> 
> On 05/11/2014 05:00 AM, Simon Horman wrote:
> 
> >>>>>     Mine was the same (but for BOCK-W board) but DT people didn't give a
> >>>>>damn. :-) So there's still no Ethernet support in BOCK-W DT.
> 
> >>>>Yes there is: ethernet@18300000.
> 
> >>>    That's for an on-board SMSC911x, not for sh_eth.
> 
> >>Oh, it has two Ethernet ports? Didn't know that.
> 
> >IIRC only the SMSC911x is exposed on the Bock-W board.
> 
>    Not really. You're probably mixing it with Marzen.

Probably, sorry for my confusion.

> >From my point of view I would be happy to accept support for
> >the other port if there was some way (for someone to) verify it.
> 
>    There is, and you have accepted such support in the legacy board file.
> I had to postpone Ether DT support to the time when CCF support is
> available, though I have posted corresponding patches without the
> "clocks" property already.

Understood.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" 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] 15+ messages in thread

end of thread, other threads:[~2014-05-11 22:49 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 20:32 [PATCH 1/3] ARM: shmobile: r8a7740: Correct name of DT Ethernet clock Geert Uytterhoeven
     [not found] ` <1399494750-31996-1-git-send-email-geert+renesas-gXvu3+zWzMSzQB+pC5nmwQ@public.gmane.org>
2014-05-07 20:32   ` [PATCH 2/3] ARM: shmobile: r8a7740 dtsi: Add Ethernet support Geert Uytterhoeven
2014-05-08 13:00     ` Sergei Shtylyov
     [not found]       ` <536B7FD3.5090506-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-05-08 13:06         ` Geert Uytterhoeven
2014-05-08 13:14           ` Sergei Shtylyov
2014-05-08 13:21             ` Geert Uytterhoeven
2014-05-08 17:52               ` Sergei Shtylyov
2014-05-08 18:46                 ` Geert Uytterhoeven
2014-05-08 18:52                   ` Sergei Shtylyov
2014-05-08 19:01                     ` Geert Uytterhoeven
2014-05-11  1:00                       ` Simon Horman
2014-05-11 13:48                         ` Sergei Shtylyov
     [not found]                           ` <536F7FB6.5090508-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
2014-05-11 22:49                             ` Simon Horman
2014-05-11  2:25                     ` Simon Horman
2014-05-07 20:32 ` [PATCH 3/3] ARM: shmobile: armadillo-reference dts: " Geert Uytterhoeven

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).