From patchwork Mon Feb 19 05:22:36 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: 13562168 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 B731EC48BC3 for ; Mon, 19 Feb 2024 05:14:50 +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=X85wq6LucwIZb48GX+8cgbgHQP GK5VTWdKFU6vyAzEWWPyYQYEG9SrW3pcTt/OiLuSNRJPWkmGWQAp55T9oeLdk3h1eCpE86enO8C9n tWxDXtoK9YZgmEsBtnqqbDDrRMOQd5aDp1H6wEYe8eRQTjIgguCiGPYBkH+YyAI2BlhjIHN5zZ5JM YvOtsUMCQEvjr8TOvYwCAOS0Vgmnz7wpW/JX3mUv/LoyP82YOOzAtHUpoIx3Buk/WK5pTHQjIirW3 0uMmwheiQAhVXzYJAnqNCk3WrH4wt/Ua/Sv9YdXllAP7MCm78r177Z0aNrG+fmBom/0T7I7L3JYqJ qkkMEoBA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbvzF-000000097Dm-2UsM; Mon, 19 Feb 2024 05:14:41 +0000 Received: from mail-he1eur01on0602.outbound.protection.outlook.com ([2a01:111:f400:fe1e::602] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rbvz8-00000009794-2CYa for linux-arm-kernel@lists.infradead.org; Mon, 19 Feb 2024 05:14:36 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kvduVTptUOrSloxS1V4ej6XVP8fyu3j6ExTRwgLViCde0Qu1nIZETbV3KyPivkINqeOYkmDjMHxnATKWymoIsAgz+K8JIL42Ej3oNJuVYL8RpZMgbJbGpQVJKKYpz4rPGU80jbVFjbH1comns0gY8NxahnfnqHBcIq+rtmsZRnifv7vbknaAWstbG7t1rJUG4LcZ7PcEEiW2suz2Itj9HEfi1DQ6UKJBiijxjkbCtoXz9ubikOk//YuHhjB4ORnzULI7a+DftW4ZCeDmH3oWp2U+EcTlR9ui4EeAC/FJCnw6GCYtu/+zPgfpBD2dt9GjF48PDLL3K+el8kBPbJclpg== 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=UyaOKh9BpXvsVIdD0qsZQvDEdYS8HqQhjvBMD9pmC2qGDEkFGwHdVjHfbVdjTwY+ql8EQM7pt3GcHsJuTeSyR9OIOQNW2MxC7Aj0qaiLP5jR557btSZNzqfZkF4tyjH5RhORk0ZFbapc3xLvVpDgEFoXSw5SN6AECUYRNdGRP5955FDe2cF0fblq3wLEKHZWwM3M2UlrIPYSvOc/75xLP3D7/wyZ/2JAiDjxud9oHDFfOJ7W2V47OePUgFno+P1PD3QmcSBuluacFaPAmX5bHTgh94eqmN14EkSuQogQ4H3EdDfb1mgSEq4OzTDmOjTydrUb+loudt0lKesUIivZgg== 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=WxesPZ6yxzK5ZSya/OMygVANp3f6S1E68fP/nDcEuyPj7G1dYKCnQjg0wN84ZTJvm9dVHw94l3ymmTwSgz5yTCRa7ZtGbqGxizmaqWdla3MUdjAb0AtPRAH6gXr/maQwItTjNuj813cQuIKD6ZN5UZHmGqYr9G1QZuix5+tF/rw= 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 PR3PR04MB7228.eurprd04.prod.outlook.com (2603:10a6:102:8c::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7292.34; Mon, 19 Feb 2024 05:14:25 +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; Mon, 19 Feb 2024 05:14:25 +0000 From: "Peng Fan (OSS)" Date: Mon, 19 Feb 2024 13:22:36 +0800 Subject: [PATCH v8 1/5] dt-bindings: mailbox: fsl,mu: add i.MX95 Generic/ELE/V2X MU compatible Message-Id: <20240219-imx-mailbox-v8-1-75535a87794e@nxp.com> References: <20240219-imx-mailbox-v8-0-75535a87794e@nxp.com> In-Reply-To: <20240219-imx-mailbox-v8-0-75535a87794e@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=1708320164; l=2741; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=C56rjccJP8TyE3Eb4IvcogQQf1ZEIotnAVpBDSA+e98=; b=3V0SZKQi4H/ccrA6TpxPTRRLuUcugewNkF5BqXuBFTIiYxKOz1wqbVmC3hJNuBvMh5i91ENSE +64+thDuENhDkzvWRdecPmCHCruO0MnNDour6Nus54CqOl3Hl1nUboI X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SI2PR04CA0017.apcprd04.prod.outlook.com (2603:1096:4:197::15) 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_|PR3PR04MB7228:EE_ X-MS-Office365-Filtering-Correlation-Id: e370c039-7e82-4aab-9f48-08dc3109a3a6 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: jOKdzU3KEW2LQm/ZJXRS2Z+26bsxgrOV596PTaP0OIdPy8o765hfgD60l1wNu8yty3nNypNZ84PDc7bNUyYyjISJfEHxIcWvwJ6SngQRCgASEpjOpIcHuR+PmdJNO/yzdjbkTSaqEGIgTuoSDp+0tDpMNqmdonZ1DSGf2Inp3XOwD3ltuOo7VCQqGRSgro/4jyngRJb0Q86AqQzS92tRQBsgkfY8x627ycKdkSGl9jtUVbc4FyT6d+O/vJDHS0Wb80L9rUFVqGfrJ4mz3TzCrQdixosqKZKAURxI9PFYl2snNpRKqNCbsVzeBIj2rzfeQEXprzANF6yBeoOMwSsEdtxGEhn/mgqVUP2JLwKHhsIdNhq8ppVIm2OMaK5an6VMk95d1bcnUhP93K2AEg8eFmAGFmeE6EThQRkphragDl0x5aP0yzfjAQw0ntlKErU/f/m0hrgkVA5t+FKZLvbrXRdMIoZHVvyqQQSJtJjq7TFcbRy/FcDIBYW27svXrLdiMJf1zhHGeuWUl80uHkiC8SjJ0OPCwAILiOCpPfzV9mk7kSOgH/pnbNCMiULwQalR77GqqiZ2+6ni0Yo9FcjB/1x1mLpYZeeZi45362GyEJ3WFl9F4Mvfz3YA+m9EFNrKhvkkbkKFEGK+9/fQP6FoyQ== 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)(346002)(376002)(396003)(136003)(366004)(39860400002)(230922051799003)(64100799003)(1800799012)(186009)(451199024)(41300700001)(8676002)(4326008)(2906002)(8936002)(66476007)(66946007)(7416002)(66556008)(38100700002)(5660300002)(15650500001)(86362001)(52116002)(6512007)(6666004)(316002)(36756003)(54906003)(6506007)(9686003)(6486002)(921011)(83380400001)(110136005)(478600001)(26005)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?QnwZzUgZqssBcz5KS5rT1KM70yes?= =?utf-8?q?MWHPkHMTwrdZQkIqv8Ul1hPOSgKdfx+bxmJOoCDGsKRFqAnANkfYuJsk4Q0INCOz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HWFc3ZtTbL60H8xBE/VXg16Pi+meMUfqWQA1GLtPSow9F4T+EjIGAb5IT?= =?utf-8?q?FF/cL53lD3NW1yOj1xF0jlGlIlsFBlafu/aeEIPTdf4XPLlxRWrWmO0KlY/rADboa?= =?utf-8?q?bFLs9C0Fpy7tmhjDO4u4mHQkCzb43+oQr1H0XibxQ9Dp/OsT848BtJ96XCcfcziP/?= =?utf-8?q?yA04oFFOQrITDMfHKIoOmPpN1oeaJnbHYwx705CsqAe3NidgCE3s+jwttwaVpmOOi?= =?utf-8?q?vgAAnSHFwZ9NYZEfw0u3GQV0IafkBgef3jFo+YGc290BSxRr/M7C8NKcv8DgFiOAW?= =?utf-8?q?f8bM37kP65xlcoQvSiJbfqcNmLWXMZyblFcn6zQcDA5x3kYnuCqFLOr06+Smw72Az?= =?utf-8?q?qK9CLabAgCfK9251LbHnWP3rHPErCQLdRz56wWP/BL/g9vp7cNXnwCCtHH1kel/sB?= =?utf-8?q?8Lc9nj5JSmLxzmQAzuS0hdYk4NlBbMCAWvwoGTjkm3hQBsE0n6J2k5zUdLlyB9U/3?= =?utf-8?q?1JKJafmhESTOuCKR9l4dQDhy5zjyEsgWuFuXemGPw5NH3yXVFehJJXx85MiBa6n3c?= =?utf-8?q?egh6K8S6ERY0?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: e370c039-7e82-4aab-9f48-08dc3109a3a6 X-MS-Exchange-CrossTenant-AuthSource: DU0PR04MB9417.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2024 05:14:25.1165 (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: Ed4dkGAQEYN9a9O/2Vmh4MRzQbCiz3mb0siPvYncEkafazpu9ylhD1b6D21cFMR41vn9A74FDQHJTml0owYsKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7228 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240218_211434_581746_71EEB68B X-CRM114-Status: UNSURE ( 9.37 ) 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>; + }; + }; + };