Message ID | 20240123-imx-mailbox-v3-4-ed932945e0bf@nxp.com (mailing list archive) |
---|---|
State | New, archived |
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 E1D2CC47258 for <linux-arm-kernel@archiver.kernel.org>; Tue, 23 Jan 2024 14:35:21 +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:In-Reply-To: References:Message-Id:Subject:Date:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=U/i/Lq4tVhIlVO8iOmXk6ypXTVrY19KNBzVAkLMob7w=; b=3hp3gGhzqngZmnV+4xSYtjOI6S 4xaSLYIiAet+MEtaZNZgwO/c74MhvEC245cMK0OoCtlT7jYXv9zXFO6YjAJp8GgWG+AgNkVyybSmi ltxhZufp1iapsaSm6DFq0jxZXeI6l4lllALsOLDz5G+sQspG2Fdy20vlnCItNSvu/+Lg25WSGx4DB t/VPPNdzigv/n7UG/X48Q6c7hFAcp9jjrA9CfvHPbKbOJJrcJ71Xyg2gy7OX/DjUjfwnZ7S4Xlh5+ Z7aksOjSuy7woLaWFDDXlGNhdWNe7nOMWarwpuwSU5bAV8Fw/qu4ae15e7PVyTt2XwEbdJW1ajIj3 tozvihHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSHre-00Gpaj-0N; Tue, 23 Jan 2024 14:34:58 +0000 Received: from mail-vi1eur04on061b.outbound.protection.outlook.com ([2a01:111:f400:fe0e::61b] helo=EUR04-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSHrW-00GpVa-1C for linux-arm-kernel@lists.infradead.org; Tue, 23 Jan 2024 14:34:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RA1exWQImthHdxV1CqUcpb/cN0QecEYP/kwTfgeEaeAMSpwx4fhtGcbN3ToK1CQZkl8UltwdupOSbq21n4QDaIFAHk8Gec4f+LPitZm22s7bWMB7cwExqKgcdg+XLOqopwUqV9/eYrWJzP+oGhINNs5vwXU2s8H4TU8HhrnUpyjPYe7lrKj6e/O+byrDeJs6MPXtMGwGpP6gfmUVz//UZSSHbJantjy7v2KadYR2dP3r6yfkBcVaXZfs0522BFLuQV8oV7tFxwAAR60hFPIW2piUYTMdn8GpzVYBBUuJByYl2X8p0QJ1kq1MUDPhwqx4UBEzmNsx5tORAa26hd54rA== 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=E4/oDx+cC2vKsvoZaiTqgZpD/H+Cdwy5IDIRZoQ1eUY=; b=Q4Zr8VLlbuaN07YW78cGvDGZaaESJdZuW8nnv194+n/C8drv3CrILTrXlaatBVbNhjNzUpWYTsOArcLfpgGEeaQm0fYepa84WgBtp0rsSVVWtSi4/hzRml6K12hwkYmSP8i87bmreyS2ip2Tr641FIFzkER5oJGp2G7/ET1GjxOkTL7ACst8nC439FTHQrCdz/Qr359LhG8wo+aBjIhGDOU5F6+qasIKyj0TlvMcRRPYlhw5l65jb+41rRauvUVYg5WH1KWkBYZR75GcbuVeXTyRAd5EZVfdBxkndjoySjx3QaS/laZxAmCiHQKd2g3m1ATYRU4KY3hdPGSSZCqnfw== 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=E4/oDx+cC2vKsvoZaiTqgZpD/H+Cdwy5IDIRZoQ1eUY=; b=GCljrsWvhtPMQP3tPR4KQ39DvZWK5rp0nFDYSDp8jEY/cHpO23tYRKb8mYaqFUV0KfI1ihLhiHPYhJ7E3hIFd1nsvxbvMu4gisEt4JUJZFmedQhjxpVRYqD8VB6hVK+lYLSSKjDu63v8lDL/hAgYOS3FYA/tgFKTPK+QVBIttnU= 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 DBAPR04MB7304.eurprd04.prod.outlook.com (2603:10a6:10:1ab::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.36; Tue, 23 Jan 2024 14:34:41 +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.7202.031; Tue, 23 Jan 2024 14:34:41 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Tue, 23 Jan 2024 22:38:45 +0800 Subject: [PATCH v3 4/4] mailbox: imx: support i.MX95 ELE/V2X MU Message-Id: <20240123-imx-mailbox-v3-4-ed932945e0bf@nxp.com> References: <20240123-imx-mailbox-v3-0-ed932945e0bf@nxp.com> In-Reply-To: <20240123-imx-mailbox-v3-0-ed932945e0bf@nxp.com> To: Jassi Brar <jassisinghbrar@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Dong Aisheng <aisheng.dong@nxp.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: linux-kernel@vger.kernel.org, devicetree@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=1706020734; l=1973; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=lkPMpPy6UalcvetyTqhwBLnqDq8ONTaWTu9sur2v8yE=; b=iXhc8qJsSBjYUXXxziD+NU7sIZe5ZiIbff886vIYen1jwF7owmo8kpCizkGGNgWPMoPp8SNMX tDbmnFbFeV9CAg3VrPPkw/Ba1rvz0GhjsI4guZFUStZQqZEP6eolTtd X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR02CA0125.apcprd02.prod.outlook.com (2603:1096:4:188::13) 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_|DBAPR04MB7304:EE_ X-MS-Office365-Filtering-Correlation-Id: 1ab2c8db-fb4e-4dc5-9af3-08dc1c206f95 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: xqmwJpny/S/mR5Ch2G34PtprpVHuUucNJE1L9L/umg02bU8ecF9kSlm8QWFU2mczNudno3MqNItAd2PfgovGHMBccV7Uav3R//vzy8MvizSGos64//tHbkkR9h1Z5qMVp0Bd4t2SMaSb7vwxkAxhBUvIqFFDCRqYEhVWEoIzmAC4lsX3PxGvmSX3FK6l0pN41HyBhsuMcDzYYwHCZoJXU9KTmmx2S4tqC+0A4g2CJd7T2tflzKARGoi9XcsrLCDccQNwj4owXRJmeSY78dQVVV6HE+VVGasEjdrSG48shZM99nbONG4hNVkK4cm4bRqtq12XtHvONHX4NQPaftwMNUJ3IX23+d9V9wWi8NrHfI1NeIf/N9R1oukcENr2IlpH/TjBn+QBRewbhQLzXiS6Zz17Ga6RYb2frdfjxiElJZ19WvN7NX6HoO7n9456iQ6ofRv9h+/Wi1M+Vp+TbunXivLYJM8NScwASZrBiPziWpa1yBQipuoZyHj/EYubSEJIjQm9d996+MF3l/GOU2SsdfVWiOdhdZcAr5v1qkpYwfTc79eLF9MWCxMZLb9tAAeEtfK7DOz2wbT0CdfUqdBjCYviwnUikSst/u/YJlnVsxHRhQPFMn4TApSGZblBVk0JT94u944CEliMOw/AtGxhPg== 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)(396003)(366004)(346002)(39860400002)(136003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(5660300002)(66946007)(66476007)(66556008)(110136005)(316002)(26005)(6486002)(6512007)(6506007)(9686003)(52116002)(478600001)(83380400001)(4326008)(2906002)(36756003)(86362001)(38100700002)(41300700001)(15650500001)(38350700005)(8936002)(8676002)(921011)(7416002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-Message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=?utf-8?q?JM1fchhivDmdDUCtegnTP5aHgHyLj4AjQGHvhb/VfaZDuNd3BsMX1rkKOqNwCXBMJ?= =?utf-8?q?r+3sD2Rf0T5MobZ9AFfG/YkmCI92/fv/P2R0kBWIXewQVzwiUkzoOMR/LDx7LYzMc?= =?utf-8?q?t+eqeWzdR49D5/KPczZqNEFk/rOmLY76y4ouglMKnSmk2mCjkLI64fYufmPNek3uw?= =?utf-8?q?qz1rZzh6JsCqBoVhg1vSK3eCIQqK3v2Tivh/g/0RIWSQwZ23BICrA2MKK7VQc2G6X?= =?utf-8?q?YalpRILcL3koa4OMD/bR3VIlwBYO4JXB+b5uBnJB5GnkSqzj1h5lFeofk/AxjQf2Z?= =?utf-8?q?mH6m1dz5Dk5feZONd4tyzY49eWM4Q/lnCEm7W+kD6MLrjKwnCkkH5jMieQ4VTDDP9?= =?utf-8?q?FBn3snr1bdPC+lkbjaiXV2OIn79oGeDtCtRi/7r3NUiJLGUGldZ+KG6+eVhTVLlCb?= =?utf-8?q?dS4zLj17bY3tBZOOW3/4G0wTd4p6yccemMwQO5hS9E0C8s1B0PaFlTAYiBzv/Fr1W?= =?utf-8?q?PujU8j5mRYJTWKt/T6hoS8aij8zHzimxqo6YxMsAl4E8IlslQIRxaXyh+h6Rb6sSu?= =?utf-8?q?pQaf2UNxCb7lgX0sQZYtRkK8eSf9vjOKdmS6ZRMh1aJRYmva9L0Uvoi2bjBWwEDh4?= =?utf-8?q?2AoFqPjSwqfeJscBSSRUn1JFSh9FFkDznTkh72wIxByKqz5vwKdennzY4rxwZITfh?= =?utf-8?q?wvHFVHm7DuZN?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ab2c8db-fb4e-4dc5-9af3-08dc1c206f95 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2024 14:34:41.7625 (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: Fqxn8DCdYw5+sZdSnbPci0Zmky1cIkYVDWr22F7IqLASHz7wW3LV6qACIrR3AOhYVmaCwI9Opggg38kGZvtjXw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBAPR04MB7304 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240123_063450_410966_4DA35131 X-CRM114-Status: GOOD ( 14.34 ) 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 |
mailbox: imx: support i.MX95 ELE/V2X MU
|
expand
|
diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index 9e89f773d2f9..fff891d40f2f 100644 --- a/drivers/mailbox/imx-mailbox.c +++ b/drivers/mailbox/imx-mailbox.c @@ -4,6 +4,7 @@ * Copyright 2022 NXP, Peng Fan <peng.fan@nxp.com> */ +#include <linux/bitfield.h> #include <linux/clk.h> #include <linux/firmware/imx/ipc.h> #include <linux/firmware/imx/s4.h> @@ -15,6 +16,7 @@ #include <linux/mailbox_controller.h> #include <linux/module.h> #include <linux/of.h> +#include <linux/of_platform.h> #include <linux/platform_device.h> #include <linux/pm_runtime.h> #include <linux/suspend.h> @@ -919,6 +921,8 @@ static int imx_mu_probe(struct platform_device *pdev) if (ret) goto disable_clk; + of_platform_populate(dev->of_node, NULL, NULL, dev); + pm_runtime_enable(dev); ret = pm_runtime_resume_and_get(dev); @@ -1031,6 +1035,8 @@ static const struct of_device_id imx_mu_dt_ids[] = { { .compatible = "fsl,imx8ulp-mu", .data = &imx_mu_cfg_imx8ulp }, { .compatible = "fsl,imx8ulp-mu-s4", .data = &imx_mu_cfg_imx8ulp_s4 }, { .compatible = "fsl,imx93-mu-s4", .data = &imx_mu_cfg_imx93_s4 }, + { .compatible = "fsl,imx95-mu-ele", .data = &imx_mu_cfg_imx8ulp_s4 }, + { .compatible = "fsl,imx95-mu-v2x", .data = &imx_mu_cfg_imx8ulp_s4 }, { .compatible = "fsl,imx8-mu-scu", .data = &imx_mu_cfg_imx8_scu }, { .compatible = "fsl,imx8-mu-seco", .data = &imx_mu_cfg_imx8_seco }, { },