Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp608416imm; Wed, 17 Oct 2018 05:38:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV63rdKB5Jc3KDPkesVLIZIuapTpLKmlxzdEfylpETv1m2BPaBHJ/RxzZE3uga0PzdlQFKGfn X-Received: by 2002:a63:2356:: with SMTP id u22-v6mr24118318pgm.122.1539779925857; Wed, 17 Oct 2018 05:38:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539779925; cv=none; d=google.com; s=arc-20160816; b=AuMkUvlKKRvCS7OfkaiTyfLGbsf4o2Pe81/vnzOHDxhKqBSSnftZ+v+MFANgITmDln jFezopwS+n+sD//WBchu2cUZ0/UlCsoXrIBPfJHVMsDk5M383Qp3dBdK2S+zsFa3tcsf ThyGq7VtxPRXcbfGaDXTLQTU48Pc3hnr4ei1ktY8ndfeuUzsTpLLKVkWwitqV8bpfzry a4hXdJCKqPcAqYX7Zd0WDL6ciP/2KN9vhj3NNEfsw0U95LYwgy6bR2G2j8bChacw7fEy QYcl/Ny2Uq9/SA1dxq4zSQp4Hjzu5XiVtPEgNk+xZlwnvBM+6VvMXhEyKhNXTRu1TFWH +BsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :spamdiagnosticmetadata:spamdiagnosticoutput:content-language :accept-language:message-id:date:thread-index:thread-topic:subject :cc:to:from:dkim-signature; bh=VOtXumwyVhaKcuTBfptpUjcNMx1eAnUZx6WucdreMEg=; b=haW88u606IPxiBUOZb/BXIRa61NtSusjSFoSE5kWlUk36JHowE3UAO4WoNGGP/OeJ+ r2XhBAjBrMAn2PCu+enEzckxM88V+vKRKwWHWOvZmN+xhgYtEoUHKb5CQNj0AMLd8KN1 VIPbBf0e4b4jgt1RPchhcXM3BeuPD6d0Z1GukZBRfqhCGtXf0BVGbT5Bi1iiDNYWwvwT WuAMJ5YIiCt5/kzK6fQJ3Upj/HyV6TyKsUWvdzHxUkS6RUCkz/Ooo3khJpGvL26A4TDI dg06PzO/QbtFbAzKgZiBAI1e8TL9Sn25KAyvUXPFAgXulwxeGvah4ugjiTEnjQUP9E6U d/5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=RkvUlf0H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d9-v6si20818933pln.51.2018.10.17.05.38.30; Wed, 17 Oct 2018 05:38:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=RkvUlf0H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727323AbeJQUd0 (ORCPT + 99 others); Wed, 17 Oct 2018 16:33:26 -0400 Received: from mail-eopbgr80055.outbound.protection.outlook.com ([40.107.8.55]:8163 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727040AbeJQUd0 (ORCPT ); Wed, 17 Oct 2018 16:33:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VOtXumwyVhaKcuTBfptpUjcNMx1eAnUZx6WucdreMEg=; b=RkvUlf0HAszck5ovTltOzpBXcb41QLUDQFbGbhIksOG2PuDhaSHH3yBDyX23Z0ZpoGFTfavB1dPxsn9dHCa3CdJ8epRgdKgMucSKodiN7aHdzXQJ6h+1E2wRMglCOGjVQ6tSkuHaqzgLzqUTaG09lbWv7aHJAWxuUMAdT4hhX24= Received: from AM0PR04MB4290.eurprd04.prod.outlook.com (52.134.126.145) by AM0PR04MB4212.eurprd04.prod.outlook.com (52.134.126.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.26; Wed, 17 Oct 2018 12:37:50 +0000 Received: from AM0PR04MB4290.eurprd04.prod.outlook.com ([fe80::3836:6416:4ebd:34ef]) by AM0PR04MB4290.eurprd04.prod.outlook.com ([fe80::3836:6416:4ebd:34ef%3]) with mapi id 15.20.1228.032; Wed, 17 Oct 2018 12:37:50 +0000 From: Leonard Crestez To: Shawn Guo , Fabio Estevam CC: Rob Herring , Marek Vasut , Herbert Xu , Horia Geanta , Franck Lenormand , Aymen Sghaier , "David S . Miller " , Mark Rutland , "devicetree@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx , "kernel@pengutronix.de" , "linux-kernel@vger.kernel.org" Subject: [PATCH v4 0/4] Port mxs-dcp to imx6ull and imx6sll Thread-Topic: [PATCH v4 0/4] Port mxs-dcp to imx6ull and imx6sll Thread-Index: AQHUZhY3Ifrjs6ztxEq885zu4dQD4g== Date: Wed, 17 Oct 2018 12:37:50 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [95.76.156.53] x-mailer: git-send-email 2.17.1 x-clientproxiedby: AM6P191CA0098.EURP191.PROD.OUTLOOK.COM (2603:10a6:209:8a::39) To AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM0PR04MB4212;6:6xIgmiA89vVx32WMNCwV4tyu/8R3EmFw3hUKDBFSGoFf2sTdtyKgMTrfxNyfK6L2oUsQs6D10RO1EkVou5ixWqvApszeniJrkPYvrPVLNCoSII9zgBJc5cZ1kKrNfbR4mBMgbUygfINBGVWs1sf2PkK3upw52nmYk9K1/xB6K32mikgi/bjhqOad8OM2oQUxzwnVSwIoriWxIWYwRO6oTlGoKC4BiguBkIVdXV/u5GTotjdKulA0RjJU3xs5ReR8X1xMQCBtdMYP1FV7q/SKM1bMnbIZa45dj396A8yJY4qz0/ebnUTgS+snyh1kw7yKFryzoyYesWIJDfFn5ggM09yyLWDg8we+m2Wa56jDik5C7C4Y7Ict/0IlFHmaPoOjjThyVHyt0GAQ3ghpgAdxUNk4qasWYJdzy/T6DwDcvc0USAzU2eSPqxw2kQW+3q4AZN/z32hhKxA1VxzmTmaWbQ==;5:IpdR+oj3WqHQxhQW67KSFrqrYQzgNdLWVKIWYJQ3GzcyUrnh1jNEWqQlRqJei+mTzd+appxLuJfvcKVUTDG71hJUdWJ6Tj4eQ5/NZ0gC8X7shlpJbKWhKM9z7kUtIDnjBgOZ/ifT4+ticKmhWO8U2f+jaOZ2itCToMylGrq24Bw=;7:EM/TcCttgWscBduA/UXTGSx/n5GinF7MsKUGyCnw+A8M5nIcCXLzzePpWcR1KJ6ohY7qydKmLu7S/IkUvtz4G7sO4ZiFlLcc7VeipV7fvYQCJn34Njt7wAMdouzlssGM8ZEOXyFmeoet7h0rBDYLp/0bESfIqMlyY4Tam/jrEbw7SPgLq+tb3bUx3kwdETpd7dnJNkI4Qw8NJkcygrlLvpZ9sPjPrdFhn0rFsY3MeW9Q6jzAOIjurzvMpCiLuyKz x-ms-office365-filtering-correlation-id: 00e46ef9-deb2-4710-5793-08d6342d59aa x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(5600074)(711020)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4212; x-ms-traffictypediagnostic: AM0PR04MB4212: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3002001)(3231355)(944501410)(52105095)(6055026)(149066)(150057)(6041310)(20161123562045)(20161123558120)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699051)(76991095);SRVR:AM0PR04MB4212;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4212; x-forefront-prvs: 08286A0BE2 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(136003)(396003)(366004)(346002)(39860400002)(376002)(189003)(199004)(71200400001)(71190400001)(6636002)(54906003)(110136005)(52116002)(476003)(2616005)(81166006)(6486002)(81156014)(7736002)(8676002)(50226002)(316002)(256004)(14444005)(5660300001)(86362001)(305945005)(66066001)(68736007)(53936002)(4326008)(486006)(25786009)(478600001)(44832011)(39060400002)(14454004)(6436002)(6512007)(8936002)(386003)(26005)(6346003)(36756003)(97736004)(3846002)(6506007)(6116002)(102836004)(2900100001)(7416002)(6306002)(966005)(2906002)(99286004)(186003)(105586002)(106356001)(5250100002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4212;H:AM0PR04MB4290.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-microsoft-antispam-message-info: 4mo4x0bGu/K23yD2g0oivPYmE8iCJ09bn+/0WblnZgYxpaHR7+Fk0KenfVQ5IvImCPXb037Gzej/uAKet1u1Ad7ZDjLLO3nsgCPMynXdlIr1KwiEdrd1/IDRwrFyCqMrxXtm1P893qu0po3JXi6ae3xJ2/OThun0+l4luU/ioJYp7MhFuN87gizO01SO6BS+KLY1Gq6EALTDCKL4j6wxahiGPSOKFEAJFXdytfwr2jfcs9ayhOqSh/aWAFYLPK2yNaAOxVxGBB0S/VmJT7AUYLPYtzzFQ4Ju/z6L9QyujD2RzUIJR/AlFbZNFfSdqleH18x0XhkeUG7RMNFrpf+t3fDW2N41uIwmvRJDkU/7/Jc= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00e46ef9-deb2-4710-5793-08d6342d59aa X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2018 12:37:50.7125 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4212 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The DCP block is present on 6sll and 6ull but not enabled. The hardware is mostly compatible with 6sl, the only important difference is that explicit clock enabling is required. There were several issues with the functionality of this driver (it didn't even probe properly) but they are fixed in cryptodev/master by this series: https://lore.kernel.org/patchwork/cover/994874/ Leonard Crestez (4): dt-bindings: crypto: Mention clocks for mxs-dcp crypto: mxs-dcp - Add support for dcp clk ARM: dts: imx6ull: Add dcp node ARM: imx_v6_v7_defconfig: Enable CRYPTO_DEV_MXS_DCP .../devicetree/bindings/crypto/fsl-dcp.txt | 2 ++ arch/arm/boot/dts/imx6ull.dtsi | 10 +++++++ arch/arm/configs/imx_v6_v7_defconfig | 1 + drivers/crypto/mxs-dcp.c | 28 +++++++++++++++++-- 4 files changed, 38 insertions(+), 3 deletions(-) --=20 2.17.1