Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3925346imm; Mon, 15 Oct 2018 06:28:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV62HzqSGfljS4TwKGlt983rxrEwBNHyVSauDEemtUiF0tg7TrKcDgvyogFxVAWOijLKC8Rub X-Received: by 2002:a63:924e:: with SMTP id s14-v6mr15781443pgn.141.1539610107037; Mon, 15 Oct 2018 06:28:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539610107; cv=none; d=google.com; s=arc-20160816; b=OOEXyFUVxL5D72fF3SVrWWTw8OZ2dCp6pH3nNZveD2a56mhmHQ5eea3KNgSPJnhiTY ELJIu347Msp2Hdsj42XK3OEHiRZl4kglaeXqYnrEM8BNlFZYLJfhK68J+vtMiraQhLBt +Pv5MIqQcMH05PzbUmLkhMs49TVuPmZE4ieoS+tEjvS4Ueie9qrvSUdR3GUvuH/TS930 p8kRXgnb2gw50F/WaL6KgKegE5UVPHDO4CUbvVVtGST/wY9WA5l/IWgp6redTbhaeoCA 1UtY0snN26Zsrt6mKjFAt2JiMc+T+SR9IP3ak1e9FNjGcfkns8JrP11uza1qiP5PIQy+ Rp6w== 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=YODhhvAkUhFNRCCLNkAi5rue/pr29pROfb5BD3ojvx0=; b=SRIggDnSYlXkF80ymRmHpQmcX5JxWmWO9S7ASjL81Ri9dkNzZFBfYvMdYApFVGIO23 /EpEXBUIi/LDbFe23VLi/dzTDFgCEnLCp35EyhVF+YnoCoTbpQZBvVGmFnfE2OqGhBYZ XD/L3H6g89ujUFV3bp/VDUTan01/wJUeNy7cZMkdyG0VFOcYOTELo8ZV6YloFv/FUtfV BlhxM+1w27SgKOGYyQkhWKQyYRGcVxEMTJ9/4BDJWLd/y5T+X7aZzx6aN2VvGiW5ViPS d/wi9+19AFnHc6SMXxrN16Q3lqWzWOh8pbDxDGT0qPtBlhzqPVRHLB2VnM/Wdd59IOtV l2ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b="XJU/SuF9"; 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 l91-v6si10912090plb.315.2018.10.15.06.28.12; Mon, 15 Oct 2018 06:28:27 -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="XJU/SuF9"; 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 S1726681AbeJOVM6 (ORCPT + 99 others); Mon, 15 Oct 2018 17:12:58 -0400 Received: from mail-eopbgr10067.outbound.protection.outlook.com ([40.107.1.67]:30160 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726422AbeJOVM6 (ORCPT ); Mon, 15 Oct 2018 17:12:58 -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=YODhhvAkUhFNRCCLNkAi5rue/pr29pROfb5BD3ojvx0=; b=XJU/SuF9OterUKrOyLAqqni5mOTfhtZ0tDtFtvTwnGOGn9KcMeoFOPqTrE2r9kbQcUYJivAArmLMCaHc7CMBlJa7TH7bsACXqeMPgCVlajZZ+nAnSbOY9Hq5QCE23wCzKsr7a0+E8YPGHgBgCkKKRo4YbS235ipSVxK1FgMM35w= Received: from AM0PR04MB4290.eurprd04.prod.outlook.com (52.134.126.145) by AM0PR04MB4948.eurprd04.prod.outlook.com (20.176.215.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.26; Mon, 15 Oct 2018 13:27:35 +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.027; Mon, 15 Oct 2018 13:27:35 +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 v2 0/4] Port mxs-dcp to imx6ull and imx6sll Thread-Topic: [PATCH v2 0/4] Port mxs-dcp to imx6ull and imx6sll Thread-Index: AQHUZIrVW85xcbkx8EaJGu2CO/Ct4g== Date: Mon, 15 Oct 2018 13:27:35 +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: AM6PR0502CA0071.eurprd05.prod.outlook.com (2603:10a6:20b:56::48) To AM0PR04MB4290.eurprd04.prod.outlook.com (2603:10a6:208:67::17) authentication-results: spf=none (sender IP is ) smtp.mailfrom=leonard.crestez@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;AM0PR04MB4948;6:be///9kHyu1RN/CObEm+KxKFkGdPt/5jXmbTrHobSuY6lTOfc7KroAPO9GM7YsobXCQ3DSuhEYgXbsyZxJSk3fhm47BnkqmL1mrnMxqmN1/8Dy6B247NQqIawMUifufEbNqMvdBxvvjX8MfaIIXi5bpi62BrRZt/s17/tPUmab5QTY+qEcTFoAo3B3Vscog+VEx8B1EhyG+28sUndaKW8oyQqj75nlY1LUKKz6tWZ/I5kzHDcmPMxGNgof3EhiFFkyVP9TCSIDr1Ve3DFPPUFIAL/HpP6qeKgQj+K3BRvhlDWQ/OUZzHsE1Mo0NIQ8V/tqt8/aswTESUGLWDTVDb+RO/cMGQ5+Oqy3UAoBWuAZQeqoW/8LqvJTKM9XXdo4NGNdNBf3X76m6w9CwS7DKQMDImC/pc00iIBwsJw2cm97A4hjkRgAYvnNPWXCeJ17gRIOku4AeMuStMWkSZKPw45g==;5:XXs1dmGyKtU4MH9a8dxodPL/9d+UQLHISC3sPSxUlFOTvDuGHa4mDYfeYogim3U3gjS8Qlw/Yn3S1qx2Cn8fdXZxgbKIeY1MAXSlTZnPbxGBdwaEaC3iikAfhvB97E04KEhRVwcLk1fO2ueiU58zBeSLo2ici1JR2AWu4sdnq6s=;7:QL7KS12nI4RPgeDTLJJEXM21JvhiZqF9XMdbJUk1DKcMAiOqzf/ffEy6ijpt2uXcHlv3w+Y1HuYQZJ1bYAEphoTuLFMdMObE4fc6b+dp6nXUTleTumH2w+K1dXeT6+ktJFbdMjXsm7BGX4E1B0WvbK+mIxTPgH2V5q36t68xfpdxWM7NYbt7VG1JNzoA9/NmWM7Eg/t5szWbeJYVKerd32rV8Lx2NCebZb86egKzkXB3el0KlxgzW0aAbqlR4GR9 x-ms-office365-filtering-correlation-id: 61ed229e-b002-49a6-f4cd-08d632a1f7d5 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:AM0PR04MB4948; x-ms-traffictypediagnostic: AM0PR04MB4948: 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)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149066)(150057)(6041310)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(201708071742011)(7699051);SRVR:AM0PR04MB4948;BCL:0;PCL:0;RULEID:;SRVR:AM0PR04MB4948; x-forefront-prvs: 0826B2F01B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(376002)(366004)(136003)(396003)(39860400002)(189003)(199004)(97736004)(105586002)(256004)(2906002)(106356001)(53936002)(102836004)(52116002)(6116002)(3846002)(36756003)(14444005)(5250100002)(6506007)(386003)(66066001)(81156014)(81166006)(305945005)(486006)(8676002)(71200400001)(110136005)(54906003)(99286004)(966005)(44832011)(71190400001)(7736002)(478600001)(39060400002)(68736007)(4326008)(6436002)(25786009)(6486002)(5660300001)(316002)(6636002)(7416002)(2616005)(186003)(26005)(8936002)(86362001)(14454004)(50226002)(6512007)(2900100001)(476003)(6306002)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB4948;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) x-microsoft-antispam-message-info: 7kV9a74GWzyooQAdupmbGEBPJ7vNBhfFG+Q26jErGQBAhqOwsT/fHc1nbX0FnzBkEGu5BRivvvafG2Z3YGQX+qizTcLgvIHHoeZGBbhi1VGnWsW/OdDYSfG/ENXowMe/OG6H82bIkpEoCtCJ/M+KLxTo8uJ/wgp97vNa9GH/jA5ELCnd2y2MSIWi3wMXuW+6HSn+1UPtshPPLJZDshVZOij9peszInuDoWTmS94hrrJLNaJGZXBSGOV7bqWvFDzviRPldXzfC6PtQPq0pEd9LSFCLFtOawpfVh1fstF9wyZfIycpUvnXJD7FbxASXzibD7N2D0xgBfmLWXlL06XYS/cJog1Gg7lK+HERm3aq9QI= 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: 61ed229e-b002-49a6-f4cd-08d632a1f7d5 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Oct 2018 13:27:35.2874 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB4948 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/ --- Changes since v1: * Add devicetree maintainers for dt-bindings * Add a patch enabling in imx_v6_v7_defconfig. Since tcrypt now passes thi= s shouldn't cause any issues * Link to v1: https://lore.kernel.org/patchwork/cover/994893/ 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 | 18 ++++++++++++++++++ 4 files changed, 31 insertions(+) --=20 2.17.1