From patchwork Mon Feb 10 11:50:08 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 24404 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f197.google.com (mail-qc0-f197.google.com [209.85.216.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4E35620143 for ; Mon, 10 Feb 2014 11:50:02 +0000 (UTC) Received: by mail-qc0-f197.google.com with SMTP id e16sf13916811qcx.8 for ; Mon, 10 Feb 2014 03:50:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe:content-type; bh=YXag9oSpMPfNERJei67lTg+NMIAqoWQJvcROmLwq1FA=; b=EIntgjGeuSPd54sHjiMFNE8xdjymOk8eUD52Et4HKtvOi19WSSYAx7P9SurSv8M26P rKPr/4N6OqqGYb+eeQbLdNDVXjB5c3WUvSeLTZoIGPQcuGciR1hwaJa0pzKzJJj7zQMR Cdow+3vN+RG0lNg5Trmy73SkAOCqXQDKnK3BaaBqnVU+GsCf0oD3ddGh2s9qxgmvrJfP achjQwJDyiMprTE/trIghvi2NWiGy8MiqP+MztdGGfEr8V2CIde9nSRRLonIXoYZ7btq KGvzJTZcyJl4/o60pw95tqShIC2tiA3IrLrX2mume0Y+ZQ2bhkAwIy7un2RD0LEUni6L 1loQ== X-Gm-Message-State: ALoCoQlxLeiXm+lo70ZSc9YNeYjI4vrIgqfBtw+WmL4P62/KwYkrEiYLM0PdahkPPKj4huuB85id X-Received: by 10.236.118.12 with SMTP id k12mr10019544yhh.35.1392033001268; Mon, 10 Feb 2014 03:50:01 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.49 with SMTP id 46ls1946010qgq.21.gmail; Mon, 10 Feb 2014 03:50:01 -0800 (PST) X-Received: by 10.220.2.199 with SMTP id 7mr23528046vck.4.1392033000847; Mon, 10 Feb 2014 03:50:00 -0800 (PST) Received: from mail-ve0-f169.google.com (mail-ve0-f169.google.com [209.85.128.169]) by mx.google.com with ESMTPS id sm10si4711163vec.81.2014.02.10.03.50.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 03:50:00 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.169; Received: by mail-ve0-f169.google.com with SMTP id oy12so4994428veb.28 for ; Mon, 10 Feb 2014 03:50:00 -0800 (PST) X-Received: by 10.52.247.231 with SMTP id yh7mr372372vdc.34.1392033000772; Mon, 10 Feb 2014 03:50:00 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp161915vcz; Mon, 10 Feb 2014 03:50:00 -0800 (PST) X-Received: by 10.67.3.97 with SMTP id bv1mr25295892pad.54.1392032999575; Mon, 10 Feb 2014 03:49:59 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id of8si15126604pbc.193.2014.02.10.03.49.58; Mon, 10 Feb 2014 03:49:58 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752644AbaBJLt6 (ORCPT + 9 others); Mon, 10 Feb 2014 06:49:58 -0500 Received: from co1ehsobe006.messaging.microsoft.com ([216.32.180.189]:26083 "EHLO co1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752554AbaBJLt5 (ORCPT ); Mon, 10 Feb 2014 06:49:57 -0500 Received: from mail208-co1-R.bigfish.com (10.243.78.254) by CO1EHSOBE008.bigfish.com (10.243.66.71) with Microsoft SMTP Server id 14.1.225.22; Mon, 10 Feb 2014 11:49:56 +0000 Received: from mail208-co1 (localhost [127.0.0.1]) by mail208-co1-R.bigfish.com (Postfix) with ESMTP id 7F563B402A9; Mon, 10 Feb 2014 11:49:56 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1f42h2148h208ch1ee6h1de0h1fdah2073h2146h1202h1e76h2189h1d1ah1d2ah21bch1fc6hzz1de098h8275dh1de097hz2dh87h2a8h839hd24he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh2222h224fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h2218h2216h226dh22d0h24afh2327h2336h2438h2461h2487h24d7h2516h2545h1151h1155h) X-FB-DOMAIN-IP-MATCH: fail Received: from mail208-co1 (localhost.localdomain [127.0.0.1]) by mail208-co1 (MessageSwitch) id 1392032993579531_4744; Mon, 10 Feb 2014 11:49:53 +0000 (UTC) Received: from CO1EHSMHS028.bigfish.com (unknown [10.243.78.232]) by mail208-co1.bigfish.com (Postfix) with ESMTP id 872CEA80048; Mon, 10 Feb 2014 11:49:53 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CO1EHSMHS028.bigfish.com (10.243.66.38) with Microsoft SMTP Server (TLS) id 14.16.227.3; Mon, 10 Feb 2014 11:49:53 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.3.158.2; Mon, 10 Feb 2014 11:49:52 +0000 Received: from S2101-09.ap.freescale.net ([10.192.185.156]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id s1ABniP0024744; Mon, 10 Feb 2014 04:49:47 -0700 From: Shawn Guo To: Rob Herring CC: Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , , , Philippe De Muyter , Shawn Guo Subject: [PATCH] dt/bindings: update fsl-fec regarding compatible and clocks Date: Mon, 10 Feb 2014 19:50:08 +0800 Message-ID: <1392033008-20752-1-git-send-email-shawn.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: shawn.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Update fsl-fec to explicitly list the supported compatible strings and add missing 'clocks' and 'clock-names' properties. It does not change anything about how kernel drive works. Instead, it just reflects how kernel driver works today. Signed-off-by: Shawn Guo --- Documentation/devicetree/bindings/net/fsl-fec.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/fsl-fec.txt b/Documentation/devicetree/bindings/net/fsl-fec.txt index 845ff84..3ebd395 100644 --- a/Documentation/devicetree/bindings/net/fsl-fec.txt +++ b/Documentation/devicetree/bindings/net/fsl-fec.txt @@ -1,9 +1,26 @@ * Freescale Fast Ethernet Controller (FEC) Required properties: -- compatible : Should be "fsl,-fec" +- compatible : Should contain one of the following: + "fsl,imx25-fec" + "fsl,imx27-fec" + "fsl,imx28-fec" + "fsl,imx6q-fec" + "fsl,mvf600-fec" - reg : Address and length of the register set for the device - interrupts : Should contain fec interrupt +- clocks: phandle to the clocks feeding the FEC controller and phy. The + following two are required: + - "ipg": the peripheral access clock + - "ahb": the bus clock for MAC + The following two are optional: + - "ptp": the sampling clock for PTP (IEEE 1588). On SoC like i.MX6Q, + the clock could come from either the internal clock control module + or external oscillator via pad depending on board design. + - "enet_out": the phy reference clock provided by SoC via pad, which + is available on SoC like i.MX28. +- clock-names: Must contain the clock names described just above + - phy-mode : String, operation mode of the PHY interface. Supported values are: "mii", "gmii", "sgmii", "tbi", "rmii", "rgmii", "rgmii-id", "rgmii-rxid", "rgmii-txid", "rtbi", "smii".