Message ID | 20240122-imx-mailbox-v2-0-7b3c80333b92@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 36BB8C47DAF for <linux-arm-kernel@archiver.kernel.org>; Mon, 22 Jan 2024 06:15:44 +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=SB3SoEadH3xE4w6vsAlf5j/SCici3DLUISxO82r9DZg=; b=Vd2T0n+/IqFJ73 EW7gOCXGDm1DgLP/buucXVMY75akdFRS3HOnw2K2QiuP7lGNMyN2VZ7vVm2H3pPykwDaNhlx++RzZ Z1V8n2jcQQOebFQ2/oytM1wSwR8oSj5GXl7XSnbM6OauEzcwo8ijKxpBKhO6bzs0gq0J0bHlHzn0m LBZyhP/1o37t1CbUYk5lY/+DfUGGra1PBcJi8BpzwaUqR76yVzRxUpRsGPOKOqq1B7PlJZFxJYVpP 344LgejSHMlVjKJzQBGHqg+Ra5dGyLAQ4fMVAe7r57ynpOfYpSj2zpxWRAeYOYcudIx7iK9Lw5Vak fkVpwktG5IjbK1VOxZ6w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRnaT-00AhhU-0z; Mon, 22 Jan 2024 06:15:13 +0000 Received: from mail-he1eur04on0615.outbound.protection.outlook.com ([2a01:111:f400:fe0d::615] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRnaQ-00AhgU-0R for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 06:15:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bxzVCoRDRLH+PAPKPCs3jXwdcVZlWs6VCxeux3LoWECGagabvvvJPOSJ9WR9NcE1SGFemqE+1X5nc2FAEVjkd2BefLoOHmYmsbpcO82EEeqK4c+1uSEdCBcZKZcN0Vncp/RbOYMSm70aBHYNLBTDZjGSZs0Fs0D66FB601hMK7mIm0mKMOnO+7YJ4qTPokSZQZb0dyTYIdqZAR//ZcCiRPZ3zdlZ99jh9IfgtiAmQXkBvsbemksZ75OoJuLz8HadZowjDfOV6J0QpjdeFDGePCwKYesOGVAR05Cm47oxKqlRjRZD2l9zPURw20wBOBxtUS/wncto6GzvDE5IZzQvUg== 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=+QJDF/1VxNxo061DUHo6xh0TFK+HtRPsHgUknYFh8k4=; b=d8BQkWJZuuOuX7DgyDR8sewiD+JoEXW7fW2czG8UGJ65POvSy92wrkvotM1i7ahFBVnNcO2x6DRsS+axWGkRNhKLw3ZHw6pEMeb3as57lis5KyA/fudRKJTcklTIjE985LRMSTHvKb+M1YmmP1YliRVDWKIW/nhR0LNO1q9lzNOHNohseD8leHIU1h6a2+DpVPKkUpSc8+kVb23mbqO0BAenYI/WtgqwtHnDFf+Zn7WarII1JcmggLexNf0QB8vEgbWOJ/b0ofnCo0ZE7PeGUYneghbpRNi/hEfIgxORWB9xaBVkPNhpvKiXTgj7xiQEyHL+n5+pu4zLbo9ps3FvzQ== 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=+QJDF/1VxNxo061DUHo6xh0TFK+HtRPsHgUknYFh8k4=; b=fL1U9uSYD5Ns/ISaqvOjJkMk6XJ23OI7IOVuYBsMqd34YmBVRzYe3InNdXOwmomHejOiFyC3v4EPOR2byR84+1GLZQsI59puXZxUMS+WVqex3mzioWBXIdicdIdsQEVcTINos8YDNfRVWn1UbDyHsIbUw7jFVl8P6Irzmb3Uuy8= 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 AM8PR04MB7940.eurprd04.prod.outlook.com (2603:10a6:20b:240::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.31; Mon, 22 Jan 2024 06:15:03 +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 06:15:03 +0000 From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com> Subject: [PATCH v2 0/3] mailbox: imx: support i.MX95 ELE/V2X MU Date: Mon, 22 Jan 2024 14:19:22 +0800 Message-Id: <20240122-imx-mailbox-v2-0-7b3c80333b92@nxp.com> X-B4-Tracking: v=1; b=H4sIAOsIrmUC/23MQQrCMBCF4auUWRuZmaQirrxH6aK2qR0wTUkkR Erubuza5f/gfTtEG8RGuDU7BJskil9r8KmBcRnWp1Uy1QZGNkjMSlxWbpDXw2fFRiPTRIwaoT6 2YGfJh9b1tReJbx8+B57ot/53EilUVzKk50vbMuF9zdt59A76UsoXbzZOQaQAAAA= 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=1705904372; l=1104; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=BCXzV4X25NJK/Trt8Wz/CxOlEmAEtMNWyWB/JUuOegQ=; b=DmxsB+Mz4bqS/ZEeMQCeXC+R7e2s0XnPtiTxCJHVXk6nMBubSSrHvBwv1+1KWgoCoQN+aX5an FdzsnAY238QAFZ94jNdb9bC6gbdwstxbNdrJNefxAzdklqVuFpTQ9fp X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR02CA0007.apcprd02.prod.outlook.com (2603:1096:4:194::23) 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_|AM8PR04MB7940:EE_ X-MS-Office365-Filtering-Correlation-Id: d1c0029b-2357-4b5e-3f52-08dc1b11783e 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: asbhQTpMImSnFE2nBGrllrmP8CpdgOMghecJ8QR9wLKc7w+dd9YaaXqMQZQI2u3ymJ8yqJ0vbaxjsD5Uylc8Secl5HOIR0EKVKLOuFLG3+Qk/9DOBDXdC830zeP2PZ9XU/BcYM9USe8xSKt8hKbmSitlF2nAVqoxwR/0qvWeBozmnUlUb4swcjOBMUYKRbH/fg5NqMqvRAOtFZyAWr2kZXCkfH9N0RSmUXtXi9SFdH+ubn/2EVg0TPOJwvJq/wn+1n6PowNcNGOw4ByQn0lz3DWpKBeokx7603h6gzvKvnYJinJ2iwzuG1dCLGDf68V6hkcr/ZjmnsNia0o64Fd3BaqrjPRe0JPfJqy1pc7oUz9yvx73mQB482k4sabrDAcmRz6J9ydb1fb+7pgqg5ZGWV5ftJ8UK67Nur0QoaydmiYs9NmZi279+1wXuH/sR1r6aRU1vI1SOCtJSHx5cFGTU9QTvFR12AI9bpeID5Kal7E0g5WhDavx51LKYdVVeHbwzv7FaKy+kuIba2/S9iETQBdgLfqIdzk1GoRkqJM/bRUvngwMQqYeJl0t3RO3Vwxqpq1F/iwzMXnp+Gr4xMt2g8/mYkccf2mPrjnPrdbNz0HxVVGbwfKoRnmspH8vtVIv 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)(396003)(366004)(376002)(346002)(39860400002)(136003)(230922051799003)(451199024)(64100799003)(1800799012)(186009)(41300700001)(26005)(921011)(36756003)(478600001)(6506007)(9686003)(52116002)(6666004)(83380400001)(6512007)(38100700002)(38350700005)(6486002)(966005)(5660300002)(316002)(66476007)(110136005)(66556008)(66946007)(86362001)(8676002)(15650500001)(2906002)(4326008)(7416002)(8936002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QC14NuMdPMIB5Rrw6VQlRieoRv4n?= =?utf-8?q?eVsSDiCMw57NsYV06zZryjKkzcBXLpqnDcvgNNsWtWmV5YMoD+ud+mAQsSs30l1uW?= =?utf-8?q?XSVCHRoQ7SfRIwbwHnR8qYUpI7gvtqAxB/MGRElMKli9cbiXibV/pjv+0GFgZTt7j?= =?utf-8?q?JWSz3x+0Q0bDu/GLeP2xN7axmfiz11/OcP1RkI94b3j/YErLbgL/Pi6UrNiTVSHy/?= =?utf-8?q?buicoOj9IOIMHInQfgFrMr+LOfT6o5U7GzNlhOlhiE6k4AckXfAO11I221UIXvuTi?= =?utf-8?q?aAKL2ov1pxcuQj7z1wZnn7gzgfAxNRdy8K5vwduWrcAdMj9TkfRWJpiqzzuf+FBYb?= =?utf-8?q?RE7Rh1G0sJlsgc8EUwb/yf2+5G8yAao9w0N7A5wLzHnb2FQyr4caqOwsgwtFeKm6w?= =?utf-8?q?lMF9p+uSaxprJYgFu8lNOHQ5SL5QETQhjuNd1S2zQz+Zv6XSgN40rgIYc+t5i5Y+2?= =?utf-8?q?PAGxhwTKZPXZo28/26i7VDQQFTVCGIL+qIjd2BdLgpuCaG4EPtdfgkcoI8b2c3L5c?= =?utf-8?q?HDaSNn6HN9kgtiXpR/hx8i/Ty5QoF51xa9R5GFFqrf82c8bkTYqkkH4BsRMoFXkcM?= =?utf-8?q?V5d6KzWcaiZs/EzmiFp9jgx4hTZjqLlvED4aIrPWn8pYWx1arsFcAdCePirtEFFBe?= =?utf-8?q?DraEuuIZcjtf4mfyyzHVZr6AToap/nkb8vALpFjYFNdYxS31WPDD8L0vWEsFId7Ji?= =?utf-8?q?rPebZijpM2cO3VGDKq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MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jan 2024 06:15:03.2543 (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: /MeBSArQ2cHUzTdomeJFHrX2vOsZeo7cn9bTNNcuRNAq7Rtxv37A747uW3WXIOAj72ngsHzbWoTti+cP1aAJ6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR04MB7940 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_221510_212368_F863C1C2 X-CRM114-Status: UNSURE ( 8.29 ) 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 |
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> --- Changes in v2: - Support sram property and add example - Populate the sram node in driver - Link to v1: https://lore.kernel.org/r/20240122-imx-mailbox-v1-0-81413f655210@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 | 50 ++++++++++++++++++++- drivers/mailbox/imx-mailbox.c | 51 +++++++++++++++++----- 2 files changed, 88 insertions(+), 13 deletions(-) --- base-commit: ad5c60d66016e544c51ed98635a74073f761f45d change-id: 20240122-imx-mailbox-243021d12030 Best regards,