From patchwork Mon Oct 15 13:27:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leonard Crestez X-Patchwork-Id: 10641889 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7011D157A for ; Mon, 15 Oct 2018 13:49:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5E3F229B88 for ; Mon, 15 Oct 2018 13:49:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 51CA229BEE; Mon, 15 Oct 2018 13:49:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EF69929BE1 for ; Mon, 15 Oct 2018 13:49:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GIUOybqt2Zh1V70E2j4exdwp9wmMQW+KHF67VYzwHVI=; b=eWL9MaOWN2DxEc cQEi8pJp5eQB9nzETjX3u4C5QCfvnbEO+Et6QBKNsLkF7zP5pPYig0YBeJoM4SXUBdfPpn23W0phP VI0hmTo2uA/SLZhDbZf8Lg2Ki2KLq342FZw5VSmhS8LVEU6O4Xz+mBFmDQMFUBbnUTGW6EmtIintD SUIU1Gic6sxuvCrp19SrIq2OE8gqrF0NrYMKEgWfMJ9ilQ+NaOfn4ZTJC/IYLGMevhzsj6X1XcuQu h+cCMwCoezgSJIMz73w7nixZix9G2kELlzYQ6BdLlMq4TPkUkG4yAYCoA1Hh4onTQIl7ddeLVZpjH AbRcniiTZQXNDvV4WcMA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC3FS-000435-Di; Mon, 15 Oct 2018 13:49:30 +0000 Received: from merlin.infradead.org ([2001:8b0:10b:1231::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC3D5-0002wi-Qn for linux-arm-kernel@bombadil.infradead.org; Mon, 15 Oct 2018 13:47:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=MIME-Version:Content-Transfer-Encoding: Content-Type:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=YODhhvAkUhFNRCCLNkAi5rue/pr29pROfb5BD3ojvx0=; b=uNwlrr79oOuIp8G7N78K2KjNML vvo8Vv9Xpm5uKsyRvtfTlfHldcvoANj78ccO/n2kJ/dpuynmFllnt4JN7bbqALy4U90YxauxA6XgL mdDzFBR6fV6yZS4b4dL15dizdLbpaEkn5MCpbqIPHcDh3aW0AWoJ3oFfHY+qF/ZzHD0dR1WeDLSzn uk8yfN8XwtfRHKml5pveacjYtFsljbw0xv0UMzqsCg/qCR1KVycNc1GCvq2lBZ3Ojsnf4fwjsAxH4 a2lSsTEflukRbQvKoiF2ZHXJXnq4wZzfy/04zRteP4tyxnWh4CQgXAQhWXyusMnPcTY4hLWoSvnB5 6XNo6HaA==; Received: from mail-he1eur01on0068.outbound.protection.outlook.com ([104.47.0.68] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by merlin.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC2uV-0008Lw-2K for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2018 13:27:52 +0000 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 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_092751_156231_09068A84 X-CRM114-Status: GOOD ( 12.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , "devicetree@vger.kernel.org" , Aymen Sghaier , Herbert Xu , Horia Geanta , "linux-kernel@vger.kernel.org" , Franck Lenormand , Marek Vasut , Rob Herring , "linux-crypto@vger.kernel.org" , "kernel@pengutronix.de" , "David S . Miller " , "linux-arm-kernel@lists.infradead.org" , dl-linux-imx Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 this 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(+)