From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH net-next] net: macb: add wake-on-lan support via magic packet Date: Fri, 12 Feb 2016 09:16:20 -0600 Message-ID: <20160212151620.GA25399@rob-hp-laptop> References: <1455026836-12908-1-git-send-email-sergio.prado@e-labworks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: pawel.moll-5wv7dgnIgG8@public.gmane.org, mark.rutland-5wv7dgnIgG8@public.gmane.org, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg@public.gmane.org, galak-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org, nicolas.ferre-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org, davem-fT/PcQaiUtIeIZ0/mPfg9Q@public.gmane.org, gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, narmstrong-rdvid1DuHRBWk0Htik3J/w@public.gmane.org, michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org, harini.katakam-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Sergio Prado Return-path: Content-Disposition: inline In-Reply-To: <1455026836-12908-1-git-send-email-sergio.prado-1e4yhPs3/ABSwrhanM7KvQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: netdev.vger.kernel.org On Tue, Feb 09, 2016 at 12:07:16PM -0200, Sergio Prado wrote: > Tested on Acqua A5 SoM (http://www.acmesystems.it/acqua). > > Signed-off-by: Sergio Prado > --- > Documentation/devicetree/bindings/net/macb.txt | 2 + > drivers/net/ethernet/cadence/macb.c | 67 +++++++++++++++++++++++--- > drivers/net/ethernet/cadence/macb.h | 4 ++ > 3 files changed, 67 insertions(+), 6 deletions(-) > > diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt > index d2e243b1ec0e..c6b1cb5ffa87 100644 > --- a/Documentation/devicetree/bindings/net/macb.txt > +++ b/Documentation/devicetree/bindings/net/macb.txt > @@ -25,6 +25,8 @@ Required properties: > > Optional properties for PHY child node: > - reset-gpios : Should specify the gpio for phy reset > +- cdns,magic-packet : If present, indicates that the hardware supports waking > + up via magic packet. Already have one vendor property like this (fsl). Make this a generic property. Rob -- 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