Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2251333ybm; Thu, 23 May 2019 13:52:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqz70c6x28dn5oEeMspMY9dKVKlYuhxfjeUMSk9hbUEl0PNbuwgsBeygfiqgNVdv8TQuBGaq X-Received: by 2002:a62:5201:: with SMTP id g1mr33442516pfb.152.1558644725850; Thu, 23 May 2019 13:52:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558644725; cv=none; d=google.com; s=arc-20160816; b=UQdlSOC8ZPlq4SJgdKtOy7g25ouSYgH/80T9nS1b5UJSnSRny5ajkpM16kjy+c0Mqd lry4C8D7bIzL7oGCeeWTzCr4+GyREFWCUfdEa9a1GQ2gT51XzvmnEe0eDdIv+tbV2ihM rDQiWygTQ5nn7Ra9sIddrSCUeLQs8Y9K8c3UnWriL5GY+FawsipGER45GgMD5IjpKx+M zo50mxpk3JEYRyhINVtuEEaMKXdyCFrLlhKxgHnT20lVKv+frn5MzFUx1jK1rntuEKhg kzYVy7RwEp73ljZl0QUArX6NsgLLQ9HIrbLt1GbH1RSUP+xyOsxW1UV6o1Jb3m1Qmgfm Te/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=WXpzmHOwzN8Pk0OWTpLXBVqHxXN1pNSKvbhkLOoEAxI=; b=vr5yLdLVYRRPKfHRT3LE2i+Km5zyY0PevPw5P04E+ox7lmKkD2b2cp23EzyAkuEH8e QMjvldnMNRSXA//3sGpNBW9BFGvvrZEq/U0d9tSuURdsSc4i8Z6ufQXRqLSvpPmaa2TH VogTbB0LKcHX9CeydG5nzvEMUGlcGkBzIzAtVC3XXIm9GQRk62O/SB7MPRTB+QqSuuPv uZSMeWo7g1UIrr3OAgeowR9fRNvS6JWxpr/8JMNLgA3jVdX0JJbN8ZnULGtCP5sTiF3I 3Ee4/9YebdchnFV4rXdvXfqLQczQX8dnxZ+lEQx4nfplSL6GaVQ5u8TijRcdJqJcJkPK ONFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=SMBTwyvz; 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=pass (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 t9si879508pgv.294.2019.05.23.13.51.49; Thu, 23 May 2019 13:52:05 -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=pass header.i=@kernel.org header.s=default header.b=SMBTwyvz; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388051AbfEWUul (ORCPT + 99 others); Thu, 23 May 2019 16:50:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:56590 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731462AbfEWUul (ORCPT ); Thu, 23 May 2019 16:50:41 -0400 Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E0BAF217D9; Thu, 23 May 2019 20:50:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558644640; bh=v6PSwAorcPKsWe7jiuNmsouiSwC/iTj+RqZEfhl5wTU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=SMBTwyvzSt1F5ozWUbD29AFuSoG5yodL9g9xTOgk7k4KHvabNSSSBZvOlcJvlCt0d cYISszwzLapIGXwrHlVJbIl9Fvy3QPG6bhkPqkiiPTne0Wr4tMv+JEzPLo5Q4g9QVz aoyz81UXWQSQ5YnefxbKRw75NgYq9Vr7WYCsYzpQ= Received: by mail-qt1-f173.google.com with SMTP id h1so8483611qtp.1; Thu, 23 May 2019 13:50:39 -0700 (PDT) X-Gm-Message-State: APjAAAUCzWeKN7DQ9eZ8ppS3MRvjSxVha8IeCQSWWQSYh0m2BbNwiAQl ZDh+lGXZhDllJy7yKTlEBT59i2j+aeUmRERjUg== X-Received: by 2002:a0c:929a:: with SMTP id b26mr79051384qvb.148.1558644639198; Thu, 23 May 2019 13:50:39 -0700 (PDT) MIME-Version: 1.0 References: <1558611952-13295-1-git-send-email-yash.shah@sifive.com> <1558611952-13295-2-git-send-email-yash.shah@sifive.com> In-Reply-To: <1558611952-13295-2-git-send-email-yash.shah@sifive.com> From: Rob Herring Date: Thu, 23 May 2019 15:50:27 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] net/macb: bindings doc: add sifive fu540-c000 binding To: Yash Shah Cc: David Miller , netdev , "linux-kernel@vger.kernel.org" , linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, Mark Rutland , Nicolas Ferre , Palmer Dabbelt , Albert Ou , =?UTF-8?Q?Petr_=C5=A0tetiar?= , Paul Walmsley , Sachin Ghadi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 23, 2019 at 6:46 AM Yash Shah wrote: > > Add the compatibility string documentation for SiFive FU540-C0000 > interface. > On the FU540, this driver also needs to read and write registers in a > management IP block that monitors or drives boundary signals for the > GEMGXL IP block that are not directly mapped to GEMGXL registers. > Therefore, add additional range to "reg" property for SiFive GEMGXL > management IP registers. > > Signed-off-by: Yash Shah > --- > Documentation/devicetree/bindings/net/macb.txt | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt > index 9c5e944..91a2a66 100644 > --- a/Documentation/devicetree/bindings/net/macb.txt > +++ b/Documentation/devicetree/bindings/net/macb.txt > @@ -4,6 +4,7 @@ Required properties: > - compatible: Should be "cdns,[-]{macb|gem}" > Use "cdns,at91rm9200-emac" Atmel at91rm9200 SoC. > Use "cdns,at91sam9260-macb" for Atmel at91sam9 SoCs. > + Use "cdns,fu540-macb" for SiFive FU540-C000 SoC. This pattern that Atmel started isn't really correct. The vendor prefix here should be sifive. 'cdns' would be appropriate for a fallback. > Use "cdns,sam9x60-macb" for Microchip sam9x60 SoC. > Use "cdns,np4-macb" for NP4 SoC devices. > Use "cdns,at32ap7000-macb" for other 10/100 usage or use the generic form: "cdns,macb". > @@ -17,6 +18,8 @@ Required properties: > Use "cdns,zynqmp-gem" for Zynq Ultrascale+ MPSoC. > Or the generic form: "cdns,emac". > - reg: Address and length of the register set for the device > + For "cdns,fu540-macb", second range is required to specify the > + address and length of the registers for GEMGXL Management block. > - interrupts: Should contain macb interrupt > - phy-mode: See ethernet.txt file in the same directory. > - clock-names: Tuple listing input clock names. > -- > 1.9.1 >