Message ID | 20240202-imx95-bbm-misc-v1-0-3cb743020933@nxp.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8541AC4828E for <linux-arm-kernel@archiver.kernel.org>; Fri, 2 Feb 2024 06:30:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=limo3ifvVe4U1IQWeR0fhjytCGE8dwWPjBhVIPPnlKg=; b=Zdmnq5mq6GwhNd glkmeCY0Qovuj6g88Igek/HdIR/eyup+jG1/0wYxKwkxiPhm0btl2uXClF9XzH08bBeESkkSdt7Sp DggV+7FWFp6Kw81n3UKGNXzx5T3X7F9gGMgo1zCdcpeYjiSqR9bFpmQpRA0aEjSS/bM97jOilm+Fr ZzXsVHFKMNo8rwgn7DBseJA/g74TAt4CS68R4qYiVz1baTYqE6aKdcoyIRkBhldkEaIWWtEYcc236 Ef+YCdCy+lOnE3PHTrP3p55gmVIaegzniPRMRYfyKfav3Vwk3JlWKqIDoEogMk815Bt1ZQ0tN+K5u tlHGAmejWIA9Ulw1MV+A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVn4P-0000000AQP2-1Srz; Fri, 02 Feb 2024 06:30:37 +0000 Received: from mail-he1eur04on20601.outbound.protection.outlook.com ([2a01:111:f403:260f::601] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVn4K-0000000AQNl-0Lu0 for linux-arm-kernel@lists.infradead.org; Fri, 02 Feb 2024 06:30:34 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=B58gsfxeQmiFEwWFiA8GbydvpW1iy3VT4BF3XkCvHXk79sVJJR155EbHION5ZJFNDIC2jLedpUYrdwClyTggC+cWXBAlHfFlYcy/b7Da40vQCh/0g0wzXp35ronlRDMmWXuG4WgWkOmlz1MYaYY/YaJ2p2l05xkSilpKL7XUB9XVZmTI70Fc6kduUaAI1M+7t85zPKmCtFZTcigEzaVLyHfAfi+UZnTwFse8kaLCYHj7UaJFMPifcpJvAsHya8Gm4XdRzSDYjxIV1TtFjy0OgQt3390LvIDW1WeL02Ey8SjtJb/Tdztyx2FDrOXhAeGLgEXp4sVbV2ctl2WVoGVixw== 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=uzGZM5OvAhKwCSsGd/Xd5tdNYnQSQvXjFg2pUIwpFsU=; b=C2HMINTdgXvy1T8l8Fxzu1jm0FpEM3B6+0iQzptxSRZrUCdfApr00ZrwThfkBvGykBJVjP2/Y98ME5qGnL87ShRFoJu7DRI8jgLmkv1KByZWuAxSvLiIMTRjk4jWy3wgijCezK6WkffleMU4L0f05ABm+0qO0kX7mjoVR12CYH0Y9OeBEq4siecljSMNnWLETIM39SjbEh5LaRFvq9ueHaiGbK4yjfQvj2LI8Gg1n85o3yV/vO6EBSU+KRcfhwMcav/sCi4HIULR0FJaU1lzwEBW0WfbSGcEWPVn3uWwAXla3zQ1RD/WRXz8LWrfljLogRXWbR352dVaK4muMIMlLA== 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=uzGZM5OvAhKwCSsGd/Xd5tdNYnQSQvXjFg2pUIwpFsU=; b=kOel0100+bz2SZMisfsLvOOIuTBrcAboaH/A6YepvGrEKw5VUDtsPp6JDneS49WT2BSZU8UxdSFEfTgaliH6XlHkcgX+UW9UEr7HolfIcdsYzPc4TtvGVCwvBqo49mDt8/Y7k5bx0icP6cHMYfqpP0D4Z5ZdJ/sRixvgAKpX4eg= 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 AM9PR04MB8604.eurprd04.prod.outlook.com (2603:10a6:20b:43b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.26; Fri, 2 Feb 2024 06:30:20 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c499:8cef:9bb1:ced6]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::c499:8cef:9bb1:ced6%3]) with mapi id 15.20.7249.027; Fri, 2 Feb 2024 06:30:20 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH 0/5] firmware: support i.MX95 SCMI BBM/MISC Extenstion Date: Fri, 02 Feb 2024 14:34:38 +0800 Message-Id: <20240202-imx95-bbm-misc-v1-0-3cb743020933@nxp.com> X-B4-Tracking: v=1; b=H4sIAP6MvGUC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDIKGbmVthaaqblJSrm5tZnKybYpJoZJ5saGppYWSsBNRUUJSallkBNjA 6trYWAJtTUk1gAAAA To: Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Sudeep Holla <sudeep.holla@arm.com>, Cristian Marussi <cristian.marussi@arm.com>, Shawn Guo <shawnguo@kernel.org>, Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix Kernel Team <kernel@pengutronix.de>, Fabio Estevam <festevam@gmail.com>, NXP Linux Team <linux-imx@nxp.com> Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan <peng.fan@nxp.com> X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706855688; l=1515; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=vvCGtDgsY+4qeEGet1ikEW36XLuJIv5/uBal+Uw4s7k=; b=0/oL1MUnOeS9D1he+w1YJqyfK/gY/ua9qJAd/h8GYrdDvfqHQbnGQIR5pj7tyXVYzd5X/1pHZ XdAbuXb8we6AUhmkCaSpxhzHbH6NxGW+tQ3g1vzAHk1+S29TfasSxVu X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0048.apcprd02.prod.outlook.com (2603:1096:4:1f5::11) 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_|AM9PR04MB8604:EE_ X-MS-Office365-Filtering-Correlation-Id: 4631ac50-327d-40da-3809-08dc23b86dd8 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: qi9GYjI+8yA2YHv8RINDmXSzAWofYjUsiRR/5bA3RUPLIlMsSYK/TW+4Lg44iuxT/p+/4CTU/fCwBerdZlW4e0FDWXEoh/v56GGIaqiZosPpVKJ5HaU9fiKsyrTmKSTVHMkHlqDYnL3Hb9uTpyvHhi9le8v6TpAN5wT/Oqvw8ukbnU0sNK98QA66Od/ixhXPWdAjC7T2qqHsxAgtddA/naL6vo7c1hPsoYuhsFVpES9ElUvBFPTwQaV6nKo+KpdYv1nnHGMUY6EV1t3mTtI77eW52tOfrbekJ24tHVjEIbiqW78aPlAfpJtVybUtAhz/XwSXdDiAq3MvrwF15cg527AneDDKSLkJbtZ5AYKzPrBOzFFBBEn4d6FYawVkSf2Hc1eF1DNPz0h3/t7GaPEz6RB9udvaGxMAFS2pbgaUOZXFa9O6V6HoySkDPnIllfLVEeMcUV4Z8rtEK8L4pF+/vNThb3gVXKBFjbBGhttCU/spJNgKjmAfdTbxWxaJajcVjmyT7EhkpcIiwCVD8CcWzYVkLmL6f597PPycswcMnnIEa8Eu95XPSyVh4JN0UmW7qyyOSJ6Ys7OCuQrqgnES2vAwmR5W3Ym6oMB+WBaR1rp6dV4bpZb+MUt+1Mjnn9jKU6gfChJSS4eHv1IPQoQqPA== 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:(13230031)(376002)(39860400002)(346002)(136003)(366004)(396003)(230922051799003)(1800799012)(64100799003)(451199024)(186009)(9686003)(6512007)(6666004)(6506007)(52116002)(8936002)(921011)(4326008)(7416002)(2906002)(5660300002)(316002)(8676002)(66476007)(86362001)(66556008)(66946007)(38350700005)(26005)(36756003)(110136005)(41300700001)(6486002)(478600001)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?xUXZVFitNDzzyqZLw5vkh9W7JJfR?= =?utf-8?q?SQBfVEL4ef9rsn42ogcTujBd3Cg8Yu6sV0S44l8aXpAXbg5K5XKWJIQDfcAEDK52p?= =?utf-8?q?mPYCOqyJN4Iu/fcMopEHuBHj5s8BLg2C3f2s9DmFq+A1z4WPrk8vbBw7GXKVpsrcK?= =?utf-8?q?zdpevE7ekYOv7wn/M/g7cs8CRBxixzC+JkybQ9wB9ng7c+OyhQ9JtYpfDsE+I+1V4?= =?utf-8?q?k1LQejdXUwXMObMvUP8TIr/aZT4uJvyIVK75ctF0+hPTVgSWrwN8uLg497IGMReAk?= =?utf-8?q?gHzi3Ic2HjlB6fSzE3v565K5Ng5pL1vvsZ09j2V6cDW1B01+d+8Os/pLvvm6z8O6+?= =?utf-8?q?tefFCJutGpRiqu2L/GfJul8ZpdrxT8sELTJrDTweagNLdCyx/IOWWpz4CV1N0I8cZ?= =?utf-8?q?6GwwvOqJ2c0yEtO7A8uxmXcR1kHPa/MDO+RD9XIo2oUWMXTobuH8tpSvtbLmhw9gv?= =?utf-8?q?6L8tvNzDC1HRJUL6Crn41ZfPGw7uT+0y0mFQUyQbrZ1Xag+zEh8w0ZcAdGkxoIwZA?= =?utf-8?q?FEo6PMo3Qq1SizXfIII8yncDXP3NB8hgM2cFjjd2QDoAO6LwsJ0cneRZQ+iqigry8?= =?utf-8?q?pTk2FqvJuhd+jnmAEVuu2A7dYJrynYhz7U5BWtbmqzYWEqAOfDVaPTQ8RgDYTmZ+d?= =?utf-8?q?uHR3Ultt43kc1c71+otXBqTApoRN+5ktOJFyJNfBePP0VDLddhvZYj9oiyj1C4OAi?= =?utf-8?q?FKZDQbFbAiZNbYt1WsWjEN/Xqp2dJDGK1cVNtbWVth+Jdud8eodn4HltRQIsuecTG?= =?utf-8?q?rt1CykIcFwQHXokKuNJtirdiZcEZXke2Q699z+GeJiEqab31JywBAGMCZopNYrefx?= =?utf-8?q?S0l5RpeUtAdKVhvm8gpww5WpXJp5mKstznnUPZPuNKLJZzZ6noVZu2SF0I7l5bixu?= =?utf-8?q?o11BO9fA6Wfcj6QVRT9PoTnULLteiVlu613EZkQjTs6aaXx08juYhNGCawbXdWQbo?= =?utf-8?q?ZHPZfkHe9dBPBm/ywA9COOThaUdDiPBrjAHND2JH1AZBFVwjF1tYMv1Jnh7As3aiv?= =?utf-8?q?55cOt9Y6vdfuTKed51rmotMi3FXdYCqPYwr14r9h2rrE19PcJqh+Ir8mhIttAJyg/?= =?utf-8?q?aB2X5oQE2nhFPpioddEGpw/FtgxNjlTdRNM3vGI07joByyYe6xr48UioQvG8zjWJl?= =?utf-8?q?TzY4EW5KdmjW1dfPSEYPVmBJ/hRzYzIMJbtK7yzPCAJ688inT82tjAZ89icK2GSM2?= =?utf-8?q?qngCXpLs4BGLbsTwzbFG56as3v78EF46xmCEHPDINeIFTOC7qkO+pJfU1fEdaOnq+?= =?utf-8?q?8gpD7vleiteH030KDpsFDDjd8B3ek+OzpRq5kBGXTFA3YNyk9qKG9wbVD0h80Kjv5?= =?utf-8?q?GDDU0uPyYVcj/zqnB+fCwxEV6n8cKimEtACD0F9i8O82Em2chjWSU65UxL/FdTTdW?= =?utf-8?q?qaY6XQwtvCG6GuoD9lTaXNu9qTy2aMGSf3nD7wuBYtiTlWDh5fj4klxfXkD0YZsqz?= =?utf-8?q?z/fveQP259j1qdNH0xNTGP3AneVADyps9TSGRsslops2MCsap9MgC5BBu1rDwVC+b?= =?utf-8?q?MWqNX2djY11w?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4631ac50-327d-40da-3809-08dc23b86dd8 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2024 06:30:20.6570 (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: dtM3eMPuxf6ZF8ZWlesv6mre7kdGhpFkE28KdR88twu30ybnnICBhsTgiRX5SwdvmHslv/MIboBksH4UT3R2aA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8604 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240201_223032_133399_28426887 X-CRM114-Status: UNSURE ( 7.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
firmware: support i.MX95 SCMI BBM/MISC Extenstion
|
expand
|
i.MX95 System Manager Firmware support vendor extension protocol: - BBM Protocol for RTC and BUTTON feature. - MISC Protocol for misc settings, such as BLK CTRL GPR settings, GPIO expander settings. This patchset is to support the two protocols and users that use the protocols. Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Peng Fan (5): dt-bindings: firmware: add i.MX SCMI Extension protocol firmware: arm_scmi: add initial support for i.MX BBM protocol firmware: arm_scmi: add initial support for i.MX MISC protocol firmware: imx: support BBM module firmware: imx: add i.MX95 MISC driver .../devicetree/bindings/firmware/nxp,scmi.yaml | 64 ++++ drivers/firmware/arm_scmi/Kconfig | 20 ++ drivers/firmware/arm_scmi/Makefile | 2 + drivers/firmware/arm_scmi/imx-sm-bbm.c | 381 +++++++++++++++++++++ drivers/firmware/arm_scmi/imx-sm-misc.c | 289 ++++++++++++++++ drivers/firmware/imx/Makefile | 2 + drivers/firmware/imx/sm-bbm.c | 317 +++++++++++++++++ drivers/firmware/imx/sm-misc.c | 92 +++++ include/linux/firmware/imx/sm.h | 33 ++ include/linux/scmi_nxp_protocol.h | 67 ++++ 10 files changed, 1267 insertions(+) --- base-commit: 51b70ff55ed88edd19b080a524063446bcc34b62 change-id: 20240202-imx95-bbm-misc-d4a27c159823 Best regards,