From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751752AbcLCWkp (ORCPT ); Sat, 3 Dec 2016 17:40:45 -0500 Received: from mail-oi0-f66.google.com ([209.85.218.66]:36281 "EHLO mail-oi0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751292AbcLCWkm (ORCPT ); Sat, 3 Dec 2016 17:40:42 -0500 Subject: Re: [RFC PATCH 2/2] Documentation: devictree: Add macb mdio bindings To: Rob Herring , Harini Katakam References: <1480326567-6132-1-git-send-email-harinik@xilinx.com> <20161203213553.f3agwvaseufglnq6@rob-hp-laptop> Cc: nicolas.ferre@atmel.com, davem@davemloft.net, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, boris.brezillon@free-electrons.com, alexandre.belloni@free-electrons.com, harinikatakamlinux@gmail.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, harinik@xilinx.com, michals@xilinx.com From: Florian Fainelli Message-ID: Date: Sat, 3 Dec 2016 14:40:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161203213553.f3agwvaseufglnq6@rob-hp-laptop> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 12/03/16 à 13:35, Rob Herring a écrit : > On Mon, Nov 28, 2016 at 03:19:27PM +0530, Harini Katakam wrote: >> Add documentations for macb mdio driver. > > Bindings document h/w, not drivers. > >> >> Signed-off-by: Harini Katakam >> --- >> .../devicetree/bindings/net/macb-mdio.txt | 31 ++++++++++++++++++++++ >> 1 file changed, 31 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/net/macb-mdio.txt >> >> diff --git a/Documentation/devicetree/bindings/net/macb-mdio.txt b/Documentation/devicetree/bindings/net/macb-mdio.txt >> new file mode 100644 >> index 0000000..014cedf >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/net/macb-mdio.txt >> @@ -0,0 +1,31 @@ >> +* Cadence MACB MDIO controller >> + >> +Required properties: >> +- compatible: Should be "cdns,macb-mdio" > > Only one version ever? This needs more specific compatible strings. > >> +- reg: Address and length of the register set of MAC to be used >> +- clock-names: Tuple listing input clock names. >> + Required elements: 'pclk', 'hclk' >> + Optional elements: 'tx_clk' >> +- clocks: Phandles to input clocks. You are also missing mandatory properties: #address-cells = <1> and #size-cells = <0> Where is patch 1? Can you make sure you have the same recipient list for both patches in this series so we can review both the binding and driver? Thanks! -- Florian