Message ID | 20240122-imx-mailbox-v1-0-81413f655210@nxp.com |
---|---|
Headers | show
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060.outbound.protection.outlook.com [40.107.21.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8C3E36F; Mon, 22 Jan 2024 02:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.60 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705888927; cv=fail; b=fygB2Q/ZGtLNYRLvyVn9iLy/Z9IOdc3+VkBZtupu5r7h/iCiiioNuiY73jBkPFypPY5uYAyBr5rZSEQ9NGuan3ISXhaiGrFyl5sDXx5gHYYlJUIxZkwARY9FjHYVn8PFWk8t7wGIbJqOgesqMj2FbFumUhvVeL9hHB2hcvAe3ts= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705888927; c=relaxed/simple; bh=wAbWUko+T4fpyOr7LfyQDoGjwOhLgdEtehgEachjx8s=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=ICGjMAUh6FIFtT5sFah08QcaAbujOWcpOsDJMU5MMGkV5gKRJXIdXP3fBmW36rtexln6obIV6gToIwz91+eKkF1nmDb2A4Irm6fF+DFqQvlV4ZTsxa7xb4lZkYaoasc923JDPWpqoy+foaRh9R4sdW2smie+zw0zE2z1hTt1IsU= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com; spf=pass smtp.mailfrom=oss.nxp.com; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b=c+mp/odY; arc=fail smtp.client-ip=40.107.21.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=NXP1.onmicrosoft.com header.i=@NXP1.onmicrosoft.com header.b="c+mp/odY" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DoYCqs3kjxzTQjdPHhpTl3ymMRODnpp7iVn0DuJ8alfC4hcPgMblBbW6FPZervLpHREdGQOnZ5EENyUXMQuIAl/An3jbUsdg+A3+L04KIfXKExAB3rbrzZM9a6m24y92u7nR3w0j0hSnnPvzHQcmzyRrn/3ojT5ifeCoeWmzUWNJKYSyMUL4ACNVI7qgSlr61qo/saYulRk1HYUDis8Wq7NsRqfsAZKIGO0WaWfL2YxrbYfsnj3599Ao8XRWpxWDUS0k33AuPkS53qafhlhcr+ZZlTH3+745qB1DWarofSW95+k4dsuOhbIsUPswemOea/FT5D8GxxgKmzF7puiTbQ== 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=+bK2svVJ+KRz2ggApRsTeOHdAoqG0NMCOsiuDzkk92s=; b=Xh9LNS27WvDRCqttvuJ6qnyi6E/wm0o0EsCBLz3zeby5C/bjFd1SaLj0eKyRs/dS76WFucGEC6dL0sXbyAChyhe2R4BF0AIXb/F3GioYfqASkIa3MkWEj0vrPTNH+9H623qSO/zVSlgpG5aPnEFu6YVWLB5TO1DMevRbQbr0OKT87kGpehHYC/BXNN+ctwWxHap3R64u6JrccqMtrc0q1AkaCKuTd4mWtXfG6Bs3BnLWlZyaagBBIlzNeMNO9RlGbMaq4YTCdBu+Xx7X0CIQHQxesuW7sKflInUr49UGtuGgCm68A+l+Vk+FRMVezNjo4LRULOCJg/uosBo6D6dAKg== 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=+bK2svVJ+KRz2ggApRsTeOHdAoqG0NMCOsiuDzkk92s=; b=c+mp/odY11iRnBpijk1npAN2lSMWDrSUc/USc7v5kIo3JfTq8FYUQTpnqk5YjS9gRbmr6sT+5v+CDOBx4ahrGkQUXKayMxQ7XIYSdsdERLfaHvLC/yINMz8JC7chrGqm9fSpvQRMQCLjr1WrpLOBt7EwiEEhzE/mJ1MT539XDqM= 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 DB9PR04MB8153.eurprd04.prod.outlook.com (2603:10a6:10:245::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.32; Mon, 22 Jan 2024 02:02:02 +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; Mon, 22 Jan 2024 02:02:01 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH 0/3] mailbox: imx: support i.MX95 ELE/V2X MU Date: Mon, 22 Jan 2024 10:06:23 +0800 Message-Id: <20240122-imx-mailbox-v1-0-81413f655210@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJ/NrWUC/x3MMQqAMAxA0auUzAbStJNXEYeqUQPaSgtSEO9uc XzD/w8UySoFevNAlluLpthgOwPzHuImqEszMLEny4x6VjyDHlOqyN4R28UyOYJWXFlWrf9tGN/ 3Ax/9AUZdAAAA 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=1705889191; l=899; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=wAbWUko+T4fpyOr7LfyQDoGjwOhLgdEtehgEachjx8s=; b=974gYbXlRzYItSgNehC+/rQurD/zZDeOn4QJCqe3zBxrjFS0PpOuht33Gz5vuj7OAArMMv/P4 qjW8qKz/caGA1DW2JadIAC2v3wGMHbyH2SdILZtBu+sMbR4ag0TNN4Y X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SGXP274CA0019.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b8::31) To DU0PR04MB9417.eurprd04.prod.outlook.com (2603:10a6:10:358::11) Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: <devicetree.vger.kernel.org> List-Subscribe: <mailto:devicetree+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:devicetree+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR04MB9417:EE_|DB9PR04MB8153:EE_ X-MS-Office365-Filtering-Correlation-Id: 8ce57839-f488-46de-cb97-08dc1aee1fbd 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: mNQ/lVsdTobilSjGY6iypAzvsZZ8w6wNXktOBNw6FWK97huouVoDcT+nXM0ciEvtgSOS805de0htjeahs4qo9InS7ogl0fwUgNdiYJkx60aGUC34zZppqPvojP4HvFePbZePuGYOw/oDEcF3qeb+aJ1uUj5eMWAJtp7hikcBrmQ4T1JmxQ4XSUNYg4GSiMqcT+3o05rXJDVQFBCZhQCy0uhjNT8dFf1jKSBstZvqOAIHqBXn9MStN4xtepaPFer4xLFF/B929G3kksYTp+0NLIFkke9TOpEKvSIJ+GhjLcvBwtn+Nzoa9WMa40ravXu1Zehe1PiaTqyuRC+AeEyBW0sYR0+3cmZ0XjxZQtrPIa4ugPQTOqZsBkaK6z8m0eIgExiH4xq/1/x2Ms/DeHetv6/uhVkty/KMAGi5J5lohs24WmEDZ4iHlDhEV20dlgnm/AZAOs5maH4OYQbZLsQOj8nezTrfBzqoTn0Equ4IyBbw2UXJ86nbdriJJHJ5ZgzKc14Z+RjlcuCNe2q+wCxr0NDZXOCPA7prHYdbYGx5KH7h0vEb/zeRqDe7YChM6/5BHVKQD6HqV8I0cNxC7AtSq0b2MIyVMLmNwGy/JE4YN4Ub3V/ALPjgLXvi1861mW2m8PurdFa03eFNqSO8eSNEaQ== 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)(136003)(346002)(396003)(366004)(39860400002)(376002)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(26005)(6506007)(6666004)(6512007)(9686003)(52116002)(83380400001)(478600001)(5660300002)(7416002)(15650500001)(4744005)(2906002)(41300700001)(6486002)(110136005)(8936002)(4326008)(66556008)(66476007)(316002)(66946007)(8676002)(921011)(36756003)(38100700002)(86362001)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?HetULm7SSBeHg6Xy7rR/3BMkYmE8?= =?utf-8?q?OZnKMvA2e5ijg+iucqCxfv1e7VMloe0plN4ct2T/6WlKjnFdJ0TR+qNYNYzxWt5IH?= =?utf-8?q?NbLv6w/lXN/C74KZq7Uf+8X7Ke74rqJMeYfSWmbbKFr6NhmUy7cqtrfsordFE9E2z?= =?utf-8?q?kXz14fKGgAKjxcm3A4+KSApz+RT/hANqRYdFKAqy8I5yUn33VioUjfF8LKtd2EA3x?= =?utf-8?q?2+Pyj4iD/0u9+8gIPxRy0a/lJd9hH6ytS5rpSBiJ1GCTdqgvbieDx97fgCmW1+518?= =?utf-8?q?wek+MoDYx/aTgaMK/+WGBvMB4h9cQZJf2MNV5BQzldUoT0xdEVuELcKmBNa3R90Tx?= =?utf-8?q?DFiS4PizlcymJxah8VYyzXaiZ6r24uae+gFak91A7NjESherJ2ZjZACd3sv5OBTz7?= =?utf-8?q?cywOeMEo4MVtolwe80wepECbBiwlhiZ2AQkUZQs+5hcZoVrhRT8oY/ceWwvKeo5xa?= =?utf-8?q?eoGBUIQQiGGQVBRXViNOO5Z08L41mw8JbRM/3efriZvTxrc09QQZvFM8LzLS3kEw+?= =?utf-8?q?Di0Hk4FElsuj7dfLCpUycj4iVSbxe6KXxcVegDN5yvlkazlcqVK/Rya51+/AMb8VQ?= =?utf-8?q?KgGOl5zLu0hDt2kCmmSiAG1BgbQrw15SR7HRgQ5y7wKwVMbwKKpGpvGa2AHewn6yf?= =?utf-8?q?bFrjLyMYCTwazCzFcdQ42XdkzerkozEKjHIOMWiLrcZNoYp0lxY4BRw0UolUbatFQ?= =?utf-8?q?X01dTRO0zkdYd+U/YfZhVl7DNoRCKNmq7L3IaWlr8TdwffMMx9L3qnsEMUyHn8QhX?= =?utf-8?q?8iWXttLrlaecsOYcicl2Bo9HVhcVF8/A1dR/Lc3KlReMtLBqFtlp9B5U8UISUrCvP?= =?utf-8?q?93/ElSqupN1gkkMz6H3E7bEgBZnIfoJJA26GjyFBvQXBBiIF5dv4pkQeeSQiSEJqX?= =?utf-8?q?tzJbg1+dh2ZotShFA8JFFZ/DpjcEAXzstLdXlJnz6RS3PgMswFbJB4gKYmTKOURcz?= =?utf-8?q?TKLzGRcSPA7sgM36NABPQTPJzjapbwkFkZzFaN9iGeWdvput3r3VDZgSWH396RP/X?= =?utf-8?q?aNyqStnMxq6GN4xff9vkp99KlIU5nDSfmGS9zaZDLZYx4/Vaul2HPveWGVQK+0gp0?= =?utf-8?q?b+ECvpYZG1xXyVc94R7kuBUmhIYBfVuXaTIY/pRGQAbEYo2io3w4iYupZ8biOgmXj?= =?utf-8?q?wUEURzxeX+3Nn7gGTeLkII0f7gDVFhlbFQIMSi4VQ1A2jPgxl0zbKclEqp/AFwOUY?= =?utf-8?q?MasJbe941t0h7gh9XbFM+iquJkWluM6n+xkLoJdCwmil+D860fP65G4Owvz5CYBT8?= =?utf-8?q?0mo72zdnJL0ZSUI3gZ8QrKO/THI5KGVw34HzHGxzAXK3epJOZNNDUWfcu1WcJuJUE?= =?utf-8?q?rBhWPdGt3MHOvXX9Jn2cg75zlr6DpmVm1HX46D3v3CUeS9YAClPH61FlcGgrD4qWa?= =?utf-8?q?SmwFsAg0kejn3nNXu4aIUdkCoKOnwEK3gkKiD9iV7mqO8sVA5+VBkKP+ccWRFgzsg?= =?utf-8?q?j4D1ipziGUKJucw5TxgbQ/REMzCP9+7IziZTyKzDR/nBIDwdFnO3uDdd1M+N1ZMJS?= =?utf-8?q?cZB6R+4LuKD9?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ce57839-f488-46de-cb97-08dc1aee1fbd X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2024 02:02:01.8564 (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: UkTH+Ma+Iojz2sfZ+ltDeKtb034P3tvZNlKDZNiguR2cjo5k2+ZPCeoJGqM9RekuePqcuT+JExodWd0iBtNsag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB8153 |
Series |
mailbox: imx: support i.MX95 ELE/V2X MU
|
expand
|
- Add dt-bindings - i.MX95 ELE/V2X use same register layout as i.MX8ULP S4 MU, but the TR/RR num is different. To make code reusable and not add too much macros, add runtime detect number of TR and RR by reading PAR_OFF registers. - Add i.MX95 ELE/V2X MU entry in driver Signed-off-by: Peng Fan <peng.fan@nxp.com> --- Peng Fan (3): dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible mailbox: imx: get RR/TR registers num from Parameter register mailbox: imx: support i.MX95 ELE/V2X MU .../devicetree/bindings/mailbox/fsl,mu.yaml | 8 +++- drivers/mailbox/imx-mailbox.c | 48 +++++++++++++++++----- 2 files changed, 43 insertions(+), 13 deletions(-) --- base-commit: ad5c60d66016e544c51ed98635a74073f761f45d change-id: 20240122-imx-mailbox-243021d12030 Best regards,