From patchwork Thu Mar 23 12:39:07 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: 13185605 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 E5BF8C6FD1D for ; Thu, 23 Mar 2023 12:34:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229461AbjCWMeI (ORCPT ); Thu, 23 Mar 2023 08:34:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231515AbjCWMeH (ORCPT ); Thu, 23 Mar 2023 08:34:07 -0400 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on2057.outbound.protection.outlook.com [40.107.14.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B155C196BB; Thu, 23 Mar 2023 05:34:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g/zbZ91lp9mcLw/h+O0Z7hP+sW1EdzEeX6K1q5zGbsPupGCOeyUJeJzrjmte4rgYkUerqfaFCgcOx/HH3n6kb+04+oWIwRGnbCGSB6nTPKCwhtvPTZfnMF+7NdX/m121sFB9gyPWP/ptbh23Xbudjr61y4U2PUGvlbClvOYx6OI4XqhrDka+HDgpR48kucAexs5btpR9bjdnbbkQaBGqr0S/aTWsawTfE8Msb2Sj4nYWkC4+ilsI2y9xsglUicjBDM3e6HB6Xxu8vHY+w6fUYeqSNKKkAFUgoFvaa9cvAF07cFfZfB6Iztq7OUWDcM9NA77bJNLERv27rWZlNFvouA== 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=1rPu+BslgaSm6CfHCKtQIy6DG802vpF7dfMOB9wjPnw=; b=nf0FSG/NE/U32fsTn99JAevN2IiVOGrpFe4IMuwbqZlIAXpH7DhGyOB5CLqazIz3cz276WE1DhBp8fuGgTF07i1+lm2QGDrUuT/r1zM3N1uUb4skinFfHKIMXEL/CRWYm3CHjX5LfjDfa6FdeQ+uYWt0sZfoFaXhWDITC31Z78Epbs8ZT4WU6qLPuoC6rhwYC6MlUU5Pd3DfxD3B7p+Sw93po6rYEgt8A/l6NiGif4coffx61LYbqfpOMGzBibETRS1umXhZJ5eg4F+ITFvsRCAFUm11NzDxOYAnHIw2i0kPCmhsoCycFTorLfL3XDW1vh6z0tWBSdIm01hU8KWP8w== 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=1rPu+BslgaSm6CfHCKtQIy6DG802vpF7dfMOB9wjPnw=; b=lhpzDMY+fQt7LE0oMoownkwlAVIRcxlZ2ZyJM6bKF8dQ+t1YO/yswa5Y+Xe0BfajvgcVAZia/5wuduMF5vhu0BzMC2eImCj5I++QaRe5GPbVEx0gFRxV1/kxNtoCOxgExH+SHHv0Iggn5tVlJitridv6sdnZtb5IzbEDStUyL58= 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 GVXPR04MB9926.eurprd04.prod.outlook.com (2603:10a6:150:11a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6178.37; Thu, 23 Mar 2023 12:34:01 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::f55a:cf12:da08:6d2a%9]) with mapi id 15.20.6178.038; Thu, 23 Mar 2023 12:34:01 +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 Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan Subject: [PATCH] dt-bindings: crypto: sec-v4.0-mon: add snvs power off support Date: Thu, 23 Mar 2023 20:39:07 +0800 Message-Id: <20230323123907.103719-1-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.37.1 X-ClientProxiedBy: SI2PR02CA0020.apcprd02.prod.outlook.com (2603:1096:4:195::7) 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_|GVXPR04MB9926:EE_ X-MS-Office365-Filtering-Correlation-Id: 6fc6237d-9b3b-44f1-3c0c-08db2b9ae14f 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: LrJE7hpZnVL8jOvBgjzpW+IItfN44scs/QJcfpx+uAuTlgu1DlpgkXiJEYuZMhpqFuOEJcguFxznMWYydBE75pFiQvuWBn4Gg6LQdvWlvYmxpxdK3NBq3U/iYzw4+rsEPZkSSCxPwC34MarXauRGLhnAyDjGZYzJRVKShjIF02cB2cV71JAKuJmi/+++RSueJXt5I01WQUBr+BJf35oUYFMQR8tnOIgw3kkijbU0bsx3pr5kMvNutNgj34zBhyIyDjOOhh0rKGT2+60CS5/Z7Y+u6XaJ5KBRcLzeOhlyk9JgFVqUHjH3bwBjnal1gVkUml3jgzmrDkzuKF2xsT/HEh8j8Isgp9T2W20u1ySziXrXTQ/S7/GLzOgrJ/ykRvHj1SK8pKUJyiMmM6PVCtrBydfaFgQlY3Ypbhu8LNe+DycPVaB7nCX/S+B1MaHtjDwpey2XlNJL8wGG94dwZBexYLcUEm2PAixHZxhUei7ka1r3PJJcfLuVKt6ergpdXNO/KwlvVx7tYNU08AJA0YWOby8lRmyMeZlo9PVbR3QmqlgV/ZQZpYRM2VwDI01LxxbB9aX19GyHhxcDP83QzbojKCStu1pZ2UZkSg6CWIHQQpJK5jOgexuYMhrew6j1NzEPj6OPYQREsgKsSpteGt4NJbfEHLO0Wv4P8sJFuzziVnZvsumuQSW2CH7CisFiAKsj3WdyVHbrL695q3j0lnDzXg== 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)(39860400002)(136003)(366004)(396003)(376002)(346002)(451199018)(8936002)(5660300002)(316002)(86362001)(66946007)(66556008)(66476007)(4326008)(8676002)(478600001)(41300700001)(4744005)(2906002)(6486002)(52116002)(6512007)(6506007)(26005)(1076003)(38350700002)(38100700002)(186003)(2616005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /X77Aay93A1RN/VlyIQiHKXau7rN+tEoyU7LZcL7stm+n6hDq8Rq9CQnnZ3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wrRJbWNU/Z9B6uKAawzourk3bQNDrUl4m5ZIw+NlAIYRt0Th7hQHaX60/iuTsuJGPvHyQx2cRjJCGLwHm1/ecZ0UP18xd5P+/2ZFxIT44+lj+uju2J1QxG3xIkIpbI5qFj2SIy5+NKc8sDeo+Kxf5uxTGK4B6bKlvp/FbJ1c4D9i84U/NcbgXcOkGl20EMzvNaVd6w61FoQABJHdgzrbHlpWgHgTYWmEEO0QPgKaWy6v32vzcPAGiWh016iSzZvtFjICRYCxdJQQ5bX0FzfthFwvhTBSOWwo6K3vDwo5i0vBrCFQDmjHPFQhU3//uBok1YgT53Osh4AAvu2HgQDd6+lowitcZ5QLX9SBuaCqWU0/Eu9ydlWyvjJRXQeaWhLWlZW9Ob72P3oYhXXejU2GUBRqrUJns1xew3l2MJn9/n9Hjl7oCZ8YTRodl0m4ggDVyiwAU8OlmBuV+K/fPunKq0 X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6fc6237d-9b3b-44f1-3c0c-08db2b9ae14f X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Mar 2023 12:34:01.2455 (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: 7D8QOMt4Dezj/11JVC2EAiTxS06gpru6pEWJtzr9I1N/p2c3JxD6kHU7SxvXdZYCXKgWJmugHX870Gj9fUFi4Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR04MB9926 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org From: Peng Fan Add SNVS power off support. The SNVS_LP LPCR register could drive signal to PMIC to turn off system power. Signed-off-by: Peng Fan --- .../devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml index 353d9140dcea..286dffa0671b 100644 --- a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml @@ -113,6 +113,12 @@ properties: snvs-lpgpr: $ref: /schemas/nvmem/snvs-lpgpr.yaml# + snvs-poweroff: + description: + The SNVS could drive signal to PMIC to turn off system power by setting + SNVS_LP LPCR register. + $ref: /schemas/power/reset/syscon-poweroff.yaml# + required: - compatible - reg