Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2710330rdb; Mon, 5 Feb 2024 15:34:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IG7SksdsXZQ9kSAq7R0FUWcafdsfditJKyyySPusWEh/Cc9BA0k4yisIks1HAfpBOS0BAd1 X-Received: by 2002:aa7:d646:0:b0:560:590:1044 with SMTP id v6-20020aa7d646000000b0056005901044mr504292edr.6.1707176063485; Mon, 05 Feb 2024 15:34:23 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWhQMnX8CrV0zkL6UXKU7eBTQVjcEimF8qNtYue+wPAtfwluEtvSSdFmwJ35ZDn7pFS5bE0VT9EYraSuauuRDzYfCfs5PhK8gGIm9zH4g== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id l7-20020a056402344700b0055feea651b9si405217edc.53.2024.02.05.15.34.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 15:34:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-54090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=UqOeFxqO; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-54090-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-54090-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 16A241F260EA for ; Mon, 5 Feb 2024 23:34:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 573B34D137; Mon, 5 Feb 2024 23:33:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="UqOeFxqO" Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2075.outbound.protection.outlook.com [40.107.105.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 36C0E4B5A7; Mon, 5 Feb 2024 23:33:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.105.75 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707176036; cv=fail; b=Vxqzwdx5FGgoQYGS9pKlzASo/dkcWcTpAmk8SN1yt6IdRZ5broIpeD7SFw76QowF9cpbHhbUVXxcx+iTpCycKHye6gheoj1L5fSV9SRnlgc2XDeawhpeYWILcJCDaH7jKvPrX8LhU78xW0iRCIwjashx8l3vQYhwVXwr4VnO2k4= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707176036; c=relaxed/simple; bh=UleligJ+5dWLrDcWdg4rHYSCFQexdlcwQ9GqmxEeMXA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=GZeLMeVRS3YcyxHOC93JnpKKsE2JPrMUcXULgtp2nQRo4CXtsGjbSmC9O8jWkACdOvI/dG8hEulHpF6rnS051dt4I2d8TAI83ETBzDC1wJLY1cvtz5Q84FB/gTsaPn8pa/8FNaVvkKI+h2nWqFjlvIiYt3zz6jBBj7wRDkMhpuo= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b=UqOeFxqO; arc=fail smtp.client-ip=40.107.105.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XX2ZJ2g0EA4QwZvkEYyyHuzG7lpD5QJRRU1X/fe01T30nk8Wso/VPx6Cq8YuLLKHuA6FMYx7M0g7mD6QYe1SXMdI3dyMu4ceJlw1KOyzGKvgDaIs0pCLxFDg9dvXyjem6xRX2ookwXSqMT39uTGXigwp2GiD067KG3Hf+H6YGYwaQmF0yYYSdSFT2E2fXuUlNHad21C+AIO7NM1nBYO4Q/Db0NnGixnh2BGuWPWDIV5wfUvwK/fmULx4TdMryQrhHGYbOMSlGur3itqgXoyWu4+jCAyQcO2k7w5u7r7iTY8c/dlUC6GTjVAaHw5sxFr/q/EI7ii6cyp6g+EksDtoPQ== 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=xDK4qrtnr5XVTe+ocNEiDTpD8I6wdwaixxJbj5SM/h4=; b=Qfet41AycPNbzFDWHxcpmGK4UmQeZB2nM3PmhJK8vz4GSBjSFjRGlA6GSyP83lKPJlzWiIrqknmGDmzqJvDHWGb6xt4Yfm8iCSRXDUfIngv04foox2ZGAszmmIrUGVH4uePm6Dw7torJvYIRzDOy2KuqUcXOwyfecU0H8ldSsZ425if6W9TDSx76v167f9otDj9jrxl9mgt+UJxLvWq+L1gANQRZI2A1qhGRSJO3gcZuT8AKCX+djG6Mk28UtRIdGM2y+ttxTfm/bHVvfEAy/Yfl3nxcFhk0vI0Qzenne814P7t4Uiob3+fuz7EPTVCOAHNph+IH1T6RfKohdps0zA== 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=xDK4qrtnr5XVTe+ocNEiDTpD8I6wdwaixxJbj5SM/h4=; b=UqOeFxqO7VSlTji4/ulTK+o4WVWfEONvgYFIga8/6sbHcDVOBl1NJGaufky611QO7IFTRxZoeqbGAqdx7K8gJWxA1bXXMy0o1LUPWZJuBpyRory41uMFgjeG4ZhbIcxhk7/77IDTv7NUcpTg9/m1KREJHOaxrBNoaj8SvBu3dhw= 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 AS8PR04MB9205.eurprd04.prod.outlook.com (2603:10a6:20b:44c::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.34; Mon, 5 Feb 2024 23:33:51 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::c8b4:5648:8948:e85c%3]) with mapi id 15.20.7249.032; Mon, 5 Feb 2024 23:33:51 +0000 From: Frank Li To: frank.li@nxp.com Cc: alexandre.belloni@bootlin.com, 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 v7 2/8] dt-bindings: i3c: svc: add proptery mode Date: Mon, 5 Feb 2024 18:33:20 -0500 Message-Id: <20240205233326.552576-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240205233326.552576-1-Frank.Li@nxp.com> References: <20240205233326.552576-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR02CA0005.namprd02.prod.outlook.com (2603:10b6:a02:ee::18) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB9205:EE_ X-MS-Office365-Filtering-Correlation-Id: 10b693d3-5110-4fb7-9e1e-08dc26a2e8da X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LiSXNcTlc6D+PR4XXoYqAyf+JtTkQWtRedua31g9Ryq91X2K4PZHO5YOjov7FcbebirgxS1FXYZgLQ90utYcJtlp4RpfHPSSSufroVZDk6zQkYycZAdiO5aT6uqpqAAE1mWxVdHldQIogCHQbPhCFYYk3Rwpoz2GOmMm1Ry6MeoTEmN9ROy6JcMpPuSd5OoakzP/skjRg3v0pvP13qOuPdFqrM/y//FFuMzyM6JBzNv1PBNxTZp7KV6PlRqVVc9SsrCb+cZNqy//fTHMwsRRtc/liY9Dk4boOY6cI4NmaMOXYlghYuqaLV5Q2m49VnAV0sRog8KCfghCBV+DcavlGRf19Sj5nQwyYp6a1PtGJReFXP6tR6hIlulUQ+M+JnzBsgPnhAqz5gCWxeax2QVWH5HoVpXJDZM424Un3Ik6YkwpGdnolse3OJsIXSMMsTl9HrgW9A+H6DXp0h+GM6bCHGSwQKwkVvjz+M4eJwQtS1JSxgdCK43e+iwD0HeKfJGSYOM/eQHiDNIroiWRfZ9WKUBFz3UGlzdKtvYm/NFKdQ6mAMrWYpw0GVt6oNzeQyL1xo6j3m9Fqa7hA3uLv1t8dmFqhF077S7F4dNEd2WzrLI= 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)(39860400002)(136003)(346002)(396003)(376002)(366004)(230922051799003)(186009)(451199024)(1800799012)(64100799003)(1076003)(2616005)(26005)(86362001)(41300700001)(7416002)(966005)(6486002)(5660300002)(2906002)(38350700005)(316002)(37006003)(66476007)(66556008)(66946007)(478600001)(8676002)(34206002)(4326008)(8936002)(36756003)(6512007)(6506007)(52116002)(6666004)(38100700002)(83380400001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?kp1pyfUcrFekckPeSiVTDelp4dALrtAsFQG1VnftTHhW5Z/uH+13KkWqy0aL?= =?us-ascii?Q?k8I7N2Y1L/9goZJ8LMCe9tg5lRJcswyhdrIRirCsJG+ohsF7Itd7IlWgS4vA?= =?us-ascii?Q?+xlDI40gnQGWWopYvY5HooElNehI6bZ+ZuOw/LMssAHPYxa3Scu5nohjZzEg?= =?us-ascii?Q?S2kHGAg2BStFkQ2b54EDQWqdPNeFbaE9/B0Mih3iKXtcPgvjj4QKPXTM98kw?= =?us-ascii?Q?gszTegE0Gh2QtjBt/uFu3nqUnE1g/+0SMoQOfHryd/Pu7zQ7KpJXUMyMO5NV?= =?us-ascii?Q?7Q0NsBqjX5YNbi2gbgxBTKxe4sSgJUqJsg2IUDji54OLrVTk/LZEzSg939zB?= =?us-ascii?Q?KExJw2yh/t33YYUEugRKj/215ycn+0Rx4u5XcRKym1nzm8wW3M+/svn6BI7l?= =?us-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HgyStsqI1i6SGr4BEGlLnMtjHagog?= =?us-ascii?Q?F1CV5p7bF71r104QAMrxGm5/LxSiiUJceNHQhXsnDwnLjrrtbDMtFnXwR0FG?= =?us-ascii?Q?BeQkLchwNP9jkxMu8+2WXeLO9nDIIXZNTqgE6nWwaWczIi9OAjVF4CCUb6Gs?= =?us-ascii?Q?HPRVxcNHDJsltrdaOTFas0vVaioL2qlYcDNdQcP2LrCT+9dumgjk64TCrpC0?= =?us-ascii?Q?xk9CiWZc0W0FSW6C0XYwuF2LxU4McxpMed3vKTQZKImSFbTSiaoPYmKjbckR?= =?us-ascii?Q?/ne+TQjhYD+g+Of0UJyd2Pg4vxkXvXwXam5wUWqZ?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10b693d3-5110-4fb7-9e1e-08dc26a2e8da X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2024 23:33:51.4166 (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: hvRVyB4tySjlPFox6Bm2L+HRmK5NB2suyjrHC+fCkawq612JRSkgT49Zruz/o3UW03Y3tpxy3aFNjVWJ5nV28g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9205 Add 'mode' property to distinguish between 'controller' and 'target' modes. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Frank Li --- Notes: 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 -- 2.34.1