[U-Boot] [linux-sunxi] Re: [PATCH 3/4] sunxi: add stub EMAC device node in A83T device tree

Maxime Ripard maxime.ripard at free-electrons.com
Tue Jul 4 21:21:31 UTC 2017


On Tue, Jul 04, 2017 at 08:07:42AM +0800, Icenowy Zheng wrote:
> 
> 
> 于 2017年7月4日 GMT+08:00 上午4:46:17, Maxime Ripard <maxime.ripard at free-electrons.com> 写到:
> >On Mon, Jul 03, 2017 at 02:54:17PM +0800, Icenowy Zheng wrote:
> >> 
> >> 
> >> 于 2017年7月3日 GMT+08:00 下午2:52:00, Maxime Ripard
> ><maxime.ripard at free-electrons.com> 写到:
> >> >On Sun, Jul 02, 2017 at 03:02:43PM +0800, Icenowy Zheng wrote:
> >> >> The Allwinner A83T SoC has an EMAC which is already supported by
> >> >> sun8i_emac driver in U-Boot now.
> >> >> 
> >> >> Add a stub device node for it.
> >> >> 
> >> >> The device node cannot work for Linux, because it now lacks the
> >> >proper
> >> >> clock definition; however, it can satisfy sun8i_emac driver in
> >> >U-Boot.
> >> >
> >> >Uh?
> >> >
> >> >There is clock support in Linux.
> >> 
> >> But adding it will largely change U-Boot DT.
> >> 
> >> I may do it then, in a sync between Linux and U-Boot DT.
> >
> >Why not send the patches to Linux, and just sync the DT later?
> 
> The U-Boot DT have already changed from the Linux one for a lot.

Yes, and we had a good reason, the ethernet binding wasn't there
yet. Fortunately, this isn't the case anymore, so there's no reason to
diverge anymore.

> Maybe I need to use the DT of at least 4.14...

Merging something that is in linux-next is definitely ok.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170704/d1980354/attachment.sig>


More information about the U-Boot mailing list