From patchwork Thu Jan 16 22:07:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentine Barshak X-Patchwork-Id: 3500731 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3BA179F32F for ; Thu, 16 Jan 2014 22:07:51 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5FDD820172 for ; Thu, 16 Jan 2014 22:07:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 832AB20165 for ; Thu, 16 Jan 2014 22:07:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750887AbaAPWHs (ORCPT ); Thu, 16 Jan 2014 17:07:48 -0500 Received: from mail-lb0-f180.google.com ([209.85.217.180]:35563 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbaAPWHr (ORCPT ); Thu, 16 Jan 2014 17:07:47 -0500 Received: by mail-lb0-f180.google.com with SMTP id n15so2340299lbi.25 for ; Thu, 16 Jan 2014 14:07:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TRtnf2c6qBnDJzDUIw390cHA8+so6CAXuY5aHKFUWhI=; b=ZAsEzfdRmLTMQVX9QepII82hjJqfPcxFi+uosxJ1g5yfMy6INxv/7AXQoMGbThGQBW 2f6+aeW19Pxs1bNTAhoyVyJoKblIKVzbubrRrAJbvpJGLE/RHeAEqDox80m+BEv8I5AV KDWrqMsewReiHSXmwEb8Goms73FbHIJRJNqZTY+QDbx06hsKCYpIgTjeqPDtsbMfORnm fKzPc6GpFRWZ9/ClWq9HorgAU7Kq8XNIafOX0kMyZME42EiQAgG1lhz5MX9gzHWg1Q8U jc6KWlpeA2nK9CB8XXlYGE/tsAYHykukOMpY4q8qFQM30SOYnx5+iYit9ansMclnz6S1 jUFA== X-Gm-Message-State: ALoCoQmLhm5VnVbkGs7e0L+MCdTPFDLUUFTv5P0kGqfgZ57Zo3Zy8NH9SOdIm8Olviuk87gzwnVX X-Received: by 10.152.238.34 with SMTP id vh2mr2233887lac.50.1389910065940; Thu, 16 Jan 2014 14:07:45 -0800 (PST) Received: from black.localnet ([93.100.122.208]) by mx.google.com with ESMTPSA id a8sm6445486lae.5.2014.01.16.14.07.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Jan 2014 14:07:44 -0800 (PST) From: Valentine Barshak To: linux-sh@vger.kernel.org, linux-ide@vger.kernel.org, devicetree@vger.kernel.org Cc: Tejun Heo , Simon Horman , Magnus Damm , Kuninori Morimoto , Laurent Pinchart Subject: [PATCH] libata, dt: Add clocks to sata_rcar bindings Date: Fri, 17 Jan 2014 02:07:42 +0400 Message-Id: <1389910062-17777-1-git-send-email-valentine.barshak@cogentembedded.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Now that the clocks are available in the R-Car Gen2 DT, add clocks property description to the sata_rcar bindings. The clocks have been tested on r8a7791 so we use that as an example of the R-Car SATA node. The patch is against for-next branch of the libata git repo. Signed-off-by: Valentine Barshak --- Documentation/devicetree/bindings/ata/sata_rcar.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/ata/sata_rcar.txt b/Documentation/devicetree/bindings/ata/sata_rcar.txt index 1e61113..6da60c0 100644 --- a/Documentation/devicetree/bindings/ata/sata_rcar.txt +++ b/Documentation/devicetree/bindings/ata/sata_rcar.txt @@ -7,12 +7,14 @@ Required properties: - "renesas,sata-r8a7791" for R-Car M2 - reg : address and length of the SATA registers; - interrupts : must consist of one interrupt specifier. +- clocks : must contain a phandle and clock-specifier pair. Example: -sata: sata@fc600000 { - compatible = "renesas,sata-r8a7779"; - reg = <0xfc600000 0x2000>; +sata0: sata@ee300000 { + compatible = "renesas,sata-r8a7791"; + reg = <0 0xee300000 0 0x2000>; interrupt-parent = <&gic>; - interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; + interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp8_clks R8A7791_CLK_SATA0>; };