From patchwork Tue Feb 8 06:30:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 540935 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1B2FBC433FE for ; Tue, 8 Feb 2022 06:31:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232817AbiBHGby (ORCPT ); Tue, 8 Feb 2022 01:31:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347336AbiBHGbx (ORCPT ); Tue, 8 Feb 2022 01:31:53 -0500 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A44EC0401DC; Mon, 7 Feb 2022 22:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k8ixZmUGDkRAyCYAv1Rl7S0nRmepL1JSius1ts5ByJq0HmlT8yzN7Cc/6NpLR8n2YSzXfJZrfGaZo1NiZ5DeqSl6xoYbKe4HmTt9Vn74A1AkUF8qUBWuuvnX7l975gk1NbWrTXAYXvA/kiyuihtcxA9vscw41TrIEARYeKYpveylTtK+tpvCHdzhiMrv9UwIpW4L9jHzNzpneQn+w2WK7yfj8sa7EjX5CHpkZX0JCYfQkd0d5nrbZLljHae0VfBWOSwIyqnq22RStmboLtLVwGl9FWSqHkfYtRwqzK6IUaHTy7oSIvAPPHiKf4xr8C10mo1mChZQbw9in+YBpRqvoA== 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=QPZp+s77Ve/6P3iOecjID7PqXBbIuMj9e9Gx1X0x3UU=; b=NdCXIcDp2dFN8EP+uTtQiUPA4iEOtni2J0Phpl9GvTfm6rHJ5TCRn3rzq/y06Yjh7v0LspwxxkrPwVlixSEUEP7RuRj36lS8m3koiUn/TYhsRlAVRV9XoEIZsQXT2xLXuaMchoG1MuHOpfCoJVsvuH5qPBajJ+FnIMOJpnlHU8MrOBH/96mpl56g+69mcHuyQXHFbRC/CSRJF5Mhp/Tj+gGCY0qOiucS4VdRHlVbCckszt8RQzNsfpOwvj4RggV5L2qaELqv7q9NxHc3oveKP7V/dC/T6UasT8AyFtKiUfgFadQB6hXPT3MivR/ecyM77tuHec2I4SJvc++2hWOLOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=QPZp+s77Ve/6P3iOecjID7PqXBbIuMj9e9Gx1X0x3UU=; b=aQann9VyAWKZf8n/6t3ZX7XA87Qt37AC7dVKWzphbgKQ6+kE8rwt7FUlkqGKx3wtKgFalsyV8Kt0bUDOzGNE6/D3FyfObGOl6nnhFv2cz1bAC9+devEA/iMtHWqU9u2pAvVwRjjo3tJdodRHmTl8QWZDvh8zOGAczN0J6SBFDkc= 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 HE1PR0402MB3531.eurprd04.prod.outlook.com (2603:10a6:7:83::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.18; Tue, 8 Feb 2022 06:31:49 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d4dc:8c9a:55d0:81d8]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d4dc:8c9a:55d0:81d8%4]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 06:31:49 +0000 From: "Peng Fan (OSS)" To: jassisinghbrar@gmail.com, robh+dt@kernel.org, shawnguo@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@canonical.com, Peng Fan Subject: [PATCH V2 1/4] dt-bindings: mailbox: imx-mu: add i.MX93 MU Date: Tue, 8 Feb 2022 14:30:43 +0800 Message-Id: <20220208063046.2265537-2-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208063046.2265537-1-peng.fan@oss.nxp.com> References: <20220208063046.2265537-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR04CA0215.apcprd04.prod.outlook.com (2603:1096:4:187::14) 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-Office365-Filtering-Correlation-Id: dd9741e2-a8e7-4cfd-4508-08d9eaccafac X-MS-TrafficTypeDiagnostic: HE1PR0402MB3531:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:989; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lEIOXs5jnysqxIUZc3bgsJ8BBpPqZdvZICF0rKPTQCPyQsImhMJWLygiEH+ekZTiauBLo65sQ2dqNh3D3oYvseXqBy7qlbdtp4dammr0s41/9BgqeGkv2hfNZ8t3L3HnZQqw7Vsdvr1YVmJl+CdNec+RestA/qkhCTr/9J0Fd9nT3ZxTfE/ViIlLvS3+wkH70vIiEurkXC0T/LDfr36/ARtMgZmZoMb3HvES/QbgoVMCfSS2RfcDd9BrS8F4JbfLk5LylzKOsf/5Atf5wDhLNYG0lfTvIdrx1LOj0tN1oEmkCLmvM96dPgt7qW+eTJJsm9ji2QEp7ECprTxZisvgxuXJUSz5tqJkP+XjT5RDmdSzEtwC5wcK/pNaIgFdmqvumAyn6bV1SOYfDyo/7zBuRTJQ7jZTOGUq2I2QwlwPRih+wMuz9s0I7hCwvczpZgE2aU9+N/f+PAB1dPMPWbN7yRDzfmvJfFxztLU9PvnuH6Rtkc5ILmxPUtoc8bYSV3OUBoEk+4K28jvpDAJ1oS1UnMpIYRhkB2/zLwPNsC9x9JcOhC/nL4mrXb8Ck7N0v0vnDD9dC8s06w+Rz0Ev7Tzw9JYPBFFTeJot74QaqWUUXTRpqEv8KmJqpCbSc0u+cb8553AvPkBMWs15+iwTZhFtgZDyFGYv+knOf0ggE29ZOeH5rj1ycKPlyM1b+eOjIqm1JU5BYAHY3cXZmJtkjBFS/Q== 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:(13230001)(4636009)(366004)(66556008)(66476007)(66946007)(2906002)(8676002)(186003)(86362001)(15650500001)(4326008)(8936002)(508600001)(1076003)(38350700002)(4744005)(7416002)(38100700002)(2616005)(6506007)(6512007)(6666004)(6486002)(83380400001)(316002)(52116002)(5660300002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: wWfhpoeaOryHbecWiau5Sy0shqwOtssx0iefjvLNDiMU32ukeFc2jjISP8UfIg5MTwWU/466kzSQetfahohov14Hwf5MFe+kXBrtVb51Qtg0IUgptTqE2IP+dtntqVh5CUkl1vVpjHncqxRnaYjju4h37835180eQ61Z4skIA4QGyXoSBRNlJcA0tsKyOhZMU08YI9e3SnqwuUmTZGFXieyhSMxg5PQ6s6Zf+ZT3CqG9wMHvWSfsjKOovYunWKtn4fDquRiDTmb32NlCLp0GToHNI/h1Fp6vYVSTuyDwxmapB/AA4J8iHgfox0jW5GldrQDP7GBgQf5t17G/H9fqNUcb9jk3f3XBn1qX9pP0jGlurAchVyP/lzr/Na9xBXCwr9GY2EcHrusOXaDwg+SPI5IK2eNP3plVQZlUoE0DeNpyguqePYUZj2bfMljK1tZxW53CK7ublhr906IVqQGkufzOYa9FzRSkKz7X+lKVMUZjJzOtJ035WyXbAioCqwNStiJ52CkitzeN35YRUvdNzP3ZbD9wGZZat4h4zA9zB98kE0G+NlhJlTVFHteEh/h6KwdjutbMoC6VD1uFDi22uYVhwU5pz9yIgDi9d5oaULIdOVjNAiNREF41FeqLizlRcQsewuGxuU6sLBj7PHEhuJxnMjeY6gC7ynC+v9QPjrB3kB001i2v2c0Aj43J6N0oEspkqUc2FywTysYC5pjqJRfVAQspmWVhyKGic1Df3uNKGRtcFMueVoKOtNdC2jVfqjA2uB+dLNtaTpgJ5p2V9Wm+jhwQ63kTws74ui1+l/wrpXw0nk2/sEwXf++XEtLFcPOC9p0OyadEyS1x2dd4gMjE/tHNcaYQWUSTuTwO52zdxSiKkHnMKmNJ/LSJN5yM5Yhy7UPk7OHU2TgR6edbuuIJJmgK4eQY+J08BgJhDDX4NTH3C+SdREub8pVeM5sAa08NW1xekd0GaW8lxUhFZiCbp3sfBIgng2VWb+EUvf4l3KwvDqzVqNZlqZqG5KSmy7b6AQ+MMWXL/n5nCi7chAxkCtbkbyGRwfRZh2iv2lSOD/ixFChjZxEpJ4iJbMgtiuaXLwAIr/6GCPs37ZozGU1EuOCagv8JrDFOgvIgbGaIY+4IBZKF7QQLKBPOfX9x8bW+FOeLBp3MxfVutXnvCc42+1f+/itrfnCofPiNbfBTFtZGoaHVQ1jfEdhJy5vJ3WCLrXMb30+aoazP62tr3pcUX2BGoo08v/SHaJSZmpPghG5NJ9nNFskE0DvtHtBJLCANgDJ9NI9EEBcMKTHbaQq+6qQQg/g+wHgMo6Chi42bcOlSg3zLSW77IkhS0NcMKmV2bZe5jt/y/c2NmcyRLJjAeYfKBn6E7ldEdFL4X2UNjmTkIYuKGmS3Zg4MnV/1H/PPlEnS/P8TKMMWxiLnOnyQyr+9o4fTLScrVv02HUOP0HWAlTZVEfpcdIZF2NKkHhRI7nfgZSh/TKMdeCeHzF5cTYmv/1dD5/HUr7O6qw+bgEC9eDJl+ONhQKZLUCPgqCjmwia+mZBvQkbtd/0hUP9NX+IFSGysvhE8CgEkcHFFs1A5oISB3m68/SQJzVHOVaIqgjoe6Gh04cTjKZs/XcFsnKUk2N3+nTuXk4uBBl4= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dd9741e2-a8e7-4cfd-4508-08d9eaccafac X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 06:31:49.4447 (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: rz7Bq7xAO3OdKvIc/p7YlXCjiypwi/oOuUEs5RZecPbjMRqexBCC+f9N6YZDojxhlDctMWTLGLcWhOBzfqGaxQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3531 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan Add bindings for i.MX93 MU which derived from i.MX8ULP Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/mailbox/fsl,mu.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index f865b806ae6a..6d056d5e16bf 100644 --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml @@ -30,6 +30,9 @@ properties: - const: fsl,imx8-mu-scu - const: fsl,imx8-mu-seco - const: fsl,imx8ulp-mu-s4 + - items: + - const: fsl,imx93-mu + - const: fsl,imx8ulp-mu - items: - enum: - fsl,imx7s-mu From patchwork Tue Feb 8 06:30:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan \(OSS\)" X-Patchwork-Id: 540934 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED376C433F5 for ; Tue, 8 Feb 2022 06:32:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347426AbiBHGcK (ORCPT ); Tue, 8 Feb 2022 01:32:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36520 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347443AbiBHGcE (ORCPT ); Tue, 8 Feb 2022 01:32:04 -0500 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60066.outbound.protection.outlook.com [40.107.6.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23E20C03FEC6; Mon, 7 Feb 2022 22:32:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S/StXvHoCE4dUnkMVEYt7hIEK6LaXA8PqX1ilWN4wHTz/PYtpSEgUEeCACk5gmygN9+/x6S200Qc0E9o0CCJK0hqw7bm88UQDHP2HZjqq8b5qAvgZrjD0+K2hOxdkJxUOAbq+oeU1YH6c88EtOZBgZ8IL43tWglpZEmTT+ndBEN8RwaACeoSj1qyYUEMgqg9mjQ997wxzsfpqNasbBjJ4Q8X1rTQgKe3Zj9U16Sda1nnt7PhUvFQ3/oCBftZI9ZrfscCEECdZ21sTCxvlxnhqXm3VLyk81DY71C3MdJ6L2A4uz8KwLcoW2bEgjam8h+6zFO+4BEPU+NfeZL6OS894A== 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=h9BKoOi4tAOesIotZkm3ll4pO/2B/OQVVHULsgO4Xfc=; b=KyNX1ehEHbumVydGps6yuWUBa7BnfoMo+ftqWtKQC4o+sI+ePVKNg4E2bHUgHp9lziTqkWS41q8EmcxcqUub/xPs84eUjVOUkNEQDjIDiXvUhRhEC9Vv+Un6MhLCZqZNcICL5M6LBuRdfn+1/HmSMRoy+5j6MEXWwm6YVp4tvEUhEYWUJO1l+1zObpm9mqEq5SIJuq5kLycTC8uLo7DPEPT7CR1viNw0BpupG56JvtREpowblldwnoidg4xDGECTAUf6G1Y9hUxQ7+5alABVBdZYXxqZv1DYOVP6r+pNuwW3lO3lwIr7l/+dm4g56E306SuAZGJ+laey/EWglozBRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=h9BKoOi4tAOesIotZkm3ll4pO/2B/OQVVHULsgO4Xfc=; b=mkNw/VTx5cwH7hAzAd1cAH/b+a7gZHrC8zfbBy3e1/K9UzrZZReUh7oBIu+T9jnDVD3hs3uupmqNA+ll+7hdt7IsRPZpLhSA5HWYn0Bh3Izqxmaw2xi03MOsFcIhjBu5HU3rnfJli/fTsuJwRqetbISVJprZtP6AIQUQ31rvzuY= 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 HE1PR0402MB3531.eurprd04.prod.outlook.com (2603:10a6:7:83::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.18; Tue, 8 Feb 2022 06:31:57 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d4dc:8c9a:55d0:81d8]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::d4dc:8c9a:55d0:81d8%4]) with mapi id 15.20.4951.019; Tue, 8 Feb 2022 06:31:57 +0000 From: "Peng Fan (OSS)" To: jassisinghbrar@gmail.com, robh+dt@kernel.org, shawnguo@kernel.org Cc: s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, krzysztof.kozlowski@canonical.com, Peng Fan Subject: [PATCH V2 3/4] mailbox: imx: extend irq to an array Date: Tue, 8 Feb 2022 14:30:45 +0800 Message-Id: <20220208063046.2265537-4-peng.fan@oss.nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220208063046.2265537-1-peng.fan@oss.nxp.com> References: <20220208063046.2265537-1-peng.fan@oss.nxp.com> X-ClientProxiedBy: SG2PR04CA0215.apcprd04.prod.outlook.com (2603:1096:4:187::14) 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-Office365-Filtering-Correlation-Id: 34cae3a1-f8fd-44db-65eb-08d9eaccb452 X-MS-TrafficTypeDiagnostic: HE1PR0402MB3531:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:227; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Izg2W56A02J/QNXrmZVu7jU4cTqkfcmC17QZ1FgF3ppyDDsqalB4Fa7w7LKOKJ2up8SMrGpSCcxbIdrx7XuMLFnoEg6oRqTu26ePYtK4W3DQiH/K8u6DMMd+PjqfpyyuKV21u+FyAQ+ezeht4pi+I8AQTpb8ot8wHHjxG90mzTaNsiRKkjU+9cloN6jK1bZzUB39LiwW+U0CUcmJYOhYKNE/J1OfLGKXLXrBabcvIMn07/WibUj9OP2gPC2EzGN3rcjsWMxp92v6p5OkIHxIx5oP7ABLH3i8/gIch+4qhmO2T/xguMjqjiwTQvZqBovFA0j8Ay96+8C/JackBtoyVNOztRDLHqOreTf0Sk847ksb2ZdKRciMlpHj6bs9izOuWxpu7jWL3SR1/FQcJeLPqWSqDrB947fThIh/Hq1tx2bbrP4DSpoiqXaEn5AY5prOWEnyGPMZeaHCWl4+9XSKgAs0BDafd075DhIE+sjZT5JfNPeZg9zcs0LkwYtDefdLhQOI/+kX6xXyV2P2o+NdM+s/V7IFAtuLjXzqQ3pdRZ3QivoovTLmIqK5Y7E+5yQ4oiOmoT9FWcUt0eRG5Fcv/8w+6njRjjsHjY4gUd9jzlqLfoA0GdHA4JBGj0mfpsF79fIH7MlC5IsiOhrk3LhGvz/e+JADnGUEo1kfBjF2o50iPZ8ayNxSG3OXacVfhQEi4251v/BWdNE2zAuzaLvKRQ== 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:(13230001)(4636009)(366004)(66556008)(66476007)(66946007)(2906002)(8676002)(186003)(86362001)(15650500001)(4326008)(8936002)(508600001)(1076003)(38350700002)(7416002)(38100700002)(2616005)(6506007)(6512007)(6666004)(6486002)(83380400001)(316002)(52116002)(5660300002)(26005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +97MTnTTjDukQDt812oedqnei/iL42WDpvw/JG85/qQEE9bSLzbNWoxiejnA8pgR9UmIHjaQWRdE4HarH9tBaLO4L38EsGof+muj0GVBY9UVu5qgaiABAeIMZicqL3/TzqNxqjbOLscmmrrSn6cCK+P0VRToZOPgEp+sgSqDLvCf4NFZia9b12Uhx1jsnb3bGik9cN5rgl561wZPWgk1E/BHP1gomJP9NSJ/tpnYGZlIl4pr91JjdDu590ATFUwEzs3zFytIyFcxeQdn7Pbc0rU4JXL2+N4TvDpTDY4dDCtLpZAELCX+wu9rIfYtQ1hGKh1RYnnrRWxHMl2vkAalVw2WERkGLIoKexMuOYqsVTeBtK5CPHUtxIer7Lt/xRUyOTMIplVu48JWccJIN1GqLX0Mk1fZxqPO/Lc7bZKpxnblicoFHIIJIicw07vkyPlYCwfETfwACaRMXIopYxZsJgiGwC8fBLAV8akCDFvOWmYw4MhR2ApE4S+Hk67N6CVn25yQba9j3kbslPBGeQD7u3wp98N/WltwQIfuMsHGPQSwXQ8vBXvbLJ5cpz26nZNLCRuHvrtFk9omR0fH9sBVUQl4fFe8xZl96RGvwo317K22ChFfqZh3cawfcm/eRtGGC4hsQyT5X5EBhEoXHEa8h90c6Rx/2UfcTve5N5cIF5Yunn0TM3VCWC2YV0Z1js+M7RsEiyFCPXRrdwZLqggwiUZXMjnU+RSwn0hTNpfDAFVwSRFMtmoVW2MO+lDcBI5ZlQ5LMK1j7FZNrwzAaTOHIbFdMxEsWpigiAW0+mgJ5SAUyS+dUiKs/u12yCvAkf79Q32+GYq51fM9ZwvaO0XdBVHm4iAFhXyxBZnwFqdjUgowFKD03EVVhQyfa+MkPN/h4dl/H8m3iwpVmD9Qd8sTgNbOguw6HJFBkEM6lqNEcB2/NBIRdsgurbFun/yTcUio5wNRAv4jgUmBuIwK3M6g+H7KElLn3iVoj3U9fhj5BQdq6EoW1fex2qZIF9iTanRCXg6L90G6AhHG/quGu46S+d2pERBRm5EOkxAZ4dusNFTjAiCKfVtzq31OrH/i2+JNULRxRww8PiU8YY3glDE2vmcaWJ5zjWMSkNWQOrVkWFPw5IGpcbC0LRxnx/V0TFB8qvmZnYnPY2Bcsidufz2XIdE06lqUEMfKEKsAGw//5vcC5+TweHqUoM1ttmYHqs0+ejLXXZXQlLtjmGLtvfVrekEib17tSbIuKPh09Dteq4FxXu6bF9CmaQ6FGKMWSi6r+pQRYONbfWaKbOArGp4TNp23ILlX90j0mbvK5uObVnzWNi2D77ekCKk/44Piq9+x7jAXppSYhjfQlO9UeXa3Mao/uUw+8Q/KwEi279JaOWygxIxzoWGp2c+vKDqczsvAnDD5Y/3sQj4CMFoZA4sZH3OZ18ApmNoNK/+d/6Ku6rdyJHBX7g7348HtsEPRqg8xrqdTpGw/8FYeylxAr7mGYSRVSby2WSvf9XVVKqkEHY0bc0Ah0H97x58sGeaTJSJ6RQ3dDuRVmmxItFXMBaZl0uWe7+nDZ5akh6O+Oo+ZBEfGluKpzYHWVu1xg1OqJHzcMqTf4MqUm8IEqEZxNV3bLdccIEorlaTR6Y/ERFtrGUQ= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34cae3a1-f8fd-44db-65eb-08d9eaccb452 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2022 06:31:57.0881 (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: UkJZCzDB4SrYMSWwVa07hBLKL5TuIdXeHb5IQ7gbgSo0+UbP6T+SVL7/bUX1OJhn1kkc3CYSx+1tPtXWXE3gPA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0402MB3531 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Peng Fan To i.MX93 S401 MU, there are two interrupts: rx full and tx empty. So extend irq to an array to prepare i.MX93 S401 MU support. Signed-off-by: Peng Fan --- drivers/mailbox/imx-mailbox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/mailbox/imx-mailbox.c b/drivers/mailbox/imx-mailbox.c index cd011ca5707e..03699843a6fd 100644 --- a/drivers/mailbox/imx-mailbox.c +++ b/drivers/mailbox/imx-mailbox.c @@ -80,7 +80,7 @@ struct imx_mu_priv { struct imx_mu_con_priv con_priv[IMX_MU_CHANS]; const struct imx_mu_dcfg *dcfg; struct clk *clk; - int irq; + int irq[IMX_MU_CHANS]; bool suspend; u32 xcr[4]; @@ -551,11 +551,11 @@ static int imx_mu_startup(struct mbox_chan *chan) if (!priv->dev->pm_domain) irq_flag |= IRQF_NO_SUSPEND; - ret = request_irq(priv->irq, imx_mu_isr, irq_flag, + ret = request_irq(priv->irq[0], imx_mu_isr, irq_flag, cp->irq_desc, chan); if (ret) { dev_err(priv->dev, - "Unable to acquire IRQ %d\n", priv->irq); + "Unable to acquire IRQ %d\n", priv->irq[0]); return ret; } @@ -598,7 +598,7 @@ static void imx_mu_shutdown(struct mbox_chan *chan) break; } - free_irq(priv->irq, chan); + free_irq(priv->irq[0], chan); pm_runtime_put_sync(priv->dev); } @@ -762,9 +762,9 @@ static int imx_mu_probe(struct platform_device *pdev) if (IS_ERR(priv->base)) return PTR_ERR(priv->base); - priv->irq = platform_get_irq(pdev, 0); - if (priv->irq < 0) - return priv->irq; + priv->irq[0] = platform_get_irq(pdev, 0); + if (priv->irq[0] < 0) + return priv->irq[0]; dcfg = of_device_get_match_data(dev); if (!dcfg)