From patchwork Sat Mar 12 08:00:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shubhrajyoti Datta X-Patchwork-Id: 8571031 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 50B2C9F1C0 for ; Sat, 12 Mar 2016 08:00:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7035820377 for ; Sat, 12 Mar 2016 08:00:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8C60F2034C for ; Sat, 12 Mar 2016 08:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751412AbcCLIAt (ORCPT ); Sat, 12 Mar 2016 03:00:49 -0500 Received: from mail-bl2nam02on0063.outbound.protection.outlook.com ([104.47.38.63]:60299 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751153AbcCLIAs (ORCPT ); Sat, 12 Mar 2016 03:00:48 -0500 Received: from BL2NAM02FT027.eop-nam02.prod.protection.outlook.com (10.152.76.51) by BL2NAM02HT173.eop-nam02.prod.protection.outlook.com (10.152.77.45) with Microsoft SMTP Server (TLS) id 15.1.434.11; Sat, 12 Mar 2016 08:00:46 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by BL2NAM02FT027.mail.protection.outlook.com (10.152.77.160) with Microsoft SMTP Server (TLS) id 15.1.434.11 via Frontend Transport; Sat, 12 Mar 2016 08:00:45 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:43714 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1aeeTd-00048w-8p; Sat, 12 Mar 2016 00:00:45 -0800 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1aeeTd-0002tZ-5E; Sat, 12 Mar 2016 00:00:45 -0800 Received: from xsj-pvapsmtp01 (xsj-smtp1.xilinx.com [149.199.38.66]) by xsj-smtp-dlp2.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u2C80eHX026627; Sat, 12 Mar 2016 00:00:40 -0800 Received: from [172.23.146.171] (helo=xhdl3763.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1aeeTY-0002rS-Ay; Sat, 12 Mar 2016 00:00:40 -0800 Received: by xhdl3763.xilinx.com (Postfix, from userid 9049) id 876C32CE04E5; Sat, 12 Mar 2016 13:30:39 +0530 (IST) From: Shubhrajyoti Datta To: CC: , , , , , Shubhrajyoti Datta Subject: [PATCHv4 2/2] bindings: spi: Add clock entries for spi-xilinx Date: Sat, 12 Mar 2016 13:30:37 +0530 Message-ID: <1457769637-5627-2-git-send-email-shubhraj@xilinx.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1457769637-5627-1-git-send-email-shubhraj@xilinx.com> References: <1457769637-5627-1-git-send-email-shubhraj@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22186.003 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.100; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(50986999)(189998001)(110136002)(4326007)(6806005)(2906002)(11100500001)(5003940100001)(76176999)(81166005)(4001430100002)(50466002)(48376002)(42186005)(47776003)(90966002)(2351001)(87936001)(86362001)(36386004)(33646002)(45336002)(2950100001)(50226001)(52956003)(106466001)(19580405001)(1096002)(107886002)(19580395003)(586003)(63266004)(103686003)(5008740100001)(36756003)(1220700001)(92566002)(229853001)(107986001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2NAM02HT173; H:xsj-pvapsmtpgw02; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: af6816cd-41e3-40f0-da64-08d34a4c6aa7 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BL2NAM02HT173; X-Microsoft-Antispam-PRVS: <5a195f609a054335981f33361079ce1f@BL2NAM02HT173.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)(13015025)(13018025)(13024025)(5005006)(8121501046)(13023025)(13017025)(10201501046)(3002001); SRVR:BL2NAM02HT173; BCL:0; PCL:0; RULEID:; SRVR:BL2NAM02HT173; X-Forefront-PRVS: 0879599414 X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2016 08:00:45.4852 (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.100]; Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT173 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 v4 Correct the 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..07ec09a 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: "s_axi_aclk" 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>;