From patchwork Thu Mar 10 12:11:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhrajyoti Datta X-Patchwork-Id: 8556871 Return-Path: X-Original-To: patchwork-linux-spi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1FF5A9F46A for ; Thu, 10 Mar 2016 12:11:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 36FBB20377 for ; Thu, 10 Mar 2016 12:11:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E82B201BC for ; Thu, 10 Mar 2016 12:11:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752486AbcCJML1 (ORCPT ); Thu, 10 Mar 2016 07:11:27 -0500 Received: from mail-cys01nam02on0062.outbound.protection.outlook.com ([104.47.37.62]:21781 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753574AbcCJML0 (ORCPT ); Thu, 10 Mar 2016 07:11:26 -0500 X-Greylist: delayed 3028 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 Mar 2016 07:11:26 EST Received: from CY1NAM02FT003.eop-nam02.prod.protection.outlook.com (10.152.74.55) by CY1NAM02HT036.eop-nam02.prod.protection.outlook.com (10.152.74.110) with Microsoft SMTP Server (TLS) id 15.1.434.11; Thu, 10 Mar 2016 12:11:24 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by CY1NAM02FT003.mail.protection.outlook.com (10.152.74.151) with Microsoft SMTP Server (TLS) id 15.1.434.11 via Frontend Transport; Thu, 10 Mar 2016 12:11:23 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from ) id 1adzR5-0003Dm-08; Thu, 10 Mar 2016 04:11:23 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1adzR4-00034y-SP; Thu, 10 Mar 2016 04:11:22 -0800 Received: from [172.23.146.171] (helo=xhdl3763.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1adzQu-00032Q-BL; Thu, 10 Mar 2016 04:11:12 -0800 Received: by xhdl3763.xilinx.com (Postfix, from userid 9049) id 8D15D2CE056A; Thu, 10 Mar 2016 17:41:11 +0530 (IST) From: Shubhrajyoti Datta To: CC: , , , , , Shubhrajyoti Datta Subject: [PATCHv3 2/2] bindings: spi: Add clock entries for spi-xilinx Date: Thu, 10 Mar 2016 17:41:05 +0530 Message-ID: <1457611865-40120-2-git-send-email-shubhraj@xilinx.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1457611865-40120-1-git-send-email-shubhraj@xilinx.com> References: <1457611865-40120-1-git-send-email-shubhraj@xilinx.com> X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22182.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(36386004)(229853001)(47776003)(110136002)(5003940100001)(1096002)(103686003)(2950100001)(107886002)(19580395003)(19580405001)(33646002)(87936001)(2351001)(106466001)(42186005)(63266004)(52956003)(86362001)(189998001)(586003)(1220700001)(50226001)(36756003)(46386002)(45336002)(92566002)(50466002)(4001430100002)(76176999)(50986999)(90966002)(4326007)(2906002)(6806005)(5008740100001)(81166005)(48376002)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1NAM02HT036; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:nov; A:1; MX:1; PTR:unknown-60-83.xilinx.com; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 79ed82b1-5d1f-4bd3-b2a9-08d348dd1946 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:CY1NAM02HT036; X-Microsoft-Antispam-PRVS: <52fbf3ddd7164451b35d59aee5261f1b@CY1NAM02HT036.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13017025)(8121501046)(13024025)(5005006)(13018025)(13015025)(13023025)(10201501046)(3002001); SRVR:CY1NAM02HT036; BCL:0; PCL:0; RULEID:; SRVR:CY1NAM02HT036; X-Forefront-PRVS: 08770259B4 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2016 12:11:23.5738 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT036 Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Spam-Status: No, score=-6.9 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 Add clock description for spi-xilinx Signed-off-by: Shubhrajyoti Datta --- v3 Add a clock name .../devicetree/bindings/spi/spi-xilinx.txt | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-xilinx.txt b/Documentation/devicetree/bindings/spi/spi-xilinx.txt index c7b7856..71bd464 100644 --- a/Documentation/devicetree/bindings/spi/spi-xilinx.txt +++ b/Documentation/devicetree/bindings/spi/spi-xilinx.txt @@ -7,6 +7,9 @@ Required properties: - interrupts : Property with a value describing the interrupt number. - interrupt-parent : Must be core interrupt controller +- clocks: Input clock specifier. Refer to common clock bindings. +- clock-names: tuple listing input clock names. + Required elements: "spi_fclk" Optional properties: - xlnx,num-ss-bits : Number of chip selects used. @@ -14,6 +17,8 @@ Optional properties: Example: axi_quad_spi@41e00000 { compatible = "xlnx,xps-spi-2.00.a"; + clocks = <&clkc 15>; + clock-names = "spi_fclk"; interrupt-parent = <&intc>; interrupts = <0 31 1>; reg = <0x41e00000 0x10000>;