From patchwork Sun Feb 18 06:56:13 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: 13561704 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 1C4D4C4829E for ; Sun, 18 Feb 2024 06:48:33 +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=ICrQr0BR3NZrnYKQ8XIInWlrhfWOklL69DdZtKhYUkE=; b=TbMDsIZMYPhtXTlYilG1UK6N8T apnn3KtJWuNkx9W12aa049ai6GmLeTIumE4eH7VFbUc8uk6Gb9p6yp3b8KGKyvH23dGoqBbfMFsTF 7EYTmr7gIZAHPTZGkZiEVVo/IJ59kZkTkP9ZutCekm2EA5KvFKpwJVK/HLLwVVqyGzEZefdBniVEW VG4mfAiDwrQd364tJDaXW9g9VMvvd4Th/Cbr4LgJfqZnybJiA6g18O1v79Qp3ktg4vFgmB0XxOkHY R2ph6EkmqfjN+BZbm8JqtrVkZsVzDGauoWlMKX8xjCaUIK2zGN+jcVAEJ9eJsxrKZavIymPuMpZfX JVLTaAtw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbayL-000000079VZ-2lJs; Sun, 18 Feb 2024 06:48:21 +0000 Received: from mail-vi1eur05on20600.outbound.protection.outlook.com ([2a01:111:f403:2613::600] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbayD-000000079RW-1yq3 for linux-arm-kernel@lists.infradead.org; Sun, 18 Feb 2024 06:48:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FEUwaj8h9Lb+jjvq9sxEKct36LYVbJtJXh3fmPJTT+MuqIzgqz4XXLbFeMZvQ1l75JgoJgGzbGBy4mkVsaPH3L2YDMzh06l7GPOU4PpuLS3qoFHlqkc1FEP66mRHq40uav+FMwQMkM7lWATJZ2hcpCBCNC2mMh8uwSua3fdz3e+3lrIPtFlgnJc+ZsIZqS4Jeq4M3o3jPsUhjq2/pWtZ4nCjvxWfBPLxtSfPkYmnI/p23YN0nG0AVdjMerUaXEYBMSR+HC7+nxoD6vQ4uywItfw5R1LSl3UEwCIoGEADDB2bEg1Fq5yVnKCXQQXHgwJtxcG48xA4Dsy34DMNPIEZ+w== 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=7KvOi/dUrQ1BiOs5m/DkXp9FaTqjukDIJmIW7LA79+g=; b=m8iWhwuLk5C6bgGk94Rroc/C/mPtn0AHXRulI2hLp9H7heuj/rHW4zrl18GoijA1vKuK/wnjhWHgGBKggbb2EIyr5988YN8CeAw3IQqYrbGxL1azKQ6nCsvq7caEuafiBEp/POR9npn9GzAeBRkZ8iqBxUwCajD1Ner9dBSTlQv61wB8IIxTD4NnaY8t4kiQcyu8+kjATwjP8aEYtfWKpkqrl6jUVypbJxp0mN+F1+rglMjVhvdyT0secFUu96iRNOXmXoGaOuDTlDoCA9gDo/HghZyudrlTnxSz+K+4XUmokKVyeQAe5ZQB5EZSYEgf3HwXInbcY4Ek0Q0mklUMVQ== 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=7KvOi/dUrQ1BiOs5m/DkXp9FaTqjukDIJmIW7LA79+g=; b=aMpa6YzNQErdh34/lw8Lx98uFjljok8BfRL9bQnuOGiayNn0D64jNxSnqcTC1+UjAp9Vm3QSxYr6n+FKiGqQpwU4AXHBsh9p81dA56hwg7WH06VgajXF1Q/TLOXaulcB62m6Hdx3Q+xhsuKt5syWd3rFooln3AqaKfVdOmY8OZo= 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 DBBPR04MB8011.eurprd04.prod.outlook.com (2603:10a6:10:1ec::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.31; Sun, 18 Feb 2024 06:48:07 +0000 Received: from DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::4ac3:3559:4200:38e1]) by DU0PR04MB9417.eurprd04.prod.outlook.com ([fe80::4ac3:3559:4200:38e1%4]) with mapi id 15.20.7292.033; Sun, 18 Feb 2024 06:48:07 +0000 From: "Peng Fan (OSS)" Date: Sun, 18 Feb 2024 14:56:13 +0800 Subject: [PATCH v7 1/6] dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible Message-Id: <20240218-imx-mailbox-v7-1-8fb665eeae40@nxp.com> References: <20240218-imx-mailbox-v7-0-8fb665eeae40@nxp.com> In-Reply-To: <20240218-imx-mailbox-v7-0-8fb665eeae40@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 , Conor Dooley X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1708239387; l=2741; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=C56rjccJP8TyE3Eb4IvcogQQf1ZEIotnAVpBDSA+e98=; b=bheDqjzxf0ndaVaxi/C64f++TKkz+p/fSnMVuBmNPVjhYAW0OklA4JAfTWoZflGP3tNRK35Xf kTyysiq7flIBo0IEpdR3Un6C1odjn/Wwvg0CDUN6nJ/ePPTUwJLguPt X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI1PR02CA0060.apcprd02.prod.outlook.com (2603:1096:4:1f5::17) 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_|DBBPR04MB8011:EE_ X-MS-Office365-Filtering-Correlation-Id: d86af653-8048-4192-1db5-08dc304d9089 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: C4hVLpgOuA9ywPh5c9pPy19hgb6raG+3bieJvkIBIar+6yGwkqwzM1I0Yk2ZBaHoN6EuDyt8PIOda39loS5UGFRWTPeAuzTT6DgoEmvwlws+LCdW7+u/OKaWQwLx78URQ1qc5rQmWrXaFEUfU+2oCAM+QQ2hbJkHyvYEIchbcH2mLvK8ney9H4RnmhWLy37fnecPsheouzOxidwJNslYLyv0Af0/5t/GN7BZC/vUIzwR6iwHBUydkp4JQ0Fea3No27tVuxRHT5yuG+BUWMuXOaMPvCr+ZnCsgkwyzTKbDrmlofbzY9dawjL5BmxbFfmaHMaRdDJthYcEXlERWorRg03+kxxLsCiSFsaZZ/jh7vFXm5ZPYJNfhL9BdiR7MkKfDB5xgOkvazJXFvS+Zgp/c0GBPBqN/Fm0TQgEWsiWlqVETIRY5JXFP5XCjBiv4NjzMooAeV6CEFYWQYIeWydsrAc4ivtGOHcprfXdM1MTeC/pSh+oIbAQrFAdKleOU97mbf02I6CdLFH1LFZasnUK2FcRjqz1W73utQJsEpl8+Ap2auuyOzUoF4p2fMAooGZqFLdUV81arGE4lslZzK3gFxbS2LEsmhF0ke38x0jwBWCTW6R9ZzR2SBmBbjOC4YmQaTdo81rgZ1hWBKhLiXFH9g== 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)(366004)(39860400002)(136003)(346002)(376002)(396003)(230922051799003)(64100799003)(451199024)(186009)(1800799012)(5660300002)(66946007)(15650500001)(4326008)(2906002)(8936002)(7416002)(8676002)(66476007)(66556008)(86362001)(36756003)(921011)(38350700005)(478600001)(83380400001)(110136005)(9686003)(54906003)(6666004)(6512007)(41300700001)(316002)(6506007)(26005)(52116002)(6486002)(38100700002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?8p6rnML25DDpIzFBNBRfwbglXt4M?= =?utf-8?q?mg84Ivu9KfDZsEAAeCEM5qJq7mZ375l4v3Z9aQho8a9QE5A/p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y6qNBTVspz6mj?= =?utf-8?q?sIscfWVBVrej8YIMSikjbO3thAQEEPW5qbODcYxz/sYMeMTBTj5jW0T5I6+KY22RF?= =?utf-8?q?8w5fY1ELJV1v0oHR37i4rKPuzQpV0m/Y6K4LZGZ6tMr6czWJKRt8JKDo75AWnQLHF?= =?utf-8?q?LxXGHaHsfLdJ77Ixy4P6fjy0pi9XGxkXDRpX2qF6biIW4w7FDzIpCbEfhgRzeRH4n?= =?utf-8?q?iCznhZt4MnTQ4p1dKMs8LvDngcEvNzCxFsm0Y0IeK+7nY1zalY/TfRwUrMGwTgCG5?= =?utf-8?q?balVFofrZhhDpBjK49J3BjB+oTcWc2/e3YL2QKou5jvFMRvtxWcUyUM1g94H7cCR9?= =?utf-8?q?U6gb2a72cks/NwIHPrqiRrACxEGYA0oI4CAWRdESEAdXg3ffXovif4I/sORU3mS2F?= =?utf-8?q?SvUTpYiQlx+IuQrBefg+u3JB2PMXyZByrEXH73YLG7+6AvZMdwZnqKBEov0J+0zut?= =?utf-8?q?PJBHB48juT49urgugrdVZJLKM+Z4ZKYzhidnn3IOQuN8K3AIm93hi7wkqeizgdeE4?= =?utf-8?q?jappVcHdZxjjjlk+cBwgmD/woVci0UT1dcPRw0fr3EWTo09qd3nzt2+gRK5jmn856?= =?utf-8?q?aRrGENT6o8Lk?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d86af653-8048-4192-1db5-08dc304d9089 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Feb 2024 06:48:07.6230 (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: 8+oRnjCtHGq7I9ax+ii96yjMCFlK1vFBxxJnNcbVVazRvuUw4hwRnS5YhFX/4IzX2CtjJSlnopvVpvivPTKxaQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB8011 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240217_224813_556298_94FC8CA8 X-CRM114-Status: UNSURE ( 8.66 ) 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 the MUs in AONMIX has internal RAMs for SCMI shared buffer usage. Reviewed-by: Conor Dooley Signed-off-by: Peng Fan --- .../devicetree/bindings/mailbox/fsl,mu.yaml | 58 +++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml index 12e7a7d536a3..00631afcd51d 100644 --- a/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml +++ b/Documentation/devicetree/bindings/mailbox/fsl,mu.yaml @@ -29,8 +29,11 @@ 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 + - const: fsl,imx95-mu-ele + - const: fsl,imx95-mu-v2x - items: - const: fsl,imx93-mu - const: fsl,imx8ulp-mu @@ -95,6 +98,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 @@ -122,6 +138,15 @@ allOf: required: - interrupt-names + - if: + not: + properties: + compatible: + const: fsl,imx95-mu + then: + patternProperties: + "^sram@[a-f0-9]+": false + additionalProperties: false examples: @@ -134,3 +159,34 @@ examples: interrupts = ; #mbox-cells = <2>; }; + + - | + #include + + mailbox@445b0000 { + compatible = "fsl,imx95-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-sram-section@0 { + compatible = "arm,scmi-shmem"; + reg = <0x0 0x80>; + }; + + scmi-sram-section@80 { + compatible = "arm,scmi-shmem"; + reg = <0x80 0x80>; + }; + }; + };