From patchwork Thu Jan 25 05:20:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Peng Fan (OSS)" X-Patchwork-Id: 13530029 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 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 B3979C47258 for ; Thu, 25 Jan 2024 06:16:43 +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=2x9lREoB2RbenzhHlYGC9uHKso3AQRpGgRA/Y6cTK/k=; b=GHM3E7BbAciMbIV3LyTF3RVqd9 kpOBUZmMBnejYHmW1pw7PcnwnSswPfn2R5avSfP5xbH2AVKwAyFhq+j/GVViMZKGQoKPwdsc9uelu OBYFYhjCF6hPj5IkLJWqMtNdsAzSpXC7LuAYejigj5RGz0x0GJ5P6WUEq14gzF9tK74y6tGFU+JCx DM7k+PHwhAid948+BNhoRXlqZvMPKeR1A/w8WQfZz/dNl6P79epxpUfo+bJtvL6dtGXYIMLI74QUQ QWr1+N8Jg3c8lZh0Qj7l7oEL2Tb7hsChKJqHLv2qewig5YXTxfP5A6S7aDoEaFRIxxAtU3Cb6D7kl /0geRXzA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rSt2U-006hEo-1n; Thu, 25 Jan 2024 06:16:38 +0000 Received: from mail-db5eur02on20601.outbound.protection.outlook.com ([2a01:111:f403:2608::601] helo=EUR02-DB5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rSs5k-006R7Z-2p for linux-arm-kernel@lists.infradead.org; Thu, 25 Jan 2024 05:15:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FRXlOW0OO6ZpcFyjkk7imr/GA0iQ1iI7PxdOljZjulxOtgfW0xoAnxXvE9ARo3rv1c/IOwz4r/s0HK40vtrMQWBXdWwj0bQj13rtABzuWGm3qejs15M1UYcyeX+Wvs+HpKv3KaNyEfGD6vlJEETE3Aqur4FKwIyMUBCA8/HjSNMM4qVOdtkc631UsOO2CF9qiohiwA/OARhsh9KPFHbe4WHYmyzpP56KeqK/S8+blaUqjkrtasQNlKOR/BVHrm6+oXoBrtMGbHxjhHnj8jw18IJQbtfEOB13ZNkCMrzHm/D67vliIgE4p4uLdEGn2wFd2V5jZgC3MaEHv2rRPL9Vbg== 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=Ee1Dli3O1FXVow7SMu8mJze7edWHgMfSVr6Wxc9+jYI=; b=WMc4QfAKH3Uvs4AKhEQ0rTD64Kx568D5ioKX2yapnn0D9H9gU420m2OXr7OxBQfHDUWKIfv64APUPbZ3LxwiBLcXYplejonWij+vPRUqCM9SWeYi1DaUa0PDsPVSlhN5X+baOe5Gvh51miBZfLWFGw9nRzJ46bNngHay36OHoYsCv4AbEe22DgBwpzAgtMB9xcU4jACT7FeHHhTfTRkW51TXuUy+j3wERauksiX9ZmIeUnhvOQk3hK8//KADW/4eX2ffXZl2BGy2jhLNOFUF9asUMuiYRN9bYprtCbnxltqg4S/17QF1xF+JrdMuCs8dbUlJYsJjdWmjzC129LXOnA== 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=Ee1Dli3O1FXVow7SMu8mJze7edWHgMfSVr6Wxc9+jYI=; b=kBpDiFnoPZ5OdLTP4j/UWfWigny9U6Kx8uWczefQf+glE63eqUuUXyb+2jHU/Z5QDqh9tyqRwcZfRlnTq/t9iEkKKsP+HXlL4uj+lEvM+MDmjqLYvbFaEdiPS7KNz9nSK6dfyUHNjPFseU5tXnqh60sL1wvM3i16Bml+CI6kIcQ= 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 AM9PR04MB8275.eurprd04.prod.outlook.com (2603:10a6:20b:3ec::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.26; Thu, 25 Jan 2024 05:15:53 +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.7228.022; Thu, 25 Jan 2024 05:15:53 +0000 From: "Peng Fan (OSS)" Date: Thu, 25 Jan 2024 13:20:03 +0800 Subject: [PATCH v4 1/4] dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible Message-Id: <20240125-imx-mailbox-v4-1-800be5383c20@nxp.com> References: <20240125-imx-mailbox-v4-0-800be5383c20@nxp.com> In-Reply-To: <20240125-imx-mailbox-v4-0-800be5383c20@nxp.com> To: Jassi Brar , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Dong Aisheng , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1706160018; l=2505; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=1O7B9LF8rHxMfyFadGQ/lPlfemmgygQItpOgVsQLSyA=; b=Xui0n8jYHYXlRs2WLw/UISbfcbJwt+2f4LAhPyqjnTwWRSzWzWfzSUp9WbYXBZuVZw88FBmGP WMd0XYHCuzIB8Sd+yMh1vwIgAb0X/Oe7uCdEhUytOuONZRwTd8Gmk2M X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR01CA0036.apcprd01.prod.exchangelabs.com (2603:1096:4:192::22) 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_|AM9PR04MB8275:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a7632fd-22ad-4c7a-8ff7-08dc1d64b42b 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: q0qy3Hac6o6N1aQAryDZecBrGKa27SEEgU9hqOijoEkmTgBNYJsHs+GI230LONu/EBOHY5BsoICp5aCUCb6SJkAbuLirVCLeCP4mh082mFhkiI1coZEly9VNgfDfE3AS77aH8d4s6ZJFG4RjhVsaYmGO+CyTddnDeOA/pc+bCM1awr1yArmKsCJ2xIDMjPlArw2qdjuq2USr4+BF14vYceC2KmrZ1a0M4/rxK+jQ+ubEXBkpBXueLZBW74yk9W/Q58uKBF86W0uizovqe00qOXMwDOiTxx6GZP8abs4WPB4jPOv1o4JCOIroEqwL6IsNuKcZ5gHqANfff+QaUCtDpyUgBMrV16Tm0bcXfEjZYfRIK0euracWJzkbXblWWIOtgMkPO3yGN/f+Z+PWFkevkgBudKUKCaN85LIX8Yt2ipovdNjgYniWamBcnwVbtvzEffRwG09pewNqcIfB3NUXBoJl5UJ6nt6dfp6vEJDlfVNkZHnmVidzZ5YtLkuDN3O/cdRLg2DFDfspZbQKX77M7qk1ftgWJZ9RNr4ShVUElTjP1S7lxNdKvjNPzCpaCSR36RPLls7+cXhq+RmTR++dvRmP4mpzZAKUJ7d8Wc6RoTjS7Sr0tIpJjExzc7pSIWmrmmm8Jg9RTn5robnZKd2vNtPFJ9JeyzcKWsLJ5wyLPP0= 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)(39860400002)(366004)(376002)(230922051799003)(1800799012)(186009)(64100799003)(451199024)(921011)(41300700001)(26005)(38350700005)(36756003)(9686003)(52116002)(6512007)(6506007)(6666004)(478600001)(6486002)(83380400001)(38100700002)(316002)(5660300002)(66476007)(15650500001)(66556008)(66946007)(7416002)(86362001)(110136005)(2906002)(4326008)(8676002)(8936002)(41533002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?ePtXKPpoK0obX7HqrUNnBwf9yx4S?= =?utf-8?q?4EclGdE534awcJsGhQ+MkLfnF5a2CdWzibOYce0MRf2YyDXdI5VgVO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-8?q?lWOKbKBIq529YcFSfm1sfqcN2ak0WwmE049xnJ8/Dg0laMQ6rUbo8kOwJkUp9GDkg?= =?utf-8?q?v2uclHFxUrcNN9jWMlFyUMDkWD/y0pWvzDWKX9PKU66CtqFHfyaAEOCc8A6kVou3y?= =?utf-8?q?XhPP+zu6bh5VyDQNg9G/7WTrAPgnF2cHhJGKZQOoVtlGq/MpRwuWrh61Me02+KqWO?= =?utf-8?q?RxkGdg1mn1P8rr7lS04+XZo1d7xCpDt8NTo27a08nXe+wxAKODu/49a8doCHd2v+G?= =?utf-8?q?6U616THOo4V3Qzn9eWMTm0dIDNpwqkfc+QYLXRYmvgyphRfm320y20iHqXjIUhzaH?= =?utf-8?q?sY+yIzcFgRdDP2pW8OrsYrbr6H0l1Vgb1bTkk5bniPjURzEXB+CzKpIUbPaSnzKBz?= =?utf-8?q?AcLIFLtw7YFsKRMR+37pXqdx1u3+P9hl9MFdEexDn5GkrZ8zSW5CXPuVoRG0DrqKA?= =?utf-8?q?3AdlAfbGOBeDiofGVCpUBZqeeLacZHEyugVRhBXWPcqtNR89PEcYeW6y+F+r0MEJ7?= =?utf-8?q?s354dL714ZaqNEHvZF0ndKwUFAMApQccaTKlaRjlNd8yJZQiOjcMeLisdsxaN/Yys?= =?utf-8?q?P6wZCKfKB/YI?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a7632fd-22ad-4c7a-8ff7-08dc1d64b42b X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jan 2024 05:15:53.7861 (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: uNHo7Akt0IUy36IbzgCN1COYxX7EF27DjNrFeXV9SHSWFMbid4ynPzkRkMlJvMb1hi6BrimqF7IIII/35HBHkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR04MB8275 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240124_211556_919685_3374C308 X-CRM114-Status: UNSURE ( 9.52 ) 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Peng Fan Add i.MX95 Generic, Secure Enclave and V2X Message Unit compatible string. And some MUs has internal RAMs for SCMI shared buffer usage. Signed-off-by: Peng Fan --- .../devicetree/bindings/mailbox/fsl,mu.yaml | 52 +++++++++++++++++++++- 1 file changed, 50 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index 12e7a7d536a3..86759831b24a 100644 --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml @@ -29,10 +29,14 @@ properties: - const: fsl,imx8ulp-mu - const: fsl,imx8-mu-scu - const: fsl,imx8-mu-seco - - const: fsl,imx93-mu-s4 - const: fsl,imx8ulp-mu-s4 + - const: fsl,imx93-mu-s4 + - const: fsl,imx95-mu-ele + - const: fsl,imx95-mu-v2x - items: - - const: fsl,imx93-mu + - enum: + - fsl,imx93-mu + - fsl,imx95-mu - const: fsl,imx8ulp-mu - items: - enum: @@ -95,6 +99,19 @@ properties: power-domains: maxItems: 1 + ranges: true + + '#address-cells': + const: 1 + + '#size-cells': + const: 1 + +patternProperties: + "^sram@[a-f0-9]+": + $ref: /schemas/sram/sram.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -134,3 +151,34 @@ examples: interrupts = ; #mbox-cells = <2>; }; + + - | + #include + + mu2: mailbox@445b0000 { + compatible = "fsl,imx95-mu", "fsl,imx8ulp-mu"; + reg = <0x445b0000 0x10000>; + ranges; + interrupts = ; + #address-cells = <1>; + #size-cells = <1>; + #mbox-cells = <2>; + + sram@445b1000 { + compatible = "mmio-sram"; + reg = <0x445b1000 0x400>; + ranges = <0x0 0x445b1000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + + scmi_buf0: scmi-sram-section@0 { + compatible = "arm,scmi-shmem"; + reg = <0x0 0x80>; + }; + + scmi_buf1: scmi-sram-section@80 { + compatible = "arm,scmi-shmem"; + reg = <0x80 0x80>; + }; + }; + };