From patchwork Wed Mar 1 01:56:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 657949 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01CC0C64EC4 for ; Wed, 1 Mar 2023 01:52:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229716AbjCABwY (ORCPT ); Tue, 28 Feb 2023 20:52:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229744AbjCABwT (ORCPT ); Tue, 28 Feb 2023 20:52:19 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4439298CD; Tue, 28 Feb 2023 17:52:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PDyGs7DjX/YhccK7kvjoQ7lvetOx44mPRyJfm4x7WCo0D+K7n2JxdN5A7Y5mHn+wh3K00BoMfUbSGKjcjfTiNz5zIKdoLZ7v7YCumcXtVDW8WeHIdwx///zu09SV4oQJeowHyNLYtkGPPq2qBnVuN0iMyUpSa5KWbCS36j5j7NbZgx2o2oEmA/5U56U9BoSpd8thqv4cnr7Htb8miXDPbRlnN1PuI35lGg4sfuxRxcq5ZBsVY7gGMjtoJ7F1s2vTRDfJ7FUzPGnlVQDkMqBwK4d1HVxla7VBS2/HNlFsYXuwDKWr6iwznBavwL42sm0iLySUVZIsrI/amD0QnszLzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=e4OhBBKZ++XggZII0kwCZ+WzDuYULs/YkD7TUUkZPDs=; b=kAlUtlI3s5Dc2ngtorEXeJH3YdrRnNQrjRpSEOMpnn5ChPnFeybabggmLkW3Iv/Q46m5fhrwiAjMjOK/A7N9SngXihllT7phk1qicB594oF9l1vg5GmIvhtri2FRe0tBaWKxbF07dHm6vIGJ2AkCGzLXWTxFhs6FyO+nMNi5KdziH7evep1Xvii6Um+mmQyicvjRewVwCWdN3qryo/b70cQZoSzBjlLtJTnhq8c7BgoSwTaVmdM/Acv1b0+oIjYwAbLMd5RgKuraqvmkmOSNuBXIEkQpfh3Wls3fXb9TL5aPlux9thbvpIoaH4F6j1wCUZiwKAKF/RnoqJA3jF7gpA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e4OhBBKZ++XggZII0kwCZ+WzDuYULs/YkD7TUUkZPDs=; b=SfggeiYul8iUfmaIk8B/WHr78of5Sd5Y7VegSgNK1QUZMw93hYNblE1L2sGTAqac7nYiWBXeBCdsK2i1daZsNcA3g67lrWlk0Ys/hbK5HlLNBv4UZbNMGyoImRvbXXrBHueSy1RLsGDzAvM6XqcvA7mbF95MK+UjUXYS6DDxPXE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:02 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:02 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 1/9] ARM: dts: vfxxx: drop the number after jr Date: Wed, 1 Mar 2023 09:56:54 +0800 Message-Id: <20230301015702.3388458-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e3de60c-e14f-468f-9b5c-08db19f78d40 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mvTQ8fhaEDRLMOw4WtCSFpKHwRRUoiPTq/mvtxUiS58ApqMKhCQXhfBqoi7T2vmc4fabrqJNjagFAyKFk4jzcX3nwfjJzPRWiYv1UXx58eua5qHblkov4wZiMYx06jqe0BWI492BqV69mgZ8xYfWcSiktO90IghllEJGrzHd0d+dTogZK2Y9Zq9R/wG2O/yloEgm80J+qcvEAsINX3XxkoJ3Bcn/7XaPpza1JOJXOOWxP9hk2iwu9UByCPOBv6KWAyjk/oG+5kN82ez5oyxZXvnNkY9UwY4j/lsaNyOmb+TcQSYm+j06d/yX+cULQMULyNlzicBBoM+jqIVRQ2RDuA172pELCJEMio28Cj5tPZD/3MnikEthwdgNSWqdrvqgyVQ+lTbbDoo7PX0IPH0au7SAIw3ZZkITc/Nph7d9Y7DOHH9Girw+F6rphpNLpuD9VdffQxTNzfDSmCr0qaY22tF5PDpWKp2Ide9GnEV8ZhCEztMj3KvTteVRlFPk6XRv1qiqZ2tOw6/zsFA1Pm9mnhI1cQoypLgND5GlCxEg7bbh6T2NX7YoNXDIUgHQhv7ahI6Cj9Nx1UnRqjCnNRQisoNPvrGpps7mTFMvy6kWdUTDeLPEH9usQBVF8bB185HWpNvUVIQJzkYZC8+4KNUb1ALiU2g9VouRE+lrHBIErcYihsu9dBChOneb3vtjZyUELlidUTzilDb3WOlCh4Wraw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(83380400001)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(4744005)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: x1OnefngzYoQ84H5IYDC2PTMwqb4MFzqTPLTKxAPXqRx67Cn4QAGyOr4/k5xVLTyylEdnGew1Z/34xPHKKA1cLqGoK5tfHzXF+WNQvyDg/Ab9chQCmjztwlt9fYzWhpPONppur7SykRhOqd7w+KEA1q650YTUvBaaDKD3M2EMfkLknMxOdQtRma+dtQ03hxNth9ttu1lzK/mBSzHb00QAloHjDj07htD5OcDrndbTQ35BFHCITn9cVEm6WloLmJ01zf8iSFh8sT3OWaeiQDSWlvMcZdNhTePLP+U3SkbNXn9BQyxUDV97F8gJrmuCWXqFTG8jhqWom/HovtJOSYi/+vhAzdlQ7tAovBusEp4AGZpitFGGd8iSu9xbIna9oR6+uXgosnYOIPArUsS7w7TcWUz3Pef+kkAWx1kQnTmQ8CK0dc/p42iSyJT9q/Lrd6pYupTXA0g4HdBYuDF21jpBTrtu/fR6lNGBdB/s//7mIwTVO3AY7VI97wgft2YvL7q6dzQoAjj38sYhaFRiFHd1QqqJ6Ne8JRjkvCgung182qAa56Urz+Pyx7QW5NDGErM4gDZkuhZAF9RsZD9IuflKcOUqXuD0+/aR5g/MhK9r7TC+tYr8fp4lgGXBdEh1sTitZ9afBO/PTmsdplqT1GcJltEtbbZpSxTioPkZlnmQTgiRiq+hA8Mde36YfSVvISO7zunkgjr28P5j/z64FcutG0EfmKOoVMOaTWIgwLjh79VfYbQDgFJSVA/vZXEfAuGd022z9SOZ1Wn3uFezdz1yWeWnegVON86yNs1Ner7ykwM4bXMnSg5rpziuI9ZX8K+xaSawA5wr5QRiaxDPan1kUsDbz5KoC71CE2qwaZFq6E1P7u51vO57FiufBD3DfpEKIzdjp2uF0fRlql8HPKf80v/q1mOcxHZ/DLmfglgg3ktsvbDq7i68MXLkiWyP+xxecHMBk7F6PD0LQQ7+BpTRX6bHUtZBNQ0U94iwu3M0XmdPYJeqp7a46ZbnJdKGHxeZ3OYIv2YqNiJOyL9sDkyRnMmLRHl6+n2w8KhAxczeu6cSqV9FICYHP9EpKRb/+jMWDtePGHwrl3HrOeoNLRYGXIX05DMzDxFm2VicyvZofHp9Yz1rCeQqayorHabwWl4MIcYYEAUlt/UfQS+favyLheRl7MmxPuQydChtEW7/HFIQqCTsPung+2PLNay/RSyf0eJxiv4s9uZOyHDKbMwI3QXWLJU1uwo6xRL2lF4WYUCvzYFe+J7E8ZEMF/8cBnwjQDUM8K/hutsdGe9vzjAB2+kqb/vVZlBwFaE5OOz2PiteI/9cPj9XSH57OBmI/rHUYl4y0n6uKvCzo+R2FwAg4qYTSS80moQHkow/VMesYyO1pOm/e6Ep5y9bAK+gg12d2pBeUhKwObg/WJPhM2k6c1tYtdl/TMx3/Imrk4dRdzt87+iey+V3/sTzMXTCrgLm50j6EYcrEidOxwzTbfsY8LiD2iMIGd2Gat2tJ0CKY11cXdhEURyTreOiXZjktWm0o3qeWeisYrMu+8PH+kbCnR+RtAz+pMfZsh6xPUtnF7UQlwIDWRp4l0jBIBVvSqu X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e3de60c-e14f-468f-9b5c-08db19f78d40 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:02.4088 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: zen3EVCrNyz2pYFmZtSl9e5qpwWBPlv+eO4E08QexCKOaOtcbFHKcogydGoqDf5P35Z4uLXNVZiuohGikZWzVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Drop the number after jr. Use jr@xxxx, instead jr[0,1]@xxxx, and the DT schema will reflect it. Signed-off-by: Peng Fan --- arch/arm/boot/dts/vfxxx.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/vfxxx.dtsi b/arch/arm/boot/dts/vfxxx.dtsi index ff4479994b60..61ab76c43a11 100644 --- a/arch/arm/boot/dts/vfxxx.dtsi +++ b/arch/arm/boot/dts/vfxxx.dtsi @@ -735,13 +735,13 @@ crypto: crypto@400f0000 { clocks = <&clks VF610_CLK_CAAM>; clock-names = "ipg"; - sec_jr0: jr0@1000 { + sec_jr0: jr@1000 { compatible = "fsl,sec-v4.0-job-ring"; reg = <0x1000 0x1000>; interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; }; - sec_jr1: jr1@2000 { + sec_jr1: jr@2000 { compatible = "fsl,sec-v4.0-job-ring"; reg = <0x2000 0x1000>; interrupts = <102 IRQ_TYPE_LEVEL_HIGH>; From patchwork Wed Mar 1 01:56:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 658240 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26B15C7EE30 for ; Wed, 1 Mar 2023 01:52:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbjCABwh (ORCPT ); Tue, 28 Feb 2023 20:52:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39320 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjCABwc (ORCPT ); Tue, 28 Feb 2023 20:52:32 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B11CF34312; Tue, 28 Feb 2023 17:52:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oGN+9A6vQHwX0sMxroLuvJmYblEJ6//xYoeyz5hNMYVb8L8hmlC4fQz4SlUu7me2t3D/L1+hETQG+i+vfdqGnM4tI28sThJK63h2Hvnu/zcyPK9Rc/plvpW9Inrj1tOjiYdiyocNMiaoNFbjNLcS1S1FgcbFzniXdFj7MW2hHLttPc3GMwxmFYx1fq+aqfwscQaPXTOWGgid0EAIQszliGAZUlsgn88arF5Y5cWLaaMfOEfkK+QpeaVPyfBglsZW8tIeMtyXUFt82DodGCEthOjYQqYvPhDhX3Wrn7EFnvHddBVfeepjCM7wbmiuCrNtJbrIDmowLincwCmFqrEV7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qsXtab0as+OVxMANvpowOSHiNt6eXiozzCDOrbHISnw=; b=P3QUGzFLFJWE3ak+eRJKDk10mBuXlIHVSYWLhKuM24PvWGoBQ/BRajWg3de0VeoFrmCxwzPzqVp5tbfNf8rbshaDNtArvTbm0SNdU/b2Gzj4Y+7DgGKAydQimMZf6MRvXv0LBDCU7tDkAAsGPkjMHWDPE1D2+7tiZwhgAJpxCBPHAgHubqNhfnu93rNyb5yNK/q9ICeOEM/RAVLWteRToYMLVLXawP3KQfi7ZEBUNouFs45CwLTYtbjuc8WLlD1T5UdwGa2bN537SMnjZlIowdvuoG1cCKC21kU5s6U9ppwuiHvkmFealHtwMmSBaW+osadve2Trk8uX5s8IJWmVow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qsXtab0as+OVxMANvpowOSHiNt6eXiozzCDOrbHISnw=; b=lBN5B6z749VkdCbm8L3R22PAasSwB6cDXq/p23yn6NBsvwjv1OKKrPSJiSMW0hJ3XumbJgisc9vt9ugZf3oLdFYHFgNrdIdqsHRimEifGyjzv5GYoVrjx4PDZiBo+rRBnIJE8OgLpQJCNuUA4rQWOYh1+J1Zi4EFzGgVLO+7GwI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:07 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:07 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 2/9] dt-bindings: crypto: fsl-sec4: convert to DT schema Date: Wed, 1 Mar 2023 09:56:55 +0800 Message-Id: <20230301015702.3388458-3-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 80cbc8a6-74f5-4be6-17ac-08db19f7901f X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ewLFvT7QUTmKbZQDyx97m1d11VG2hPJxcY7c4AUP4GXMsj6RiERQq4Y+g/J/kpyX4Jr9zykNGIxnbS/axU+VguHTvdAlbTw1nu1DWPbZfMtOPdUgA+H0GiA7nVlSVHF0p/e++jptVdhJCc9k1Zo8YD2O6c1RVOkPajDBr1TuJ7A07ZlClvGyaCXhsJq7d87fqRG/MEqK17YXIPHnnEUay++CFiCAVR5/2aG+xe+nvysqurumlFcB/XHsOqYrgFv8Z30Nxk96oYPsepJaKZyLp9X20kMa4KCAwyqstmWFzRYtNep+nub4JjfekgqqSVPJAmjBb3OkkBHqcdCW+/qmdrTVcPyXpmyn+Ros/fr4LAPOvvZgXKbEPzY5EaxFw2zqh3L0IZNc9KZuFC4Sz5WrgyLI3c9XM9evnDtpkXmSCK5Ntf/VSKG7E5DEm6eic7pHojHUBF0bS2L2RL4ZOhVBFC/HvK4BJQ/VK6t5019n7VggbiVHlEfpWwLeqP9J+UZrx+2S5ABDIodu0hGCHGw/yfvWoankymoP9dZFEvc7uFLeRyhB/kYPxlXu+P+c9tG+HLcaNrRf3IF2/ADZ3Kk0MKkeQuuc0Eg7rnGqA83HWaK4oC80ts4qLuB2f3bmapQto40e1rdrZztkQYCvNdF9sWeRDCbpN2iBr4GK5DVWS/AG76DdZeb0ZV9OGE1w5UycXceC2HZaIZBwS32hXW9o/+t5vVC7Zjg9NiJVVr2ZBQo= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(83380400001)(316002)(6666004)(2906002)(6486002)(966005)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: WftLPRYIrAkluYNLM+Ddt6UkISSbMqp686TbXP1JhitseWIBuxBxfcW3TRgr5QyvW8PWCYc7PEd7Wt0M8mMTf73yF5OyqBR07qOoc5QUI/jicjtfXTQF5ifx8MWBv8DiwErcRiXlE9rbXxJhoqfMwStVmr4wMR63tlVwKZI98hYNQuYPf4AOSEN8Frnwu68zPVsTN54wAogLHuY4Pelcpcu8boCVheRjKe1Jf5TdgAq5AILMluVyiXL5MrkAl59leqdLB0sTTX8XioBqvNzM6Oj3VrIMxLW6CB3uVSsuwp2svxCvY7PFtXltOSRbuoTQERd8RZIWUurp7LDORXq0Iy2k7Ysv8XqVG7i/dD0TIOw1MCYuYp6P9umiB54GuorvIFaDV/OdKqljqHWGu/cMTdLC7OCcAMHYNZcqbd3WiWj7VajUINaWXcPnUNr5vDugunN7P96jGRTje5Hz8ujeyzfcB4TVa2DgVLQTFTQn/uUo94d6R+piWNNoCU6Nj3G5LNqWyuPjvrgiY/4qMj2rkkHgGZRoi5D80XpR/I9aGYLFeRKWdTgkFiFo06R6DW5J6UbsJrWo0m1Y+v6jTM2Et+oNUpOX1fvPrPSHHKmVpKSNnQNdSEJpDOWm/HYznlP4XvMn/3y811jhjFsb5aLKvlRVjcEJ1d6nJQxGe1Wn0kXLOZB5t2j71Ap3Ij1+Nw7aagcQBeT3NJjnzsSl4w0uihrc5vTAWN3f2mIV5C1lURDpnfqz67su6x0XH+hHm8ahjoR5KCC3izQXn++6ExeIFDF8s1cH+epMwFgWINLU0A3aZ0hm4dBc7IispEJ9gIWNznolZTiwYLSymL5h10XFe1NJlIMkbMF9MMPzZ8XmP4id+AkmLACiYCp/lo4+N+QXDWoXSutBcjHd9jf7Vl2VWwUK6+ImNNvfzd5SlSEH4nHn7b9/0bRvGNyB/PrYGu4OGbq2F7fqOUj0wMQCQtMlZixk5Jy6t2TVXHnZ3Ws4gmwB9LENoAGivVWWZShQ6X7zWvxCAVR3Q+vKKXKo9sF0CKFxysfESk9395Ns4Xlc89SjpfiS5qqC+EvbQoEmWCZ8STEmR5MLrk+zbYn29Iz3pUwUcjjetYBQAcTvCXfx2yN/SkhVZ8QBbfrq3mMusQeIVdbpkDZj+YNr2lveGDOoZ6WEdM5gg/ZHoA0gi8ABEoepYtWHT77IFzmGN/S1tcTpOyyXjdxdyvKaEIsOtIhAail8UGKB0fVhkiySaBGGr6j+JdUWNPptwNFzuIvendXhLIXinxWbswNeR+/4U6dqaBGVAAtcPOLD3xeq9n/aYKzALwR8LdWtgaodi0WMlepx1+uL6rIIv1ECt/jvrpwOZqJy32JaeoebFi4KxbQxQNid1az1Z+KKW9tR5oH7VRAjzNAp5/gp2cakO60JAD1IpNiED3kpBg4RhB1qOvlGCxMeaCLNc+2Wx/Y9XSA32Hd3eteOA59r2UHrOojfOxVrQ2yy1pKg5doWrTycRLKrF8olJaEFVn4p20KvF9b1TkSEpjj+xdfw9qK4IXbXfIqoGUXFEZu7LcBdpQA0KkhrENYc2MepxG8VH2Sin63jqOKS X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 80cbc8a6-74f5-4be6-17ac-08db19f7901f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:07.1924 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LwCNfCQahELEmFyyitbAUuZEBLMi2kl5brhoKwcWpuw4OKiuYsA6SlvmE3C3lo1MBgZBglsGNdINU/SMhRMtAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Convert the fsl-sec4 binding to DT schema Signed-off-by: Peng Fan --- .../devicetree/bindings/crypto/fsl-sec4.yaml | 324 ++++++++++++++++++ 1 file changed, 324 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.yaml diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml new file mode 100644 index 000000000000..678c8389ef49 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml @@ -0,0 +1,324 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/fsl-sec4.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP SEC4 Crypto Binding + +description: + CONTENTS + -Overview + -SEC 4 Node + -Job Ring Node + -Run Time Integrity Check (RTIC) Node + -Run Time Integrity Check (RTIC) Memory Node + NOTE, the SEC 4 is also known as Freescale's Cryptographic Accelerator + Accelerator and Assurance Module (CAAM). + For information on SEC4 SNVS, ref fsl-sec4-snvs.yaml + + ===================================================================== + Overview + + DESCRIPTION + + SEC 4 h/w can process requests from 2 types of sources. + 1. DPAA Queue Interface (HW interface between Queue Manager & SEC 4). + 2. Job Rings (HW interface between cores & SEC 4 registers). + + High Speed Data Path Configuration, + + HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts + such as the P4080. The number of simultaneous dequeues the QI can make is + equal to the number of Descriptor Controller (DECO) engines in a particular + SEC version. E.g., the SEC 4.0 in the P4080 has 5 DECOs and can thus + dequeue from 5 subportals simultaneously. + + Job Ring Data Path Configuration, + + Each JR is located on a separate 4k page, they may (or may not) be made visible + in the memory partition devoted to a particular core. The P4080 has 4 JRs, so + up to 4 JRs can be configured; and all 4 JRs process requests in parallel. + +maintainers: + - Peng Fan + +properties: + compatible: + enum: + - fsl,sec-v4.0 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + reg: + maxItems: 1 + + ranges: + description: + A standard property. Specifies the physical address range of the SEC + 4.0 register space (-SNVS not included). A triplet that includes the + child address, parent address, & length. + + interrupts: + description: + Specifies the interrupts generated by this device. The value of the + interrupts property consists of one interrupt specifier. The format + of the specifier is defined by the binding document describing the + node's interrupt parent. + maxItems: 1 + + clocks: + minItems: 1 + maxItems: 4 + + clock-names: + oneOf: + - items: + - const: mem + - const: aclk + - const: ipg + - const: emi_slow + - items: + - const: aclk + - const: ipg + - items: + - const: ipg + - const: aclk + - const: mem + + fsl,sec-era: + description: + Optional. A standard property. Define the 'ERA' of the SEC device. + $ref: /schemas/types.yaml#/definitions/uint32 + +patternProperties: + "jr@[0-9a-f]+$": + type: object + description: + Child of the crypto node defines data processing interface to SEC 4 + across the peripheral bus for purposes of processing + cryptographic descriptors. The specified address + range can be made visible to one (or more) cores. + The interrupt defined for this node is controlled within + the address range of this node. + + properties: + compatible: + enum: + - fsl,sec-v4.0-job-ring + + reg: + maxItems: 1 + + interrupts: + description: + Specifies the interrupts generated by this device. The value of the + interrupts property consists of one interrupt specifier. The format + of the specifier is defined by the binding document describing the + node's interrupt parent. + maxItems: 1 + + fsl,liodn: + description: + Specifies the LIODN to be used in conjunction with the ppid-to-liodn + table that specifies the PPID to LIODN mapping. Needed if the PAMU + is used. Value is a 12 bit value where value is a LIODN ID for this + JR. This property is normally set by boot firmware. + $ref: /schemas/types.yaml#/definitions/uint32-array + maximum: 0x1 + + required: + - compatible + - reg + - interrupts + + "rtic@[0-9a-f]+$": + type: object + description: + Run Time Integrity Check (RTIC) Node. Child node of the crypto node. + Defines a register space that contains up to 5 sets of addresses and + their lengths (sizes) that will be checked at run time. After an + initial hash result is calculated, these addresses are checked by HW + to monitor any change. If any memory is modified, a Security Violation + is triggered (see SNVS definition). + + properties: + compatible: + enum: + - fsl,sec-v4.0-rtic + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + reg: + minItems: 1 + maxItems: 2 + + ranges: + description: + A standard property. Specifies the physical address range of the + SEC 4 register space (-SNVS not included). A triplet that includes + the child address, parent address, & length. + + required: + - compatible + - reg + - "#address-cells" + - "#size-cells" + - ranges + + patternProperties: + "rtic-[a-f]@[0-9]+$": + type: object + description: + Run Time Integrity Check (RTIC) Memory Node. A child node that + defines individual RTIC memory regions that are used to perform + run-time integrity check of memory areas that should not modified. + The node defines a register that contains the memory address & + length (combined) and a second register that contains the hash + result in big endian format. + + properties: + compatible: + enum: + - fsl,sec-v4.0-rtic-memory + + reg: + minItems: 1 + maxItems: 2 + + fsl,rtic-region: + description: + Specifies the HW address (36 bit address) for this region + followed by the length of the HW partition to be checked; + the address is represented as a 64 bit quantity followed + by a 32 bit length. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 3 + + fsl,liodn: + description: + Specifies the LIODN to be used in conjunction with + the ppid-to-liodn table that specifies the PPID to LIODN + mapping. Needed if the PAMU is used. Value is a 12 bit value + where value is a LIODN ID for this RTIC memory region. This + property is normally set by boot firmware. + $ref: /schemas/types.yaml#/definitions/uint32-array + minItems: 1 + maxItems: 3 + + required: + - compatible + - reg + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + # iMX6QDL/SX requires four clocks + - | + #include + #include + + crypto@300000 { + compatible = "fsl,sec-v4.0"; + fsl,sec-era = <2>; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x300000 0x10000>; + 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"; + + sec_jr0: jr@1000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x1000 0x1000>; + interrupt-parent = <&mpic>; + interrupts = <88 2>; + }; + + sec_jr1: jr@2000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x2000 0x1000>; + interrupt-parent = <&mpic>; + interrupts = <89 2>; + }; + + sec_jr2: jr@3000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x3000 0x1000>; + interrupt-parent = <&mpic>; + interrupts = <90 2>; + }; + + sec_jr3: jr@4000 { + compatible = "fsl,sec-v4.0-job-ring"; + reg = <0x4000 0x1000>; + interrupt-parent = <&mpic>; + interrupts = <91 2>; + }; + + rtic@6000 { + compatible = "fsl,sec-v4.0-rtic"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x6000 0x100>; + ranges = <0x0 0x6100 0xe00>; + + rtic_a: rtic-a@0 { + compatible = "fsl,sec-v4.0-rtic-memory"; + reg = <0x00 0x20 0x100 0x80>; + }; + + rtic_b: rtic-b@20 { + compatible = "fsl,sec-v4.0-rtic-memory"; + reg = <0x20 0x20 0x200 0x80>; + }; + + rtic_c: rtic-c@40 { + compatible = "fsl,sec-v4.0-rtic-memory"; + reg = <0x40 0x20 0x300 0x80>; + }; + + rtic_d: rtic-d@60 { + compatible = "fsl,sec-v4.0-rtic-memory"; + reg = <0x60 0x20 0x500 0x80>; + }; + }; + }; + + # iMX6UL does only require three clocks + - | + #include + #include + + crypto: crypto@2140000 { + compatible = "fsl,sec-v4.0"; + #address-cells = <1>; + #size-cells = <1>; + reg = <0x2140000 0x3c000>; + ranges = <0 0x2140000 0x3c000>; + interrupts = ; + + clocks = <&clks IMX6UL_CLK_CAAM_IPG>, + <&clks IMX6UL_CLK_CAAM_ACLK>, + <&clks IMX6UL_CLK_CAAM_MEM>; + clock-names = "ipg", "aclk", "mem"; + }; +... From patchwork Wed Mar 1 01:56:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 657948 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1968CC64EC4 for ; Wed, 1 Mar 2023 01:53:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229759AbjCABxB (ORCPT ); Tue, 28 Feb 2023 20:53:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjCABw5 (ORCPT ); Tue, 28 Feb 2023 20:52:57 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCF422F7B0; Tue, 28 Feb 2023 17:52:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0znM0rHKBnXfNQuo62yrvBHBgQJIA9Nz4+rr1CVWVI8YRXmn9adWMy6TIo8rTdZXc1Ur5GO78miDK2nw4eILNInCq9DduD0UGzh6+NK5HO2q4jL8SM9TJxAZMY4FKdNm09ui3SE6X6dKK9wgyiUbwGyYnshFPg4Fd6RNx/krheobsbxYPt8qmFMgANRDOzFKJh3O8VtdT9pkhrNlW0M6DkWDEOovJXnW0aAQUBI5R7k/Xg4luEpHiaGLoUe048BqRxxn9ExYkzYyp1Bj5amfNposijmo1wLL27V/9BZOqnYtRvmvneBdfAyzDT2FBPe6EUq+44ktJWfO3Dd0UOoqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9uLq7GYxk3Qe0dv5yu9+hoQr5GyJIbIGUhhpNFNWGDc=; b=GjlRHLFkug3nO+74vTgqndaZpmGnV7PF+KpQvfUYw3zyAolXMnCuJN8XB5StQPArQJPVoAaByYU/kSZw4EvD80sVBs34WKVGkpm+BmEkcZSseev5yn0tJ2+X2JD+fZcZLWOkRg5QMBtTbhVnE9JaZBvDbVmfycZ9UDPljq2HmoXGzshJhtiOnS2Vbfz4SixFYDQooCyZuv0r4TUn7SH1DrOO/4Q7gZxJ5oWeWADdYPbRW4BcektuVt1vpujn+ZNuAwsVFJ53AWUw+lHqRScniTKE4l/3qVj8yh9Q5sE2t/k6UDR/2gs0uAP42vAL+IZ8JgmHarFq1JBs3A6nJThOBA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9uLq7GYxk3Qe0dv5yu9+hoQr5GyJIbIGUhhpNFNWGDc=; b=CTttcY12Ak/DfcgX53bhdnCCRr6d2w3kyZyyUx6ymHT/mwMSw3rNnTRJzAYpea+JCmGJPy1XhwnfB6ccuV6+r9LwCl6GHH4JdccW/nRc9oEOcc3edjJ/s5NcMcjoXh7iNwA6rojQ//9ZvSk/0aK/A6bBFpZeAoMGXa8FU+hPZXA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:12 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:11 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 3/9] dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL Date: Wed, 1 Mar 2023 09:56:56 +0800 Message-Id: <20230301015702.3388458-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 353e6c94-94a7-4ecb-8d0d-08db19f79301 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0/cfdHBuAleVd3zWn1XJ8Y8TfA0oo7XpnVchJO/COBZAXgqOA0KYfECr980W71iZ7ny6XDYrFUnhMkBKiENmhCXlI6LGvOAxXpFiikgJb0Naxx8evbqROPpRs4sceKC9NoiO2oEYYWTxYCirvyXFFv0wWZcqStnGwUA9qDlxCIHkVahg9Bir+4v+n/R8sMJ3UXfRI3ssLa6ODow0F49hZg/JtX9hyWg9gno/9mDGn7XEnlSmLkNIolaxxZmrOmt2Vn/yuV+6ekV4JpX/53kFN5zJAFI9dByIUwwRfeLutyO4GGwVz/cT+i9NGdTc2eh5GgAba3Ymb34U1Xzl8I2X7ZeHoTbm1/YLaONZVKGZjR2g4iBN89tHej3QPdfERB1NVeNdGklFE2lw/dMYm6fh4duN3EU6XCiiEiYXyztq7w6uVNUOyTVp81Hy4VHVTfQNXmMMyK87vddOaUsebYvFPj0Bq4a6mqqdQYezFey6IrEka0Cq1LwhSbHJjn0Hy5KiiJOp1MD/veDXCSghJtBTAPREDVMmgiNR5+bDYSeOEWq4ruPKYkSe7Q9uA0gAMLGgo+g/6Hn1gOQev3dy7vmt8P7ykrUIN8KxhfeLhKVRqxpeJcCCHtnnCj+7OE/lkOxGi1NOQZ58WT0H0bBuzEXuOmSLMbPM+NyI659gPvW7JCG8zG1rf4obl9d/4ceLCEECjMkOzKvX8bD3DbUnjJ1CfQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(83380400001)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: CzC9b9WOYLwYw+ygOOEJRjrWCdiVm2Em8GsyDM/0eFG6xIWtpTmeM9zpwAYc/FC84/AWRWazcnrf8uksMyb1G8+5nxH5eO7MyjtuQt+TXaNNWaIDVhAYKvwoHlq6yo7JtVYvj7+KFJZdyO8m4fRZM1XzwVSfnyl3trYe3FsJtg/fTkC10QamQ+DZTcd6blulALclwr0YpPI9400fiGcweyZ5ngM5iD96E+RSr/bi1fNXKZSScCfjRq4/pghpbTyHdCKL4hQKAKLraMEolgSNl7XdAETJH3fzKKBtsHz3eNSVulp39KCEKBZ14+AOPWZlFeLd3XHZIlozkuKxVrIrn6Y+TwQ3ffUcWewPjAy1CWK7ZaHlcPHWc6pJjRgvXA9JKvh9hzTtktqESV1I+/hvHublu8j+sYaghpoxensnRZHNHAJ3akTJKO1Xqe4HII3FP9THS5/1ZP6c+zIoZy6Hupd9TzL2BDFo2qXPX4TesmbIwYlGHeKJwfnOuocxhkGYxtKuDLADuMPLrDSTJhzOU5ceN3qMaAdBb2QZrbjMoxGthF/P4u7os29+1MGBepg4ODr9JlK1ZrgJJIomJtZY+P6xv0yBDHNT9+pL6pysG1yVvTm94dgttSFrSS35PpIDwzkaPLtE/Cvh89aZBGIW2Y+o/CZu2fcpYUoPDt1V3JD/7rUnifwx517r7ND3w2oMn/3io/7ySUCFEqzbMga+sNY77YYgUWEyMcXX3uJxWSOo4alQa8twFu2JGpTC3w3d4EpqMS3UI4j6x/czD/LpQCgUv5aCzf3/AEvsSUgHwBkXvmOhVKDPmknhInR36WH2snpuUH18TsFYlXNJR6JgK4fLzeoFwlUudv0+lBvyI4w1q/V04/XaZUojhxFNXMXxMBGo1x28zD13yRcO69gw5O6Zlb2RnR63urlF3Bvs9Rp8eXhHRP+QMktZxzcTyTBT6Ca45yk6ZPi/DGL5RbKQfjA9JjJgVK2EJkna6hpJvLaF2LNHgmyjH9jiVBGj8uM6Y17vwkupHH3LVuip6EnHmgY6MD0YF5MsZ4TK4sdcl5tTUdGJ0NSuOSnoLs0RWacKfWa7RCIx63Y9pKSXVa+hAIMx16mfND++aFhF624obRSFsPLF7s6XDut/0U7ge1FdePVK9bzN3XnmBvcYi/2W1FoFbguMpMvb+1S10GmOx4ghKov9OHvVwJqicbHB/meQ238bcjVg6nXgqanlHoIWHd+wB+mJJBKqbBeo+VU3JGfOezQ5/Y+cpx+BT6+zM6X666/s2qTpaQFsQdHS+y5Brb+FlsO0WZMK5VFml7DaU2Xp7pIfpGXiy9VTc2n5pMC9IqU4Ht8/KQsu1kgwkyWdge03BF2LsjjM9ZQl45ZMr7le+p6TtEoUb24A4xQhkIeT4Yl9JUgYDiWGoFbBg/MNwgfuYpXhgh7HomaDPeW3UvfvbGnv7ZRw08FnVo9otUN6IH6Guj5wrNXyukp2WtF/LaxjRaYExz7FiGia4BHf7vbE39sSeT1abwRnuIX/tQkq/iBhitm5HFqgdAaocTB59Y4fVaomTt0TmFo269gUYVEiLslTI8EIkz63RZF0JfYQ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 353e6c94-94a7-4ecb-8d0d-08db19f79301 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:11.9107 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Qccg6sOpNxRd/jx5bKy/wwku0JMtkV5ZoRFZNoK7ZjGy/6pkCz2S5xFN7XrZunO7gnQkNsNyopHqFE9QmuuZfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Add i.MX6UL, SEC 5.0 and SEC 5.4 support. Signed-off-by: Peng Fan --- .../devicetree/bindings/crypto/fsl-sec4.yaml | 58 ++++++++++++++++--- 1 file changed, 50 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml index 678c8389ef49..1b801ae5ab51 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.yaml @@ -45,8 +45,18 @@ maintainers: properties: compatible: - enum: - - fsl,sec-v4.0 + oneOf: + - enum: + - fsl,sec-v4.0 + - items: + - enum: + - fsl,imx6ul-caam + - fsl,sec-v5.0 + - const: fsl,sec-v4.0 + - items: + - const: fsl,sec-v5.4 + - const: fsl,sec-v5.0 + - const: fsl,sec-v4.0 "#address-cells": const: 1 @@ -77,6 +87,8 @@ properties: clock-names: oneOf: + - items: + - const: ipg - items: - const: mem - const: aclk @@ -85,11 +97,17 @@ properties: - items: - const: aclk - const: ipg + - items: + - const: ipg + - const: aclk - items: - const: ipg - const: aclk - const: mem + dma-coherent: + type: boolean + fsl,sec-era: description: Optional. A standard property. Define the 'ERA' of the SEC device. @@ -108,8 +126,16 @@ patternProperties: properties: compatible: - enum: - - fsl,sec-v4.0-job-ring + oneOf: + - enum: + - fsl,sec-v4.0-job-ring + - items: + - const: fsl,sec-v5.0-job-ring + - const: fsl,sec-v4.0-job-ring + - items: + - const: fsl,sec-v5.4-job-ring + - const: fsl,sec-v5.0-job-ring + - const: fsl,sec-v4.0-job-ring reg: maxItems: 1 @@ -148,8 +174,16 @@ patternProperties: properties: compatible: - enum: - - fsl,sec-v4.0-rtic + oneOf: + - enum: + - fsl,sec-v4.0-rtic + - items: + - const: fsl,sec-v5.0-rtic + - const: fsl,sec-v4.0-rtic + - items: + - const: fsl,sec-v5.4-rtic + - const: fsl,sec-v5.0-rtic + - const: fsl,sec-v4.0-rtic "#address-cells": const: 1 @@ -187,8 +221,16 @@ patternProperties: properties: compatible: - enum: - - fsl,sec-v4.0-rtic-memory + oneOf: + - enum: + - fsl,sec-v4.0-rtic-memory + - items: + - const: fsl,sec-v5.0-rtic-memory + - const: fsl,sec-v4.0-rtic-memory + - items: + - const: fsl,sec-v5.4-rtic-memory + - const: fsl,sec-v5.0-rtic-memory + - const: fsl,sec-v4.0-rtic-memory reg: minItems: 1 From patchwork Wed Mar 1 01:56:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 657947 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51B41C64EC7 for ; Wed, 1 Mar 2023 01:53:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229672AbjCABxg (ORCPT ); Tue, 28 Feb 2023 20:53:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229779AbjCABxd (ORCPT ); Tue, 28 Feb 2023 20:53:33 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2089.outbound.protection.outlook.com [40.107.14.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E65134312; Tue, 28 Feb 2023 17:53:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bWcBmZLifuT2wAp/QONwvIRIq20Wgp2EUm1elNlusqDXjrD2g3a3oNeNTSNjdfLPmHaNBu0CW04muOQ0qDleaUHRSPm+ny4v5Urvw7pYi6XhoFtT6P6Zim7su4EEVGpGdw4bH9CpFYnc9l6jsG93zfCM0rduTEHu66qIMKsZ3hLsgeDdFDhVg/g82jdtkUXnSnAfIGHE3n8Af/EkZZAPyVQb5K7U7Ti6lwoc9E/HyH8WG0D9323S+PIRe4ZmGBlEK/qR7Rjw5JqB3TV//5ooH1ugRh856NpsFmLvUQ7evXBt9iRiv9PYJLOWGcJ8RRmk7/u+vvQcuiH0cUN8ZWqaHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mvoOt9p44kYGu9tXFYS8VqHm4CcSOwbaqkx2i09Heew=; b=R/ZS7dedjzIoEay6PefWWCRyWJabAKRL5uQx0Xo/ykiD9vWAOVWmtaPkmRC7JdPpkCSwep0MC9WXedrMJAJHz23x/ysyG523NExtka4A4trTjkCRW5ijdg+iDztzwx880trocVXFiUm9aEEjtRX/9ofETgoxBk+uoWyUUtcdF5YtO+DQdYnlgsqVcXoNRDQQpz15A8iiZWNVIODZb5wQ9Be/vf4p+P96O0ZXU/qsYJ0oj8dFJqvSKjJFDIDaFdbyYfHMXZgLasJv2Bu4p+Y5WJT1SHVvzuujPAKZfNuZYMuXtwb2TxheE6wxialvF4OhiFIHRvzVSwN42XMYmPyrnA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mvoOt9p44kYGu9tXFYS8VqHm4CcSOwbaqkx2i09Heew=; b=I7k4NiMSVWaluXC2eXYzut0UESYPIXaCaGEmZx3LKINm0ipGvbxXNYOozmUfB6LYXM7OMbGokWh78BDAFrD7Xa+WBsDlY8H2oyutnssZ2z1Ak/WzYKyl9MhV85LNhG+2yDfJfeIzgVpPQtSUQUp7YIB2Mh+RXauzjevfAPqEwNo= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:16 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:16 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 4/9] dt-bindings: crypto: add fsl-sec4-snvs DT schema Date: Wed, 1 Mar 2023 09:56:57 +0800 Message-Id: <20230301015702.3388458-5-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 9e135365-3ce7-4fb2-10dc-08db19f795ce X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Vd9hhwsKqOSMUYVMq7aunk8/otJwTdolnPGw/80h2YhHUvLJy2otum8t4QjadW0IWSQIJlO/ESmsxBkQJoQaCdTbjQLqTyJqZfSHBv4t61tC11IE830BSa3jB7un7JtHUPp1w7DVynJrm2R7hYsIskRw/oMVu8TEwPlc0SXnH7aNsDlwQEF58zpvndCpTvYGdGHayA6Dc7oJMQDjkg0cFPM6EWAJ/FtbY66Imzcrofk2MpBds7uHYu/0sSvkVy5EtDS7w2zhBq/y5H1r2xdcFMTmg6dqRxNLddqDFT4EEHRUk7rna19olFVCj8w4JYBSD1ieIY7/fM+JVdRap9F6TNcho2crlHYeSeSYibLYctIwy2i7T3lg7KzAJeO0aLESrZGilngwkoD2LYlBGTakrSIMoOM8BUN1op0JM/OMyvsyr2j0Gny+HYNSfRkQpDj602ywg5Q2VnB3EzHz5OsgDn7TNRsNaCtpjGUdIExeWtUlppJXHnAjM12lXeaE1UgyZSW2f8vYL8rkXAVTJHTzMfNNmKN+7x/r1F1mL5bZbs6S3YdG4ACOKun6ruQ5T6VYXepe85JZOnH+IhgnV0aVlAsRFRotKdzfq2ydrYjqmSFhsPSLoGdPh9wYNTgtZ57MRUtI9LGaZ8MqgeCHBd+D01ieo7tNImUnROJu3llIQbJhn+u2g8bTi7yyzHLE4tO8gZn918jl9xSvqYyiZN885Y4INSbyaKE41vZKV1e+jNg= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(83380400001)(316002)(6666004)(2906002)(6486002)(966005)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yj8jaPVpijChcXoVob5I9XmtLP+w10j4x/G8rj8AP/TInBiFTaSk8sNw+Ml7Tg5ULygQVxE4hXp8JVwfiZHhd4eEaMl6r5CtbbZMNUXAY2fvGeQ3GOL6Y06+OwVpXC0pomuxsxHYHtjD803H4vUQYCq5/ot+27BWBL4lJNtcrPU7qu1TQLj2L4/WEz/0BA5VYPsZfvBhi8H5p3gkicPYgsCAsBbpxiMMnzAGUWpBjUR5lp1ASMdrkjLw/idS2xPRFBn9Ojak9meEZwXCtBfObaTtfL/Qu5x79LJFLxPg6raYH1VNRXFV/CaiBDE+LcZP+UErrEfJcCKJjyMxa4vM4AxvABQKf72qAaIpKr/1XNzrMdpsFbpwS+2qEq8VUm4GsmVlzKmopdLBk5emhOsJkIknsJ9AHe8mEUibj/2bt4lbOrg442WZPOqdCLfeQq/Flucmx/UQiCC5T+VPLnjN9hJltwSQtCXWVSjUNjfrrfPX5H9H9mc/HYQEGjhq5Yx5PGUsYT/IsZKwca/93goK1zs1vy5OXNbkg4Xgp5rccDz2+Ms8LvOglbM1EZC5h2WudzrrLRrlCeL74EMIjVUydYZQLqThjCSVq/ezHpjAg4IdMlG07kkvnU7ADwaX2+mrPZMs+RALd+QJco9lsxAG7yW8pbdzrjoyHqsQTbl7x2fDMabKVobVo2dFc68I2OImSXnKmCrq00Piosp6gpMbK3+/Jbsvzo5rUkAoCvnY8ngyKwVg0hu4UGFrOV3oICovMs1csfLxza0EGIqs/d9Y4LnMSvEnpbBGCkmI85LxwcpU2YoJD1auTPbG2svvc9TgIPQ7iGNGYBK5UQxUYpReqvp7iMhL2vPMczISTb8llyNyzdJfQ06gqz4HCPNTDDG1CP7X1m1IApSgEGhzJ/gBG9Qyw31rkE7hgs4xtIg5C+UXf1pslFFBxwR7SrdGPyZ+KaL0jW9RhYtcD2ZbGC928ou2YA2ZC3V9C1asE5wg5ZBlqQPCfRVA9iihiIZ6kgW+kQ6Ca6J546qoZgMtRoKzN3haFT9jZEFB9Wlhh5vF14w1zv4pWV4d35tCRIVzQE27lkzdKwEOkmVf5VBUEia1mxw67zKv+WopLrR5Q1+H/ubN96qxRP/64g9BfbftGUteEGa2IsOV6EX1Hc1w02QeNKvQxPgTxKlQ8/ZgY95bDpRO097m93zEiUMQFNfuJxjm1cNM/wLgXwy42zFJtK2p7jq7Z9K8RKIx/lPivrQuzIf5KSDVgfhMgkpMnkds37rUBdolKQte13rVef4F8xkqvID6sj9f+micdowFyjK1e7K6FHsM+4QEBl/Srm3ZERcv0elwGQ/gK4koU3pRNAfPcxU4oGiEewXCSCT04CgSY4K9Eii0r4P0zrPGvs1fgCIvEiG6RWA+vSq8BwshwcXMdQhlLa7OGxhQ30JCBRkByvAX5OyBBOAEMmz6yGQDtSxrU1V9L5zG98eLglwInuluKF9QE5a7MR90/bDdXt8GGfek5NiMytAYF6jqpOsni+tYjquMX8/79u6C0YDbF+mI99gn4oZ56qbIvgKTeyvyiCu6+FPrykVD5Xz1QJOl4rvJ X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9e135365-3ce7-4fb2-10dc-08db19f795ce X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:16.6483 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 0suuqZKcMawEXm6dcft+S+CGC5Z/6DQgWmkxY1NDW7hUTJuR/0fVHT+ryDNJPy1uuUONAPHxQDGnAFQF2mA/MA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Convert fsl-sec4.txt SNVS RTC and PowerKey to DT schema Signed-off-by: Peng Fan --- .../bindings/crypto/fsl-sec4-snvs.yaml | 153 ++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml new file mode 100644 index 000000000000..633e70f9b303 --- /dev/null +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -0,0 +1,153 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/crypto/fsl-sec4-snvs.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: NXP SEC4 SNVS Binding + +description: + CONTENTS + -Secure Non-Volatile Storage (SNVS) Node + -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node + + Node defines address range and the associated interrupt for the SNVS + function. This function monitors security state information & reports + security violations. This also included rtc, system power off and ON/OFF + key. + + For more information on SEC4, ref fsl-sec4-crypto.yaml + +maintainers: + - Peng Fan + +properties: + compatible: + oneOf: + - items: + - const: fsl,sec-v4.0-mon + - const: syscon + + reg: + maxItems: 1 + + "#address-cells": + const: 1 + + "#size-cells": + const: 1 + + ranges: + description: + A standard property. Specifies the physical address range of the SNVS + register space. A triplet that includes the child address, parent + address, & length. + + interrupts: + description: + Specifies the interrupts generated by this device. The value of the + interrupts property consists of one interrupt specifier. The format + of the specifier is defined by the binding document describing the + node's interrupt parent. + minItems: 1 + maxItems: 2 + + snvs-rtc-lp: + type: object + description: + Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node. A SNVS + child node that defines SNVS LP RTC. + + properties: + compatible: + enum: + - fsl,sec-v4.0-mon-rtc-lp + + interrupts: + minItems: 1 + maxItems: 2 + + regmap: + description: This is phandle to the register map node. + $ref: /schemas/types.yaml#/definitions/phandle + + offset: + description: LP register offset. default it is 0x34. + $ref: /schemas/types.yaml#/definitions/uint32 + + clocks: + maxItems: 1 + + clock-names: + items: + - const: snvs-rtc + + required: + - compatible + - interrupts + - regmap + + snvs-powerkey: + type: object + description: + The snvs-pwrkey is designed to enable POWER key function which + controlled by SNVS ONOFF, the driver can report the status of POWER + key and wakeup system if pressed after system suspend. + + properties: + compatible: + enum: + - fsl,sec-v4.0-pwrkey + + interrupts: + description: The SNVS ON/OFF interrupt number to the CPU(s). + maxItems: 1 + + linux,keycode: + description: Keycode to emit, KEY_POWER by default. + $ref: /schemas/types.yaml#/definitions/int32 + + regmap: + description: This is phandle to the register map node. + $ref: /schemas/types.yaml#/definitions/phandle + + wakeup-source: + description: Button can wake-up the system. + type: boolean + + required: + - compatible + - interrupts + +required: + - compatible + - reg + +unevaluatedProperties: false + +examples: + - | + #include + #include + sec_mon: sec_mon@314000 { + compatible = "fsl,sec-v4.0-mon", "syscon"; + reg = <0x314000 0x1000>; + + snvs-rtc-lp { + compatible = "fsl,sec-v4.0-mon-rtc-lp"; + regmap = <&sec_mon>; + offset = <0x34>; + interrupts = , + ; + clocks = <&clks IMX7D_SNVS_CLK>; + clock-names = "snvs-rtc"; + }; + + snvs-powerkey { + compatible = "fsl,sec-v4.0-pwrkey"; + regmap = <&sec_mon>; + interrupts = ; + linux,keycode = <116>; /* KEY_POWER */ + wakeup-source; + }; + }; From patchwork Wed Mar 1 01:56:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 658239 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0DC8DC64EC7 for ; Wed, 1 Mar 2023 01:53:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229756AbjCABx0 (ORCPT ); Tue, 28 Feb 2023 20:53:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229672AbjCABxX (ORCPT ); Tue, 28 Feb 2023 20:53:23 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D47922121; Tue, 28 Feb 2023 17:52:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VAarK76t/b7LVPjmuf5cV3cjikYDpcYwLYotK4LF6mrUexfwd4od1It+v1CzzO/SqVy4st2oolJjVk/D3UiCzgBL91fwkWlnzPzahZ1jNWHis0UeRN6hDvQfWtiuEC4Fj6TlhxbDwj+cj9s8fJ304EsDtCX+LLlObIFcru5mRQpI5yf3LGs3n2qgTXPpue39WiriwpDSRYwSjNuOcMxR238y6dtFN1/ZlsDyMLSWy0QwZUMin/Shb2NJIdnFbNMUjbvJNq2RneNyMnOl8NeNOjApoYrMY47Da8ahbYVFVmaFmwzIJJHby9uYJGuh7bNi7MCeRZupCcAhfH4F0Qsm7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=50QxryHxYb5DZWCvOkEATYMgMuFE3pGMHg1w+LgaAU4=; b=LQN6Al+Wnxg7I/0b/tneP5n2e7jiK+5YzHSIjuXGXbz9p65uqcZNQKFCfpIsE4P/QTjfv7F7YOZ8xXTOGet+LB6N3/qB2cC0FxThijBgYKrXLgzmgPex8BwuZWiB9piyBxxOvlJla3AEM/05j+S3UZUmGZpWu1ZzcsWhgepfDfMqYvFX77IQCKtsDyhEa1PxiHODcjERgc8F+HBDSiH9O0Dt5TTuxzQFKVbLpDmZHJ5tW+n4dITS8idn+P0oO5V8WVvS2lhePTixH6fm3DWaCsZy4QE8FYoYU6HcTv3fsCvauStI5aLtKSGQYXXAMioT2TkPvkOt6XNSQ3+SLDOJ9w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=50QxryHxYb5DZWCvOkEATYMgMuFE3pGMHg1w+LgaAU4=; b=drWp3fQm0czA0P7uvr5x0PFi+a37FmSF3hArb1JSrYt5m+7jwbQhyO6XMqrgiezkAEES7Ay5TBEysUUbHvo77+6GBljDifJzUZrtuUYr/89w4Nu/O02YRgEp4Cna37QTBy46YQDE4dTFT+307ik4C0mK57OFEHIuG3ulocgezUw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:21 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:21 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 5/9] dt-bindings: crypto: fsl-sec4-snvs: add simple-mfd compatible Date: Wed, 1 Mar 2023 09:56:58 +0800 Message-Id: <20230301015702.3388458-6-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 6dbe2e6f-265f-4ae9-fcd7-08db19f798a9 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1jUSI1qIYzkz+9Hf6h0eldZTntvHs9rIO614WDjITim7gpTtWm3XTVqc/3FUEWxyrnGMO3cXePwOsK/SpvZFowrzizQ8ofOWoSOrA0I244g4UGr8HpWxjXg8TtltrMlFIylHQEqs7dtkwPu0ef1ByrVWbVBF8wt5CG83zbnsFjblrZLyQmV3OR1BRNWAHc56kTtJ64ABrjrG8ffDOKomWdi92mBwgSb5aCv1W9VEYi030AJV1LxMVIvxkkskANxzKydKqfC5ohrGkeGo2b/C5UCXRyLV47/2T3BEFGinCbehef9RtHUxspZcJCPtxArXvzkC/gwueCtMJMAZVDrvCHiufUnN2W+cdUhtNuuLM75IW0MBADc4nlCdu9r0+IkazB21i7eu2ksH91zltE1WY4v977OINGoAEceIS1SIUIAY6d1SRnOST8x4cdI9cm6DH+fa0Z47LwOgrc2hVhZC2yPuWMVQu+ZYQH6sWTt08hEE0gJxeEtvVjyFECkaV/oP46DWGITgGEXuiA0dgxMcCTi7ZX9e1lMLd0ZcW3jEmuucP2Ck2Lga+uSKrtBwAuXEBVTHmagH6Il4jVtZpMXQGZsxgBVQO11jN1gpxt6cvY1nm74qseckXCtJLFpgKbN/OJQgWZEvtBCP8t4J35iVu3V++5RLruDPfRdIqNmSh5P3kM9rBGRdHeuAdpGYXLo/KD71nEMqHZDIMEs+5U4lFw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(4744005)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oM5BLNtdWXpbDQWV+1xlQRdO1NGJ6200w5IxBeZFwgN64apeBzGiJAOv8EbSYRGWGDXd+lYYXooRt+E7L+pivuFwPlIWZcYgOEVV9Kmm6USuk7fQWbRC+pJcvb2uhTzmelL5tfLh7iD+nvZT5BmTXADqjnIN9IXeILhCt+7C1iJ+EmknoVgGbj2nA8UkRlc2QfQGFJvmXA9ykxBDjm8dTjFNvaKMk5nkMerHvjFAByTgkQgeOUt+ZuLS97eR2B6wCA9ex024aegctDoONSQpbH6CrRxF+6GnKZscCQW7nZ24D8ogydYDAViEztDdiPRdOOY3wvmQOpqZtpIYY2SkXl4bAR5nz/83Vv6dI4S+Gd2FKEf1Ua5EdhOgkzn7lnzmEkRVHFDjOma0v8GvOXmu3K5rA3H4juVLxU0lVnCsD9oJVafcZuiCBgldiYOtR7U+PXPg6Py2WIh2ZWG0BdFN0+bW4k8O4J9/zDZbs2OUPl+cJiQejUepRRpTTGmzjFHizQyyy4QgHQFh44bj/bT5W0HIKjSdjxfejdm0DmqfJSnw9mjoPYHP9sD861y3PajTcT2CiZOiQcRURCJw3Zjbr+BfOVO+xBHqQyxL+XTyDvvVzVOPLR/OBNz7TxlzC7VwpAPh/6vLMGb5c44g134s6qhMrj2X9c2uPUgB8fD9JVzAf1+IEZzvTzmGNjk2FfFf7cYfCcIUcY9Ua8xqNRydvOWCByq3buUCDCncLOe6b2+WvllIybfGi+RLWhzx04XZCBf2J+nnxTDZJI8Zzjjnekc3TgixZFxxm8JYpaKAEW5wl26NeA+vzMUtfB8539oZn6M6QY3onPIExhs0glhFgyKqV4mMMTcfLz1kz8Ba7hJCC/FTZI3HN7MC68Z0X7rjdEvcT6vUZnH2LFtEzkKOQJ34oIETEIirQa08mL2N9uV1oTpNaKSIzYRY8BSQK9pHRA+fJPac3xSsuFKO2HCXMrJJN3DH7nmzU01YxisRuGcxxYFR0F0pJGMo1HvQFfeZR7eoWgIz3VYkSkn9WagYtRkDB/sf5OL7U6NOLFbSeNvMBHDQDUw5b3dRCD7Brdciq/OW2yUNqRoGgzVSqbwDHPK3o/jZPUkoGpNOi9ByQv0w9/DD4z9jy6xY9Ve7JMtmLFHEGyUrnV/11TaLEXByvotQrCfKfnJSgGZl/ehAf0YPpCuUM9gS+vxImu9z++PApYW5+kqf6ffticxME1YjpGdXXBlEmjp3Hi93h5T0WFHeunegrpqTSjuO+9cLvFUf6IsmDJUN9HEuNxzZA8qHJqcchB6MPKJxIO9WWyDzc54vsJhW9QKqMq2z8zYEy6Mbe73KheK/wLl65KQV03mwGZjIVz/z6Mi4OZs/sCxG2Mwn/po1Y4GJ1OemLzvJizswrHPQk/UJ+6N/sk4q+g1Y9UIsE7X7kOoVXqrw9aVQo/dV4vslLFsO+A0DixsSsgTRotKz/uRW5EomIpd0bCz3MCNCczgjHeoVJfz/kp3a/tQpYlDCO7jZircavIfOF2ff6822oVH40xmSyqyL9CS1V23LqrEEv6lEWF9+3e6D4QLy7HMeEUc6yQC1HhhDgcWw X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6dbe2e6f-265f-4ae9-fcd7-08db19f798a9 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:21.5868 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iPUT4IF1kyZwL8lIbsAtdlo7hUMZ8JCDQJlcBpjMEnkFLDgaC9gf3HGikiToSFfrxroDcKoEhWnPoWxEaspvUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan All the current vfxxx and i.MX device tree has simple-mfd as compatible, and it indeed supports RTC and ON/OFF key multi function, so add the compatible. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml index 633e70f9b303..6878ae8127ec 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -27,6 +27,7 @@ properties: - items: - const: fsl,sec-v4.0-mon - const: syscon + - const: simple-mfd reg: maxItems: 1 From patchwork Wed Mar 1 01:56:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 658238 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BEBE5C64EC4 for ; Wed, 1 Mar 2023 01:54:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229544AbjCAByA (ORCPT ); Tue, 28 Feb 2023 20:54:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229562AbjCABx7 (ORCPT ); Tue, 28 Feb 2023 20:53:59 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E472637B6D; Tue, 28 Feb 2023 17:53:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O0cr63iXZwCaxB4DzcMcQFaHEmQ3bw00Ulr6ZIN49wWbBal12yQ0rfUHlACH7VwvOeRSqJrHmfJM4UAOeu4Wg/ourfaSGhaUWan2m5Ef4FSYJFtZwqI/V8HbpZPrzzW77ZfDmn1DsvNZ5UEbfvbWUgrFMMXu5aSJq791/YFrFVy8L6pBmGlJ0kvPa7oqObaiYIeEfi29uXFbrSV/PpGewCh+OdPFZZbk3/oxcofeKg0vME9EC6Ofo5LGP1oVDtIiRy4dLjpsvTyvBGojig/T1oknNGEl1vqYaGslF+yyRuT/Ba7W10XZJORTpoXQsgKMElMNeFFs+zQnv2OrJQzN+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Jym4EvnACGNSmzPJ1X/gQd6mlIFivlsGIFiOegtOlMA=; b=UouTHznYowHf5EZecWGO12Rv7Ry7D9RC/NH+LSimiQrlZd7ZZ70z6ga4FlNTWSkyIRYvVK8FaDUzmpZEqEZ10rgIstrscPN587rQ2NzNaojmhTQ/dDgOIPsrIVSNLIpLjTH/Q5fabVL7FReRo12ba0tYNUoBFEo89atON5gLej5HO5MlHO3M1cNSlgSvV12s6ChLSd8iGrZVQxvqFywV0fU24zxDIlQccxusbXIIujOkTDZBOS9YQMrLSZrEMO9nl1Yx3Xhf/AZNDC6VX3ObH76d+dDnHHxfAuTfVIScsw6YNgj5D4smvHPU1vZW1OtDLa+AheyDZVf0FnLufLrYXQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Jym4EvnACGNSmzPJ1X/gQd6mlIFivlsGIFiOegtOlMA=; b=ZeDxlocV3dgPg04L9YpYtYreVk/CcqNFehaUnxwkt27HE9JsNw1JB85ZfG6gX94Cc8GjKkPprKiJZnLwrDzMOEMapFnTqlriYDKOY6D1b39vO++CkuwzHrxKdLbrha8N7IV0DcLLEHuGfTO4SyxRwXz8GZ2xdFJN6MQn3dMblrQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:26 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:26 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 6/9] dt-bindings: crypto: fsl-sec4-snvs: add fsl sec 5.x compatible Date: Wed, 1 Mar 2023 09:56:59 +0800 Message-Id: <20230301015702.3388458-7-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 52c98d88-7d7c-4e58-1b99-08db19f79b8d X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: pCQKaCyvcfwS1zGHFzUO+jedAUNqOq1tgdII7pkF9sW3O/YS2zvBWBeMHqPJhw3lkrIt0GR+w7CFFoVh0/QWeuCqBwdFlMLP6sPtQtKA0lvkufR7dzyfxN9fh4YDrvApUxY0Al9V+lpAyhL9EIYYb935ZfbXclIfxAmFBI9+CrJ8BwZ4Dyaqx4cLotQenFUWWnXQOu6BJnJI9/A7Ey71GWykBHki+L1Yf3cCtMzBpy51ODgbd/b51XUtQq6NYWkH0T+4haKCU8eca7e4zVAOFLy1yKbuHyRfkOugqo7jcSDHYU0cD944PIh098qHYH/YcitLwWW+4lfc48kM1epVLM7q28n1RdN6dZukeyW9zuTO4Tu+XFTRiBjgZI9kmFbjTgQ23VufHFi1GoJJuW5bXUySHwB6bicopwL6t95hVPPPemSAKU6C2KtDUlQp1uZ8Xnb9UDNNqBaU8vTw+2/LRPeIdeeFaKJoTUVM+zlRcA/SPTr3foHnvIbLtRtxpNOgCRLaIcT5tXrlnztyi3is+yQML1KWQcco9QkBvX7wfHTJk2pmEovcG0LG5CfrPk3lAfB4XT9vSx/k1K43AnWfkmDV6UNvPmn6AmYa1wWf/q3zqscwrMA4JVwtFkrk6l3w+PvGuJkzse+CJZOUWLRIJL/u1ETgA7fkJ3nEydNhuL3cyKVDLvHj44M69lhivinybOFtzANlifUvO1mi/6lWFw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(4744005)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: bxh+kF+2tJ5T/ojn6PwjInKwtzHchhNoZSquh8hWxpNnCqHICknV+8TcklLxX8RjyYi6Kgf/EScwpaJ/xXOtY3vdR/aET93BqE2N71P3BniGnjrgtASUpXbjjFP7VxkPLpmIAjYYlhhIcSdzJ/WhXrYl5N2MevXotIN1NBla7on4J7fZWPtlm5wOym4xuhwFUdlSv0oMexyDBGioV/dPms28jDqz8iYncgb8Kc+c2lf5pxWKG3OtvA9gF8MdXQIz13vX9Wv0cxasdRZ4YOogZxOskNp1xoM080B/ZyDFuDLWsBxEhNhSaxDLAeNCgzJ6Q1YkD8zZ9UmBfcJYAHG48xwySYKanl9wDTLy4p+99uk8uj7iqnnDw+s4cAvMc+1MI0a7mXXYc9Csjc4o9onxVlDHzwHCZdM/t2ys/8HMuQizGY2U3FwhwVdotJig1uKBqKZp34GrQD3Qlv+QJ4KwW5hD0LApyq3/Wzdg1C2p6nX6YbjSJfLWP/pYSkGFtpySF8mBqUQmpuXG4Quk/7YcePLE7LCZUS3eJn8mSCBpJ5RnadGS5fnmj3NEnieUvApA6yAbllJrYWP6OvizuEt+sHayUQR4cc9mcSgl6TGgFFy1OnukcX+J5pL0KAyiW3auzwtWMVeKHHBuRn9mRRY8PXVMhfLYqIjzK44LRFlUt1V+YXc6o3oIWG/ID+rDmkavvrVPYLuzuPn209Z+mH4epvnqEO3j214AsL60PMJoOhJVL+TpTgV8cDyw6KGx75ManEIomoQKJrLUl0+wH4CZ1zqLaSosknl3778BDAKTUHNc4n0Jy8SPr7z9pCSDdMV09PHZMb//GT5fs6oSsjQ3bxvZ4Ljeo6RFVH4gU10OQFWhU5WLtoKK3uHTZqeQstE5kaUdOed2UVA355l+KXC5haa0K9YLXb2PceBP2D1rrG/cXf0kNz4hdmcfq1d12ff64Uzp7bfJRqtTRM3upeknMxEeVWaZWB/Y+f8JyjuswlX/o3dU08mz1KZbVfuBBgQaYePxFjgEStLWp11TDzNvtWuAhTvF+VyQisAKddUTjSclrD2hFF41dDl8bfkknSSFJGu8ltaljW9zBSaZiVCWj68qWmze1pfkBql4r1pxMWJGu34OZn8WGxWl9J+cAOhaz4L3/vLqOw/rxpWahaHOrHcqq/cKkfnYZ1b8/P9N4thW+/7rDIY+BnInrFVTXuxO9Mi32twtGXbcIb+k2/KgWAgoh3JD2hegTD90BvObo0mKsBXV0oh3n0yI7Ft0bGQOI9IqynzyOIMtiVrONFyyh57bgr+DEPaP1sPHNDa1D1A186elVhz7tHKsWtGI4xXhb4rJq9CNxaaFk7+vR48Z6Jnwah48mUrN0CEaLuREfoY8KQjJDZt2sdVziQw1ST3Fxfh5AXsFVlHw//MB2IOF264XbO6gmiwF/5Xb5XVgp4zCQL0EzOlU2eO2hzncY1CH5ufabG+mOO10mlRPVSbyggcDIvEsSW3eTI0lCooDaTQdNqXEimsKpk4rtbuWGDf3Fn2vgFo0QfSWXgjEXsND3lFS6swTXJoHMq/W7N3UQ0fBIv9QjQXCJugnCQ+I3k7H X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 52c98d88-7d7c-4e58-1b99-08db19f79b8d X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:26.5076 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: cb6SpP8OjA1CA3bCVR9L2WJMzaICCA+sj0eaXyF5X5keByiBc7jixlMH4Xr+uooHFIHemF+SJRmodOTUWEOTPw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Add fsl sec 5.x compatible, which is used by layerscape SoCs. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml index 6878ae8127ec..1a4b4975e1d9 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -24,6 +24,10 @@ maintainers: properties: compatible: oneOf: + - items: + - const: fsl,sec-v5.4-mon + - const: fsl,sec-v5.0-mon + - const: fsl,sec-v4.0-mon - items: - const: fsl,sec-v4.0-mon - const: syscon From patchwork Wed Mar 1 01:57:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 657946 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82A4EC7EE30 for ; Wed, 1 Mar 2023 01:54:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229564AbjCAByN (ORCPT ); Tue, 28 Feb 2023 20:54:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjCAByJ (ORCPT ); Tue, 28 Feb 2023 20:54:09 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2089.outbound.protection.outlook.com [40.107.14.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3124037F08; Tue, 28 Feb 2023 17:53:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cbd7Fa3J5lpBjlG89/b6cjp4SRRzfDDuIBTRBy02vqY1yS4sjAqpNXkV0zwdfQKzro/ao6ZfT7Cwpga7HG4iJKV0cDa8yJ2kIP0neY9goUf6zIDixvixkDm0oZSwNQ9016JQPjK2rJByyBCNhSjuwTHc8eGXgdtfvOazCLEU3WE2gs1OrW+M+/rKXH1wElb8RNnokGoXTv3LRSaw00WzfaCL4BSrz/qClXKsTBlgEs615kp40HnVZ/g9G1ODeXrZhjHcoQQnv3/4hwq9yDyezKeczplyMYyQcA7lcV/wuFSXgQMlNg8qV5a6B53wVZmB04brhWigOimci8qYGf0vaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=JVYuYyopJ3RBxYdOS3Kyo4yKFCOI6GJ3ThZ8sf4zcV8=; b=R5ijWcyh1D3UqYH5qY0X5yrtkpaG6ywZQmKKj7cd+vm0xz4PQ7EAx7MWSGTUsRNYrcSNuGaZY069PpyH3Ti4pEpAufJb1U1N3TaK6jzpIdrPkD+CW7n0EMiwmeUSaL1uoefKaGM/zis0XkNvj01iWcHajF4L1RK5YU3KLhPwH0YzFoTrIPEDSeMqk67siSXr6aTHlUiEkiuObisZn3qW0/62hZFoI2+GyeKFQ458uyKubpgqPGfwMazi39A7Q7qKzobBJqlMtVK5gb0pLTvCeLTBxdGUEB0VWNELNoMM8n7+a7gKubXJauj/K2dYjad34jZOsd8/oBdOwZtMK9aoqQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JVYuYyopJ3RBxYdOS3Kyo4yKFCOI6GJ3ThZ8sf4zcV8=; b=kVsNCrxxPKVndunxDkWZIoC/PEXHVD/JfmsZfWUg7unRHdCCLfH2cR1B/6QCgXD3BXuYw92+fwniBLDVigMJpFBCHPoDGz1hNkgajMDeSA0N/r+DmxuQ0erRmruVmSPhGDQvYBX+QcXTX84VFTY7X0Mkg9NiIty0R2a6ZIY6nJE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:31 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:31 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 7/9] dt-bindings: crypto: drop fsl-sec4 txt binding Date: Wed, 1 Mar 2023 09:57:00 +0800 Message-Id: <20230301015702.3388458-8-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 6ab59a04-e547-41ce-ff44-08db19f79e87 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KLHgPBKE+iR9+LeSNW70Sl7wQcZhbS0mkE7bWIwc0Mg/MGV0z6+gUbhJkZuLVCY6Vdkc81/WY6EtidLNxAEyypp4kAA6QjZoqkwwCfkwTZBezITYSUNLH2CYN/X/yhLCf0mR7ynqZQhmmcjryF/emmNEP/g7EePFkS8BoZIOf+RrK/Ygd0tpsI8ttwdb+fMdx7bb7BqYz9wnkQFJXhymfhcvpUHZivdzQC/ginq6kibGdheVD0rPZcAz+u3MG8WiJdvWfCRK8u/wzG2eqOuN4d7Ay1v0HL4ddUV10YNkID0uy7xWGhW1wKVXUhL40jSDQf8O52ilHjUGlocNLWDmRr5sse/+sMHL//dEgmeU/OVh8Jd2K+59KwQpHMFO9lCid0Fje+l0AsMmp3JI8TjFUVMoBbemkBr5sBaF367tEU8koyPz4XQfdBPjORAAEEksoW3ubatAwEkT++PcNqVWPfwEZuMtrULUhvtmAhhPo9qR0pEvVoBNC0XTkwYcleJdE0QRlEGQWaxx0fOrjjeCehy94eytHfLuwm7d1AbG1Y3vQfONzYL87JRnTJgj7a6iZBaYgLR78rs3k1jq8IlUZkF5M6IE9CXTbe0o3iR37smKfzrXUDYCiksoCVnBg+L8fm+I+rlgqNFjTBdy3r8Em/8uoEbwD+z62e1t/J2W2AjcRtARzYoywj/Ap0LXuK2Pzuf6GDh7NJTIiPH6pPbk6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(83380400001)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(30864003)(66556008)(5660300002)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kqgda7KL8wKJwehQiJX0rXimMmf/vSN9vDpDtQDiWBHSceYaefWMx44SnvFb2Q0XaQXvvsOO7X+ldlzREk717CS7TEyJxk11FhCxSGbWJx2Wnvtm4bpcVgy+CYaLECNBj3fHbrAcMqCeJr771FkhZb1SfMvO3Rp3uANVVstBpKZ0mOHlpORc0Dn5xKY8HLibLtDy2KihpZexAtO+oB3FgO9YfOTsGwrfCmTKSWy+FnZcfbj+CeoyU0IGoyXUsNcE2wzo2XSumvsqzHxeY7B5mnD6QCZzOKpcjHbfYqFojeXQevd1jb4A8Ii1DcnbBZFPc5oRZTi7eHtpLlU03UALWCiey9in3pGmz4tWTjjiiSsgmzWcASwD2xouw63dGiW9lP1X9L3XON/em+TychESDR/c+2IQWrCVToOQ5uT98u71DIh6DCsuuZgjqNHYm4/Ex/pbzGdSuTLFFtL6OaTm2BzwBMz/4IZ5HvNEQx65xLuhLh39lijSHeBuQL1PadjqzqGzWJ2ZcGlVa2PXt+60Hz6d7irRwc5YrnMjHf5cmVbtAGehgGEZXHmbF0zuhRuYEJVe1tEJO3VYQOJfcwijxOAZwGjxHHuH+O4+2qd7ZodC4TmmlnPwbp8lIyoSp7PvAD/++Rp6k/re9pdf6v0jjAnnCbxhSvV96ynr18J2S8j1gYhbfgD2Aw34SpShaqm0l2jb4e7A/9qC6/6v26UrL/n6m4/MS0Mvc/P9PrSPAC8gALQguoaqLG6Fx3ODz4HN/doLcEXugXS7vEFsyCZ1XwgG0QCY9GzjSAPYm4iKpCQm7P5RK1Isccwei5mPZngcPw18icxJj9DSfUIJNhS7h0R3iAxDnn9q9H0tD8uYZDIIcdMYfr23sN2pLUzfrTApI2rUtMzK3pd9vOlgC6lJqgEOBkbYDYL34bBp+QpEg4gygndKKHyk3FHUPBi5B56unoM8wucK/++NsMqC9gqGJfLCtpxeL5J46CmIaFft2EFGjhZM+lFJo63Pd4VctBI7lnbyASfARsNp/FnAWx0M8Eo4dyrpDe29+zabENryKI+72xfIuiNWQyqizIq75LBDHXOMUq5LR7nIyznsh7dzuiPDx1gyM7fFa7sQLDjeIOj41oWnQTcO+X6ig14AiYNgHQKLkTLPskvt3yYSCiGRAMlzxHC+IpQhcYzb9zy2xcW+Ef0ojEkbBZoVrf5g6B8YCLhsRki49aDcdSf5i0hlrwg2NMHCM+88rHc4duBze59fNI2phMcgv3waR2XaId1oVZv1o18G49El31f8HptBjFibkLfiptYCmu3kzqZEe1U8Xy4be/0cCmOMCD6uFc0zm+T6/YZHPD1zfuKZmCNYjSaG6Uv+JV3qWviqnX5rjCxv4nn+WgBLJ/nlNJrCjb6x0Wz0xAL2FXYGcYm7iroQ5lwd7Y0Ygohax1SwQ8E0hSAMeMcB5LGpkNG66b035iKHf7gun3EahNUL/1qTXNk6ZJC3CjABM9EKSAIXTkSSUm+eaQqSqivwlRezQ/Smw7vSvms9H8XJ22U83VSn5U6AR+/rlLKz1kU+VMnnUuV1iEcpGpJGx+CX0GPSdHxNc873 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ab59a04-e547-41ce-ff44-08db19f79e87 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:31.4460 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: vedzzEfFNQJQMNx6iZvFJgNPzkfXvSLP1eL0YiRBv96qzXWb6oLIAShgtUPfnjkwrLwW0M2E4crJViFkDxBYkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Since we have convert it to two DT schema, fsl-sec4.yaml and fsl-sec4-snvs.yaml, this txt binding could be removed. Signed-off-by: Peng Fan --- .../devicetree/bindings/crypto/fsl-sec4.txt | 553 ------------------ 1 file changed, 553 deletions(-) delete mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.txt diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt deleted file mode 100644 index 8f359f473ada..000000000000 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt +++ /dev/null @@ -1,553 +0,0 @@ -===================================================================== -SEC 4 Device Tree Binding -Copyright (C) 2008-2011 Freescale Semiconductor Inc. - - CONTENTS - -Overview - -SEC 4 Node - -Job Ring Node - -Run Time Integrity Check (RTIC) Node - -Run Time Integrity Check (RTIC) Memory Node - -Secure Non-Volatile Storage (SNVS) Node - -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node - -Full Example - -NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator -Accelerator and Assurance Module (CAAM). - -===================================================================== -Overview - -DESCRIPTION - -SEC 4 h/w can process requests from 2 types of sources. -1. DPAA Queue Interface (HW interface between Queue Manager & SEC 4). -2. Job Rings (HW interface between cores & SEC 4 registers). - -High Speed Data Path Configuration: - -HW interface between QM & SEC 4 and also BM & SEC 4, on DPAA-enabled parts -such as the P4080. The number of simultaneous dequeues the QI can make is -equal to the number of Descriptor Controller (DECO) engines in a particular -SEC version. E.g., the SEC 4.0 in the P4080 has 5 DECOs and can thus -dequeue from 5 subportals simultaneously. - -Job Ring Data Path Configuration: - -Each JR is located on a separate 4k page, they may (or may not) be made visible -in the memory partition devoted to a particular core. The P4080 has 4 JRs, so -up to 4 JRs can be configured; and all 4 JRs process requests in parallel. - -===================================================================== -SEC 4 Node - -Description - - Node defines the base address of the SEC 4 block. - This block specifies the address range of all global - configuration registers for the SEC 4 block. It - also receives interrupts from the Run Time Integrity Check - (RTIC) function within the SEC 4 block. - -PROPERTIES - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0" - - - fsl,sec-era - Usage: optional - Value type: - Definition: A standard property. Define the 'ERA' of the SEC - device. - - - #address-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing physical addresses in child nodes. - - - #size-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing the size of physical addresses in - child nodes. - - - reg - Usage: required - Value type: - Definition: A standard property. Specifies the physical - address and length of the SEC4 configuration registers. - registers - - - ranges - Usage: required - Value type: - Definition: A standard property. Specifies the physical address - range of the SEC 4.0 register space (-SNVS not included). A - triplet that includes the child address, parent address, & - length. - - - interrupts - Usage: required - Value type: - Definition: Specifies the interrupts generated by this - device. The value of the interrupts property - consists of one interrupt specifier. The format - of the specifier is defined by the binding document - describing the node's interrupt parent. - - - 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 Devicetree Specification) - are allowed but are optional. - - -EXAMPLE - -iMX6QDL/SX requires four clocks - - crypto@300000 { - compatible = "fsl,sec-v4.0"; - fsl,sec-era = <2>; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x300000 0x10000>; - 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"; - }; - - -iMX6UL does only require three clocks - - crypto: crypto@2140000 { - compatible = "fsl,sec-v4.0"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x2140000 0x3c000>; - ranges = <0 0x2140000 0x3c000>; - interrupts = ; - - clocks = <&clks IMX6UL_CLK_CAAM_MEM>, - <&clks IMX6UL_CLK_CAAM_ACLK>, - <&clks IMX6UL_CLK_CAAM_IPG>; - clock-names = "mem", "aclk", "ipg"; - }; - -===================================================================== -Job Ring (JR) Node - - Child of the crypto node defines data processing interface to SEC 4 - across the peripheral bus for purposes of processing - cryptographic descriptors. The specified address - range can be made visible to one (or more) cores. - The interrupt defined for this node is controlled within - the address range of this node. - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0-job-ring" - - - reg - Usage: required - Value type: - Definition: Specifies a two JR parameters: an offset from - the parent physical address and the length the JR registers. - - - fsl,liodn - Usage: optional-but-recommended - Value type: - Definition: - Specifies the LIODN to be used in conjunction with - the ppid-to-liodn table that specifies the PPID to LIODN mapping. - Needed if the PAMU is used. Value is a 12 bit value - where value is a LIODN ID for this JR. This property is - normally set by boot firmware. - - - interrupts - Usage: required - Value type: - Definition: Specifies the interrupts generated by this - device. The value of the interrupts property - consists of one interrupt specifier. The format - of the specifier is defined by the binding document - describing the node's interrupt parent. - -EXAMPLE - jr@1000 { - compatible = "fsl,sec-v4.0-job-ring"; - reg = <0x1000 0x1000>; - fsl,liodn = <0x081>; - interrupt-parent = <&mpic>; - interrupts = <88 2>; - }; - - -===================================================================== -Run Time Integrity Check (RTIC) Node - - Child node of the crypto node. Defines a register space that - contains up to 5 sets of addresses and their lengths (sizes) that - will be checked at run time. After an initial hash result is - calculated, these addresses are checked by HW to monitor any - change. If any memory is modified, a Security Violation is - triggered (see SNVS definition). - - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0-rtic". - - - #address-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing physical addresses in child nodes. Must - have a value of 1. - - - #size-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing the size of physical addresses in - child nodes. Must have a value of 1. - - - reg - Usage: required - Value type: - Definition: A standard property. Specifies a two parameters: - an offset from the parent physical address and the length - the SEC4 registers. - - - ranges - Usage: required - Value type: - Definition: A standard property. Specifies the physical address - range of the SEC 4 register space (-SNVS not included). A - triplet that includes the child address, parent address, & - length. - -EXAMPLE - rtic@6000 { - compatible = "fsl,sec-v4.0-rtic"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x6000 0x100>; - ranges = <0x0 0x6100 0xe00>; - }; - -===================================================================== -Run Time Integrity Check (RTIC) Memory Node - A child node that defines individual RTIC memory regions that are used to - perform run-time integrity check of memory areas that should not modified. - The node defines a register that contains the memory address & - length (combined) and a second register that contains the hash result - in big endian format. - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0-rtic-memory". - - - reg - Usage: required - Value type: - Definition: A standard property. Specifies two parameters: - an offset from the parent physical address and the length: - - 1. The location of the RTIC memory address & length registers. - 2. The location RTIC hash result. - - - fsl,rtic-region - Usage: optional-but-recommended - Value type: - Definition: - Specifies the HW address (36 bit address) for this region - followed by the length of the HW partition to be checked; - the address is represented as a 64 bit quantity followed - by a 32 bit length. - - - fsl,liodn - Usage: optional-but-recommended - Value type: - Definition: - Specifies the LIODN to be used in conjunction with - the ppid-to-liodn table that specifies the PPID to LIODN - mapping. Needed if the PAMU is used. Value is a 12 bit value - where value is a LIODN ID for this RTIC memory region. This - property is normally set by boot firmware. - -EXAMPLE - rtic-a@0 { - compatible = "fsl,sec-v4.0-rtic-memory"; - reg = <0x00 0x20 0x100 0x80>; - fsl,liodn = <0x03c>; - fsl,rtic-region = <0x12345678 0x12345678 0x12345678>; - }; - -===================================================================== -Secure Non-Volatile Storage (SNVS) Node - - Node defines address range and the associated - interrupt for the SNVS function. This function - monitors security state information & reports - security violations. This also included rtc, - system power off and ON/OFF key. - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0-mon" and "syscon". - - - reg - Usage: required - Value type: - Definition: A standard property. Specifies the physical - address and length of the SEC4 configuration - registers. - - - #address-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing physical addresses in child nodes. Must - have a value of 1. - - - #size-cells - Usage: required - Value type: - Definition: A standard property. Defines the number of cells - for representing the size of physical addresses in - child nodes. Must have a value of 1. - - - ranges - Usage: required - Value type: - Definition: A standard property. Specifies the physical address - range of the SNVS register space. A triplet that includes - the child address, parent address, & length. - - - interrupts - Usage: optional - Value type: - Definition: Specifies the interrupts generated by this - device. The value of the interrupts property - consists of one interrupt specifier. The format - of the specifier is defined by the binding document - describing the node's interrupt parent. - -EXAMPLE - sec_mon@314000 { - compatible = "fsl,sec-v4.0-mon", "syscon"; - reg = <0x314000 0x1000>; - ranges = <0 0x314000 0x1000>; - interrupt-parent = <&mpic>; - interrupts = <93 2>; - }; - -===================================================================== -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node - - A SNVS child node that defines SNVS LP RTC. - - - compatible - Usage: required - Value type: - Definition: Must include "fsl,sec-v4.0-mon-rtc-lp". - - - interrupts - Usage: required - Value type: - Definition: Specifies the interrupts generated by this - device. The value of the interrupts property - consists of one interrupt specifier. The format - of the specifier is defined by the binding document - describing the node's interrupt parent. - - - regmap - Usage: required - Value type: - Definition: this is phandle to the register map node. - - - offset - Usage: option - value type: - Definition: LP register offset. default it is 0x34. - - - clocks - Usage: optional, required if SNVS LP RTC requires explicit - enablement of clocks - Value type: - Definition: a clock specifier describing the clock required for - enabling and disabling SNVS LP RTC. - - - clock-names - Usage: optional, required if SNVS LP RTC requires explicit - enablement of clocks - Value type: - Definition: clock name string should be "snvs-rtc". - -EXAMPLE - sec_mon_rtc_lp@1 { - compatible = "fsl,sec-v4.0-mon-rtc-lp"; - interrupts = <93 2>; - regmap = <&snvs>; - offset = <0x34>; - clocks = <&clks IMX7D_SNVS_CLK>; - clock-names = "snvs-rtc"; - }; - -===================================================================== -System ON/OFF key driver - - The snvs-pwrkey is designed to enable POWER key function which controlled - by SNVS ONOFF, the driver can report the status of POWER key and wakeup - system if pressed after system suspend. - - - compatible: - Usage: required - Value type: - Definition: Mush include "fsl,sec-v4.0-pwrkey". - - - interrupts: - Usage: required - Value type: - Definition: The SNVS ON/OFF interrupt number to the CPU(s). - - - linux,keycode: - Usage: option - Value type: - Definition: Keycode to emit, KEY_POWER by default. - - - wakeup-source: - Usage: option - Value type: - Definition: Button can wake-up the system. - - - regmap: - Usage: required: - Value type: - Definition: this is phandle to the register map node. - -EXAMPLE: - snvs-pwrkey@020cc000 { - compatible = "fsl,sec-v4.0-pwrkey"; - regmap = <&snvs>; - interrupts = <0 4 0x4> - linux,keycode = <116>; /* KEY_POWER */ - wakeup-source; - }; - -===================================================================== -FULL EXAMPLE - - crypto: crypto@300000 { - compatible = "fsl,sec-v4.0"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x300000 0x10000>; - ranges = <0 0x300000 0x10000>; - interrupt-parent = <&mpic>; - interrupts = <92 2>; - - sec_jr0: jr@1000 { - compatible = "fsl,sec-v4.0-job-ring"; - reg = <0x1000 0x1000>; - interrupt-parent = <&mpic>; - interrupts = <88 2>; - }; - - sec_jr1: jr@2000 { - compatible = "fsl,sec-v4.0-job-ring"; - reg = <0x2000 0x1000>; - interrupt-parent = <&mpic>; - interrupts = <89 2>; - }; - - sec_jr2: jr@3000 { - compatible = "fsl,sec-v4.0-job-ring"; - reg = <0x3000 0x1000>; - interrupt-parent = <&mpic>; - interrupts = <90 2>; - }; - - sec_jr3: jr@4000 { - compatible = "fsl,sec-v4.0-job-ring"; - reg = <0x4000 0x1000>; - interrupt-parent = <&mpic>; - interrupts = <91 2>; - }; - - rtic@6000 { - compatible = "fsl,sec-v4.0-rtic"; - #address-cells = <1>; - #size-cells = <1>; - reg = <0x6000 0x100>; - ranges = <0x0 0x6100 0xe00>; - - rtic_a: rtic-a@0 { - compatible = "fsl,sec-v4.0-rtic-memory"; - reg = <0x00 0x20 0x100 0x80>; - }; - - rtic_b: rtic-b@20 { - compatible = "fsl,sec-v4.0-rtic-memory"; - reg = <0x20 0x20 0x200 0x80>; - }; - - rtic_c: rtic-c@40 { - compatible = "fsl,sec-v4.0-rtic-memory"; - reg = <0x40 0x20 0x300 0x80>; - }; - - rtic_d: rtic-d@60 { - compatible = "fsl,sec-v4.0-rtic-memory"; - reg = <0x60 0x20 0x500 0x80>; - }; - }; - }; - - sec_mon: sec_mon@314000 { - compatible = "fsl,sec-v4.0-mon"; - reg = <0x314000 0x1000>; - ranges = <0 0x314000 0x1000>; - - sec_mon_rtc_lp@34 { - compatible = "fsl,sec-v4.0-mon-rtc-lp"; - regmap = <&sec_mon>; - offset = <0x34>; - interrupts = <93 2>; - clocks = <&clks IMX7D_SNVS_CLK>; - clock-names = "snvs-rtc"; - }; - - snvs-pwrkey@020cc000 { - compatible = "fsl,sec-v4.0-pwrkey"; - regmap = <&sec_mon>; - interrupts = <0 4 0x4>; - linux,keycode = <116>; /* KEY_POWER */ - wakeup-source; - }; - }; - -===================================================================== From patchwork Wed Mar 1 01:57:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 658237 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 070B4C7EE30 for ; Wed, 1 Mar 2023 01:54:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229781AbjCAByb (ORCPT ); Tue, 28 Feb 2023 20:54:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjCABy3 (ORCPT ); Tue, 28 Feb 2023 20:54:29 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2051.outbound.protection.outlook.com [40.107.14.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E532E0C9; Tue, 28 Feb 2023 17:53:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WYf57IDxg0/42ltybBOUouihOfVupGs5VsnzbD0k640Ie0wi7yY7Ct86RTbsDwuO8JgN4zpahaqG7IaOIjM2mHNWUmvL0FVNb9eIj7JAk6GYoxQufrhsaKQihzQSZSLiLKwc13RwAF1XNumRamhSqykN214t4jwcDdlMVc5VyV/kTxRyNeDDlfJ28ckgGyCYvVlJB0JfoMpVs8q80jVS72iIiEdoJlcCozyfPIsMjOD2Zy2JwI6nPB48Q4wKl0hPDkI7JHwziUclf0PhWdGw7rQb+O017bFuUD0rTcJYUCUMynSvKXpeEzdbJxnYfzNwZyMqJ6curgRzDzMFGvSdiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Xfc5nRTg8j2fkhT059PVqQX14N4GqMTLIHxTeZC2Hhs=; b=G9E0u+ONavshkkfMnzh+JQvMFrj+8u5KrWYAXqorF469wjI4msZXUy1A4i1E051HBv8++DEaGxZUV8yCeeVcvTKPolaSMRC6Tajqvq+1IJPImKXUbFoLOkdXJny5qCaMQS8XYw7OV3LuxSp2FH3z152t+/kylAin/7B0+eHVQzcfdm/ASpfhI6y/E37R/dGOTshiV5A2d2cWYZCJd9St1PubKMI0ABBEIJxWIqoUZs05/oMDCtIAAZl3VLCz21YYMq5IH6YxgUjvQmFPHvPooij5BADL3RVfB5PWDjy1PBjchT85vI2x+/OWTfRRtKtflidFINmpSXu7grgvKFzxiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Xfc5nRTg8j2fkhT059PVqQX14N4GqMTLIHxTeZC2Hhs=; b=Q4S2VQaJvrVC3hy4I1dJ0sXz2/ziOWbUMgHrNaTprNZ6RObYo80A3gWDykU65rRheOGRD04dDdTalW6HUz9jpOPqoIT/kqZ2lWb/RA+5hAOmroU93evnly/MDszQ5B9VUjkq/yeXlOl9yCNAXADUWSOTr1rwV0g9P695VSBoILA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:36 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:36 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 8/9] dt-bindings: crypto: fsl-sec4-snvs: add snvs-lpgpr support Date: Wed, 1 Mar 2023 09:57:01 +0800 Message-Id: <20230301015702.3388458-9-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 090c9973-1710-4421-a0e3-08db19f7a185 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: V7wELC/kaAjDbbmfg82ad7Iu4y2P35XAkj+2twsd9KN38LHKkJldD85OFoA+lkU9K6a9vpmyvEc05VPM+EoyBUD5CERChs5B+192z2GG7SfJaLCpi8pfk7dYMGey5WU1aKn50uJ8W5nENg5UsgAY5icpLVy/y8PeF9zu6AOhe5kMa/+9vsr1ejV1wy1HLWCsKwQJvlOby3XUmW2IEUAp0AQpn8CYwqB/V6vTllPtlPTCdb4frlCNAq4n8g4SOdiqeObP/bbDOWvzLtopELYo6hjE8KJmI8iTUk4zmvPBIGpqP49QhTe4PgcTHvKXikfI7AAjKYcvbku34yvX/j57TDI3UhETftxRs9NdLXw3LfqyaNpaf4E+RhgpN+9BPejizWrV+VSBw6Bj8jPLwgsSHxOO3C3vdW9Sc/TnysqZCEgWspnursq5hYEAT4oO6bP/2Msc2/p6u59eNgLBFGZXecatTohbZw0EqsiO3xJsAVAckwohC/GrpWtP4FfCXZt/GgN2wIXJyIzPyR8nge1Pmi3hoXEvVPrYn9kSU56JuULKCzI6ZJO3N9Q9GB2fzQOZ30ATz5HPeANHeRxYbykJNqkr7dNg4KW9gPsIjOmkC0M8lk+G3pBIE1s88skdXPGt+0pzC+yF2OcXFA9eGi5X21/JOO6yOuU7vqRXxP25B8gMlGseObJNOl+8H4YWZvNoxdIdgziJAFcfAuGiQwvmKw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(4744005)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: BhD+igRAPDpJubuXyw5X/9RyF/+iDekwUsF7KG82tgqqocanXcl6/auN6VAZy184LUCaBtw/04ABkb5XfwfsCzBjRCd7IaOlKPuLPfyS5ri08xikY/d/k7gV6Jea+hwAGmPqUpoVSNGb9rBlWqyANFW2LgD9/ywI5jgAhPYMbAedNXryrTFtOqFJv1yOf/4o13eSzZIIEfMIGnSZkRtiE3rdavJXTZn4jQ2av7azMCzHajwJ3UuzlYWmNJ3FuYy1AElLUBSchiNyWjTe7PyWm6yYWEBDseVZIb7iUM7WQsoYRC9G94bLQVrBCx7Rx5q6y7tb5m7dhCXyUUPKeh8900L81Mmb5dNHVpOXD0ee6w2oAKy44hwQ5B1x1d5Z8d/dgwm2PCWOKB49Dk+OoHdhNNTNOBPfjypSc1itKDMzWI/UIoh6aujkIdFlSOMFGAZfQmZ5lOlMIYntLN1CKfjirK5xy+GPdcPft9Lt//QtVAebdFCVCmKnsGx5QG+MDVy1ZF01PEJRokvPHzl0QoRU+LyeFcKMDpBfPXanp0G5tQRM3yaXPoTu9U+ri+VVuBkre3KjYSHmfDz60cu5tUu0i6sUwy2U65XZOT+IWM7LKH+jyxtcs66PBv5dimrl5K4F5Hp1ewUuynt5SRex9j1HKa5gPfFU8P/uOlwcZZx0oWKF+f78pO2ST7Kp+i6utD53R4k6VfWztNXa6ocyEUOuTImEFlsNTpqfbZ2sPREDXRQFruOqT+h8W+6yElvLdKl0keWy3NG3s9sFE8Wl7odfyEwm47MFzmnMDZ0Q0qTle7h52SbtU9EGGpP3w0PwLF2mzGljix0vyez0zIy5TZje2NEJS7huMnwBNoDdAVIT9Jva2ohjhXxEICC4DoqDXYoS0b+7dLINOC6MU0ql7c9WGSZs4oNxJSNdqdqC+PNrrvx95pTXUa0/FtT/9skTlYHbjc4dqFJ0ZwGE2cOQEbeH9ZZKGlAu9N8CizZY3kOQyOs8wT/1jvIV/n3NP44S6GyDw/Ohsuo3QxAKEzx0D63oDvNTf8NgdgMZzQr2Mm9sX9NrNbVjGp8F/nvkVsL1DbV5WW26TimqmrwhzsfD51p0q/LKCUTsOwWR2gnBWAyZpggV+IBk3fdrWMUFKDRuafKMyndTgek6ZdncXcPtvd+VOOM2ybQ4v7r7QtdQ3I7xxFSBDPY/EArd+300BttrJ4qWbHhbuiLqN0IqYmpenLHQAB3qCwzNeHJwIO2YC8XWmAqOEhOkyebqd2qmuJAAQ5CxlkFCc24FLu0RLt9M+AkdXiWJYPy6lgOqTzPmicBy+DuAXa1EkfqmFSrSZIoBf48PaDI13ajbXh9Qq657kCB8BTwrs3sx/euCoBLoeFb62lNER6ldGLx8PocooRuipE4ZDgKkiWVxK0eKxnm9DQYNLUdSXJ4yYbUo63q5o7fwXLSGaIwVjFIVlIuL1eqrzU6kkcTqEh7JbGf7Ov0HMWeP39SSq8LHA5+TDuLuXkuAaJygRGaHAbaZnmm7WVyl8uwqo2Hby3BFByF4IQfFNlRt8/YQfUD+YgJrnSn+HHuDMPGmrImJ94ZHZElLWXs3+Rlg X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 090c9973-1710-4421-a0e3-08db19f7a185 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:36.4155 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ddAz7t72iRcsXDMTmigQ17CCmm0Q3CT4xGbz9hUzAxC864iKZaH8lgzNdNXRNVn40Q/r6HE/qmGVjySUg+BT+g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Add snvs-lpgpr support for fsl-sec4-snvs Signed-off-by: Peng Fan --- .../bindings/crypto/fsl-sec4-snvs.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml index 1a4b4975e1d9..688057ec5c97 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -124,6 +124,25 @@ properties: - compatible - interrupts + snvs-lpgpr: + type: object + + properties: + compatible: + oneOf: + - enum: + - fsl,imx7d-snvs-lpgpr + - fsl,imx6q-snvs-lpgpr + - fsl,imx6ul-snvs-lpgpr + - items: + - enum: + - fsl,imx8mm-snvs-lpgpr + - fsl,imx8mp-snvs-lpgpr + - const: fsl,imx7d-snvs-lpgpr + + required: + - compatible + required: - compatible - reg From patchwork Wed Mar 1 01:57:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 657945 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDA22C64EC7 for ; Wed, 1 Mar 2023 01:54:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbjCAByx (ORCPT ); Tue, 28 Feb 2023 20:54:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229845AbjCAByn (ORCPT ); Tue, 28 Feb 2023 20:54:43 -0500 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2089.outbound.protection.outlook.com [40.107.14.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3124438026; Tue, 28 Feb 2023 17:54:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DH9M7MUJLqJDozDGkECdMK3CWLMSIJkXD6yvr6bGs2oXOKlgPsmb5x6xE9CTatZH7IgWrxdEnufg/quO6XIeFLYpR8W8sTfjHy5JRpgzwUOypN+SGKrcRyU1D5CdG1g/QwAHruNePZ3++WOV9v6cNJsRTA6ixqfyfb37cz7qidM+Ns1KJrl/oZJEYXyT5yGyAxDMV9YhFC3WxlTypbgmUFCL/zXhLJjzupAOkTS9p1GK4Sikzat3Tyq1cyIB2vrfwR8AyQHX68Enu5W/3BGiMG4/gB9y/uztBAqVjdth2hW5JeI04LxalxotP48VxnywUCSdacj3fLkLHeXCMttxpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DDyHqJ9QzyYeozDUTCrTxsjgUPDPDdaz08+Nd7PYg2I=; b=USeJQyGLkO9APTUcuVcN+s2LbtNN79gusBAjA/QaSXQ9Wm9VpLPJjVmuM67kSRJsa/xq0KjQJ2vGCwuQsE/e99e3OwOpmNNFVzAnhtP9zFX/5SF+fsA0MD347XN0HHz0Xg/4+a5VL0tRw4odjS3lpPBnBJsNvMNCd8wfhHRyB5q9v4V7J2bbE1vCLOO7gVVPMvi9TljQO76ZTPkEnc4vaG8T9xp3jSqx7PY0APDW1fciiBDqtfGBbscDfbxr6I1YDmKxYHTy8gXlkrvxrTyvsdgenMwg1j4XwfKLFmqbB27Maj2Iz/SFmfUBBEV84dZh5OTL7UYSPohqxumDQAhzYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DDyHqJ9QzyYeozDUTCrTxsjgUPDPDdaz08+Nd7PYg2I=; b=QkQodwjQGGwQaxpI9lsawh01EfqhbCo1v5lHsYETktegoUOmRgFNV8NpxwGXEomF3KFp7ywDx918TrTbh5CvY13cxADxCmhlU2qr7MQFeqOgprsEX5/AXhfFa4SUeupIgIEpZReTlGYvsFaAh3IfKYMfhWflp4a5XCyz0HjBtp0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) by DBBPR04MB7546.eurprd04.prod.outlook.com (2603:10a6:10:1f7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.30; Wed, 1 Mar 2023 01:52:41 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%3]) with mapi id 15.20.6134.027; Wed, 1 Mar 2023 01:52:41 +0000 From: "Peng Fan (OSS)" To: herbert@gondor.apana.org.au, davem@davemloft.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, horia.geanta@nxp.com, pankaj.gupta@nxp.com, gaurav.jain@nxp.com, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, stefan@agner.ch, linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH 9/9] dt-bindings: crypto: fsl-sec4-snvs: add poweroff support Date: Wed, 1 Mar 2023 09:57:02 +0800 Message-Id: <20230301015702.3388458-10-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20230301015702.3388458-1-peng.fan@oss.nxp.com> References: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SI1PR02CA0022.apcprd02.prod.outlook.com (2603:1096:4:1f4::16) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DBBPR04MB7546:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a278638-f018-41e5-52ad-08db19f7a466 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LgXYr8Xx2NLJhENvoF7/UjiPbO8HQiB2G/QVYyP5739OqbIR9covV7XQRR1NXgpAGZb8ETYa1iGhRK1dRxMEBq/taMStMtwX69kbKGCfKsdc22EW2o3CxQNYiwhFG+gsFn6GqfZWg5Leg4xzum3rWoX+fhi9I8GvI1Q9kQTBeBTHWBaeq8WJ/Um9f4+0UMD/vEYwUtQ6OkSO70K0804Tq5gZ0Ed2xODF/0Om6VwFLJPye04sIzkZj7hTRniPH8vd3lZehJcmCJ8TomhcpP4THvUy5gotLqQVSu1fs/JrG5LLmoSLsbEYONUkH2Y//q6IGekUhq1ToiPyML7ARE12qG2Vn1xxcOO1JbmXV5+Q8eNR68k11myOZz6v+6LlbY+wbmZsGtnv+tTkacCs1rhZQbXbT19Hs+9393bJdgMH4bNeW2KmY/OiK9pyMud3F3c1R+2dru1pc5oGYGmxNPqvnRjvqaRX4SNjxsBZ5Bp+z465rYj8/aKa+LLT9K7GWrsaIGV1/96VixI5iLpG65kWYNJ9vdvfGdDDHDGhjIlXS+ItdL9eYfTegDhZMhOVFJw8Fo/M5B5kc6GcY1sTx7GYeZD1fJe+b5oo1d/52PU7PR0pEh+HrhTkIvGAiNglWJgPZrapx73HwQxbwJcOq+/RtbRLr6zGbiSaKhuOv/rw7KsYAT2eA3Zbo9zK71k62j0w0cIHle6J6+r0b7KB8atNUg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0PR04MB9417.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(376002)(136003)(396003)(346002)(39860400002)(366004)(451199018)(316002)(6666004)(2906002)(6486002)(6506007)(478600001)(1076003)(2616005)(52116002)(26005)(186003)(6512007)(86362001)(8936002)(7416002)(41300700001)(66556008)(5660300002)(4744005)(66946007)(66476007)(8676002)(38100700002)(4326008)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IRgVEYOOoeWkTopWvBVhzP2PZI/pzFpKLFLdBDlQD5BwpEBeagbREdu1jxvtQNgHiiW9lXvVtK/z6N5zKvtmBrwR45CN8GIcXiwspSPnO7dEGuP/fmcCeuqtoOxl5WVcCf1h7/ih8V82errfHU8eH/V76Aoyk5l5lU+p6Vx0wfO/3WOHLLN9D4ADwjKHSbPiCm4TzdHyh9FoqUHYMg2KtE9UrtHILZaWS7qna0K32AXvQdaxfGjO6NNXd1SsH+ax4QgytCBJnEd2+qjbRAd6wqE6ZsODsDjFSPBQwb99E5y6gMk3Qh0CGZ2HVNbcaqjxOfYTCY9ciexi3uQ4I8z9gtqAEkAdN5YvYupguCmt4ULv1pwjR2kz+mvR6tojMDiS0XtmkyZT9GkGtZM3OkSDe6v2a1jO4w/O1tt2fVtYUwHdzCTbTWry1PSbrqls5bAn50629cQqtYraZfwPHFdZeBzI3KcWQhz+lpXmtUtuzPSR6zPuJqqrpvhb3Cr6u8x2CFjqueHnVIb7osqjpC+ku3WxQNhfinZ9k0e2LzOMLzfOvrXvQypSE3owPCVj97towIy9YKicsMdpgurezadVknJTHqSvjxe+TGZ4O7PUfYGQQcLomVjjgvE8lZLGwwsrLx6ftU4Uu+5YQUayeRw74qeBpNCi/pmY6vWEH6fGMmYesCI1039gm3G48CzV3dKRi2SR39ViLvjvDKAymyY2wbgTcZOP/XZWt6CKMqrIJ+JyLpm1s7ZSgAHGHHVPLiwWWTAkBATiDA/jooGdCwiLq93iP4GaqXsyrS7kkqYbx6bJrlUxxkLggNbcvgjHr1reXd4f8ucIzj32iZImkt6m7VBn8QADXXRQVlzMw8rFlJisylUsvneJoex/36IoQ7j+0odVYseQEkbgtGdnvpGFVQuCXYKHVoLBenhP4BidB/tWRB0NYd6K6rYa+6v54889baL+9UcN/d5RR0p/dSsLb1/P8jHxLw91hd5QkKu/9GxDGLyIt+BMLqS2Ot6FshVTqhAWNPaoU+7yKYEh9PMVcN/ifiwFvrutmAVp/DzFDmVuLVRLT/obYtBcciGbNhMcbmhicsYx1dhdMoWIqsGAYOycXJALtS9c6m7d4x5ktslo1254DjjgGuM3RBzaGmnF6rzSXOsJNTj2ycSTrSzg1mev4jleiVZFwWhbRcHMpxLS3SHtE8LRxWGsOTnRHXGu25xddjXDKGcJFP59UQ3vf4Mkg4KPY8tbZ9VOYknPKx3XMl7EECbe1aL9jV7vXJ90wux/+0UBLKF4nIas/Sqoxi/OkQ04GgfAZP0CN1dJCAASZ/Yf0QGC+LbTZsgEz4NseHxSKeBEwdGQx972r+f3P7UCEd3OLB3tySiRmzeXNoCXFThWiBMSFV2ia/sI+RO94LVuTFYG4t2NoCaMc3aXpNubqXJB35s7BNjMvSvMraVVNNZR4p03Q4UzAO6K6WZ4p5E+SycmtyP8nV5jcZBxl9hdKyyOMyqmXO586qwke3Zo6t+dh9WwfLPpofmuVJUDPIviIzszR4iH1BdMv+AuCe5yAcp5WhLFiw5I92sHvenqmW9QtrJIW7FtIkVc5HWb X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a278638-f018-41e5-52ad-08db19f7a466 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Mar 2023 01:52:41.2123 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 50JU2R26/BE9zLy+uE7zb7zg+yzpwJToGgnIOkPdARJ+6Mu7YrAOrH6hAtXSHWgi8l7g9Z+wrVhQSe6SpbpqoQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Add snvs poweroff support for fsl-sec4-snvs Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml index 688057ec5c97..f08a7ddece96 100644 --- a/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml @@ -124,6 +124,10 @@ properties: - compatible - interrupts + snvs-poweroff: + description: The snvs-poweroff is designed to enable POWEROFF function. + $ref: /schemas/power/reset/syscon-poweroff.yaml# + snvs-lpgpr: type: object