From patchwork Fri Dec 13 22:03:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Soren Brinkmann X-Patchwork-Id: 301184 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 255382C00A1 for ; Sat, 14 Dec 2013 09:04:02 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751946Ab3LMWDe (ORCPT ); Fri, 13 Dec 2013 17:03:34 -0500 Received: from mail-pb0-f42.google.com ([209.85.160.42]:60454 "EHLO mail-pb0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751609Ab3LMWDd (ORCPT ); Fri, 13 Dec 2013 17:03:33 -0500 Received: by mail-pb0-f42.google.com with SMTP id uo5so3132353pbc.15 for ; Fri, 13 Dec 2013 14:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=qW/9js1bmnz51n/5LISV0XEi/VJ5XZxvI160Qw29DdU=; b=V5fW/HCNcDFF7DEkiUYJqwszXMiOWQR+s9uLMqjoZ84As3tgPAKdFnLs8FqZKWdpCy nb7Lc1cv4Bc500OiKuT98dBFGweoDKMIa+Lm9NlpuBLLQFIIiJ8Zh8JKp41fkXgKN6Do LQd2jG6Efc47N+3eq2j9zKa5z2kGG9YndkjiwWsxz0dOamEcirRYxff2wTwsH6JK/+Zg 2U684FltgSgJXQ6Knjhkvz/5SJEXHvRJTbflUj8YeC2task2D2wO/Xb0IFRqKi6et/I5 8i7wBqk/GSAlOeJQyjkNONITO5qwwCpWM18LcQEWv6IMsxHxjqeDK0oBKFDGhlYKK3fz +xUw== X-Received: by 10.68.66.103 with SMTP id e7mr5959322pbt.120.1386972212775; Fri, 13 Dec 2013 14:03:32 -0800 (PST) Received: from localhost ([149.199.62.254]) by mx.google.com with ESMTPSA id by1sm7360792pbd.25.2013.12.13.14.03.30 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 13 Dec 2013 14:03:31 -0800 (PST) From: Soren Brinkmann To: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Rob Landley , Nicolas Ferre Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?UTF-8?q?S=C3=B6ren=20Brinkmann?= , linux-doc@vger.kernel.org Subject: [PATCH] devicetree: macb: Document clock properties Date: Fri, 13 Dec 2013 14:03:25 -0800 Message-Id: <1386972205-32733-1-git-send-email-soren.brinkmann@xilinx.com> X-Mailer: git-send-email 1.8.5.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org 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 --- 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>; };