From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752702AbcGAO3k (ORCPT ); Fri, 1 Jul 2016 10:29:40 -0400 Received: from mail-io0-f177.google.com ([209.85.223.177]:36408 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752296AbcGAO3i (ORCPT ); Fri, 1 Jul 2016 10:29:38 -0400 MIME-Version: 1.0 In-Reply-To: <20160701025619.GA4906@rob-hp-laptop> References: <1467327554-22074-1-git-send-email-jon.mason@broadcom.com> <1467327554-22074-7-git-send-email-jon.mason@broadcom.com> <20160701025619.GA4906@rob-hp-laptop> From: Jon Mason Date: Fri, 1 Jul 2016 10:29:36 -0400 Message-ID: Subject: Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac To: Rob Herring Cc: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , davem@davemloft.net, Florian Fainelli , Hauke Mehrtens , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Ray Jui , Scott Branden , BCM Kernel Feedback , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 30, 2016 at 10:56 PM, Rob Herring wrote: > On Thu, Jun 30, 2016 at 06:59:13PM -0400, Jon Mason wrote: >> Signed-off-by: Jon Mason >> --- >> .../devicetree/bindings/net/brcm,bgmac-nsp.txt | 24 ++++++++++++++++++++++ >> 1 file changed, 24 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt >> >> diff --git a/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt b/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt >> new file mode 100644 >> index 0000000..022946c >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/net/brcm,bgmac-nsp.txt >> @@ -0,0 +1,24 @@ >> +Broadcom GMAC Ethernet Controller Device Tree Bindings >> +------------------------------------------------------------- >> + >> +Required properties: >> + - compatible: "brcm,bgmac-nsp" > > Usually we do - order. Thanks, I'll make the necessary changes and push out a v2. > >> + - reg: Address and length of the GMAC registers, >> + Address and length of the GMAC IDM registers >> + - reg-names: Names of the registers. Must have both "gmac_base" and >> + "idm_base" >> + - interrupts: Interrupt number >> + >> +Optional properties: >> +- mac-address: See ethernet.txt file in the same directory >> + >> +Examples: >> + >> +gmac0: ethernet@18022000 { >> + compatible = "brcm,bgmac-nsp"; >> + reg = <0x18022000 0x1000>, >> + <0x18110000 0x1000>; >> + reg-names = "gmac_base", "idm_base"; >> + interrupts = ; >> + status = "disabled"; >> +}; >> -- >> 1.9.1 >>