From patchwork Thu Feb 8 17:01:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 771525 Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2044.outbound.protection.outlook.com [40.107.103.44]) (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 AA7A7823D2; Thu, 8 Feb 2024 17:01:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.103.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411709; cv=fail; b=WrY8OsUVXdV7/2QOkvJarNlQ2eMf6l0lJs3LpkysUZ/MFOQ8ocYi3phyzRtW7fLwwAidACyr8kxEGCTUdW6r1koXiBog4eMqGSl2AilqA78nA5IgYORigfQifCE600srnc/GNLajqUUB2X9HsbyPj25TJ1nDLOVDEVCT6DQrCTM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707411709; c=relaxed/simple; bh=UleligJ+5dWLrDcWdg4rHYSCFQexdlcwQ9GqmxEeMXA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=CXDRiOBYB9OibTToikBI9mnNMMp0VPA4i1PMyQaz3qo7ghW3pkgCLRy6Bw6abo+nxPmbt+bF8b2CmIqgjL9rZB3DaUJXIl/T41EUwhX9jCGeGEUd3z/7q3/EI45mGh7P/zmEiPVpfpmH2arsxxAVbtyqe2aZG+THHsxKTxSr1zQ= 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=OI5GbzEO; arc=fail smtp.client-ip=40.107.103.44 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="OI5GbzEO" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Yfom76iaAAn9jQRXerFbyG7+5Ft01e3LkQODOx5DdkljqaZpQqIRD83lk9+mewczLGhIFEwc52Sq3iYpujvFzHjWdNGirjIafgrRfzw1aCEJGZjufUD4alxd3HuYe9h1A40WZkrTQhgCQaHwnnYff3UqrMPc0pGnjUY+d0c8l9MQZHRKgcCrfCuZ+WelQWmUJJ+izUvDCHxlSdjnxQuOHxVE8otRxijpKsG2p8vcbo2TcVhgQFducaX0FFhATY1tYKTyorbiS/fsZWC7wATI1+3u0GOxNh2xV8gfA3fOQ90U8anUnqa77x8uSkjF4V5oL34XlF6jcOQ3m1Q24gMoqw== 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=RnQXix5lv52EyjYDghW6BcNelq48lAq6Y9cjMAbclXxXC745FUyXoMaC6gHEIxdGQ/jrenVswtdaISUD9a2b6uBnpgLlTwES+yWhZbFBIcnS1Sks1uQlKdXGVsLdopqEAtM66ydChQdpyivP2ZLXTJ0M53D8+Rh9wOU+EnnNvH+LtVfzAwBCZMbiTZsi218Rfjyt3rWK6/qx+r4Ham3pBvYAOY0pN7jCUTM6ssXLKQMuKhNUQzfj8rVjLJf18U5lAqncrtX5+zdA0znAlkKKmzoPCkor1tOKonpyoMivi2DAeNDl8MhzZqcDqCPL9U1w9B7GiIq+z5ho+MTdYeE5YQ== 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=OI5GbzEOac6apg9AxhSyzI7gL0orfRfMaa2GigN33GPel304V8Cr3nnWvD7HN9uJ4yliU5ckeBWG+7unF7PzXyYpwIRp18nXvV4iImMwfdTFKjAEYrK2ZBgbddRjQgUjljSCk5HvsMm2L2779pV5GsIzL7sBpLiFrtzPwogiNG4= 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 PA4PR04MB9248.eurprd04.prod.outlook.com (2603:10a6:102:2a3::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.36; Thu, 8 Feb 2024 17:01:44 +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.035; Thu, 8 Feb 2024 17:01:44 +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 v8 2/8] dt-bindings: i3c: svc: add proptery mode Date: Thu, 8 Feb 2024 12:01:11 -0500 Message-Id: <20240208170117.798357-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240208170117.798357-1-Frank.Li@nxp.com> References: <20240208170117.798357-1-Frank.Li@nxp.com> X-ClientProxiedBy: SJ0PR03CA0245.namprd03.prod.outlook.com (2603:10b6:a03:3a0::10) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PA4PR04MB9248:EE_ X-MS-Office365-Filtering-Correlation-Id: 79b15eeb-d6f5-4845-ee33-08dc28c7a0b1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: t2RR4z4LncOnBh7EfPqRVfcTDT/SuJXDy3odGvA8ggvsImN5+1aXMUitRDareKUUe1smkRX0vaXx+XfnyofYTIqqZeUwmr0dWpWchjEfXGJYxDgDfnNVKJS6hSvCv+zvPVeFIevVSRwegRA+RgBR1mUnY/ktMojJt+TF4zAZefkQLCyQOL8SlCoepSnMhm0lpXA6K3SFRgJr92ytPBxMoKYFJHoJicE6kQQjNUhvS6u9vj4SEVZ4PNcCA1NXpJiTq6+IL8GA+BZfwKWfFCF3G1I1EY2OGIDIdnW1UmDnyZCV0tAy+sDmbbOYnRd+yO/+L8/yqTOtaraPaKonZA7IlnArs1Ll4iErwR47RoeuHZQ1GtgZvmz3+VXp15EItiGInlME8bpPqZMUYhDRpnt6hdaM4VhLMihRqRiukkW2H8yePvWrYjbbnHJyLEqQ3/3/UdomoshUWZp/7zRjk7h20rczeWpBeGPald574f1ExjE+Gjc50iGzk0NhRHnRrnln4pElQkhmWDiRz7Pjxjg+MzfcwIkQ2h+9pkvHIlQoxPdd7EWqIC8VMb0SxnDJCk1Zj+dGHaeI1YGY3LuOlYcIBWTglrTiiCIRyrLvHVyMK3w= 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)(346002)(396003)(366004)(376002)(136003)(230922051799003)(186009)(64100799003)(1800799012)(451199024)(38100700002)(6666004)(52116002)(6506007)(83380400001)(37006003)(86362001)(7416002)(41300700001)(1076003)(2616005)(26005)(34206002)(6512007)(36756003)(8676002)(8936002)(4326008)(6486002)(478600001)(2906002)(5660300002)(966005)(66476007)(66946007)(316002)(66556008)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: PhYQmYYlRZKYGtpRchv2uzgRg2kBtSKST4veaALJUA3GE6HTR0peByMBuEatMVbhOeUnxHFxGsb6r3SVXZxirJejJlXeVggH1T1yz2hqGqiq+GtY70fBmh4gf3CCVDNJRHeBrGtbwo3JaxwTtIidOaDTvLzofgnUe+BEEbL2M+qgTQwfOk40wDK81kIg13wEWkVPT5rIuxH0STWVh+EpmRuxC8CNm5C/AtdUlQQNno9tiJRkejNjIRLwl/td4McRHfTbDLHeal/Wx47BjXPS3bmHefiDT5fEPkyN7MghCspzgcIi47iTpnL5cHSEMgX2Ti0DcY0dZrbiTyBGobfUuKH5Qm0x5EU2stRjx+nm2X/CcnRwF3YtZ+Jo0HPNUyz6er67j2dfhjfxwp+NHfUYGKkJBJ5SR1qGq4k2KCVckVI73afgVAHwrdPfzFp7D9+UdpaBx6ZupVVPzoOcnTHW6j8JF0iQhdPKheWc0DsuUF8V5m5l9gmmwLfOjZ4fqTNuLjEzHypZa1FdvlXjL6zrnAbJyMjbcf6Ga92z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X-MS-Exchange-CrossTenant-Network-Message-Id: 79b15eeb-d6f5-4845-ee33-08dc28c7a0b1 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2024 17:01:44.1091 (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: Yjm9NSL8oYO0uv+nehDIpNaTH+SL+2nGzWirMLUs5gBjiwu8IFoOahuTu6+f7HL9LWzC3J0c5xtEPJMFmwLCJQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR04MB9248 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