From patchwork Fri Jun 21 12:46:57 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: 13707567 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 2A57DC2BA1A for ; Fri, 21 Jun 2024 12:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: 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=dCfbpBhjXdZhw/zabiW/1mSVd8AHxJpCaLe9GfkFW3w=; b=grGkbML9rk3mingRy3PZM+XPqW GdmhFn8mDPoriYArSi4vy+nCfuk/YvXqOrB1fCr6p0BHbUoYBG3ChHrdQNUL7/VhsPzEsvTMyZ7eG s1pBbDbu19xW30RjL6vJNeiAPsbpu4DLsxtjv/8wLRTbUYUs3nHznzLAtZ4zDzyJEh0BDcn3pJ/Nm mhHcb13j8xQHtDXKcNYZG3JFy31fo9qzhgdZiZBVK6GBeMa35x8fFOKh6ChRP6FyARQmx0Cew8vWo 54oW/K1rmRLahFcWN1/S7ep2jzU9Yl+nVnB0U3F7zdG7d3Yg4uXFmKmfO4qX33+H7YwnSfI88nz69 QwVYrX8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKdka-00000009EVc-3l2n; Fri, 21 Jun 2024 12:52:20 +0000 Received: from mail-db8eur05on20616.outbound.protection.outlook.com ([2a01:111:f400:7e1a::616] helo=EUR05-DB8-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKdkX-00000009ETo-20A8 for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2024 12:52:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UN59+e8gkarECBdi+LrSLaZz5nZDj9oJm/r/EkPUZIRsQ6mVxZE04gaOuu6EeaTSX6Ycz8r1q87fc+0PNyb1GcOuABaq5aW+VGJE/ehU0gmI+FKY8/A581/DZL0vJ/BEHQE+IS2wUf+zU0jsuVRtnZ0r2juFmVuWsjGw3kn7Vb/4ldslvjrhSZyK/FR/jGMXQylvi18QDxRjDvnGJ4Nni0kZK9igrudmWZVJD2n7ik6k5j2PIxKHI5YdLvMRqIUCCHEQWHEJMq2zfENldZERj1FBpdXUpRy/6uc9bcI4mhkajYIh6jb9mb86Bp+E+xe2YBuNW7tdXiRiaViuOrwbMA== 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=dCfbpBhjXdZhw/zabiW/1mSVd8AHxJpCaLe9GfkFW3w=; b=Oesv5ZYjPMZJUXRMlOpRZzZZR9Afv2NmePjWSB6a5GktV2gYJqsu6gE7x4yAROxNXuBS9qItRaBKt4Jz167cwuu4HKURcRGRYcPjngMKav4RPtylIrOzXBUrRgT9GGi5oCzRByY9XLdMuqj62J9tWhMSZdYEMlzjscvYP/xcJF5rcxfZdHthjK4LUp6eUty+vymJfLfNNaLN236kt77fGL4P4cjAMz7eLPj2GDlrYdGcetZNNet9uJ2VOkKWc9CRmsQA0YU0152T4ZqxNGb3qFZFAZqE8621enwZ/Hht/U/BaYpO2Ad+zBCIApeh8FY10tKnmeqG2ecX1ikZk4Uitw== 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=dCfbpBhjXdZhw/zabiW/1mSVd8AHxJpCaLe9GfkFW3w=; b=bbJO5Rw5Um9MEBHxHHfgTVsM6xtL7vQyUfMq2BvYPmLfn0615xOolbA8PYYShZ2RuvQmSFJZa58UJT66XYgPMi5QKxPWzDWkKjsOLOs2PkAKZm76B9qO57W/DnL/d3pw7n9WsVVWPYq8KVuArdgMmMUkDad0j9LfNGqiMML0GYs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) by VI0PR04MB10757.eurprd04.prod.outlook.com (2603:10a6:800:26a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7698.21; Fri, 21 Jun 2024 12:37:55 +0000 Received: from AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256]) by AM6PR04MB5941.eurprd04.prod.outlook.com ([fe80::9f4e:b695:f5f0:5256%4]) with mapi id 15.20.7698.017; Fri, 21 Jun 2024 12:37:55 +0000 From: "Peng Fan (OSS)" Date: Fri, 21 Jun 2024 20:46:57 +0800 Subject: [PATCH 1/2] dt-bindings: firmware: arm,scmi: introduce property mbox-rx-timeout-ms Message-Id: <20240621-scmi-mailbox-v1-v1-1-8ed450735f46@nxp.com> References: <20240621-scmi-mailbox-v1-v1-0-8ed450735f46@nxp.com> In-Reply-To: <20240621-scmi-mailbox-v1-v1-0-8ed450735f46@nxp.com> To: Sudeep Holla , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: arm-scmi@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Peng Fan X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1718974025; l=1198; i=peng.fan@nxp.com; s=20230812; h=from:subject:message-id; bh=HY7KYsejwshpomZ58pb2C6L5Z9B2yXXXSOg0k0xoEeI=; b=K9aR8HhzGkxkxejnSIIJJfuN6NTIF/IQmTQEJRsFBL1aUQvjG3ASUejHWYdJb2KkWqTP2u3DQ 4WAotzy5FhXCJ1JTUEPsfi46iIIT5EgWxu04M1pAZJZj7yzRVeat065 X-Developer-Key: i=peng.fan@nxp.com; a=ed25519; pk=I4sJg7atIT1g63H7bb5lDRGR2gJW14RKDD0wFL8TT1g= X-ClientProxiedBy: SG2PR06CA0241.apcprd06.prod.outlook.com (2603:1096:4:ac::25) To AM6PR04MB5941.eurprd04.prod.outlook.com (2603:10a6:20b:9e::16) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB5941:EE_|VI0PR04MB10757:EE_ X-MS-Office365-Filtering-Correlation-Id: 95b221a9-68e1-495a-74ec-08dc91eef924 X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230037|366013|376011|52116011|1800799021|38350700011; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7HABEBn3Q996q8DxUWa3wxrYSNpuhmP?= =?utf-8?q?wSeZfq+F6FkY6Wng6QSti4PRSb2iGBK4VMnr2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NgtMkcpQeRKBQsPqDUWnzvRl26?= =?utf-8?q?F+dw6IsfQq+ftFPE27M51rQOhoLMICKze4w8YMZCXojtIZDG1moN10frSGFocycuR?= =?utf-8?q?RQn/glBvzrw8/hU6B1EPFe+t9nBjUGjFlcKeNPtBVPjLvK8rkqjL+uEBxucWviPco?= =?utf-8?q?s+ph+sUuDZOSXkK36MD8UCkb2uYpE++dXNiBcuUf1U5k78PRV9mUZL06qiO2WtxjT?= =?utf-8?q?wO76jlqIZT4nb2YlYclZOLvN2w5WJIUz4NTBioiekTEw7PlzJJuvKa1oGwoIV4UF4?= =?utf-8?q?YNl2nVK/oWwovns/4g61KZejxk8MyqR0GPg5rZ27f0AC2M9RTnGZ/LRSykqXLZtET?= =?utf-8?q?SIJq2mZALEqV6N4sy3oWLik+oNFWaPAnP9PfPuxpeBrMlnt1Idgb5eIY=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB5941.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230037)(366013)(376011)(52116011)(1800799021)(38350700011);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?e0FOHdULTXVp5qGGePIsEvjyIoYs?= =?utf-8?q?OOu506KxO5GsFlpHakHRIUkCnu83RzmGKaJjRhUqDmnDmhESUIt2WPfRBWwUBmTAh?= =?utf-8?q?zkKH1MQyEWCVV4V8+h6DYljaVu4dBs0XcdUothYJW/Bg+wSMnBIDBxzdYVV2YvhAw?= =?utf-8?q?j8fih7Rtnb8Lu9q/yRLERY/qHFlJ6pYXRORwH6YhBZXhMXqcmEJ2t7fLZTQH1ymrn?= =?utf-8?q?kqZwLkj+2vOn4RvCO7+UQsIq715NSkM8w2GOvbgHRr6HP6Lpin24r6M3EV2XtFvUI?= =?utf-8?q?ntPH7K6OpXcYXk8Voi0kRl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/k4///CFO2WrdoNDfU5mdSAoTzosMgu+?= =?utf-8?q?00Spa4XufjgXWK7Szu7+0p3H4mCB1iz7WoF8wtxEcZ0oXcyKbHSZzs+Q4vwzIR58b?= =?utf-8?q?6lXvXMcPFw3wc1olhH1hRGSgINzy3GecY23wYz3lXtS3toGmhL1F6KY4jbOUrpmft?= =?utf-8?q?7rMJ4Lr6ZX7WKSueFoscrilba4VPX7bpTrDgIsrZDKE+aQiMtlXDgJJ2sPaagBZ7s?= =?utf-8?q?FSg6VcYY9qjRWuvMLQOH5Ls+z4tc8Stqog8Q5HNy+yPeplX4AnRCphzjX5Xp4mafQ?= =?utf-8?q?XWM1L7AsojPNHC856V5C9V1VqMLbXSX3GhgH5xtm4vVivY7Ca7V/uCQUSpIc+ZGjp?= =?utf-8?q?x3C1eiZAH9FH?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95b221a9-68e1-495a-74ec-08dc91eef924 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB5941.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2024 12:37:55.0502 (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: 9GYCa1YxF7vKVaJ83hfXcLjGCkRZCEDL5y+hngnplQgVXaNKnH1BUpWW5uwBgnfWXEO8nwAo3BUUeTyc7UIhbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB10757 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_055217_532467_2955760B X-CRM114-Status: UNSURE ( 9.62 ) 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 System Controller Management Interface(SCMI) firmwares might have different designs by SCMI firmware developers. So the maximum receive channel timeout value might also varies in the various designs. So introduce property mbox-rx-timeout-ms to let each platform could set its own timeout value in device tree. Signed-off-by: Peng Fan --- Documentation/devicetree/bindings/firmware/arm,scmi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml index 4d823f3b1f0e..d6cc2bf4c819 100644 --- a/Documentation/devicetree/bindings/firmware/arm,scmi.yaml +++ b/Documentation/devicetree/bindings/firmware/arm,scmi.yaml @@ -121,6 +121,12 @@ properties: atomic mode of operation, even if requested. default: 0 + max-rx-timeout-ms: + description: + An optional time value, expressed in milliseconds, representing, on this + platform, the mailbox maximum timeout value for receive channel. + default: 0 + arm,smc-id: $ref: /schemas/types.yaml#/definitions/uint32 description: