Message ID | 20240201-imx-mailbox-v6-4-76f4f35b403e@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 91629C47258 for <linux-arm-kernel@archiver.kernel.org>; Wed, 31 Jan 2024 23:22:34 +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=TRBGazMG7Y9Ndmh1mbxDlzXxq6Qort61W15nXePTKco=; b=IcejYkzBBDCLMpRRsUop/Ae5/A Eco3cedJvPLZwVWyrGHoWCyMt78UMmtDcKV0fcvAIjx3ir39Il8ZoP07OPTo1oLSeKhy5iaNKBv7A lXWKqBTg/RZbwouu+QtiQ7X+NLDzr/nonDZKthwgsjL0NR9Tvb/qQoWjSSZTor+uiOQVFPvtRv87a ZjphcSA8p6LPAWXe3cg3y7r6uVzc3XSh7/mt37SNh6pRAAOEmpnBDOa8Zp7ZUcA7tIt3LM4NRwaSa SmNKmw9HQjWlw7Z9Luz+UqMACtL9K6UfVU7NWoyewCr0fGjOTjskP39v2cFj29EjQPOGb5MywhQ1y gwc7lQdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVJuP-00000005sms-1bT3; Wed, 31 Jan 2024 23:22:21 +0000 Received: from mail-db8eur05on20629.outbound.protection.outlook.com ([2a01:111:f400:7e1a::629] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rVJtw-00000005sWo-0R7q for linux-arm-kernel@lists.infradead.org; Wed, 31 Jan 2024 23:21:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=T6jHzL4aIjgUqzUC9iUk78VY+7e2R8UPyTR9uioJKksjVy8O5Ksx3LYtVwmMM05ZUSZmZgntEVp9Ly07SVKqLvRo5yd5W2o4RCJAu6M8suWbUu+xnv9EEg41CqSCuscsywTz2PipmBYMrW9U1yOLKOiOMxUP+7E6zcwi22d9aC1efd9hPEPY0JDFxRi6cEOMGeI1GH/jNAPsW2H0u8XR6qoYD3TBQfAmuMabiBAMq/WnuKFpJ4UdKMm6IGDu4GBreI7ShdsukChCv2d/AH5AxBLNbJ8fbkWEAojxs6EKvbP0kQTtcDuIzouN1z1o+UUYiWZIk/5vjLrgxa2N4fjipA== 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=xTdoC8q5FApmt4DLfehA123RyfVCBe5apC77EnASDLU=; b=QlFXhhi4fK+98Zg4CoRVBWBDovi46kXU5FYk3r5Ag4yAhKpTLvUmllF4RjW5a6RXWCbheO8l5Fa6ypDsUPQ48CTuIacsiFOmvieA4BIEprmb5l2qDMJBygAhQEpzIle8wtgsBHQMgqyv3tve6Gv/LHr152ksIR7OEjNE69msVEhyTsHe4s6akaHOBI+rE7K45CCAL8E1VUnK334bhUQlbA2s9g7w/xJFB0yooLeqIDzSpimQMpYSIJSUjT/4gCDFcjPnLEiKrv9w/bwsz0j3tYW2VgO2V0pBRSjJcIB4w6j34j/GMwW2jFcWFOWZVnxvH35lZwv4pW+qfGckOQ4nvg== 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=xTdoC8q5FApmt4DLfehA123RyfVCBe5apC77EnASDLU=; b=ONi+w8mTgf0elc6jQPHznl7GHN5+Mf9m/zy/nQ5yeLzTBfvLqxpp26kPrs7QeBM4hYZacWDUutSmNesZhcvTVICVWMsBVGLWJaSBWsMBrevv7ysQwr9E4cMtI1YHSwpdzTiCMSCXWLmsY4v6luhI0C22EkAGkLa0xHcRHkBOd/g= 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 AM8PR04MB7396.eurprd04.prod.outlook.com (2603:10a6:20b:1da::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.23; Wed, 31 Jan 2024 23:21:45 +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.023; Wed, 31 Jan 2024 23:21:45 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Date: Thu, 01 Feb 2024 07:25:40 +0800 Subject: [PATCH v6 4/4] mailbox: imx: support i.MX95 ELE/V2X MU Message-Id: <20240201-imx-mailbox-v6-4-76f4f35b403e@nxp.com> References: <20240201-imx-mailbox-v6-0-76f4f35b403e@nxp.com> In-Reply-To: <20240201-imx-mailbox-v6-0-76f4f35b403e@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=1706743555; l=2040; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=lL3X7pJ74yWEAfSciMF66PVspSe1EXpJ2ahQLd5ain4=; b=i6/lCiQ2umyZUmJMNhniuiwQy9mXJA8EaTH/+NNH5USx8c/0JSX8+Imv3Dimnkj/lhrvZSfnK cvNEs+nZJn1DrkCJryn9eXr9vBuht1h7hhHcZk1aAmPGXBRU9K4rWD0 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0049.apcprd02.prod.outlook.com (2603:1096:4:1f5::18) 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_|AM8PR04MB7396:EE_ X-MS-Office365-Filtering-Correlation-Id: 744534cd-7f89-4a75-b66e-08dc22b36442 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: zYO1/mHZLzc/9npkzLlRh+unuZm6Iz3sxBm+y5od/QUOrvoZrf6KDTlpOz78pRMESWxzJSfG7Ss/M3lave47ZNWjO+NgO0tV/JNiKO/hOXQzlqkIZTW2UAyeuOfq9HipWJld46jlC8vtk52KNpQEz+6G7H5MEqCfxMphNgf2rtRkoRApCpQMAnPZ01qcQOgvMWCwYiw1aRaSj/ql4dSbAIo0FbPpUtmcqTc9F6jcOQpN0rmbOqlkDuj1csF1FKjQJZp5yhqz0T5vgrrnizibVh3M2GHaDwuTGECSp4eI5fXZQjCA46ub3lnqBJdMtz9h8xCvOgQ1TL+qWf5dvBHeBVGj4JVgCaSpCPXb/R9lJ7VgPePeysQ/iVGFdf3UgLfEYU4fEWObYIicxdYJ739/EQWCGjicxpW52dosm1wlBJGK7bBIp/SuHVLomedXeud9QiIKfcI1WoUg9nkKfKqM0dqvS9Vbzawe/lqaIAW6sZ8jUatgcHSyyn33LsMQhLxs2l6Jff+EDSbnC8ATN2nkH8JyBRfscqAz8WAjvUsh8Dsj2qvCUfUJTU8ADi0pkiBW2JXc5D29RT+ydvgR3batydoPiz82cksyAbXzEF6N4/5n6XrOxyQOfcAmPF7NMAMrnrPXUh0PMUYlCzT/F0HlwA== 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)(346002)(366004)(376002)(39860400002)(136003)(396003)(230922051799003)(64100799003)(451199024)(1800799012)(186009)(921011)(26005)(41300700001)(316002)(38350700005)(66556008)(478600001)(36756003)(6512007)(9686003)(6506007)(83380400001)(52116002)(6486002)(6666004)(66476007)(38100700002)(66946007)(5660300002)(2906002)(8936002)(15650500001)(86362001)(8676002)(110136005)(4326008)(7416002);DIR:OUT;SFP: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jQoh73YpJcfkI1iw3CXPl6Qaot0?= =?utf-8?q?4xvHtmGxgHZpciBxzI6ihae+b97AL/cIAkbGImmlcusvTglCY8md/ge1SlmXbFmrb?= =?utf-8?q?Nt/6qu/uG7jsxElGzWdstjWmm8hBfYA1suHETs7rBNuUBY34Pbrp2qp0jusItZk5z?= =?utf-8?q?27CweKhlK6/v1ST+ZExMdoKfCuR5nxF0W9bAXRBvnb19GLAJElqXB8+Tkio75nX0E?= =?utf-8?q?azaL5w1fAp2JGv4IFBnLqhz39xCp/W40Jz/MBNZMA/wGorxouXhiUAj/1+CGAVBOh?= =?utf-8?q?xegBolicX1I3D69kebExQPIUI5yvZTxBsDMHALUPK2Cz0wrFmkXdhwqVVt3qg68JA?= =?utf-8?q?jVC/bBjkvmBBE6BHJsux+h5TIzrTco+7czzvv6G9ZTS/q97SKHpMi8kdiPsoJCB4R?= =?utf-8?q?x8QISIK71PC1HxNS6Goj8RLainmCHAHE8BnmpnQ4yhobKrlrV5eQyNUv9pgfbIhaT?= =?utf-8?q?55r52LF/8jkQmtC8Tx3lWSll1Q6G5GbvromeD7kPWJ+f6oworqVX4toP/7bXuP0Wr?= =?utf-8?q?6cKISCnoWWysyGtKj3nPyMy7OlJeilV763XIjgyEP78mgfKRunN5RqH5JdKQ5p+3n?= =?utf-8?q?mUKjlwzeUwm92onr7elpS5pzXXgUUxm7ycoHq0NC+EmArOUciyt1e3AhziAht8y4q?= =?utf-8?q?NPkTMT2JekU0Vg9jCoQE/xCRDfye+vGuKo9ymtOCDTLj1MThYjFwSNiOdJ92X22JI?= =?utf-8?q?DRIVC4sy57Cv?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 744534cd-7f89-4a75-b66e-08dc22b36442 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Jan 2024 23:21:45.7255 (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: Z2N9FEcRRNx42LO6D2fXV0v+29ahHb0/MoGLV77TLEYHnPXz56OanDZganphXBHIAOV7n2Cg6j2L8g6arltuIg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7396 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240131_152152_199140_CD2819CE X-CRM114-Status: GOOD ( 14.12 ) 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..5c1d09cad761 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,9 @@ 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", .data = &imx_mu_cfg_imx8ulp }, + { .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 }, { },