From patchwork Mon Jan 29 19:53:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 767990 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2056.outbound.protection.outlook.com [40.107.104.56]) (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 F09967605A; Mon, 29 Jan 2024 19:53:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.104.56 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706558033; cv=fail; b=oBTBGkEkgMRTyQPcZAOaLWO2uyGa65qn4eQUap3YuQNLqymlL+roUVOACjot7MAGpsIDk0oCSDDfT6N0XXi7Onyku8kOqbik4oLpei9TuAPpeHZk5dF6dry8Ifz7r42Dk/G8B2SVYrxXURgrH5c5frXZK0uWmCYSohWSTAo9A98= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706558033; c=relaxed/simple; bh=xUss3csYfHdCltrg+pFxqrfdbvboutFgGbf1Juggzig=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: Content-Type:MIME-Version; b=lIa+vx6nqdxXGGy+hbInwbA0FzgQeDKrcbI96srdWQwMnX9MohfAc85qqPOoJ8Vxc2WmSn5RYqaPgKFiamDXrHQYORtDWtJaMrc4adLkVk07YC9/Qfg/bHhprRACJYHUuyJHPsziCcCvkYUJVMkgx6IXvex+mXIGjcB5lkpj7kI= 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=Y5odScM4; arc=fail smtp.client-ip=40.107.104.56 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="Y5odScM4" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NP31FGBRw3H7pUsp5h9CRf3SDtT1+HXy8u7GMkTZKxwg659IZ1U3JFW9z38z0CcTTHnCUCUyASyS/Uozc6W4b0Hhk663cA3JHQlGc5V4QN1iqIWR4rGEOO2+6aQLJb6cwQtfsdklpVlUfsVpH74ropt6rJNB5ZrcI7NKs8b8TknQgowBIbELSGWXr4y2IiTJV55CXEJaKfOIexFB6nHCOWUskPhFGZHUcPNMJjNiwta3MWuqiE11OT0Qg5qZNvZruaWBTDKJgwIunft5DVKrASuUM+sg2bwUFUIZOis/XQr/oOxCKVkiZsxu12gILZJ7vbVU2y5G+rfQSGZ1h8lOXA== 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=eeFeSa6EDN9RUHWjHYeb4cCKIA0/LO0G9GX7zxcsJ/8=; b=l/DNqPBr20Dg3ynHEoyaXlgAir2tVTtmWdjt1KWE4ostMFkotEcR7PNntuo7XKIQ1fl3t7fv70DHFHqEoAk9FB/YaIFuAZv5cRGCJdos1UQO3WTxDU/0cWYK9lEjz/HLyt0pfZZPTA4kNZeiQpxqYp2PiM08MW/Vshog28dQ6m2CgxYG0H67LZJcZ520Ev5tQ9B4oyhYXZsX7kur5yqacIdT+oy5o02EZoOOc/3VdjG6BdJjZzTNOxpbmeyPC0yPovqBg0OvifoZfb/HaIZDFv7/TOKaA8rpie6h6ndr+uqDboZZUx/U6DTkMRr/PJT+MHFlvbvL4VWoHU3l3jyyDw== 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=eeFeSa6EDN9RUHWjHYeb4cCKIA0/LO0G9GX7zxcsJ/8=; b=Y5odScM4BgiahqVopNXdqcUq+tT2FNRjNuNdfwW3uR/ec6lj2f2wKk+LWHmnyT8pFmU4IO0jJTuMU5clSvqr4bJX5+tSZRVpJwp2xDFM8NQLsfR3eQ4uzGov3rqla/wVgOh75HAN81TuXAN+KiPC9bTedegLgj8SAclQtrfT0gQ= 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 PAXPR04MB8128.eurprd04.prod.outlook.com (2603:10a6:102:1c8::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.32; Mon, 29 Jan 2024 19:53:48 +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.7228.029; Mon, 29 Jan 2024 19:53:48 +0000 From: Frank Li To: ilpo.jarvinen@linux.intel.com Cc: Frank.Li@nxp.com, 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 v5 2/8] dt-bindings: i3c: svc: add proptery mode Date: Mon, 29 Jan 2024 14:53:15 -0500 Message-Id: <20240129195321.229867-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240129195321.229867-1-Frank.Li@nxp.com> References: <20240129195321.229867-1-Frank.Li@nxp.com> X-ClientProxiedBy: BYAPR05CA0091.namprd05.prod.outlook.com (2603:10b6:a03:e0::32) 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_|PAXPR04MB8128:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a82e300-5367-4f87-5f68-08dc2104024d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: arPb0NWLbur7M4/ijJRDqbnPr18boJVLBw9VdaqvLycGEKli6vjCN59p5KF3sT+HdXkgl9a2Hvt88jo7ukDMlxlXsz8DsZQl1SEi0d+iZfjzqDmm7bKg3lycDtVs1rUvwq/uQqiCpaRU0EumH8cVqhZ6aRmeB1wKxsnA2PdBMzsZ2sUssb+NH7kCp00GQn6a+f5XU6p10f5df9JnjwYNA6moOKfboqq3yUAf6nnf5DVwQViJfdbg4XV63ZP41hmQrdTHJ8I5AGeXg7sOpq1HSSr+m/jNT8yXHgxcaNlrF7Y3xrD0xzYPppZpQv0mKxCcrbo/wV5WzopuArQnnUs6+LDmSxOseOY5L+T1RUcsOVs5OcKAnWsnHzXsceCYNcrnfChYmouslKQWBQrMVLUdf6fdy3p4kDwCoNvrBPTUtIpHr7XYZTc4DTNN/s+9SAbZOdq+M90JnQoRBUvId5Dk9Bq4sAYgXitTWQP24qIEtUpPLFnokCELT1Hvl3Cy/gB32HBxGFqgciMGCWF8PinAG6HgggqF3MirW3EkW7iQce2q20KjVFTQfRnwzY2rOrgKayqeRSqM9vHVSXAQbyxL1bzZJTxoVMOfm4w5+0/g2Gs= 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)(376002)(39860400002)(136003)(366004)(346002)(396003)(230922051799003)(451199024)(1800799012)(186009)(64100799003)(1076003)(26005)(52116002)(83380400001)(6512007)(6666004)(6506007)(38100700002)(66946007)(4326008)(5660300002)(8936002)(8676002)(7416002)(41300700001)(2616005)(966005)(316002)(478600001)(6916009)(2906002)(66476007)(6486002)(66556008)(86362001)(36756003)(38350700005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1MmUk/2gBc2v7nPYPPDPo+fFQReEramfKqmEDROP1MV/qQKBH1HAOQ96kKB5eNIczvu83Gk6svocR3xQoBm9AdDNa7AacWBftsATtt4taBs7ei+iWrmlDcvhl4mgYdR69oUnF9ddYb49sdnVY1K6U0DU4CkC8WzCTjqealkT5nxNdRGRfHN/YgJ2OLSBYW2m+OTwjR8VuNJjCXzbdf4Ov2uaftklwiI3iaiBUNoMsADS+cR2fVdOJV9yhLFuhVlO8gE9UTTUdr5seEJZ/ts3KlxP0yq9ijFlo2NEZCFCVVfMkf6MNBCEEgOTHmBnSmv8259ZlluNaubsBrpnTkgNbKM6dN6eytDx+LEYY2jH0PGalwsaImkqQFQBdamIurfBLup7mjzkMJO1uo00sVCYco+/+uBdqHU5elAfHK/v2r7IV4elaOOcTEth2Ya8h/HUWe7nS0AcVnIUQqd8KuTXyhdlZQFl3Kr0HyBx3o6o7tmdFUXruzO9X540FXmj3Jv2UyjVTtLd/6pPD0f0/R6n3cXF+qYqYmS+C70X2Y5hmH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p.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a82e300-5367-4f87-5f68-08dc2104024d X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2024 19:53:48.3491 (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: MxeDlddS14rcqBoe8WoKDuOoZcVEej3vVnrrZiAfZiai+ZoEaegP+IOvt3hvkKRBlE8vVO94dw0jKvIH/H7z+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8128 Add 'mode' property to distinguish between 'controller' and 'target' modes. Signed-off-by: Frank Li Reviewed-by: Krzysztof Kozlowski --- Notes: 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