Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp416297ybh; Wed, 18 Mar 2020 02:19:14 -0700 (PDT) X-Google-Smtp-Source: ADFU+vt11QOOXNGAFaKg6SFOb+oPPVcfBO8bZsQLbSkqZvUpbiaOHawyRHSPJX4HBSEw4XpTzpj1 X-Received: by 2002:a05:6830:23b6:: with SMTP id m22mr2933776ots.225.1584523154566; Wed, 18 Mar 2020 02:19:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584523154; cv=none; d=google.com; s=arc-20160816; b=WcClXqdZcu/4iaRlr+iKcP59s4XioanUH2h1AGPMvfnX3KvBqZW7kVnCaYE4fSlXAg vGtAQBHHMWywUD6KIJj+V74+DyTrrENA9d53eYrsPAJ6X7z70g5x9iOaiJxEiz71K+7+ kFNjoX/wvJL9UJTE5aDI6Wi4ZiEe6Lqv+AFHcpSNTC4RQV50sR5JAkObrMRCJyAwkm1n dl2RPfyUprRQ7rUA+QPbCZNqbi1SZXSB7je1681WzKA6lNirZnuSux9zqiwRfGxQAC5V xkTrImhbff0K0kUKR1vrYyoKoNgTLCIQIU+SNNOnYE1sV8sTTo54ToyRkRvg9oeSOz3m zscQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=KeLPJyyquVYMqBbQtbmvA4XwuIDg/90uof9w1TOJEf0=; b=plaxquLx8Lw0Phzadb0lXxU6euxzUVW6+7pifitQSPVaUrJ4X4vs2VBjIbArrBPxHb 5JIzuMRN5evjol4W9prNBSxn8+8TPwtWLv+hy+zfuWmLJuaPghzJequxhx/TpL9NVPOf EYLkttr0wvRsvMi2v1KZDlar0HcGTirBvvxjfkCJkPnHBZaLkoVKF5wyXaP6LlS3Y2oB KIRMjbj/OsAixET/oK6891HNr7lLe2ogHtmRWYBDY2YQReLCVC5jnRDRqhM9ZKCEKbtu kQYDVryeDNSg7twen5zV3+aKv9Q5qtcMMfDwzFfQLf5pR10DLwqsdDg8zxrdwRkICHks CUvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=GWbfE9TR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i132si2683722oih.249.2020.03.18.02.19.02; Wed, 18 Mar 2020 02:19:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=GWbfE9TR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727517AbgCRJRp (ORCPT + 99 others); Wed, 18 Mar 2020 05:17:45 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42586 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbgCRJRp (ORCPT ); Wed, 18 Mar 2020 05:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=KeLPJyyquVYMqBbQtbmvA4XwuIDg/90uof9w1TOJEf0=; b=GWbfE9TR8Qjf3F+si9NU9WUvdR yOYUQhp4cjhe3RNjs0dkBjwl97SNYZtImawJ1P2sEZvPhRDUb5IGhlnqyz84tMkFWE/FigDp0+t+0 S//51x0ON8RP1nbs9Kq3Gd5bB8Dag8Iz0r9m3yQZCb+r5Y3+0avwHoOmzI6ytv3vsNJE=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jEUpS-00069u-NQ; Wed, 18 Mar 2020 10:17:34 +0100 Date: Wed, 18 Mar 2020 10:17:34 +0100 From: Andrew Lunn To: Martin Fuzzey Cc: Fugang Duan , Rob Herring , Shawn Guo , "David S. Miller" , netdev@vger.kernel.org, Fabio Estevam , linux-kernel@vger.kernel.org, Sascha Hauer , NXP Linux Team , devicetree@vger.kernel.org Subject: Re: [PATCH 3/4] dt-bindings: fec: document the new fsl,stop-mode property Message-ID: <20200318091734.GA23244@lunn.ch> References: <1584463806-15788-1-git-send-email-martin.fuzzey@flowbird.group> <1584463806-15788-4-git-send-email-martin.fuzzey@flowbird.group> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1584463806-15788-4-git-send-email-martin.fuzzey@flowbird.group> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 17, 2020 at 05:50:05PM +0100, Martin Fuzzey wrote: > This property allows the appropriate GPR register bit to be set > for wake on lan support. > > Signed-off-by: Martin Fuzzey > --- > Documentation/devicetree/bindings/net/fsl-fec.txt | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt > index 5b88fae0..bd0ef5e 100644 > --- a/Documentation/devicetree/bindings/net/fsl-fec.txt > +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt > @@ -19,6 +19,11 @@ Optional properties: > number to 1. > - fsl,magic-packet : If present, indicates that the hardware supports waking > up via magic packet. > +- fsl,stop-mode: register bits of stop mode control, the format is > + <&gpr reg bit>. > + gpr is the phandle to general purpose register node. > + reg is the gpr register offset for the stop request. > + bit is the bit offset for the stop request. Hi Martin You should not be putting registers and values into device tree. The regmap is fine. But could you add the register and the bit to fec_devtype[IMX6SX_FEC], fec_devtype[IMX6UL_FEC], etc. Andrew