From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Ferre Subject: Re: [PATCH] devicetree: macb: Document clock properties Date: Mon, 16 Dec 2013 10:46:36 +0100 Message-ID: <52AECBFC.5000207@atmel.com> References: <1386972205-32733-1-git-send-email-soren.brinkmann@xilinx.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386972205-32733-1-git-send-email-soren.brinkmann@xilinx.com> Sender: linux-kernel-owner@vger.kernel.org To: Soren Brinkmann , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org List-Id: devicetree@vger.kernel.org On 13/12/2013 23:03, Soren Brinkmann : > The macb driver uses the clock bindings. Document the required > properties, especially the driver specific clock-names. > > Signed-off-by: Soren Brinkmann Acked-by: Nicolas Ferre Thanks. > --- > Documentation/devicetree/bindings/net/macb.txt | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/net/macb.txt b/Documentation/devicetree/bindings/net/macb.txt > index 4ff65047bb9a..70af2ec12b09 100644 > --- a/Documentation/devicetree/bindings/net/macb.txt > +++ b/Documentation/devicetree/bindings/net/macb.txt > @@ -10,6 +10,10 @@ Required properties: > - interrupts: Should contain macb interrupt > - phy-mode: String, operation mode of the PHY interface. > Supported values are: "mii", "rmii", "gmii", "rgmii". > +- clock-names: Tuple listing input clock names. > + Required elements: 'pclk', 'hclk' > + Optional elements: 'tx_clk' > +- clocks: Phandles to input clocks. > > Optional properties: > - local-mac-address: 6 bytes, mac address > @@ -22,4 +26,6 @@ Examples: > interrupts = <21>; > phy-mode = "rmii"; > local-mac-address = [3a 0e 03 04 05 06]; > + clock-names = "pclk", "hclk", "tx_clk"; > + clocks = <&clkc 30>, <&clkc 30>, <&clkc 13>; > }; > -- Nicolas Ferre