From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Herring Subject: Re: [PATCH 5/5] stmmac: socfpga: Provide dt node to config ptp clk source. Date: Fri, 4 Dec 2015 10:19:49 -0600 Message-ID: <20151204161949.GA11372@rob-hp-laptop> References: <1449220125-67417-1-git-send-email-preid@electromag.com.au> <1449220125-67417-6-git-send-email-preid@electromag.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1449220125-67417-6-git-send-email-preid@electromag.com.au> Sender: netdev-owner@vger.kernel.org To: Phil Reid Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org, davem@davemloft.net List-Id: devicetree@vger.kernel.org On Fri, Dec 04, 2015 at 05:08:45PM +0800, Phil Reid wrote: > Signed-off-by: Phil Reid > --- > Documentation/devicetree/bindings/net/socfpga-dwmac.txt | 2 ++ > drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c | 10 ++++++++++ > 2 files changed, 12 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt b/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > index 3a9d679..72d82d6 100644 > --- a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > +++ b/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > @@ -11,6 +11,8 @@ Required properties: > designware version numbers documented in stmmac.txt > - altr,sysmgr-syscon : Should be the phandle to the system manager node that > encompasses the glue register, the register offset, and the register shift. > + - altr,f2h_ptp_ref_clk use f2h_ptp_ref_clk instead of default eosc1 clock > + for ptp ref clk. This affects all emacs as the clock is common. This and ... > + dwmac->f2h_ptp_ref_clk = of_property_read_bool(np, "f2h_ptp_ref_clk"); this don't match.