From: Ley Foon Tan <ley.foon.tan@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] ARM: dts: socfpga: Add missing altr, sysmgr-syscon for EMAC
Date: Wed, 13 Mar 2019 19:52:14 +0800 [thread overview]
Message-ID: <1552477934.5582.23.camel@intel.com> (raw)
In-Reply-To: <21096642-5be7-9db1-473d-4857612813bb@kernel.org>
On Wed, 2019-03-13 at 09:32 -0500, Dinh Nguyen wrote:
>
> On 3/13/19 12:59 AM, Ley Foon Tan wrote:
> >
> > On Wed, 2019-03-13 at 04:30 +0100, Marek Vasut wrote:
> > >
> > > On 3/13/19 4:03 AM, Ley Foon Tan wrote:
> > > >
> > > >
> > > > Syscon register is required in dts to select correct
> > > > PHY interface.
> > > >
> > > > Fix error below:
> > > >
> > > > Net: Failed to get syscon: -2
> > > >
> > > > Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
> > > Is this fixed in mainline Linux too ?
> > Didn't see this in mainline Linux.
> >
> > Dinh, do you aware of this? I see sysmgr-syscon error in EMAC in
> > v4.20
> > kernel.
> >
> > [ 1.427994] socfpga-dwmac ff800000.ethernet: Could not read
> > reg_offset from sysmgr-syscon!
> > [ 1.436241] socfpga-dwmac ff800000.ethernet: Unable to parse OF
> > data
> > [ 1.442646] socfpga-dwmac: probe of ff800000.ethernet failed
> > with
> > error -22
> >
> >
> I see this in mainline Linux:
>
> [ 0.911521] socfpga-dwmac ff800000.ethernet: PTP uses main clock
> [ 0.917530] socfpga-dwmac ff800000.ethernet: No sysmgr-syscon node
> found
> [ 0.924209] socfpga-dwmac ff800000.ethernet: Unable to parse OF
> data
> [ 0.930944] stmmaceth ff800000.ethernet: PTP uses main clock
> [ 0.936723] stmmaceth ff800000.ethernet: User ID: 0x11, Synopsys
> ID: 0x37
> [ 0.943496] stmmaceth ff800000.ethernet: DWMAC1000
>
>
> It doesn't fail probing though. I'll look into it.
>
> Dinh
Why it probes driver twice? One with "socfpga-dwmac", another with
"stmmaceth".
There is error "No sysmgr-syscon node found". So, should we add
"sysmgr-syscon" dts parameter to dts?
Regards
Ley Foon
next prev parent reply other threads:[~2019-03-13 11:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-13 3:03 [U-Boot] [PATCH] ARM: dts: socfpga: Add missing altr, sysmgr-syscon for EMAC Ley Foon Tan
2019-03-13 3:30 ` Marek Vasut
2019-03-13 5:59 ` Ley Foon Tan
2019-03-13 9:13 ` Marek Vasut
2019-03-13 14:32 ` Dinh Nguyen
2019-03-13 11:52 ` Ley Foon Tan [this message]
2019-03-13 15:33 ` Dinh Nguyen
2019-03-13 11:54 ` Ley Foon Tan
2019-03-14 2:26 ` Dinh Nguyen
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=1552477934.5582.23.camel@intel.com \
--to=ley.foon.tan@intel.com \
--cc=u-boot@lists.denx.de \
/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.