Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1473900

Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399

From Doug Anderson <dianders@chromium.org>
Newsgroups linux.kernel
Subject Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399
Date 2016-08-31 23:50 +0200
Message-ID <sclyp-7Kc-1@gated-at.bofh.it> (permalink)
References <sc72p-7cd-7@gated-at.bofh.it> <sc72p-7cd-21@gated-at.bofh.it> <sckCl-7aI-3@gated-at.bofh.it> <scloK-7GT-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

On Wed, Aug 31, 2016 at 2:29 PM, Heiko Stübner <heiko@sntech.de> wrote:
>> IMHO it would be nice if this were broken into two patches.
>>
>> 1. First patch would be the power domain patch and that could land any
>> time.  You wouldn't actually be able to use the gmac but at least
>> you'd be able to turn off its power.  This would be a handy patch to
>> be able to backport if you happened to not need Ethernet support but
>> wanted to save power.
>>
>> 2. Second patch would actually add the gmac.
>
> according to my talk with Caesar in the real v1, the gmac even with power-
> domains should work just nicely even without the dts patches, as the driver
> core takes care of powering up the pd before probe.
>
> But I may miss some peculiarity of the dwmac?

Nothing that I'm terribly aware of.  I was just being selfish because:

1. I'm on a board where I don't need Ethernet.

2. I'm running a semi old kernel (4.4)

3. I don't want to pick back the various fixes that might be needed to
make gmac work on rk3399 to that old kernel.

4. I want it very obvious that gmac isn't really supported on this old
kernel on rk3399 (and having stmmac not in the device tree would make
it very obvious)

5. I do want the power savings of turning the power domains off for the gmac.


If this patch is broken in two then I can pick back just the power
domain patch.  :-P



-Doug

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[RESEND PATCH 0/4] Support the rk3399 gmac pd function Caesar Wang <wxt@rock-chips.com> - 2016-08-31 08:20 +0200
  [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399 Caesar Wang <wxt@rock-chips.com> - 2016-08-31 08:20 +0200
    Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399 Doug Anderson <dianders@chromium.org> - 2016-08-31 22:50 +0200
      Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399 Heiko Stübner <heiko@sntech.de> - 2016-08-31 23:40 +0200
        Re: [RESEND PATCH 3/4] arm64: dts: rockchip: support gmac for rk3399 Doug Anderson <dianders@chromium.org> - 2016-08-31 23:50 +0200

csiph-web