From patchwork Mon Jan 22 06:19:23 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: 13524832 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 6DCE0C47DD3 for ; Mon, 22 Jan 2024 06:15:45 +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=2zZSSeXEzn1cnCB8F2EhadwQyscvHwTCS8vy1TatXps=; b=4Xn2lCReKwOikAN4rh2+6sy7vM HtjFvnfAUL4cjtINBzs/2Zvg367c9KvZ3GYhyvuW8oTG95GCJY4AmCY8n6p5oZhjfB04OcVzP7UHw 5+eXYMUrQ+WtbLEJ50tzvK/J64Ldqga1w5D9wHvkD0g8t45D4D1Y0b+o6OfnANqAoQpodMKabVwfB Ij6zB1SXCQDYybPKO55R1JlXiOAIyTxRTY2pX9t+a8+jeB23i35iWq6ISW7Vkppr2yirrWl3G5hPE hmscAjBsiREVasYOAGDjm8u6n2Qu5mexTzvvyoNF4xwVEJ45cQcDKxgP+pi7e+NTqbZRqXDCP83Kw i7vIYM7g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRnaX-00Ahia-38; Mon, 22 Jan 2024 06:15:17 +0000 Received: from mail-dbaeur03on20601.outbound.protection.outlook.com ([2a01:111:f403:260d::601] helo=EUR03-DBA-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRnaS-00Ahgm-25 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 06:15:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WCvwU1NCIRkpCw2lBqoPDdbvE4Ha1OvS0w/2Xhb5U3wN/cCPQTKHZKomu6Qj3BgRdnnDzHRtM0Iatj1QD30rUSwd5Jl6UrMHKqgkthCsqsn9q34kmsKDvNjCn7l3pFGGuZzoQDzQrZpqnxnjXVKGcy3Bi9eatZoA1VappM5yW5LURhI08obIUlcOUg2vv+OML0J9DDgyug+jCKbDi2ON8pbrxTogTtp1pj6ThjuV+/cYkqRF2+l6hXgWV2egJOsnnXTAr9IuufOnANJe33cekKcaz2Wmc8YlYpZYnIRKjVbgJeuZM9hWjuqqSPNaVD42A8EO/IBZLWgy15euhK7s8Q== 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=g82O2aBVyCptVCQ3vky2tKNcvp0YYqSnK6Tx8buxk/E=; b=PxdfTfBlaZ6UkxZ/s1UTncktBOgP5Ns2kver42UoD5J+3W0tsMxHf/eIFF7S3/msuAavK/3gDvFT8+QrXtLbiNt3D/A7M7AFfvAB1X1LOkL91daeWTHpMP9QKHtOySy8NznblIfjUzl9cOzZ3z9B19077y+vwQpSTYM6Q4cCd7Xp8fkJEV9BJxZRZwk/v2FsRZSR3YihE/pFGi0i2gFgw6mSI2wrt29YjtidJgOtvaowGDLY42bj5GmBdjuAI6fLwnT24bU0umVZrsFWu3PEoS41HuRJLa6o8DGgdD4OC5SkhgsMXAjCvB8CvVyTVmw6D8eWH3gSYoEardylsLKpng== 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=g82O2aBVyCptVCQ3vky2tKNcvp0YYqSnK6Tx8buxk/E=; b=L0QuuIlz27B/WBX01y3qwx8F0BvhtgVGf2NlNOfumfercbif7i37/tJtUAcP97O2phyxTFpq0DyMGyHizabV5TtRg+Y6ssMjBd5n/nmhsNnzu5VunZvfE/OFg3QD/LjVQMvPFEry0xTuJeKLCujyTs0M/9HyLyKhntJ7qknkXIw= 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 AS8PR04MB7991.eurprd04.prod.outlook.com (2603:10a6:20b:289::8) 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 06:15:08 +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:08 +0000 From: "Peng Fan (OSS)" Date: Mon, 22 Jan 2024 14:19:23 +0800 Subject: [PATCH v2 1/3] dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible Message-Id: <20240122-imx-mailbox-v2-1-7b3c80333b92@nxp.com> References: <20240122-imx-mailbox-v2-0-7b3c80333b92@nxp.com> In-Reply-To: <20240122-imx-mailbox-v2-0-7b3c80333b92@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=1705904372; l=2485; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=yxhUwukR1ZdbYAmIIg5lDJYxI/rUpRQGRKB2Vuls1Jg=; b=w/DCQz7zjfmgkOVv/KVl1bxZX/wiGxSELbw0hBBIVa8ZKLhLpQKQm7gMrFa5RPFG5ECqX0zxq xhNOAmIFBEECkRuc+0u2PO1RCKUZyzBN2MHc9cdHd7UDBmXjYHhEONK 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_|AS8PR04MB7991:EE_ X-MS-Office365-Filtering-Correlation-Id: 06730c13-9553-4687-1dc1-08dc1b117b64 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: QHz+ouFpFmXS/BqTGRw+NhYv/Ezz7p2xXAOdz95pzLNQpw1+QcFadjHjpIsntsQTpKsTtIuzxEr+KxSYtTE/9SmdBf4uN3FHQvQxWpOOOkCzCxJTXLKYNfe32cuMdQKm+dowViupv824q+do0P73q1saDqSsW+11h4RWqvtrdU0uJ/mR4GDNjNRQlftjpFWiubrUTrT8v56ToHRDeRZ7XrkIBMyu+EH6y9qy/go1VBQqlEP2i1XSGAZ1Wr7DiOe1Ow7kpYqASYxqzkDxb3340jqLsFZA2a8/5GzHkA++HIy6EGTaKgYX480S/ot9ACLnKbcGWT+PRBzYuGdYfAjKGba5K0N6AJYuJVnbxX0CzLYXPjEr8yZsj+xe3oIiIIUWIQZMKCicZfAJuXzVgiUSt6uf2XJ5JiD4swRzru5+sLx3NtexsKxZGb9C8JCkzawTALX0UQAGGq1GDedNXL8eTDQDj0omNhowyJittvhPxRDASwsOBQ8/T2sr+qVFsmoprtzt6wRlBewmbA8HCFzqSMCTMpins2bPq+ZEzakeFF8sfySvbrpCAeNLTG5l/NPiratyP4k7qe5IenafrUc4/4Hw/J20yeWz7fYOCfxtxGngfwGqeJADl04XsX9aG8GaLkjy8qk35+jAgh5LBhZVUgK9NsmX+16sXhoVPt+bMYo= 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)(376002)(136003)(366004)(396003)(346002)(39860400002)(230922051799003)(1800799012)(451199024)(64100799003)(186009)(6666004)(6512007)(6506007)(15650500001)(5660300002)(66556008)(66476007)(66946007)(52116002)(38100700002)(8676002)(8936002)(9686003)(4326008)(2906002)(7416002)(6486002)(316002)(110136005)(478600001)(26005)(83380400001)(921011)(86362001)(41300700001)(36756003)(38350700005)(41533002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nvRr0PGShQThtfM0Nt2b98RW4WRl?= =?utf-8?q?QXd98DwE+Z3rqmANEAQXX/EN0Ianz1XNa7SlChLZIgVU4ssmTj5XudU++K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?= =?utf-8?q?wON+jzRsLL6KIv5/JbrjcLXVVLkfV55fljV82vJu21JsBDVGGmUFAo1mbsjJXG85W?= =?utf-8?q?Sh7z+mgKyJP649gIbkOutzWYL/pPUBMmX43SowoD6t2P8Srm5tqQ1uRurs9L8goQ4?= =?utf-8?q?JgGAABB7eDT6rHwUunuw1U9CZPvnX5G5OJUqjbSVZwMniwgagDJqnkqZit26mzGJr?= =?utf-8?q?6kt5Nn32iwghU9cCyuCiG4xetTBOstKpBP4NBqY4RT06sLx6AHZ6S74PhHWZnwgB7?= =?utf-8?q?7coJi6875XBCt48p4upcxx4cwqGHffhqfyGlZ85z8h4Iz1M4NLXvBe3mWm58Q3YOu?= =?utf-8?q?GIotdMJBTupJSm+mAfbQae5KfOlnL1En5SwN9DJlbc3xN7mj5fMxm02tZyWYpPFUu?= =?utf-8?q?Kojoj6D80PVAh4SRWFu2uNOPUS4BEjdYVhsTnfa5zd8GTejFVpMo/rg5DC/0LngXT?= =?utf-8?q?3uguu5Hrbdw8MVKN7XR/NgjU6ic2SgSY1ORqpbgN7G5t1dx5qsvZd1PGZLZ0fo0wA?= =?utf-8?q?v7RLaDA231buTuPFJUehrUswuoZuN3/LX364AsJfhsYVKr6xIEYhRxiwlJy/MLxST?= =?utf-8?q?vstWTuYfi5w8?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 06730c13-9553-4687-1dc1-08dc1b117b64 X-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:08.0020 (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: ZnsPwQcHm8x28kM6XtPTp8ptdpWR0eQeSemm6p9sfSwkyKoQ3SUYrK/Foa8xgBe4XQEDeoYgCSYcGrygI68Bag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7991 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240121_221512_688778_9C51665D X-CRM114-Status: UNSURE ( 9.70 ) 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 | 50 +++++++++++++++++++++- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index 12e7a7d536a3..d10c6fed291b 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,17 @@ properties: power-domains: maxItems: 1 + ranges: true + + "#address-cells": true + + "#size-cells": true + +patternProperties: + "^sram@[a-z0-9]+": + $ref: /schemas/sram/sram.yaml# + unevaluatedProperties: false + required: - compatible - reg @@ -134,3 +149,34 @@ examples: interrupts = ; #mbox-cells = <2>; }; + + - | + #include + + mu2: mailbox@445b0000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,imx95-mu", "fsl,imx8ulp-mu"; + reg = <0x445b0000 0x10000>; + interrupts = ; + ranges; + #mbox-cells = <2>; + + sram@445b1000 { + compatible = "mmio-sram"; + reg = <0x445b1000 0x400>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0x0 0x445b1000 0x400>; + + 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>; + }; + }; + };