Message ID | 20240123212549.3858137-3-Frank.Li@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-36069-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp614245dyi; Tue, 23 Jan 2024 13:27:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzBCaOlcjz+tnT/PLaviUZohctQLXIFU/KdAGwz398aR35T84cc0rYOMOZ4T/Ly7IHVzWG X-Received: by 2002:a17:906:752:b0:a29:335f:4248 with SMTP id z18-20020a170906075200b00a29335f4248mr279848ejb.45.1706045246620; Tue, 23 Jan 2024 13:27:26 -0800 (PST) Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id p12-20020a170906140c00b00a306c3ade95si2133579ejc.689.2024.01.23.13.27.26 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 13:27:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-36069-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=dIMROn8u; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-36069-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-36069-ouuuleilei=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 DF7B31F2C23B for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 21:26:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3F5184B5A6; Tue, 23 Jan 2024 21:26:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="dIMROn8u" Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2046.outbound.protection.outlook.com [40.107.20.46]) (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 CE57B38DF4; Tue, 23 Jan 2024 21:26:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.20.46 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045182; cv=fail; b=hr4RBBV1RIDCTxWkaPDA8lhamEqr1GkCeJR2ImIgjxw5s/JrSOPbokHtAXTMWB2vh/oxaHm8JWJrGC9GOOKWN0k1Ab6v1rjZzAmOYm0YAtkfoBcA7hyJovSzwdBUkSjAlshZlru7vwYNd1YNkEzpYeR764PL1mIcatGnCwiMpDA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706045182; c=relaxed/simple; bh=bC+X/NO6Wp+pLwXJ+J9iQWV6RUpIlRkWn94z9TTN/vQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=AOjbh7iFFd60988/wLIQjJBQHaVP27qKHSgKa6Vc/1TmB3KbJNjN/p9K/18XerQ1RfoH0XTdy07NwGnpVuzLfRVCFOPfGlS/RGQ1QpN+UJXRrl+riElDnjVQxAKZAI4xwIww6ygcfclD/U5NIzZ0AdfkFqGHkR7uzKTpXAfkCLc= 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=dIMROn8u; arc=fail smtp.client-ip=40.107.20.46 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=PXpP0gMdccE2VYg3VphgNizWX61LeuFTM7/qxdm9IewJU+KS/4n1Qhpy2YDoOWTjHGfEnK2beI8TSXZw/MDFTxkFj/3yvbnJynkD1UOAN7r+fo6+oYjl0VjkKBZHjAQLkWHfv5i/Y2UHq7WycABoi4JuAqCDrg602EDC34Q7gWboaMDUMrqdAKO20ybuIqOp3hZwRm5sTVTny8qeUX8v4MpreGNAXZ4wbHCYBGI36TuqBfNABo6IFwCPt2cwSRAyTQSdgJ8vHP+PJvRu8mAmTK/CdR0MwtKLhrgzZhJWsj0PH3N+f4mXjxiAteFDl54wwCl7Hrb6XnHjBujB3ZYTRg== 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=n8aOIBglyG61bEGb5olA/7j58q/P2SGycYr/WwqYlmo=; b=F6IooIXBeCzCBdOkmwnS0OPU26jwhHEuXHFLWDQbu2xZ5WNMwDpzZZPCXVUPAXtnqyCgYADndr99U4SYaMyF0Gh3u9ZPkVt+66KkEm2upS510IDw0rV/MWPRTQJ60fJudP4NOt6/BaGP6pvEX5lo4HhNBZfDKZnOU3OOMInR62nzEjqSnRkbMXPz2/jqZNhHA8Yjpkkhn1N0sU45GC0oKR5nuoNA8tc3Rw2hyEw107MJ5N6x//g8palAlW6CKTG1/JGU8NANj0lqUrKUmZl3XXog9H4EFiDtO3kuiT6zV83IuxrujEblSmgZMaD2i9HN5Za3iMlvheJRnGsHVhqeew== 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=n8aOIBglyG61bEGb5olA/7j58q/P2SGycYr/WwqYlmo=; b=dIMROn8uPGO7KqwRVUl86P9/HVhu9/2wKlt0rtVjPKnT31Tn74Ox3LWuZL5a9npI7BLHmkEndQpbjKMzv0LtLr+sfPM9lbDwnzmxMV/iCDJ1twG2MyX6/VIV9i8Qra+PVobogXuzZp1gjAQOu3ZiUz9bEuj7GSE1UryJ/ggwaHI= 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 PA4PR04MB7616.eurprd04.prod.outlook.com (2603:10a6:102:e7::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.33; Tue, 23 Jan 2024 21:26:14 +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.7202.035; Tue, 23 Jan 2024 21:26:14 +0000 From: Frank Li <Frank.Li@nxp.com> To: frank.li@nxp.com Cc: alexandre.belloni@bootlin.com, conor.culhane@silvaco.com, devicetree@vger.kernel.org, gregkh@linuxfoundation.org, 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 v3 2/8] dt-bindings: i3c: svc: add proptery mode Date: Tue, 23 Jan 2024 16:25:43 -0500 Message-Id: <20240123212549.3858137-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240123212549.3858137-1-Frank.Li@nxp.com> References: <20240123212549.3858137-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR13CA0081.namprd13.prod.outlook.com (2603:10b6:a03:2c4::26) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB7616:EE_ X-MS-Office365-Filtering-Correlation-Id: fd5e5a74-6360-48e0-463c-08dc1c59edc7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LQk6wdZ1XFoRK9MimEg7/EvaRDxnsaknfxNhdOrXNRUKqX7auDesiJguQDNi32XHxELNBsW9Xty+1aZQje1C6iGybUztjIALUKIIOBPjSn5OBhfEvm2FjURHREBBn9eYsmg8YVCxF1ifq2fO/9xG+IiK66SCY2AbsU7r7QF9NTe2m6YZ9PSDC10r9R+/eZE+XNYz2FEgBH644td6R0LOhx2yXjY/+WCR0Yh0eQalrJ3FWyifufskH4Gcia51kG6oZfZ73rk7/khgUc8RssL8jT9CT2mB8E0c/GiDhx4SzuE7ABeCAuxdDRj695FbKneTrk3GUilLNF0BdtqN6DjZivUdLU8bOFSLWIs7QWxn6o1b1Hh5o6wqfkBteUirCtNelteKSh3IDunLX5wwVjm21LI/0ogTRih5+qa4Sg109NiG56JEMKAbdzuKiilNRUOzzf7leJULvIx/zC9H5dAHSds4UHrjivF7F9XueHRQcVh99a1hTxVvQ0+PXR6iJ8cSYjPQ0nfdUasrZPnzVYLDpKmL955io87CIuX0xlXc9dYxHtDgcAyjsnMN8EnNBD7geqt2Y6ltFZSdxh0eh+AgWwWFmQDAfVfPPFkuNuL6VOs= 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)(396003)(39860400002)(136003)(346002)(366004)(376002)(230922051799003)(451199024)(186009)(1800799012)(64100799003)(1076003)(26005)(2616005)(478600001)(52116002)(6666004)(6506007)(6512007)(83380400001)(5660300002)(7416002)(41300700001)(2906002)(6486002)(4326008)(966005)(8676002)(37006003)(34206002)(66946007)(66476007)(66556008)(316002)(8936002)(36756003)(86362001)(38100700002)(38350700005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: eQd6R20q9TOmSQTcXfM5pon9FP3bWHhiHW+BssjeUHBQ+p0+Vh8vd6gZjRalO2ZGJxg3XyOUIEn4ygmnzFoUHrOIOwJFJblu2ZXnfL2VqZFT2YOpnLUxABeJCWkdUVJT4Z7pduiwGaXBa0KPmoNEKuqf1htrMNNLQVH0dl97Uo5J+w0UH9PrOmAYWBODGOYE9GmWMOMudyUeyibKyZAyFwOJgO4gzsN+NN1rz6tmPl7z+aqlxYKTBRL3JgdFg2UOedruH6KpJKYytPKqZbjZO893UW7utDyKiW8vAR/Vp7SNQE2l88RJUmynVc4kHxnAcot8uGzLQqhNKVwd03eJgmInfIECpm1X4CCQz7v1//caFvrrFfqJQ8057bflXr1WAmfcesmNgGkhaKKtPfntqZPdPOnpS+BcoHmGPrR9aAKxJKT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OaRbxIsP+GSdSYNQ7rpXn6zKDa4djj+DereXP3orCD3CzrFMy4xIQfQ7+soYFYukrAXzTnss2 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd5e5a74-6360-48e0-463c-08dc1c59edc7 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jan 2024 21:26:14.8206 (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: 8fCuX3TePickI3fhJ2UaTeQdUE+9nsf10blZUy5xXaFZBbJmnOTWgpQ2udMDp20VPrfG06QjIGcqPunUSUoG9A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB7616 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788918100825965989 X-GMAIL-MSGID: 1788918100825965989 |
Series |
I3C target mode support
|
|
Commit Message
Frank Li
Jan. 23, 2024, 9:25 p.m. UTC
Add proptery 'mode' to distinguish work at 'controller' or 'target' mode.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Notes:
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(-)
Comments
On Tue, 23 Jan 2024 16:25:43 -0500, Frank Li wrote: > Add proptery 'mode' to distinguish work at 'controller' or 'target' mode. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > > Notes: > 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(-) > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: /Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml:26:4: [warning] wrong indentation: expected 4 but found 3 (indentation) /Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml:30:9: [error] syntax error: mapping values are not allowed here (syntax) dtschema/dtc warnings/errors: make[2]: *** Deleting file 'Documentation/devicetree/bindings/i3c/silvaco,i3c-master.example.dts' Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml:30:9: mapping values are not allowed in this context make[2]: *** [Documentation/devicetree/bindings/Makefile:26: Documentation/devicetree/bindings/i3c/silvaco,i3c-master.example.dts] Error 1 make[2]: *** Waiting for unfinished jobs.... /Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml:30:9: mapping values are not allowed in this context /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml: ignoring, error parsing file make[1]: *** [/builds/robherring/dt-review-ci/linux/Makefile:1428: dt_binding_check] Error 2 make: *** [Makefile:240: __sub-make] Error 2 doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20240123212549.3858137-3-Frank.Li@nxp.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.
diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml index 133855f11b4f5..f2270a8b62ae5 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 <conor.culhane@silvaco.com> @@ -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