All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liberman Igal <Igal.Liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
To: Joakim Tjernlund
	<Joakim.Tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org>,
	"linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: Scott Wood <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Shaohui Xie <Shaohui.Xie-KZfg59tc24xl57MIdRCFDg@public.gmane.org>,
	Madalin-Cristian Bucur
	<madalin.bucur-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
Subject: RE: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy
Date: Tue, 22 Dec 2015 16:10:20 +0000	[thread overview]
Message-ID: <DM2PR03MB509A7437BA4A9A28DDE77CFE6E50@DM2PR03MB509.namprd03.prod.outlook.com> (raw)
In-Reply-To: <1450799843.28718.56.camel-27rvihrghlNWk0Htik3J/w@public.gmane.org>


Regards,
Igal Liberman

> -----Original Message-----
> From: Joakim Tjernlund [mailto:Joakim.Tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org]
> Sent: Tuesday, December 22, 2015 5:57 PM
> To: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org; Liberman Igal-B31950
> <Igal.Liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org>; devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> Cc: Wood Scott-B07421 <scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org>; Xie Shaohui-B21989
> <Shaohui.Xie-KZfg59tc24xl57MIdRCFDg@public.gmane.org>; Bucur Madalin-Cristian-B32716
> <madalin.bucur-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> Subject: Re: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and
> tbi-phy
> 
> On Tue, 2015-12-22 at 06:18 +0200, igal.liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org wrote:
> > From: Igal Liberman <igal.liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> >
> > Signed-off-by: Igal Liberman <igal.liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
> > ---
> >  .../devicetree/bindings/powerpc/fsl/fman.txt       |   39
> > ++++++++++++++++++++
> >  1 file changed, 39 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > index 1fc5328..7a6d7c3 100644
> > --- a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > +++ b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > @@ -315,6 +315,16 @@ PROPERTIES
> >  		Value type: <phandle>
> >  		Definition: A phandle for 1EEE1588 timer.
> >
> > +- pcsphy-handle
> > +		Usage required for "fsl,fman-memac" MACs
> > +		Value type: <phandle>
> > +		Definition: A phandle for pcsphy.
> > +
> > +- tbi-handle
> > +		Usage required for "fsl,fman-dtsec" MACs
> > +		Value type: <phandle>
> > +		Definition: A phandle for tbiphy.
> > +
> >  EXAMPLE
> >
> >  fman1_tx28: port@a8000 {
> > @@ -340,6 +350,7 @@ ethernet@e0000 {
> >  	reg = <0xe0000 0x1000>;
> >  	fsl,fman-ports = <&fman1_rx8 &fman1_tx28>;
> >  	ptp-timer = <&ptp-timer>;
> > +	tbi-handle = <&tbi0>;
> >  };
> >
> >
> >
> ==========================================================
> ============
> > ======
> > @@ -415,6 +426,13 @@ PROPERTIES
> >  		The settings and programming routines for internal/external
> >  		MDIO are different. Must be included for internal MDIO.
> >
> > +For internal PHY device on internal mdio bus, a PHY node should be
> created.
> > +See the definition of the PHY node in booting-without-of.txt for an
> > +example of how to define a PHY (Internal PHY has no interrupt line).
> > +- For "fsl,fman-mdio" compatible internal mdio bus, the PHY is TBI PHY.
> > +- For "fsl,fman-memac-mdio" compatible internal mdio bus, the PHY is
> > +PCS PHY,
> > +  PCS PHY addr must be '0'.
> 
> Will this replace the need for fixed PHYs ?
> 

Hi Jocke,

No, this is internal PCS configuration which required for both types of links.
The configuration for fixed links is different, but we use the same method.

Igal

>    Jocke
--
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

WARNING: multiple messages have this Message-ID (diff)
From: Liberman Igal <Igal.Liberman@freescale.com>
To: Joakim Tjernlund <Joakim.Tjernlund@infinera.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>
Cc: Scott Wood <scottwood@freescale.com>,
	Shaohui Xie <Shaohui.Xie@freescale.com>,
	Madalin-Cristian Bucur <madalin.bucur@freescale.com>
Subject: RE: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy
Date: Tue, 22 Dec 2015 16:10:20 +0000	[thread overview]
Message-ID: <DM2PR03MB509A7437BA4A9A28DDE77CFE6E50@DM2PR03MB509.namprd03.prod.outlook.com> (raw)
In-Reply-To: <1450799843.28718.56.camel@infinera.com>


Regards,
Igal Liberman

> -----Original Message-----
> From: Joakim Tjernlund [mailto:Joakim.Tjernlund@infinera.com]
> Sent: Tuesday, December 22, 2015 5:57 PM
> To: linuxppc-dev@lists.ozlabs.org; Liberman Igal-B31950
> <Igal.Liberman@freescale.com>; devicetree@vger.kernel.org
> Cc: Wood Scott-B07421 <scottwood@freescale.com>; Xie Shaohui-B21989
> <Shaohui.Xie@freescale.com>; Bucur Madalin-Cristian-B32716
> <madalin.bucur@freescale.com>
> Subject: Re: [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and
> tbi-phy
>=20
> On Tue, 2015-12-22 at 06:18 +0200, igal.liberman@freescale.com wrote:
> > From: Igal Liberman <igal.liberman@freescale.com>
> >
> > Signed-off-by: Igal Liberman <igal.liberman@freescale.com>
> > ---
> > =A0.../devicetree/bindings/powerpc/fsl/fman.txt=A0=A0=A0=A0=A0=A0=A0|=
=A0=A0=A039
> > ++++++++++++++++++++
> > =A01 file changed, 39 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > index 1fc5328..7a6d7c3 100644
> > --- a/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > +++ b/Documentation/devicetree/bindings/powerpc/fsl/fman.txt
> > @@ -315,6 +315,16 @@ PROPERTIES
> > =A0		Value type: <phandle>
> > =A0		Definition: A phandle for 1EEE1588 timer.
> >
> > +- pcsphy-handle
> > +		Usage required for "fsl,fman-memac" MACs
> > +		Value type: <phandle>
> > +		Definition: A phandle for pcsphy.
> > +
> > +- tbi-handle
> > +		Usage required for "fsl,fman-dtsec" MACs
> > +		Value type: <phandle>
> > +		Definition: A phandle for tbiphy.
> > +
> > =A0EXAMPLE
> >
> > =A0fman1_tx28: port@a8000 {
> > @@ -340,6 +350,7 @@ ethernet@e0000 {
> > =A0	reg =3D <0xe0000 0x1000>;
> > =A0	fsl,fman-ports =3D <&fman1_rx8 &fman1_tx28>;
> > =A0	ptp-timer =3D <&ptp-timer>;
> > +	tbi-handle =3D <&tbi0>;
> > =A0};
> >
> >
> >
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > =3D=3D=3D=3D=3D=3D
> > @@ -415,6 +426,13 @@ PROPERTIES
> > =A0		The settings and programming routines for internal/external
> > =A0		MDIO are different. Must be included for internal MDIO.
> >
> > +For internal PHY device on internal mdio bus, a PHY node should be
> created.
> > +See the definition of the PHY node in booting-without-of.txt for an
> > +example of how to define a PHY (Internal PHY has no interrupt line).
> > +- For "fsl,fman-mdio" compatible internal mdio bus, the PHY is TBI PHY=
.
> > +- For "fsl,fman-memac-mdio" compatible internal mdio bus, the PHY is
> > +PCS PHY,
> > +=A0=A0PCS PHY addr must be '0'.
>=20
> Will this replace the need for fixed PHYs ?
>=20

Hi Jocke,

No, this is internal PCS configuration which required for both types of lin=
ks.
The configuration for fixed links is different, but we use the same method.

Igal

> =A0 =A0Jocke

  parent reply	other threads:[~2015-12-22 16:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-22  4:18 [PATCH] powerpc/fsl: Update fman dt binding with pcs-phy and tbi-phy igal.liberman-KZfg59tc24xl57MIdRCFDg
2015-12-22  4:18 ` igal.liberman
     [not found] ` <1450757888-14216-1-git-send-email-igal.liberman-KZfg59tc24xl57MIdRCFDg@public.gmane.org>
2015-12-22 15:56   ` Joakim Tjernlund
2015-12-22 15:56     ` Joakim Tjernlund
     [not found]     ` <1450799843.28718.56.camel-27rvihrghlNWk0Htik3J/w@public.gmane.org>
2015-12-22 16:10       ` Liberman Igal [this message]
2015-12-22 16:10         ` Liberman Igal
2015-12-22 21:42   ` Scott Wood
2015-12-22 21:42     ` Scott Wood

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM2PR03MB509A7437BA4A9A28DDE77CFE6E50@DM2PR03MB509.namprd03.prod.outlook.com \
    --to=igal.liberman-kzfg59tc24xl57midrcfdg@public.gmane.org \
    --cc=Joakim.Tjernlund-27rvihrghlNWk0Htik3J/w@public.gmane.org \
    --cc=Shaohui.Xie-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=madalin.bucur-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    --cc=scottwood-KZfg59tc24xl57MIdRCFDg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.