diff mbox

[7/8] ARM: dts: imx27: Trim node name for FEC

Message ID 1398487933-5683-7-git-send-email-shc_work@mail.ru (mailing list archive)
State New, archived
Headers show

Commit Message

Alexander Shiyan April 26, 2014, 4:52 a.m. UTC
This patch reduce node name for FEC. Otherwise, the name for PHY
is composed incorrectly.

Before:
fec 1002b000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.etherne:00, irq=-1)

After:
fec 1002b000.fec eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.fec-1:00, irq=-1)

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/boot/dts/imx27.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sergei Shtylyov April 26, 2014, 4:32 p.m. UTC | #1
Hello.

On 26-04-2014 8:52, Alexander Shiyan wrote:

> This patch reduce node name for FEC. Otherwise, the name for PHY
> is composed incorrectly.

> Before:
> fec 1002b000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.etherne:00, irq=-1)

> After:
> fec 1002b000.fec eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.fec-1:00, irq=-1)

> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> ---
>   arch/arm/boot/dts/imx27.dtsi | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> index a75555c..377339e 100644
> --- a/arch/arm/boot/dts/imx27.dtsi
> +++ b/arch/arm/boot/dts/imx27.dtsi
> @@ -497,7 +497,7 @@
>   				clocks = <&clks 38>;
>   			};
>
> -			fec: ethernet@1002b000 {
> +			fec: fec@1002b000 {

    The "ethernet" name complies to the ePAPR standard. Don't change it, please.

WBR, Sergei
Alexander Shiyan April 26, 2014, 4:39 p.m. UTC | #2
Sat, 26 Apr 2014 20:32:18 +0400 ?? Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>:
> Hello.
> 
> On 26-04-2014 8:52, Alexander Shiyan wrote:
> 
> > This patch reduce node name for FEC. Otherwise, the name for PHY
> > is composed incorrectly.
> 
> > Before:
> > fec 1002b000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.etherne:00, irq=-1)
> 
> > After:
> > fec 1002b000.fec eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.fec-1:00, irq=-1)
> 
> > Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> > ---
> >   arch/arm/boot/dts/imx27.dtsi | 2 +-
> >   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> > diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> > index a75555c..377339e 100644
> > --- a/arch/arm/boot/dts/imx27.dtsi
> > +++ b/arch/arm/boot/dts/imx27.dtsi
> > @@ -497,7 +497,7 @@
> >   				clocks = <&clks 38>;
> >   			};
> >
> > -			fec: ethernet@1002b000 {
> > +			fec: fec@1002b000 {
> 
>     The "ethernet" name complies to the ePAPR standard. Don't change it, please.

So this is ok?
mii_bus:phy_addr=1002b000.etherne:00

---
Sergei Shtylyov April 26, 2014, 4:54 p.m. UTC | #3
Hello.

On 26-04-2014 20:39, Alexander Shiyan wrote:

>>> This patch reduce node name for FEC. Otherwise, the name for PHY
>>> is composed incorrectly.

>>> Before:
>>> fec 1002b000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.etherne:00, irq=-1)

>>> After:
>>> fec 1002b000.fec eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.fec-1:00, irq=-1)

>>> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
>>> ---
>>>    arch/arm/boot/dts/imx27.dtsi | 2 +-
>>>    1 file changed, 1 insertion(+), 1 deletion(-)

>>> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
>>> index a75555c..377339e 100644
>>> --- a/arch/arm/boot/dts/imx27.dtsi
>>> +++ b/arch/arm/boot/dts/imx27.dtsi
>>> @@ -497,7 +497,7 @@
>>>    				clocks = <&clks 38>;
>>>    			};
>>>
>>> -			fec: ethernet@1002b000 {
>>> +			fec: fec@1002b000 {

>>      The "ethernet" name complies to the ePAPR standard. Don't change it, please.

> So this is ok?
> mii_bus:phy_addr=1002b000.etherne:00

    Why not? :-)

WBR, Sergei
Alexander Shiyan April 26, 2014, 5:04 p.m. UTC | #4
Sat, 26 Apr 2014 20:54:11 +0400 ?? Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>:
> Hello.
> 
> On 26-04-2014 20:39, Alexander Shiyan wrote:
> 
> >>> This patch reduce node name for FEC. Otherwise, the name for PHY
> >>> is composed incorrectly.
> 
> >>> Before:
> >>> fec 1002b000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.etherne:00, irq=-1)
> 
> >>> After:
> >>> fec 1002b000.fec eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1002b000.fec-1:00, irq=-1)
> 
> >>> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
> >>> ---
> >>>    arch/arm/boot/dts/imx27.dtsi | 2 +-
> >>>    1 file changed, 1 insertion(+), 1 deletion(-)
> 
> >>> diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
> >>> index a75555c..377339e 100644
> >>> --- a/arch/arm/boot/dts/imx27.dtsi
> >>> +++ b/arch/arm/boot/dts/imx27.dtsi
> >>> @@ -497,7 +497,7 @@
> >>>    				clocks = <&clks 38>;
> >>>    			};
> >>>
> >>> -			fec: ethernet@1002b000 {
> >>> +			fec: fec@1002b000 {
> 
> >>      The "ethernet" name complies to the ePAPR standard. Don't change it, please.
> 
> > So this is ok?
> > mii_bus:phy_addr=1002b000.etherne:00
> 
>     Why not? :-)

OK if so. Shawn, please skip this one patch if all other looks OK.

---
diff mbox

Patch

diff --git a/arch/arm/boot/dts/imx27.dtsi b/arch/arm/boot/dts/imx27.dtsi
index a75555c..377339e 100644
--- a/arch/arm/boot/dts/imx27.dtsi
+++ b/arch/arm/boot/dts/imx27.dtsi
@@ -497,7 +497,7 @@ 
 				clocks = <&clks 38>;
 			};
 
-			fec: ethernet@1002b000 {
+			fec: fec@1002b000 {
 				compatible = "fsl,imx27-fec";
 				reg = <0x1002b000 0x4000>;
 				interrupts = <50>;