Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5483263yba; Tue, 30 Apr 2019 15:54:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPlnthiGHrQ9z021QoTuoYl4S7csBIAz/9/EUSJ75pCYG2C8tr7wUW20z0ITR98sDSBEsN X-Received: by 2002:a17:902:8b86:: with SMTP id ay6mr32246614plb.4.1556664867285; Tue, 30 Apr 2019 15:54:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556664867; cv=none; d=google.com; s=arc-20160816; b=QHsS/Qkhfwq18tAUNAkI7RhKLHF/R2Q3MkI5aCrAgNm62m3yc9/Vz+HVCcLtzQ9ez1 ZSaeHWjMHvNRqQyqhBTK5CPrfgBn25TTGNOUwh2r0IoL1HhMAdhYkP+Fa8KQRWKaYQmO DELWXrq/w6zrQhFUSYia+YP1bGRrDFXsYex2W0DOOh07jpwOtKTJBrtuk7PB2tEY2njk GyLOYleEsb0j6+AG5ksHPBzuMeLozPMR+keML7QnHbz0XHqpqwDnVg+eao7y1ZcGb95l 4m4YGb8RmYLCpej5qRuIdm4lmG0eGzoyb2d8QO2UOOlJ5EDPQsbePScmmbKMYT0CDoS5 6EzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=3hmHPTgV/bi1eZA1TKy2C+Ms5iNmeogSof6Y1DoOt64=; b=sgFgyo6qjNF2wnuLbBpEPE3G8+N7zBBWO1S2A7iwKXuDd0xFLxU+bFqE1hf/iRFosG Rx22795MJRZT/VoFsazlz2p1HFgW/cQIhXB0+6DC8TzJIE2cwW3xKkjTEDjPLgqE0VBZ JeR8XKJCxlz1cLCBksrS83GI1DdlP/IMk0RZuNquftIsUv431YNirQPsLSzzvnB0OB+8 YQ+r5MP7R/6kgWDdmjdCT5Ky4yGm3tgXZ6u9ZKFpRFLSa92eVhGEb96XFiPPmz95prwe ZkwS/unsUr6M5udyh9cVrcUWC/KIEj4u22kKOF/Kpa2hxB0KnvJe0hTCR21NEeKvjYfF OOjw== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si38433249plo.212.2019.04.30.15.54.12; Tue, 30 Apr 2019 15:54:27 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728055AbfD3Wve (ORCPT + 99 others); Tue, 30 Apr 2019 18:51:34 -0400 Received: from mail-ot1-f67.google.com ([209.85.210.67]:35149 "EHLO mail-ot1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbfD3Wvd (ORCPT ); Tue, 30 Apr 2019 18:51:33 -0400 Received: by mail-ot1-f67.google.com with SMTP id g24so8900781otq.2; Tue, 30 Apr 2019 15:51:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=3hmHPTgV/bi1eZA1TKy2C+Ms5iNmeogSof6Y1DoOt64=; b=ftCh8Kjiu4WSchjQKeW/SwicMc/oqBMKKJbbhnYPJ+8EZqB1YETPl9x6VPpmZwqRi3 DPeNdCffBnPw3Wk0UZtlxyeTaJu6OX6WbwMNKR6m1j/MiFfHwJGvLhps3A2PBHDcmdrn dRzUxqgx2fZLHQ0crg2N/ss7MwxkNAgHOvYXloS8GuRDDMroMMFRS32UO31fhfLYzGg6 xkZppSYQKgkZJPb1XiRcbG3nZxAc2j1pyo/Iu8dSSIsUA8mleYU0jS2A7SCDBaYI+xPQ F8xuJXRbDyiZUgPgAeHuD5hOWygi1fXGP3JOnepP/YTgLTVywjYmIQiyhXRFrv8/3IUT XMCw== X-Gm-Message-State: APjAAAVDaYPDNwXqBwoKhIWf0kt99t10bUJQdNkLlW6jRW98icfeQPY3 w4KvpDvz25Ds7aU2rk2waw== X-Received: by 2002:a05:6830:2106:: with SMTP id i6mr1714548otc.146.1556664691778; Tue, 30 Apr 2019 15:51:31 -0700 (PDT) Received: from localhost (24-155-109-49.dyn.grandenetworks.net. [24.155.109.49]) by smtp.gmail.com with ESMTPSA id 3sm10756189oti.45.2019.04.30.15.51.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 30 Apr 2019 15:51:30 -0700 (PDT) Date: Tue, 30 Apr 2019 17:51:30 -0500 From: Rob Herring To: Oleksij Rempel Cc: Paul Burton , Ralf Baechle , James Hogan , Jay Cliburn , Chris Snook , "David S. Miller" , Mark Rutland , Pengutronix Kernel Team , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, John Crispin , Felix Fietkau , netdev@vger.kernel.org Subject: Re: [PATCH v3 1/3] dt-bindings: net: add qca,ar71xx.txt documentation Message-ID: <20190430225130.GA10771@bogus> References: <20190422064046.2822-1-o.rempel@pengutronix.de> <20190422064046.2822-2-o.rempel@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190422064046.2822-2-o.rempel@pengutronix.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 22, 2019 at 08:40:44AM +0200, Oleksij Rempel wrote: > Add binding documentation for Atheros/QCA networking IP core used > in many routers. > > Signed-off-by: Oleksij Rempel > --- > .../devicetree/bindings/net/qca,ar71xx.txt | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) > create mode 100644 Documentation/devicetree/bindings/net/qca,ar71xx.txt > > diff --git a/Documentation/devicetree/bindings/net/qca,ar71xx.txt b/Documentation/devicetree/bindings/net/qca,ar71xx.txt > new file mode 100644 > index 000000000000..56abf224de2c > --- /dev/null > +++ b/Documentation/devicetree/bindings/net/qca,ar71xx.txt > @@ -0,0 +1,44 @@ Needs some title and info about what this h/w is. > +Required properties: > +- compatible: Should be "qca,-eth". Currently support compatibles are: > + qca,ar7100-eth - Atheros AR7100 > + qca,ar7240-eth - Atheros AR7240 > + qca,ar7241-eth - Atheros AR7241 > + qca,ar7242-eth - Atheros AR7242 > + qca,ar9130-eth - Atheros AR9130 > + qca,ar9330-eth - Atheros AR9330 > + qca,ar9340-eth - Atheros AR9340 > + qca,qca9530-eth - Qualcomm Atheros QCA9530 > + qca,qca9550-eth - Qualcomm Atheros QCA9550 > + qca,qca9560-eth - Qualcomm Atheros QCA9560 > + > +- reg : Address and length of the register set for the device > +- interrupts : Should contain eth interrupt > +- phy-mode : See ethernet.txt file in the same directory Is there a subset of valid modes? > +- clocks: the clock used by the core > +- clock-names: the names of the clock listed in the clocks property. These are > + "mdio". Seems strange that's the only clock. > +- resets: Should contain phandles to the reset signals > +- reset-names: Should contain the names of reset signal listed in the resets > + property. These are "mac" and "mdio" > + > +Optional properties: > +- phy-handle : phandle to the PHY device connected to this device. > +- fixed-link : Assume a fixed link. See fixed-link.txt in the same directory. > + Use instead of phy-handle. > + > +Optional subnodes: > +- mdio : specifies the mdio bus, used as a container for phy nodes > + according to phy.txt in the same directory > + > +Example: > + > +ethernet@1a000000 { > + compatible = "qca,ar9330-eth"; > + reg = <0x1a000000 0x200>; > + interrupts = <5>; > + resets = <&rst 13>, <&rst 23>; > + reset-names = "mac", "mdio"; > + clocks = <&pll ATH79_CLK_MDIO>; > + clock-names = "mdio"; > + phy-mode = "gmii"; > +}; > -- > 2.20.1 >