From patchwork Thu Dec 5 11:51:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 297079 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 A405D2C009D for ; Thu, 5 Dec 2013 22:51:53 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756012Ab3LELvg (ORCPT ); Thu, 5 Dec 2013 06:51:36 -0500 Received: from vps0.lunn.ch ([178.209.37.122]:57237 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755492Ab3LELve (ORCPT ); Thu, 5 Dec 2013 06:51:34 -0500 Received: from lunn by vps0.lunn.ch with local (Exim 4.80) (envelope-from ) id 1VoXSm-0004Cm-U0; Thu, 05 Dec 2013 12:51:24 +0100 From: Andrew Lunn To: Jason Cooper Cc: devicetree@vger.kernel.org, kishon@ti.com, Andrew Lunn Subject: [PATCH] DT: ATA: Add missing documentation of clocks to marvell binding. Date: Thu, 5 Dec 2013 12:51:11 +0100 Message-Id: <1386244271-16127-1-git-send-email-andrew@lunn.ch> X-Mailer: git-send-email 1.7.10.4 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The marvell SATA driver can optionally make use of clocks specified in the DT node. This has been available in the driver since Febuary 2012, but the documentation is missing from the binding. Add it. Signed-off-by: Andrew Lunn --- FYI: This will cause merge conflicts with the SATA PHY driver comming soon. --- Documentation/devicetree/bindings/ata/marvell.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/ata/marvell.txt b/Documentation/devicetree/bindings/ata/marvell.txt index b5cdd20cde9c..f6c68d157749 100644 --- a/Documentation/devicetree/bindings/ata/marvell.txt +++ b/Documentation/devicetree/bindings/ata/marvell.txt @@ -6,11 +6,17 @@ Required Properties: - interrupts : Interrupt controller is using - nr-ports : Number of SATA ports in use. +Optional Properties: +- clocks : List of pHandles to clocks +- clock-names : Must be "0", "1", mapping port number to clock. + Example: sata@80000 { compatible = "marvell,orion-sata"; reg = <0x80000 0x5000>; interrupts = <21>; + clocks = <&gate_clk 14>, <&gate_clk 15>; + clock-names = "0", "1"; nr-ports = <2>; }