From patchwork Tue May 7 20:43:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13657789 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 7A358C10F1A for ; Tue, 7 May 2024 20:43:52 +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:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EdiB46GVYnkoWbIlpmihMqfpilXJC0p2ovBgzT6ipq4=; b=uVMRqTq8w3brA3 onhj7RV4998yAtfzsmqfabRiMSZqU8yVZ/x9QSSiyFPxeUHkn2dUBtIrW489ZMG2Kn3RKHM0v7ono neGEpgpYj87cIN8FdrR1PYbHUaQYOiOD1II9SqLIYyE00X6ZNk2xkX1y4bnDElr8Eq/Y9T9tVySnD MAqSsmS73DWlLaTTg1mTsPhaP8LQtMYocOLFoQL6sE4P6TcX3ZttqvJOcQfh9mLy3GXCDF/LsMqzX biIjH9jr3Fh6F/CFdD3rwG2aF7enQWLOCCPilYZLrJSXfFYgtgSQeTIM1Ole36Gci8yKtmcrvqYNJ 76FRhcxfOihVC1EM9YxA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4RfE-0000000Cmpa-0Rz3; Tue, 07 May 2024 20:43:52 +0000 Received: from mail-am0eur02on20600.outbound.protection.outlook.com ([2a01:111:f403:2606::600] helo=EUR02-AM0-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s4RfB-0000000CmlW-3KxP for linux-i3c@lists.infradead.org; Tue, 07 May 2024 20:43:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aloHTKyuYhSZkJU95OZiBY5v/0Rq4Dz5pvsOsJtKxsXK4My/xMXtSAdsvkrQ/4HsSPAdt/CxIpKwZdcGDSjTQncho3ufpAFm2+PiTxsUg9yyqVZ4XMtsegoZUPxq1UGpzdJlgRyRbDBRSTXmYJgu5PT0hY8J/btR/2QReCcPmBYciH158P6CL/CCps2ne/VfZ7smPyeL5oL9HvKKNvxNnCrA9U6WiUxTq9dHmti0vRcHc0Sz34YOGsqwysfXBWHApTE4vcUBsJoSodxwdw7Ynmkl4ms3H6kEbm8hYgFb95Ujv17N0VOERwTNGrgtkuNWtE9X7905IClENeiMcRqLZw== 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=XcoW8o6oEq2d9mnm2NMy6isoGC0GF0nEtBDeGxk3UXs=; b=B7ysaw0tT21oiJ5KL/xvbk9Yyni+aWD6KkZ3LIkdvUBiAsq73qVJOn5yMhYLQDNcGj2JqCTEkg1liLA6jsR3boK+6I97u5s4mEyR6Fq1VXamFV3VsfMK7QkX+0p4W+9iMzlvhqLC3qVqyo3Ks6FKmYplR81qjIFSgO/z2vr3FqiaYAnglu7KUV880qRvtDoMLRP+uZeWa45epp5Q/aqEMbYGxmrr1jST9pOp/ATAz7mX0YAmWcVPcump73lebJwZmNae/pUXR2WEsOb+wmPwNKuJ8hsrRjl87myJ77dNSK/eWbA5oFm+dqWOyHmNVCdm4lz6CjcK/RncYQPVQqaaPQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XcoW8o6oEq2d9mnm2NMy6isoGC0GF0nEtBDeGxk3UXs=; b=H1Br0AU7QLW428YP9avgwnCcoRmcOM/XXtjbVO8E7f5IxMsqyCi+7sPDkEIHteYRBk/gYLDiAzsqV2CARrjk21ukSHZnxSCnwAc56TtnG6hpdVJR6V7bQCSMCEzTl57Pyt1eheNZVxzlqW8rTMpDxQJ6TN/KTmPsBQhvEMrz8zw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8576.eurprd04.prod.outlook.com (2603:10a6:102:217::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7519.34; Tue, 7 May 2024 20:43:40 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::1e67:dfc9:d0c1:fe58%7]) with mapi id 15.20.7544.041; Tue, 7 May 2024 20:43:40 +0000 From: Frank Li To: alexandre.belloni@bootlin.com Cc: conor.culhane@silvaco.com, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, ilpo.jarvinen@linux.intel.com, imx@lists.linux.dev, jirislaby@kernel.org, joe@perches.com, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, miquel.raynal@bootlin.com, robh@kernel.org, zbigniew.lukwinski@linux.intel.com Subject: [PATCH resend v9 2/8] dt-bindings: i3c: svc: add proptery mode Date: Tue, 7 May 2024 16:43:05 -0400 Message-Id: <20240507204311.2898714-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240507204311.2898714-1-Frank.Li@nxp.com> References: <20240507204311.2898714-1-Frank.Li@nxp.com> X-ClientProxiedBy: SA1PR02CA0018.namprd02.prod.outlook.com (2603:10b6:806:2cf::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8576:EE_ X-MS-Office365-Filtering-Correlation-Id: 5b3b8a72-1b9a-4988-dd1e-08dc6ed660b2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|7416005|1800799015|376005|52116005|366007|38350700005; X-Microsoft-Antispam-Message-Info: WdfVDGFxXA14NiK7huLPIlouVyhLWUbfWBdFaPImG7mnZSsOLglVUgSnBCeDJeE4h8XaRgA7ec0plgKG2PJ0UbxytsKKvxkUIyLLjAVyS9NMnjW7NISrTQXoJWecygjf1mkUue1rITxt2dUkPHdr+A5BGlPgIPYTYz+DLTpLggwHyBKlbwfc5hEa0dKOCgpDNxfmDU/V8ebuPCzbhiaOXEWUyItqyZXphl+px6UF9AaHBwJXBcIH1Bj0SA7+euK6NA26CNTuykgaNykXsPJXiByLYly1hv2EhOQfy8ZBriwRTvZiFDWxzr7PiMRDlBHbsceEFTJXt2gqqDoMe25dzi4mTf8TWwo2j7LfuX5yFOMKO7kuYan06MBDSIfAqr8VvBh9QY4vOa9WFYNcZ+GEQL9p2Q077orza1+KjhsRKJ/bOlA7zG0C3HjOcUxhJ6PTf95LsQ8rPpNFQPvxBGnfiJTsdNYKVPhsS4cUAWy5EF3ylxydhCEtzsCHm7LzmnYz7Sd5sHf/hRX4qbH6cCneIqsfDVJf8Vm4YE/jmMCsaYoZ9S0KOzXqe4+yJqKF42f7b+rrmDIuuzdnb2BCRLtVomDSCPdLUfgQtNDhjAVjcU9gkPZp9W0wRl5+67Bm8Q41xPT95g/o036OXDIGgnn1FtmXOPvSMYro6+RYxoL6ZOcWKgnDPhMk8Ba9qxx285AoBeW2p/SinKMYkOisIleUIU5M6i7eR9aKkCCw+C576n9dqmwguw/o/XG5mzaIcQKsep17uLTntG3lM30xTLVYggyk2uOaDNb7H2wkkXxQkpuGpXaMQbP2xFSlSZbRxhQDvQFFA95gHRmAxtrxIB9C493EZzG9tRLUI3wA+nv+FB9s1ePBBJdFFWVO1o0F5vJRKQZhXZOws4OdpJCvXSyorJMsAoE3sNIm6Nd+d6kyHp0RfQeIR7W6k/E58niMt11x+MRtDWyRggNjJ3vociU98ScE2KI88xhPIjV+d3LRBf1+KCuDwk0LENE15A2sTO52udKqu6DPuXyaUAexXvaF+C9O0G8YTfi+SbeJKkcdxhIL0pIGwqcKidcCMQs/O9pdZC5LvuLQnOPDKPv2aGP3VKj9pyoJLxl2bnMUaypY0ACSnV4KvUOwOoE13PvkB2l2ot6O2vR42BS0O1rn5Iz3ZRUAz8oqcZWuMtkjo7yobotieM6sOGxLdY5u9u7nWAlz6gX55e+jU8U9V1cDyuJ9L/CuIcxhFcfjFqW1w93zTvs+UVy2HboUWARvDIJdRtnnUTDBeI1sJazMwG5k2ds2qA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7416005)(1800799015)(376005)(52116005)(366007)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-Message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IfMDFXZvja8SZL/7wBqhkiVnJIQTFPxn35g1AUGqh3f3kAheDdopiHtq6I2HA9dCosI8Uq17IPAwoy/l9a8vGSDBx+ODAzCB6MmXf9tsXODRupyEylBq1EXYrSwZKrPe6+iaYjUddUQrGV8cWP4upzg8TAvTuYZaXGhyRE/COK/vJg2rqgb4+cn3kc69fRUltq4aziFvspUyiI8e3nbLoWDDEv/cwxOdb3YS2p0wkvC9oQil0wxZ0yCcPSVR8YmznO/0WQON969t3BuecmPF/7J0rzZyRAafMca0dUhP6Nt7xu97JnZzi8fksXqOcFaivuoDLf5CBW4ZGK9buyzbRxHTVXSwU9lvC/O99KF+Xj8rpOo8buzXNsOKO18eF+A6nPcJm5m2Dge6n3SBWrTwlQ/7gn/4FottFkqCpfjAm8sU1tHjG55mZtygoi/VfjwhiXGmyLdz5vgj8HyvRtRqdJQr4QNHM6sh1x9l5amxP04OLhtmmeF/i6QzSStNSXXNLOB0LbO9LkcnHV2 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5b3b8a72-1b9a-4988-dd1e-08dc6ed660b2 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 May 2024 20:43:40.5216 (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: DWH+GNITPZ99dakvjDbTvd7OiH9hS2oJQwRmbr/IlB7RrZv1gMI0+aKpGnqLicsWJH8TjzI5SfucvK2PlKszOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8576 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240507_134349_860698_F9FCE64E X-CRM114-Status: UNSURE ( 9.78 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-i3c@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-i3c" Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org Add 'mode' property to distinguish between 'controller' and 'target' modes. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- Notes: Change from v6 to v9 - none Change from v4 to v5 - add Krzysztof Kozlowski's review tag Change from v3 to v4 -fix dtb check error Change from v2 to v3 - using 'mode' distringuish master and target mode .../devicetree/bindings/i3c/silvaco,i3c-master.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml index 133855f11b4f5..3af77d143f018 100644 --- a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml +++ b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/i3c/silvaco,i3c-master.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Silvaco I3C master +title: Silvaco I3C master/target maintainers: - Conor Culhane @@ -22,6 +22,15 @@ properties: interrupts: maxItems: 1 + mode: + description: + Tells Dual-Role I3C controllers that we want to work on a particular + mode. In case this attribute isn't passed via DT, I3C controllers + should default to 'controller'. + $ref: /schemas/types.yaml#/definitions/string + enum: [controller, target] + default: controller + clocks: items: - description: system clock