From patchwork Wed Aug 5 18:28:42 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Victoria Milhoan X-Patchwork-Id: 6952381 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@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 AC9999F358 for ; Wed, 5 Aug 2015 18:29:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D1B50205CB for ; Wed, 5 Aug 2015 18:29:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA7DE205D1 for ; Wed, 5 Aug 2015 18:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753626AbbHES26 (ORCPT ); Wed, 5 Aug 2015 14:28:58 -0400 Received: from mail-bn1on0116.outbound.protection.outlook.com ([157.56.110.116]:51232 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753477AbbHES2y (ORCPT ); Wed, 5 Aug 2015 14:28:54 -0400 Received: from BLUPR0301CA0030.namprd03.prod.outlook.com (10.162.113.168) by BY2PR0301MB1576.namprd03.prod.outlook.com (10.163.28.18) with Microsoft SMTP Server (TLS) id 15.1.225.19; Wed, 5 Aug 2015 18:28:52 +0000 Received: from BN1BFFO11FD034.protection.gbl (2a01:111:f400:7c10::1:196) by BLUPR0301CA0030.outlook.office365.com (2a01:111:e400:5259::40) with Microsoft SMTP Server (TLS) id 15.1.225.19 via Frontend Transport; Wed, 5 Aug 2015 18:28:51 +0000 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; kernel.org; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of freescale.com does not designate 192.88.158.2 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.158.2; helo=az84smr01.freescale.net; Received: from az84smr01.freescale.net (192.88.158.2) by BN1BFFO11FD034.mail.protection.outlook.com (10.58.144.97) with Microsoft SMTP Server (TLS) id 15.1.243.9 via Frontend Transport; Wed, 5 Aug 2015 18:28:51 +0000 Received: from stc-hedley.am.freescale.net (stc-hedley.am.freescale.net [10.67.70.12]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id t75ISmAC019320; Wed, 5 Aug 2015 11:28:50 -0700 From: Victoria Milhoan To: CC: , , , , , , Subject: [PATCH v2 08/14] crypto: caam - Added clocks and clock-names properties to SEC4.0 device tree binding Date: Wed, 5 Aug 2015 11:28:42 -0700 Message-ID: <1438799328-10757-9-git-send-email-vicki.milhoan@freescale.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1438799328-10757-1-git-send-email-vicki.milhoan@freescale.com> References: <1438228709-27650-1-git-send-email-vicki.milhoan@freescale.com> <1438799328-10757-1-git-send-email-vicki.milhoan@freescale.com> X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD034; 1:zdWpHWFjTj9ZJwlDlc6CMmomdZ/HOdPt1w9LIXByBZMD1kjBkCDs4ylFRcwNfe8xyg4GM5w1aIzzi6SQXoafUgr3D5LVIrtATPFs5nrcuJudRp2MYAaYFQpam8v7ARHKYW9Rjo0aRg3lYnBb2ytJdU0pvpQXebazT7+f92Ht04REo/yLsN5y52YDIqRab409ErwMkvu2En+4aiaKzo4O5rh9P3bmRz/4rKFvuR2ok2IvKd8VN2tUkidlXHVU7ZONFGQGwsjUUlT33h+1ftCRuM6gkdlsRAJzuAewA9H9ZeT1jPw0slF6ItphKPwjd3WWORLwMRp2MczRtxu+DPrcsQ== X-Forefront-Antispam-Report: CIP:192.88.158.2; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(2980300002)(339900001)(189002)(199003)(189998001)(76176999)(2950100001)(104016003)(50466002)(92566002)(68736005)(77096005)(105606002)(5003940100001)(48376002)(77156002)(36756003)(62966003)(97736004)(64706001)(19580395003)(4001540100001)(229853001)(106466001)(6806004)(86362001)(50226001)(19580405001)(5001960100002)(2351001)(5001860100001)(50986999)(46102003)(87936001)(33646002)(85426001)(47776003)(110136002)(5001830100001)(81156007)(69596002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR0301MB1576; H:az84smr01.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; MIME-Version: 1.0 X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1576; 2:dzCLj7XxKIYxi89KJ7DZOOIJ2OvUg2QqzNzNWI8cSzvs75G6WmX6/6WRZJKDGuB7ijGXMAZyMzB6E/ke4TmOWNNhx7o3K/jjGwVnnBbSLlmQLgdPemLIlXntciPYx6q/+Lt5bTdVRZXfVPXR6Vus2AcCb7NTeKd1//L1Tq4/r9Y=; 3:unvWvYE70QyuXwxB0/hg1JQgvxwKaNNvlCgbvRoHocaWm1dKimKG+WhkC1Z72RtwJ1b55CjJRxxgcTll8E/ySit93H/UVCcI0gUH57njXWrsZkU5k8E4+S3PNA150SGtkgkh8I9F4ufUHPS8IX6MvyMbQKkHD3PLWcw/L8gegsaCoE6bG4VveWmyU+XzYIqw8zgz1NcpmHx47SS3cNN8P475WGYlIfSC/DUPlUN8GPM=; 25:XHLTGZJaDCP8qeMW0EqMiMU5VfgdEGHqcnBDlUKzAxDXsFXTK57SHWXIxgOSP7w09spMvFvqFdEKxR8vZxSsx+jOV14uH+I3To2oRTGIRz+q2U+KRRw+OWA9LN99I/EtIN/YjnycityGzO87/EI7ozUp+vzgMTaUHLPRiyuNikMvgZadCQZFhODCKlLWu0ZjxuYvcxHTWcggPuksWopUevUtbsDnTG6r4FwQJ5RKVHHjKrfkz4TE02OLdD8iFgJ1WzxvU263GTbvU2XXV5ranQ== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR0301MB1576; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1576; 20:WFieU1IyYKwjBWCFNBENt4duU3aMHEtLopNIVLzBPV48StGGdi9swYygHNA+VpSw3nWF0OflILmT3AknNLKrK1ScfGQiHx6GH4yZyRVwwDx44ego25wgqTqTNAVv7mbiQEF1Ms29E8XqSGASXuQQrkRAT6kuGEnXAiuR21sPdF3qX21aM4DbNoe6svlvLA8hjOFZTR2OUafSFIEZjnHynL6N7EcA92ZJ1kV2RO7PDOg8060ke+OgqkB2d8QxAYHNAXiETLGss5CAJHda9YC0byGBFh5CBGKhuZtSYt+e1HObqPpTGW3NB8rVUadc3e1GH5conKt4X6GrbjozpbWLzDR4CVR6rHw9I3jPxOOZWHI=; 4:K+YosofW69Q+QgdtbvgETcsZ2OHDS010bQt0D4lhOld3xRIz5n3QQiqFWs4sZ042wlD0yxjtqKW3fAAb7OhOU45UkWLUOiaHzFECdqj7Di7ypQlUk/UraUD//oEtvsmPdR5l9S2YLRG5RErj2uMiRILzki76BE3Cs8q3e2dt+tur5kT5fLv0KBVdiGSrto2rU66XYtj1b37e/m1IqEwjWJraQXJugRlWHlq3tF9LhROAW/q9pdSkNMNwMu25j/YfhcsTYm4+Ea/n7URjG5BKZev6keQWWtsQwGL//QiNXTo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:BY2PR0301MB1576; BCL:0; PCL:0; RULEID:; SRVR:BY2PR0301MB1576; X-Forefront-PRVS: 06592CCE58 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB1576; 23:ymBlDaSIAFjWcC8RWjM3ZV8rYEa4n1qFomcWsAk?= =?us-ascii?Q?b/tPiT+JM9b097RdhvPtbq4piU0mtt4DfN3BnFjfuiGs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Fd66c+o0rhSESJckXrDVoGNVbhxmC1kHGVog5XixfrN56CamQ?= =?us-ascii?Q?13mBZrEN/h8ag0HIMORDFvT11q6v3V9+J8UMBZ84436HJw4h3X9HD4i+q05Y?= =?us-ascii?Q?hc04SWF8k5JVpT/ppjSRZP3xwx0Faf/EYbnG2Enh4rLxBuTiB33n2Rxi2hnQ?= =?us-ascii?Q?FD1hWCwHixuo=3D?= X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB1576; 5:PV/z3ypn5PMlWDB4RxO/6t4wVaE+v4Hhnkx9+sOiJGHVN863fa09rqG8GOUhbwsNHuuY5watfywrgOQDb9M/VVB08AZhO/3Xy9vKr7x7NBcB1q2zs2xqHdztMGpVB4N9V0Pa5WUecDPRadZiSK5b0Q==; 24:LAr+i3MbdfGaZ7MI+QRfsNbVCwnh9MjtbqwwpTRbPuihsGr9smyBGjlyQgPQrq/PPtDNvLOQBZQaGLIe/0UA2GicM61LIfBjqiwT1mWGJ7w=; 20:aSaXieIfVY/EUi1xOXwM+FP+bY35SEEtqMN5nZqi0b8y9v4rmMr7xI7bEeEFGiBksOzisIbwGqROxx3Bz0ewyg== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Aug 2015 18:28:51.4233 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d; Ip=[192.88.158.2]; Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB1576 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-7.0 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 The clocks and clock-names properties describe input clocks that may be required for enablement of CAAM. Signed-off-by: Victoria Milhoan --- Documentation/devicetree/bindings/crypto/fsl-sec4.txt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt index e402277..1003073 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt @@ -106,6 +106,18 @@ PROPERTIES to the interrupt parent to which the child domain is being mapped. + - clocks + Usage: required if SEC 4.0 requires explicit enablement of clocks + Value type: + Definition: A list of phandle and clock specifier pairs describing + the clocks required for enabling and disabling SEC 4.0. + + - clock-names + Usage: required if SEC 4.0 requires explicit enablement of clocks + Value type: + Definition: A list of clock name strings in the same order as the + clocks property. + Note: All other standard properties (see the ePAPR) are allowed but are optional. @@ -120,6 +132,11 @@ EXAMPLE ranges = <0 0x300000 0x10000>; interrupt-parent = <&mpic>; interrupts = <92 2>; + clocks = <&clks IMX6QDL_CLK_CAAM_MEM>, + <&clks IMX6QDL_CLK_CAAM_ACLK>, + <&clks IMX6QDL_CLK_CAAM_IPG>, + <&clks IMX6QDL_CLK_EIM_SLOW>; + clock-names = "mem", "aclk", "ipg", "emi_slow"; }; =====================================================================