From patchwork Wed Mar 1 01:56:53 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: 658241 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 18B91C64EC4 for ; Wed, 1 Mar 2023 01:52:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229492AbjCABwI (ORCPT ); Tue, 28 Feb 2023 20:52:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229471AbjCABwH (ORCPT ); Tue, 28 Feb 2023 20:52:07 -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 4511732E7B; Tue, 28 Feb 2023 17:52:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=U5ZIp4nnxYMAHl/qE+kyhZZnCQvpSVg46fbVrNn6Qv12iL1Ou7bgkllRyCRPwIhX9ulfxZ+tTTSBSPIECyIoVtfr54Jj3HReRFyi1W8fGv9LtSEj9zv2h2qgg/GWXF0Wp95HOJaV1DgiHWNj4HRdeCUbBW8xF9/UhNrXc/0A99D6DmL51bJcCs8fgbLIG/v4gT0ooIWcgMJMj/VsHFLceXOqWXpzVmdYBz2D1XQccitzy3lXUVBRHalJ2Uykn0Nf6VXbXiN2xkK1caSWep4OfNg1zCK1V5FfSf7DDs9aOfH1YwlNN1/xqZcjbsD8dnMnkPR8eYZAonRSeRbwVA2tNA== 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=adALO7DNK1OaO24+/T91RzwtSj3QpcRjUVKieiXwzyo=; b=JTwXj9f4wv+XA7nu5iB9JzLQRs7v4k14AnGQf1EMyhnCvPl3H9zrbSLUgyANZwzUsNmWhjGZfL72lS7U9TxseCs9yaMIDPtuIX/eskOfi1eogIxdLgVQeHIS/LWRLd6Q83+oUJk7fnbjCt61SFzMbfU7dJABblQW29pxqPQcKnf8qq3K553xmS7K9yEgNl18tVY57G4rCwLv/muRqIaEy0QpvqSBHA0bERBtQtyZI9K2gSJ9GUVTPjSX1tY2mH35U59YvEUdo45va+qK7kW373/1B/OAC8NDrQqChM2x4a2ECljoyxlCyKqPvDzyCRyhsEkqcfu+5MrpWvyeOiVMlQ== 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=adALO7DNK1OaO24+/T91RzwtSj3QpcRjUVKieiXwzyo=; b=KX8vap08LyLxSc49nVcaDbluApMotfXwPEjRIQHU/3sOYwc3NX/TntqInC/iENvwNT+sjWJOTA1yUWq75EVJhg0xgYnuzPEyRdQMaW2XdVOG7ZBbJzyh/CZfWpB3d0r+Bf3vQoIIgYW3Yflq1yUeLvD28qOhzOY6diChun9cYog= 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:51:57 +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:51:56 +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 0/9] dt-bindings: crypto: convert fsl-sec4 to DT schema Date: Wed, 1 Mar 2023 09:56:53 +0800 Message-Id: <20230301015702.3388458-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 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: 6199e52d-1590-4a44-85e7-08db19f789e6 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: stgl95KnZlbpdpfWOsqA6MuxoAOFxJc7rNOgee2sgjtGIzsCxd7dakfnqu5e6dcWaKIf70TaEgFpPEgI30X+UoXqz7q6k93taBUXDehIL+o39yvkldfS20Kn1LN2EKu7EQOlVq18bMMCw2j2pVgD4Ii2uq4sMEc8xyEGdCDzQVEdDmHhiYErfrdZMgxbm80xSUFBCP7T0LFocLUvUn+NLMLGysm81wD2rzh/HqqH4uXc8ElEuVHNy8e1m2UHX/CBeU4NU9xqQcsSUt0ZpgwLz3R6PfBhLqpOj2VNE0L3OWDHPjokp9rZ468dfyOGbn+r8ZbA8wZlywpea0/3kbdKSgBlK/W8EVO/b/fEzaSqSfh+B50nJ1nXq/Vqt5Lys+Q6Lt/qfcvX3HAvLUFz/uWIYo1f0so5CDyACjmgjlG8ScQGihTaBtAll6Snfq2QKlWqA1VksAR9uhu6FsGDVT07xSsYkVezS3J+n74FVzKkIBKCnEbn4H/4MlUNOR0dtiPvsRNAU39zYV9/cgf9JEhahvRc4YAgvQTUy/mc91QMR+TeTrGug238yC1LrvD5Zw+xrrybjYjrAHGx4jGu4XhZuHbZAznTwAaJdpgyJu5VUQxB4J7ZUdj1FtCL+BzsuWyyzV7YVZ0sBxxEImCRQva0gI0jINaGdY69St67HjmDoP41B5qedJvfWhGFaPrgnWw80VNXT4Ua5yvNmQ3vmdGB6g== 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: rL244TQVxd7iChif2r5VxOw05AYy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xn+m0TKsU/oMAo4c5SCdvtuXp4hZFkU+KuFGdss7PO9CU0Cd1uCzs22AfT7zHrkx01h76i+gIvLtJ5rbZhroQ6rTKbRFFhH+jzn786kao+MIyiwGzYGYoSbMKlz2L3Q1VsFGBfok5ji3GoxfVTB8G+BtIsK4t8XGewssjTlhchWgTWveSOtTMA9QfN5+iaEi+fV/YwvTb6y6wjFTAs4NLz1Kxh8TyvHl+uaCs/zJVf4Q4J9BBrrSP2L4CY6QPYun9XKijccFTR+MuhpLm5WT/cQ3MzB3v9OzDLsRNWTwj2D1GwWRFsorefKDAkS8yLiJtXPLbmlvAFvNvHQpo7Rsx3BmHQceiDvNW4zmm/VTujTnp2L8uHfOmmexKxCNxerw4R6Cyer9kARsLmHs+JgAigBBPzGk9wQKxI+J7lle7tign83wn9YLEBmkVTO0FgwmUy6AbUSRvUydn5VtRfG7j5Gg4FpBNaf58XVmJ54wtKorFgwmaWBq X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6199e52d-1590-4a44-85e7-08db19f789e6 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:51:56.8300 (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: 8xgHAwx+lJRDuaeNBpKpQxqkvRjpk5jjsnvO8qWdeY2Sws4xsnE7M3QRHaT+UJOCSbGf2UMiSsdKivky+jjJPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB7546 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan This is effort towards SystemReady IR 2.0 to convert the txt binding to DT schema. Patch 1 is just to drop uneeded number since following DT schema will update the name The fsl-sec4.txt binding has two parts, one is crypto, one is snvs, so I split into two DT schema file. patch 2,3 is for crypto, patch 4,5,6 is for snvs, patch 7 is to drop fsl-sec4.txt binding. patch 8,9 is to add new node Peng Fan (9): ARM: dts: vfxxx: drop the number after jr dt-bindings: crypto: fsl-sec4: convert to DT schema dt-bindings: crypto: fsl-sec4: support sec5.4/0 and i.MX6UL dt-bindings: crypto: add fsl-sec4-snvs DT schema dt-bindings: crypto: fsl-sec4-snvs: add simple-mfd compatible dt-bindings: crypto: fsl-sec4-snvs: add fsl sec 5.x compatible dt-bindings: crypto: drop fsl-sec4 txt binding dt-bindings: crypto: fsl-sec4-snvs: add snvs-lpgpr support dt-bindings: crypto: fsl-sec4-snvs: add poweroff support .../bindings/crypto/fsl-sec4-snvs.yaml | 181 ++++++ .../devicetree/bindings/crypto/fsl-sec4.txt | 553 ------------------ .../devicetree/bindings/crypto/fsl-sec4.yaml | 366 ++++++++++++ arch/arm/boot/dts/vfxxx.dtsi | 4 +- 4 files changed, 549 insertions(+), 555 deletions(-) create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4-snvs.yaml delete mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.txt create mode 100644 Documentation/devicetree/bindings/crypto/fsl-sec4.yaml