Message ID | 20240110175221.2335480-3-Frank.Li@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-22567-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp953346dyi; Wed, 10 Jan 2024 09:53:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGZYCLX/YDqrar/f7I5USqMwZhAEEAFCKFWHUJUfwPJVqRXpQpnbXU6EZds6s0Kh1xy+lbB X-Received: by 2002:a05:6358:70c4:b0:175:c63:648 with SMTP id h4-20020a05635870c400b001750c630648mr1892773rwh.5.1704909221659; Wed, 10 Jan 2024 09:53:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1704909221; cv=pass; d=google.com; s=arc-20160816; b=piZ4KDv7dNXiMLAG7buMc5QnQ5UCX4MYnhZtLbQd71MdRzOheRp8jhqEyubor5JT7A aU4HpqxQXvbciXLPTTpRdrtdZBE02O1J+2YFWkXDYLQAhcwqoz/HXP0RpVNiTKfuG53i VgtGPwl5aS1qnBvjLHZrsGaESqO1YckJUNa8Abmayeb9gau2/VsR17Yi2oOcILAKI5Bj O1fOeOPX8qlFPJ8sIR9UZr3+Yp2r261C1UxJIjNrIdl46AGn+3uYVsgMNOulsQnUXK40 Mf6R48eA8KRxyA2BeSUrHf4m3f7dyPRDoUmb2SUUOPOCkhBm/FJ1wBnvahXuyr3UwwnI iayA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=FekjBzoDCJovf1NpETrhk7zj1XVCcW5BLs8dcDMQCKI=; fh=PTWCgKFpWkHSWDb5OB7dY1CHILd7kMZvHvPDuwGEgOI=; b=XhcZhZQ3gYeVfJ9NXk89IS2LC2VL/yVVuYQ+/fercHuH7UsBBJc/miZCQJPYmVzfUa kH6stVBhFdnxRtyO4LcdV1/zHtaS5fLsB+ApWiT+64VZ5HjfdZgkj7vuOca+cv7Q+gbA LfaM/kgK36rQiZkuAXNZWQZl1B/TwSfFFdA5af7VYbYk4xTnkMRHEeky4cGlOg5mSE6k +Ll5KiCG4/mRHL5Xm//LetUNjzR9mkZWEKs5eXYZ/tr6UPWgSN8Fp66gBkgw2Hj3p2IN 5jg9D3QBD1GroCk3pf7HRWgrS/uw8m3q1SPLFtSvMcL0Y1+yZeUQXxI6IqxYe6RSP7cW 3RDQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=AmtIfTXP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-22567-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22567-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id y2-20020a636402000000b005ce08c4bff5si4053940pgb.760.2024.01.10.09.53.41 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jan 2024 09:53:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-22567-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=AmtIfTXP; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel+bounces-22567-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-22567-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 50BAC283105 for <ouuuleilei@gmail.com>; Wed, 10 Jan 2024 17:53:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 16F6C4E1AE; Wed, 10 Jan 2024 17:52:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=nxp.com header.i=@nxp.com header.b="AmtIfTXP" Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2081.outbound.protection.outlook.com [40.107.20.81]) (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 0E44C4D5A2; Wed, 10 Jan 2024 17:52:51 +0000 (UTC) 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=AnnZYWcYZ3zaT/D0sRWBwifNHUjL6UE6e7La7GLWGwIjHoWOhsKn61xfONV11Y39isfLNDMl5jMnIoWkSx0GQwA+dluEBT6o8iOcDlDbBhO9mYk/tLFEn1M34GgpdGwssNACNYnUHz4Xd66Qkvmwspvp7/81/mXtk1YCPJ8ZlW0x0+F+3Lt0qWQvfAhsl6gypVyr0TVkxZIkKEUkhIFLp/pV1ZCjcytCfHbjON99eLFf0D9/atFKkCo0SyCzdGqh+aKKoPMjjjtDLE4vxeR2lpAaV6HGgA+DBfd2m5/mL73QuGh0QBG8LJQpRXjg1qozu+zLqOxV9EjGQ0DJScOZkg== 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=FekjBzoDCJovf1NpETrhk7zj1XVCcW5BLs8dcDMQCKI=; b=XO1XoWXoZZ4hsHncwwizb6FuxLwH4zELQpLWazIMdyYYuqLqZJvPT5S0lFKchcDFgL/gGwk0GJjK7pyhkrm/Gws95wK66QBRNQUKvSWHpkmCyK5U5+SXCGwhmDNE4Snw9qaY1CmF8h1RVL/gB5Y0mAdEW6231Z8pQ11Kgk0EbxXTb4Rm2O4w4Pc0NasiI/OlBm41Nyh3V5zJXVHcNlYG4OJeTQ4FEH5eqgYe2SmfIqmCcJcqzrusSZNAKSLmGtjJXN9y1oEuqa0k/qJk6fg+adG6eFj2nIfLPQ6TDAXJLzMTdNax894LHiJ/asQV4YxwzpTuOSxPCH0XscZ2mI1vUw== 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=FekjBzoDCJovf1NpETrhk7zj1XVCcW5BLs8dcDMQCKI=; b=AmtIfTXPhQTDIqFtgJqswJV366Bn1SDTWITWDUuRHgdFYpY3EQTDeoE6LBXwEN1cVfry0r9lPZotqXURhjxF7Jb/b7aM9yVgCQtFZrG6unBRaEyRMKfF2Gimwxhpspe8mFMkecziw3LFeyDdRb6qqC+u9ytcuqhmVbGyDOs+pI8= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB7511.eurprd04.prod.outlook.com (2603:10a6:20b:23f::5) by DB9PR04MB9332.eurprd04.prod.outlook.com (2603:10a6:10:36c::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Wed, 10 Jan 2024 17:52:48 +0000 Received: from AS8PR04MB7511.eurprd04.prod.outlook.com ([fe80::8ee3:bac5:a2da:d469]) by AS8PR04MB7511.eurprd04.prod.outlook.com ([fe80::8ee3:bac5:a2da:d469%4]) with mapi id 15.20.7159.020; Wed, 10 Jan 2024 17:52:48 +0000 From: Frank Li <Frank.Li@nxp.com> To: frank.li@nxp.com, robh@kernel.org Cc: alexandre.belloni@bootlin.com, conor.culhane@silvaco.com, gregkh@linuxfoundation.org, imx@lists.linux.dev, jirislaby@kernel.org, joe@perches.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, miquel.raynal@bootlin.com, zbigniew.lukwinski@linux.intel.com, devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org, krzysztof.kozlowski@linaro.org Subject: [PATCH v2 2/7] dt-bindings: i3c: svc: add compatible string i3c: silvaco,i3c-target-v1 Date: Wed, 10 Jan 2024 12:52:16 -0500 Message-Id: <20240110175221.2335480-3-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240110175221.2335480-1-Frank.Li@nxp.com> References: <20240110175221.2335480-1-Frank.Li@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SJ0PR05CA0145.namprd05.prod.outlook.com (2603:10b6:a03:33d::30) To AS8PR04MB7511.eurprd04.prod.outlook.com (2603:10a6:20b:23f::5) 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: AS8PR04MB7511:EE_|DB9PR04MB9332:EE_ X-MS-Office365-Filtering-Correlation-Id: 122edf99-efdd-4e6c-1b36-08dc1204f533 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R+8IAFB21x62B6JCTjs41pGwqoUf5FMBkrBTfQ5o9glzdb7K6vWLplHgUXPeKCfmdjbtOfJR+eNoQvDn7ARqgIQT0/9j31RhGskC7gfBL0/RgvzXeqxg2jNDJsQF9lkDc6gnpLqN3XB5+mYcPyoS1OXCku2fkDWvW166pZ2epZWMj4GUZwqMR1UuKo/t1iEgeqjouOUcEo2uNM2SY2l+gvc2HFuAsyOKJ86J4QPzXYs19uqol+fCAzeQDp0AAFiFuTDEpTWNujYanWOudzRlEVbFToz97/sIpFC4f4f1O3rkKGRtYqLXoohQ+dQHsQw7XNM1ynLzGrX7hjYveCmp7GA3BuRiXxDJyGUMIMfJ40rY/OEsZi/91TSCFZhrPfrCmwcUPg6rWwTI5BH5Tvjq8JtabseSkod+cmBE1U2Z3+TcP09iYbiONcDOVS6vU3f3/gtCTslWryJr2AZiC0AdpEEVUcXEM9qB6boV0sKDZD0f6GOg4psEylOq8NUZJdjpR3QZtxXqubNFtj3qXXSpZXjAI/OUGssp5J9ZquK/kggUYchLiFjyu0TW3u4QOlxeYVih0MHEr3YGW7lkZ/L5Of13WpdZ0rK0Cff3gl7JUI0= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR04MB7511.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(366004)(346002)(396003)(136003)(376002)(230922051799003)(64100799003)(186009)(451199024)(1800799012)(6486002)(8676002)(8936002)(86362001)(5660300002)(4326008)(66556008)(66476007)(316002)(66946007)(7416002)(38350700005)(4744005)(36756003)(2906002)(41300700001)(38100700002)(966005)(6512007)(52116002)(6666004)(83380400001)(6506007)(1076003)(26005)(2616005)(478600001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: p0DsXJ2vQKdxxiOKR+uVeBVjVC0WagUlpn5Q+DpP2fAJrL1CFemGP/wyLYzF9QtyZ+NTVAh6D/K//JmsCN0TFvecC53q+drYEh4U/mVU3CmxM+COQ5rb9E7FE0gCfgfpxPzKnNJsTQ54SLgn6I8tW8CX8pAgb0kTXtBuoc/r4G/btWXeNqxrorod021svJUvS0zjg5HdajZszZ3VnVqmTDuwrm/oM2QacTMBLfaFgYPPJRblCIhZ6/K1DkEB6woFkuOkXXOf48W8bgtYEdGaaiSbgEtnHrVL0fzSthdY8epuW9L8Li2Tx0JhN17e6802NJ4VeXInc6N3oQ/mkFYo5B0LM9TNiEKUl0TyZ4vDEpbZ0xLU7PwUeb7apDFo9Nfai71PdTDTOCtDnSCPV8s0NlhwI4o9Ptxej7b7ZrP56eWXbWzi6r/BYKihAnPbNNBVtXCNdNcjdmhDsnHj+yXYr7vfSR5/6RKWasT32aLyP7n/1F18KINSNDU8+/eGttHtvo426NMzI75XusTgnffiKY55tfhpcg8vAqCSsS7FsQhXgR/TPlABzGALCe0WmVhlId496V8MYQ3RKpsaMn+52hQSU5OI7rq1c/hAcyw7dedYwp09WLB5w487/QtezpJ1PFXkxzeg2GqNykZ9yjD/ZbLj8YJY2k6zUQo+IZSex14w2Zq/++VWZBzIxCi9rG5PbOhK4zzyF+a6B5ygI+OM7ARrZ/tqrTF4twm4K8cj9vbhLl/yWG45PBze9zIbTdpZYH77iK5P3apQWL9m774lKTbprJzRQ0NbAEmbsWjoc6nlKW/nXhZoQVYulaCUQWE4dgT/heZI7X0GWuQL2IAhIELbcWu9RczA7jSIdHZ6fbRkBAb9AUU2cPSyAb4Qla22NSnO3o7YT6UroOpYY9pjrpo6XkukW43DIaqCJMqryK707zDUpVq6sk2a+AyZE4J7fz0gXEGkFBHvrJr78tAOcZ4wrC4qfbhg0G5Ro4vXA1HxQ3y5HM/fHCMcEaojY/zeaMH2rmxLVQh1vEyNVgfF7dBCalzXEBoYRtlx6nNksv4n3Pt1pLg3gldWMP1QmvWKTwT5FfkOwRcu0sqOUQHpOO3sGmNEWVTEoYntIYCzkgXeAlumqymyVVyooiH2++476BN7viNP1F1k2A6mpKK4UxtwXjPiFB69FkjszpEw1xmlYxP8h4cgzXi0qoNsdKY4CrXK7Vff+zyC9xNobgxcEDLCmo2h5niy/akN3Grq6xCz0/QouA7kpLgIzHMUmQvokf7pIUZbSWhN1TWkIFZMrUiVAL6lDbPN/Wd2IXu1Mntqx5fCd/t7XuNj5MVo0/wqYSLG5GSTqRZq67KhWfXb4ju8ANu9LM4b8/YsYoNQEHoJaWoYoduNaOxMwND8J71oPnS8EtX2jJABu+SRDZpj0GDbwW/ybEvJ0SroBeuQZtzhSGnNFFHK7/yveMiiLHKNGI6ONFYclv18m8f4AHe//4lYwPxPBJX+5BJgjpRdPuaIm0LQbWLNh9AZi+qf4EWKiX9TntyEdOGPVaCR4nl1+LbIlPmYqfSNmzBfSZp3k8w= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 122edf99-efdd-4e6c-1b36-08dc1204f533 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB7511.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2024 17:52:48.5491 (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: Hu4ISDq6Hisxafe0/mtTQcNREiymTRUa1yoyKmJvHIEJvdK/s1bSu1an2LI03i3VSsaDMxvY55yGLP3iS+07sw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR04MB9332 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1787726892112431042 X-GMAIL-MSGID: 1787726892112431042 |
Series |
I3C target mode support
|
|
Commit Message
Frank Li
Jan. 10, 2024, 5:52 p.m. UTC
Add compatible string 'silvaco,i3c-target-v1' for target mode.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
.../devicetree/bindings/i3c/silvaco,i3c-master.yaml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Comments
On 10/01/2024 18:52, Frank Li wrote: > Add compatible string 'silvaco,i3c-target-v1' for target mode. Your subject has some multiple prefixes? Why there is one more ":"? Just: add XYZ device > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > .../devicetree/bindings/i3c/silvaco,i3c-master.yaml | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > index 133855f11b4f5..17849c91d4d2b 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> > @@ -14,8 +14,9 @@ allOf: > > properties: > compatible: > - const: silvaco,i3c-master-v1 NAK, you got comment, didn't you? Why did you ignore it? It's like third time you try to push it ignoring what we keep asking. Pushing the same without resolving anything in previous discussion is not acceptable and it feels like waste of my time. > - Why are you removing the blank line? Best regards, Krzysztof
On Fri, Jan 12, 2024 at 08:38:39AM +0100, Krzysztof Kozlowski wrote: > On 10/01/2024 18:52, Frank Li wrote: > > Add compatible string 'silvaco,i3c-target-v1' for target mode. > > Your subject has some multiple prefixes? Why there is one more ":"? > Just: add XYZ device > > > > > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > > --- > > .../devicetree/bindings/i3c/silvaco,i3c-master.yaml | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > > index 133855f11b4f5..17849c91d4d2b 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> > > @@ -14,8 +14,9 @@ allOf: > > > > properties: > > compatible: > > - const: silvaco,i3c-master-v1 > > NAK, you got comment, didn't you? Why did you ignore it? It's like third > time you try to push it ignoring what we keep asking. Pushing the same > without resolving anything in previous discussion is not acceptable and > it feels like waste of my time. I review previous comments. The previous RFC patches and I just want I3C expert review to check if there are comments about whole software architecture. Of course, thank you for your comments about "slave". Go back this binding doc problem. "No, it's the same device. Anyway, this was not tested. Please use scripts/get_maintainers.pl to get a list of necessary people and lists to CC. It might happen, that command when run on an older kernel, gives you outdated entries. Therefore please be sure you base your patches on recent Linux kernel. You missed at least devicetree list (maybe more), so this won't be tested by automated tooling. Performing review on untested code might be a waste of time, thus I will skip this patch entirely till you follow the process allowing the patch to be tested. Please kindly resend and include all necessary To/Cc entries. " It is the same devices, work at difference mode (master and target). what's do you want to change to? Copy to new file like pci/pci-ep? all context is the same, except for compatible string. Frank > > > > - > > Why are you removing the blank line? > > > Best regards, > Krzysztof >
On 12/01/2024 16:31, Frank Li wrote: > I review previous comments. The previous RFC patches and I just want I3C > expert review to check if there are comments about whole software > architecture. Of course, thank you for your comments about "slave". > > Go back this binding doc problem. > > "No, it's the same device. > > Anyway, this was not tested. > > Please use scripts/get_maintainers.pl to get a list of necessary people > and lists to CC. It might happen, that command when run on an older > kernel, gives you outdated entries. Therefore please be sure you base > your patches on recent Linux kernel. > > You missed at least devicetree list (maybe more), so this won't be > tested by automated tooling. Performing review on untested code might be > a waste of time, thus I will skip this patch entirely till you follow > the process allowing the patch to be tested. > > Please kindly resend and include all necessary To/Cc entries. > " > > It is the same devices, work at difference mode (master and target). > what's do you want to change to? > > Copy to new file like pci/pci-ep? all context is the same, except for > compatible string. > Apologies, I mixed up a bit patches, so this was not obvious. I meant this comment: https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ There is no indication in your commit msg that these concerns were addressed. Best regards, Krzysztof
On 12/01/2024 16:50, Krzysztof Kozlowski wrote: > On 12/01/2024 16:31, Frank Li wrote: >> I review previous comments. The previous RFC patches and I just want I3C >> expert review to check if there are comments about whole software >> architecture. Of course, thank you for your comments about "slave". >> >> Go back this binding doc problem. >> >> "No, it's the same device. >> >> Anyway, this was not tested. >> >> Please use scripts/get_maintainers.pl to get a list of necessary people >> and lists to CC. It might happen, that command when run on an older >> kernel, gives you outdated entries. Therefore please be sure you base >> your patches on recent Linux kernel. >> >> You missed at least devicetree list (maybe more), so this won't be >> tested by automated tooling. Performing review on untested code might be >> a waste of time, thus I will skip this patch entirely till you follow >> the process allowing the patch to be tested. >> >> Please kindly resend and include all necessary To/Cc entries. >> " >> >> It is the same devices, work at difference mode (master and target). >> what's do you want to change to? >> >> Copy to new file like pci/pci-ep? all context is the same, except for >> compatible string. >> > > Apologies, I mixed up a bit patches, so this was not obvious. I meant > this comment: > > https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ > > There is no indication in your commit msg that these concerns were > addressed. And here: https://lore.kernel.org/all/6110c58a-8003-4889-9a4b-6a7d1821c00e@linaro.org/ Best regards, Krzysztof
On Fri, Jan 12, 2024 at 04:50:25PM +0100, Krzysztof Kozlowski wrote: > On 12/01/2024 16:31, Frank Li wrote: > > I review previous comments. The previous RFC patches and I just want I3C > > expert review to check if there are comments about whole software > > architecture. Of course, thank you for your comments about "slave". > > > > Go back this binding doc problem. > > > > "No, it's the same device. > > > > Anyway, this was not tested. > > > > Please use scripts/get_maintainers.pl to get a list of necessary people > > and lists to CC. It might happen, that command when run on an older > > kernel, gives you outdated entries. Therefore please be sure you base > > your patches on recent Linux kernel. > > > > You missed at least devicetree list (maybe more), so this won't be > > tested by automated tooling. Performing review on untested code might be > > a waste of time, thus I will skip this patch entirely till you follow > > the process allowing the patch to be tested. > > > > Please kindly resend and include all necessary To/Cc entries. > > " > > > > It is the same devices, work at difference mode (master and target). > > what's do you want to change to? > > > > Copy to new file like pci/pci-ep? all context is the same, except for > > compatible string. > > > > Apologies, I mixed up a bit patches, so this was not obvious. I meant > this comment: > > https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ > > There is no indication in your commit msg that these concerns were > addressed. Look like everyone already accecpted 'silvaco,i3c-master-v1'. driver part: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8911eae9c8a947e5c1cc4fcce40473f1f5e475cd dts part: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b8ec0f3b42a3498d5115d1fb1490082ab525747b Frank > > Best regards, > Krzysztof >
On Fri, Jan 12, 2024 at 11:06:01AM -0500, Frank Li wrote: > On Fri, Jan 12, 2024 at 04:50:25PM +0100, Krzysztof Kozlowski wrote: > > On 12/01/2024 16:31, Frank Li wrote: > > > I review previous comments. The previous RFC patches and I just want I3C > > > expert review to check if there are comments about whole software > > > architecture. Of course, thank you for your comments about "slave". > > > > > > Go back this binding doc problem. > > > > > > "No, it's the same device. > > > > > > Anyway, this was not tested. > > > > > > Please use scripts/get_maintainers.pl to get a list of necessary people > > > and lists to CC. It might happen, that command when run on an older > > > kernel, gives you outdated entries. Therefore please be sure you base > > > your patches on recent Linux kernel. > > > > > > You missed at least devicetree list (maybe more), so this won't be > > > tested by automated tooling. Performing review on untested code might be > > > a waste of time, thus I will skip this patch entirely till you follow > > > the process allowing the patch to be tested. > > > > > > Please kindly resend and include all necessary To/Cc entries. > > > " > > > > > > It is the same devices, work at difference mode (master and target). > > > what's do you want to change to? > > > > > > Copy to new file like pci/pci-ep? all context is the same, except for > > > compatible string. > > > > > > > Apologies, I mixed up a bit patches, so this was not obvious. I meant > > this comment: > > > > https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ > > > > There is no indication in your commit msg that these concerns were > > addressed. > > Look like everyone already accecpted 'silvaco,i3c-master-v1'. > > driver part: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8911eae9c8a947e5c1cc4fcce40473f1f5e475cd > dts part: > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b8ec0f3b42a3498d5115d1fb1490082ab525747b @Krzysztof: Patches were accepted after discussion, what you ponit to. So I think everyone agree on the name 'silvaco,i3c-master-v1'. I plan send next version to fix auto build error. Any additional comments about this? Frank > > Frank > > > > > Best regards, > > Krzysztof > >
On 15/01/2024 20:44, Frank Li wrote: > On Fri, Jan 12, 2024 at 11:06:01AM -0500, Frank Li wrote: >> On Fri, Jan 12, 2024 at 04:50:25PM +0100, Krzysztof Kozlowski wrote: >>> On 12/01/2024 16:31, Frank Li wrote: >>>> I review previous comments. The previous RFC patches and I just want I3C >>>> expert review to check if there are comments about whole software >>>> architecture. Of course, thank you for your comments about "slave". >>>> >>>> Go back this binding doc problem. >>>> >>>> "No, it's the same device. >>>> >>>> Anyway, this was not tested. >>>> >>>> Please use scripts/get_maintainers.pl to get a list of necessary people >>>> and lists to CC. It might happen, that command when run on an older >>>> kernel, gives you outdated entries. Therefore please be sure you base >>>> your patches on recent Linux kernel. >>>> >>>> You missed at least devicetree list (maybe more), so this won't be >>>> tested by automated tooling. Performing review on untested code might be >>>> a waste of time, thus I will skip this patch entirely till you follow >>>> the process allowing the patch to be tested. >>>> >>>> Please kindly resend and include all necessary To/Cc entries. >>>> " >>>> >>>> It is the same devices, work at difference mode (master and target). >>>> what's do you want to change to? >>>> >>>> Copy to new file like pci/pci-ep? all context is the same, except for >>>> compatible string. >>>> >>> >>> Apologies, I mixed up a bit patches, so this was not obvious. I meant >>> this comment: >>> >>> https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ >>> >>> There is no indication in your commit msg that these concerns were >>> addressed. >> >> Look like everyone already accecpted 'silvaco,i3c-master-v1'. >> >> driver part: >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8911eae9c8a947e5c1cc4fcce40473f1f5e475cd >> dts part: >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b8ec0f3b42a3498d5115d1fb1490082ab525747b > > @Krzysztof: > Patches were accepted after discussion, what you ponit to. So I > think everyone agree on the name 'silvaco,i3c-master-v1'. > I plan send next version to fix auto build error. Any additional > comments about this? I still do not see how did you address Rob's comment and his point is valid. You just did not reply to it. Best regards, Krzysztof
On Mon, Jan 15, 2024 at 09:38:19PM +0100, Krzysztof Kozlowski wrote: > On 15/01/2024 20:44, Frank Li wrote: > > On Fri, Jan 12, 2024 at 11:06:01AM -0500, Frank Li wrote: > >> On Fri, Jan 12, 2024 at 04:50:25PM +0100, Krzysztof Kozlowski wrote: > >>> On 12/01/2024 16:31, Frank Li wrote: > >>>> I review previous comments. The previous RFC patches and I just want I3C > >>>> expert review to check if there are comments about whole software > >>>> architecture. Of course, thank you for your comments about "slave". > >>>> > >>>> Go back this binding doc problem. > >>>> > >>>> "No, it's the same device. > >>>> > >>>> Anyway, this was not tested. > >>>> > >>>> Please use scripts/get_maintainers.pl to get a list of necessary people > >>>> and lists to CC. It might happen, that command when run on an older > >>>> kernel, gives you outdated entries. Therefore please be sure you base > >>>> your patches on recent Linux kernel. > >>>> > >>>> You missed at least devicetree list (maybe more), so this won't be > >>>> tested by automated tooling. Performing review on untested code might be > >>>> a waste of time, thus I will skip this patch entirely till you follow > >>>> the process allowing the patch to be tested. > >>>> > >>>> Please kindly resend and include all necessary To/Cc entries. > >>>> " > >>>> > >>>> It is the same devices, work at difference mode (master and target). > >>>> what's do you want to change to? > >>>> > >>>> Copy to new file like pci/pci-ep? all context is the same, except for > >>>> compatible string. > >>>> > >>> > >>> Apologies, I mixed up a bit patches, so this was not obvious. I meant > >>> this comment: > >>> > >>> https://lore.kernel.org/all/20231017201404.GA2570433-robh@kernel.org/ > >>> > >>> There is no indication in your commit msg that these concerns were > >>> addressed. > >> > >> Look like everyone already accecpted 'silvaco,i3c-master-v1'. > >> > >> driver part: > >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=8911eae9c8a947e5c1cc4fcce40473f1f5e475cd > >> dts part: > >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=b8ec0f3b42a3498d5115d1fb1490082ab525747b > > > > @Krzysztof: > > Patches were accepted after discussion, what you ponit to. So I > > think everyone agree on the name 'silvaco,i3c-master-v1'. > > I plan send next version to fix auto build error. Any additional > > comments about this? > > I still do not see how did you address Rob's comment and his point is > valid. You just did not reply to it. See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ Frank > > Best regards, > Krzysztof >
On 16/01/2024 03:29, Frank Li wrote: >>> Patches were accepted after discussion, what you ponit to. So I >>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>> I plan send next version to fix auto build error. Any additional >>> comments about this? >> >> I still do not see how did you address Rob's comment and his point is >> valid. You just did not reply to it. > > See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ First of all, that's not the answer to Rob's email, but some other thread which is 99% ignored by Rob (unless he has filters for "@Rob"...). Therefore no, it does not count as valid answer. Second, explanation does not make sense. There is no argument granting you exception from SoC specific compatibles. Best regards, Krzysztof
On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 03:29, Frank Li wrote: > >>> Patches were accepted after discussion, what you ponit to. So I > >>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>> I plan send next version to fix auto build error. Any additional > >>> comments about this? > >> > >> I still do not see how did you address Rob's comment and his point is > >> valid. You just did not reply to it. > > > > See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > > First of all, that's not the answer to Rob's email, but some other > thread which is 99% ignored by Rob (unless he has filters for > "@Rob"...). Therefore no, it does not count as valid answer. > > Second, explanation does not make sense. There is no argument granting > you exception from SoC specific compatibles. The patch could have been applied two months ago had Frank done as was requested (multiple times). I don't understand the resistance towards doing so given the process has taken way way longer as a result.
On 16/01/2024 10:30, Conor Dooley wrote: > On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: >> On 16/01/2024 03:29, Frank Li wrote: >>>>> Patches were accepted after discussion, what you ponit to. So I >>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>>>> I plan send next version to fix auto build error. Any additional >>>>> comments about this? >>>> >>>> I still do not see how did you address Rob's comment and his point is >>>> valid. You just did not reply to it. >>> >>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ >> >> First of all, that's not the answer to Rob's email, but some other >> thread which is 99% ignored by Rob (unless he has filters for >> "@Rob"...). Therefore no, it does not count as valid answer. >> >> Second, explanation does not make sense. There is no argument granting >> you exception from SoC specific compatibles. > > The patch could have been applied two months ago had Frank done as > was requested (multiple times). I don't understand the resistance > towards doing so given the process has taken way way longer as a result. I think that Rob's comment was just skipped and original master binding was merged without addressing it. I don't want to repeat the same process for the "target". Indeed I could point this earlier... if I only knew that Rob pointed out that issue. Best regards, Krzysztof
On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 10:30, Conor Dooley wrote: > > On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > >> On 16/01/2024 03:29, Frank Li wrote: > >>>>> Patches were accepted after discussion, what you ponit to. So I > >>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>>>> I plan send next version to fix auto build error. Any additional > >>>>> comments about this? > >>>> > >>>> I still do not see how did you address Rob's comment and his point is > >>>> valid. You just did not reply to it. > >>> > >>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > >> > >> First of all, that's not the answer to Rob's email, but some other > >> thread which is 99% ignored by Rob (unless he has filters for > >> "@Rob"...). Therefore no, it does not count as valid answer. > >> > >> Second, explanation does not make sense. There is no argument granting > >> you exception from SoC specific compatibles. > > > > The patch could have been applied two months ago had Frank done as > > was requested (multiple times). I don't understand the resistance > > towards doing so given the process has taken way way longer as a result. > > I think that Rob's comment was just skipped and original master binding > was merged without addressing it. I don't want to repeat the same > process for the "target". Indeed I could point this earlier... if I only > knew that Rob pointed out that issue. Oh I think I got confused here. The context for this mail led me to think that this was still trying to push the i3c-master-v1 stuff through and I was commenting on my frustration with the resistance to applying the feedback received. I didn't realise that this was for another patch adding a target. I think you already said it, but NAK to adding any more compatibles here until the soc-specific compatible that was asked for for the imx93 is added. Thanks, Conor.
On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > > On 16/01/2024 10:30, Conor Dooley wrote: > > > On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > > >> On 16/01/2024 03:29, Frank Li wrote: > > >>>>> Patches were accepted after discussion, what you ponit to. So I > > >>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > > >>>>> I plan send next version to fix auto build error. Any additional > > >>>>> comments about this? > > >>>> > > >>>> I still do not see how did you address Rob's comment and his point is > > >>>> valid. You just did not reply to it. > > >>> > > >>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > > >> > > >> First of all, that's not the answer to Rob's email, but some other > > >> thread which is 99% ignored by Rob (unless he has filters for > > >> "@Rob"...). Therefore no, it does not count as valid answer. > > >> > > >> Second, explanation does not make sense. There is no argument granting > > >> you exception from SoC specific compatibles. > > > > > > The patch could have been applied two months ago had Frank done as > > > was requested (multiple times). I don't understand the resistance > > > towards doing so given the process has taken way way longer as a result. > > > > I think that Rob's comment was just skipped and original master binding > > was merged without addressing it. I don't want to repeat the same > > process for the "target". Indeed I could point this earlier... if I only > > knew that Rob pointed out that issue. > > Oh I think I got confused here. The context for this mail led me to > think that this was still trying to push the i3c-master-v1 stuff through > and I was commenting on my frustration with the resistance to applying > the feedback received. I didn't realise that this was for another > patch adding a target. > > I think you already said it, but NAK to adding any more compatibles here > until the soc-specific compatible that was asked for for the imx93 is > added. Is it okay for 'silvaco,i3c-target-imx93'? Frank > > Thanks, > Conor.
On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > > On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > > > On 16/01/2024 10:30, Conor Dooley wrote: > > > > On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > > > >> On 16/01/2024 03:29, Frank Li wrote: > > > >>>>> Patches were accepted after discussion, what you ponit to. So I > > > >>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > > > >>>>> I plan send next version to fix auto build error. Any additional > > > >>>>> comments about this? > > > >>>> > > > >>>> I still do not see how did you address Rob's comment and his point is > > > >>>> valid. You just did not reply to it. > > > >>> > > > >>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > > > >> > > > >> First of all, that's not the answer to Rob's email, but some other > > > >> thread which is 99% ignored by Rob (unless he has filters for > > > >> "@Rob"...). Therefore no, it does not count as valid answer. > > > >> > > > >> Second, explanation does not make sense. There is no argument granting > > > >> you exception from SoC specific compatibles. > > > > > > > > The patch could have been applied two months ago had Frank done as > > > > was requested (multiple times). I don't understand the resistance > > > > towards doing so given the process has taken way way longer as a result. > > > > > > I think that Rob's comment was just skipped and original master binding > > > was merged without addressing it. I don't want to repeat the same > > > process for the "target". Indeed I could point this earlier... if I only > > > knew that Rob pointed out that issue. > > > > Oh I think I got confused here. The context for this mail led me to > > think that this was still trying to push the i3c-master-v1 stuff through > > and I was commenting on my frustration with the resistance to applying > > the feedback received. I didn't realise that this was for another > > patch adding a target. > > > > I think you already said it, but NAK to adding any more compatibles here > > until the soc-specific compatible that was asked for for the imx93 is > > added. > > Is it okay for 'silvaco,i3c-target-imx93'? I don't know. Is the device in question capable of also operating in master mode? I have no idea from the commit message since it contains zero information on the hardware. If the exact same controller can operate in master and target mode, having two compatibles for the same device does not seem okay to me. Also, "silvaco" does not make the imx93 so that is not a suitable vendor prefix. If the imx93 only supports i3c IPs in target mode, I would call it "<vendorofimx>,imx93-i3c" with "silvaco,i3c-target-v1" as a fallback. Thanks, Conor.
On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: > On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > > On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > > > On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > > > > On 16/01/2024 10:30, Conor Dooley wrote: > > > > > On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > > > > >> On 16/01/2024 03:29, Frank Li wrote: > > > > >>>>> Patches were accepted after discussion, what you ponit to. So I > > > > >>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > > > > >>>>> I plan send next version to fix auto build error. Any additional > > > > >>>>> comments about this? > > > > >>>> > > > > >>>> I still do not see how did you address Rob's comment and his point is > > > > >>>> valid. You just did not reply to it. > > > > >>> > > > > >>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > > > > >> > > > > >> First of all, that's not the answer to Rob's email, but some other > > > > >> thread which is 99% ignored by Rob (unless he has filters for > > > > >> "@Rob"...). Therefore no, it does not count as valid answer. > > > > >> > > > > >> Second, explanation does not make sense. There is no argument granting > > > > >> you exception from SoC specific compatibles. > > > > > > > > > > The patch could have been applied two months ago had Frank done as > > > > > was requested (multiple times). I don't understand the resistance > > > > > towards doing so given the process has taken way way longer as a result. > > > > > > > > I think that Rob's comment was just skipped and original master binding > > > > was merged without addressing it. I don't want to repeat the same > > > > process for the "target". Indeed I could point this earlier... if I only > > > > knew that Rob pointed out that issue. > > > > > > Oh I think I got confused here. The context for this mail led me to > > > think that this was still trying to push the i3c-master-v1 stuff through > > > and I was commenting on my frustration with the resistance to applying > > > the feedback received. I didn't realise that this was for another > > > patch adding a target. > > > > > > I think you already said it, but NAK to adding any more compatibles here > > > until the soc-specific compatible that was asked for for the imx93 is > > > added. > > > > Is it okay for 'silvaco,i3c-target-imx93'? > > I don't know. Is the device in question capable of also operating in > master mode? I have no idea from the commit message since it contains > zero information on the hardware. Yes, it is dual mode controller. > If the exact same controller can operate in master and target mode, > having two compatibles for the same device does not seem okay to me. > what's your suggestion? create a total new yaml file for target mode (like PCI ep)? All target information(interrupt, reg, clock) are the same as master. Or added "mode" property instead of using difference compatible string? It may cause kconfig become complex to handle difference mode at the same drivers. > Also, "silvaco" does not make the imx93 so that is not a suitable vendor > prefix. If the imx93 only supports i3c IPs in target mode, I would call > it "<vendorofimx>,imx93-i3c" with "silvaco,i3c-target-v1" as a fallback. > Look like Rob and krysztof don't likes 'silvaco,i3c-target-v1'. > Thanks, > Conor.
On 16/01/2024 20:13, Frank Li wrote: > On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: >> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: >>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: >>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: >>>>> On 16/01/2024 10:30, Conor Dooley wrote: >>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: >>>>>>> On 16/01/2024 03:29, Frank Li wrote: >>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I >>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>>>>>>>>> I plan send next version to fix auto build error. Any additional >>>>>>>>>> comments about this? >>>>>>>>> >>>>>>>>> I still do not see how did you address Rob's comment and his point is >>>>>>>>> valid. You just did not reply to it. >>>>>>>> >>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ >>>>>>> >>>>>>> First of all, that's not the answer to Rob's email, but some other >>>>>>> thread which is 99% ignored by Rob (unless he has filters for >>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. >>>>>>> >>>>>>> Second, explanation does not make sense. There is no argument granting >>>>>>> you exception from SoC specific compatibles. >>>>>> >>>>>> The patch could have been applied two months ago had Frank done as >>>>>> was requested (multiple times). I don't understand the resistance >>>>>> towards doing so given the process has taken way way longer as a result. >>>>> >>>>> I think that Rob's comment was just skipped and original master binding >>>>> was merged without addressing it. I don't want to repeat the same >>>>> process for the "target". Indeed I could point this earlier... if I only >>>>> knew that Rob pointed out that issue. >>>> >>>> Oh I think I got confused here. The context for this mail led me to >>>> think that this was still trying to push the i3c-master-v1 stuff through >>>> and I was commenting on my frustration with the resistance to applying >>>> the feedback received. I didn't realise that this was for another >>>> patch adding a target. >>>> >>>> I think you already said it, but NAK to adding any more compatibles here >>>> until the soc-specific compatible that was asked for for the imx93 is >>>> added. >>> >>> Is it okay for 'silvaco,i3c-target-imx93'? No, because imx93 is product of NXP, not Silvaco. You need regular SoC-block compatibles, just like we have for all other snps, dwc and cdns. Best regards, Krzysztof
On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 20:13, Frank Li wrote: > > On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: > >> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > >>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > >>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > >>>>> On 16/01/2024 10:30, Conor Dooley wrote: > >>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > >>>>>>> On 16/01/2024 03:29, Frank Li wrote: > >>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I > >>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>>>>>>>>> I plan send next version to fix auto build error. Any additional > >>>>>>>>>> comments about this? > >>>>>>>>> > >>>>>>>>> I still do not see how did you address Rob's comment and his point is > >>>>>>>>> valid. You just did not reply to it. > >>>>>>>> > >>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > >>>>>>> > >>>>>>> First of all, that's not the answer to Rob's email, but some other > >>>>>>> thread which is 99% ignored by Rob (unless he has filters for > >>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. > >>>>>>> > >>>>>>> Second, explanation does not make sense. There is no argument granting > >>>>>>> you exception from SoC specific compatibles. > >>>>>> > >>>>>> The patch could have been applied two months ago had Frank done as > >>>>>> was requested (multiple times). I don't understand the resistance > >>>>>> towards doing so given the process has taken way way longer as a result. > >>>>> > >>>>> I think that Rob's comment was just skipped and original master binding > >>>>> was merged without addressing it. I don't want to repeat the same > >>>>> process for the "target". Indeed I could point this earlier... if I only > >>>>> knew that Rob pointed out that issue. > >>>> > >>>> Oh I think I got confused here. The context for this mail led me to > >>>> think that this was still trying to push the i3c-master-v1 stuff through > >>>> and I was commenting on my frustration with the resistance to applying > >>>> the feedback received. I didn't realise that this was for another > >>>> patch adding a target. > >>>> > >>>> I think you already said it, but NAK to adding any more compatibles here > >>>> until the soc-specific compatible that was asked for for the imx93 is > >>>> added. > >>> > >>> Is it okay for 'silvaco,i3c-target-imx93'? > > No, because imx93 is product of NXP, not Silvaco. > > You need regular SoC-block compatibles, just like we have for all other > snps, dwc and cdns. "nxp,imx93-svc-i3c-target" ? Just little bit strange for binding file name is silvaco,i3c-master.yaml. look like "dwc,*" compatitble string's file name is "dwc,*".yaml. Frank > > > Best regards, > Krzysztof >
On 16/01/2024 21:44, Frank Li wrote: > On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: >> On 16/01/2024 20:13, Frank Li wrote: >>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: >>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: >>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: >>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: >>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: >>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: >>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: >>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I >>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>>>>>>>>>>> I plan send next version to fix auto build error. Any additional >>>>>>>>>>>> comments about this? >>>>>>>>>>> >>>>>>>>>>> I still do not see how did you address Rob's comment and his point is >>>>>>>>>>> valid. You just did not reply to it. >>>>>>>>>> >>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ >>>>>>>>> >>>>>>>>> First of all, that's not the answer to Rob's email, but some other >>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for >>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. >>>>>>>>> >>>>>>>>> Second, explanation does not make sense. There is no argument granting >>>>>>>>> you exception from SoC specific compatibles. >>>>>>>> >>>>>>>> The patch could have been applied two months ago had Frank done as >>>>>>>> was requested (multiple times). I don't understand the resistance >>>>>>>> towards doing so given the process has taken way way longer as a result. >>>>>>> >>>>>>> I think that Rob's comment was just skipped and original master binding >>>>>>> was merged without addressing it. I don't want to repeat the same >>>>>>> process for the "target". Indeed I could point this earlier... if I only >>>>>>> knew that Rob pointed out that issue. >>>>>> >>>>>> Oh I think I got confused here. The context for this mail led me to >>>>>> think that this was still trying to push the i3c-master-v1 stuff through >>>>>> and I was commenting on my frustration with the resistance to applying >>>>>> the feedback received. I didn't realise that this was for another >>>>>> patch adding a target. >>>>>> >>>>>> I think you already said it, but NAK to adding any more compatibles here >>>>>> until the soc-specific compatible that was asked for for the imx93 is >>>>>> added. >>>>> >>>>> Is it okay for 'silvaco,i3c-target-imx93'? >> >> No, because imx93 is product of NXP, not Silvaco. >> >> You need regular SoC-block compatibles, just like we have for all other >> snps, dwc and cdns. > > "nxp,imx93-svc-i3c-target" ? Could be, now please point me to patch adding such code to DTS. I would like to see the real use case for it. > Just little bit strange for binding file name > is silvaco,i3c-master.yaml. Many other bindings do it. I don't see a problem in creating device specific schema sharing some parts, if you have some common pieces. > > look like "dwc,*" compatitble string's file name is "dwc,*".yaml. ? I don't understand how is this related, but if this is what you want to discuss then look: Documentation/devicetree/bindings/usb/qcom,dwc3.yaml or many other examples. Please open dwc, snps and cdns bindings and look how it is done there. Best regards, Krzysztof
On 16/01/2024 21:56, Krzysztof Kozlowski wrote: > On 16/01/2024 21:44, Frank Li wrote: >> On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: >>> On 16/01/2024 20:13, Frank Li wrote: >>>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: >>>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: >>>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: >>>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: >>>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: >>>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: >>>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: >>>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I >>>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>>>>>>>>>>>> I plan send next version to fix auto build error. Any additional >>>>>>>>>>>>> comments about this? >>>>>>>>>>>> >>>>>>>>>>>> I still do not see how did you address Rob's comment and his point is >>>>>>>>>>>> valid. You just did not reply to it. >>>>>>>>>>> >>>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ >>>>>>>>>> >>>>>>>>>> First of all, that's not the answer to Rob's email, but some other >>>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for >>>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. >>>>>>>>>> >>>>>>>>>> Second, explanation does not make sense. There is no argument granting >>>>>>>>>> you exception from SoC specific compatibles. >>>>>>>>> >>>>>>>>> The patch could have been applied two months ago had Frank done as >>>>>>>>> was requested (multiple times). I don't understand the resistance >>>>>>>>> towards doing so given the process has taken way way longer as a result. >>>>>>>> >>>>>>>> I think that Rob's comment was just skipped and original master binding >>>>>>>> was merged without addressing it. I don't want to repeat the same >>>>>>>> process for the "target". Indeed I could point this earlier... if I only >>>>>>>> knew that Rob pointed out that issue. >>>>>>> >>>>>>> Oh I think I got confused here. The context for this mail led me to >>>>>>> think that this was still trying to push the i3c-master-v1 stuff through >>>>>>> and I was commenting on my frustration with the resistance to applying >>>>>>> the feedback received. I didn't realise that this was for another >>>>>>> patch adding a target. >>>>>>> >>>>>>> I think you already said it, but NAK to adding any more compatibles here >>>>>>> until the soc-specific compatible that was asked for for the imx93 is >>>>>>> added. >>>>>> >>>>>> Is it okay for 'silvaco,i3c-target-imx93'? >>> >>> No, because imx93 is product of NXP, not Silvaco. >>> >>> You need regular SoC-block compatibles, just like we have for all other >>> snps, dwc and cdns. >> >> "nxp,imx93-svc-i3c-target" ? > > Could be, now please point me to patch adding such code to DTS. I would > like to see the real use case for it. Probably I was not clear enough, so let's be more precise: I think you might have troubles pointing to such code, because it just does not exist. It is a bit contradicting to single hardware description, because you want to describe one hardware in two different ways, with two different compatibles. Your commit msg is here empty - it says what patch is does, which is obvious. Tells nothing about the hardware being described here, which does not help this discussion. This would need solving as well, but main point stays - don't add new compatibles for the same hardware, at least not without valid reason/explanation. Best regards, Krzysztof
On Tue, Jan 16, 2024 at 09:56:03PM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 21:44, Frank Li wrote: > > On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: > >> On 16/01/2024 20:13, Frank Li wrote: > >>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: > >>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > >>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > >>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > >>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: > >>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > >>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: > >>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I > >>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>>>>>>>>>>> I plan send next version to fix auto build error. Any additional > >>>>>>>>>>>> comments about this? > >>>>>>>>>>> > >>>>>>>>>>> I still do not see how did you address Rob's comment and his point is > >>>>>>>>>>> valid. You just did not reply to it. > >>>>>>>>>> > >>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > >>>>>>>>> > >>>>>>>>> First of all, that's not the answer to Rob's email, but some other > >>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for > >>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. > >>>>>>>>> > >>>>>>>>> Second, explanation does not make sense. There is no argument granting > >>>>>>>>> you exception from SoC specific compatibles. > >>>>>>>> > >>>>>>>> The patch could have been applied two months ago had Frank done as > >>>>>>>> was requested (multiple times). I don't understand the resistance > >>>>>>>> towards doing so given the process has taken way way longer as a result. > >>>>>>> > >>>>>>> I think that Rob's comment was just skipped and original master binding > >>>>>>> was merged without addressing it. I don't want to repeat the same > >>>>>>> process for the "target". Indeed I could point this earlier... if I only > >>>>>>> knew that Rob pointed out that issue. > >>>>>> > >>>>>> Oh I think I got confused here. The context for this mail led me to > >>>>>> think that this was still trying to push the i3c-master-v1 stuff through > >>>>>> and I was commenting on my frustration with the resistance to applying > >>>>>> the feedback received. I didn't realise that this was for another > >>>>>> patch adding a target. > >>>>>> > >>>>>> I think you already said it, but NAK to adding any more compatibles here > >>>>>> until the soc-specific compatible that was asked for for the imx93 is > >>>>>> added. > >>>>> > >>>>> Is it okay for 'silvaco,i3c-target-imx93'? > >> > >> No, because imx93 is product of NXP, not Silvaco. > >> > >> You need regular SoC-block compatibles, just like we have for all other > >> snps, dwc and cdns. > > > > "nxp,imx93-svc-i3c-target" ? > > Could be, now please point me to patch adding such code to DTS. I would > like to see the real use case for it. This part have not sent to review yet. basically in imx93evk.dts add &i3c1 { compatible = "silvaco,i3c-target-v1"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&pinctrl_i3c1>; pinctrl-1 = <&pinctrl_i3c1>; status = "okay" } > > > Just little bit strange for binding file name > > is silvaco,i3c-master.yaml. > > Many other bindings do it. I don't see a problem in creating device > specific schema sharing some parts, if you have some common pieces. > > > > > look like "dwc,*" compatitble string's file name is "dwc,*".yaml. > > ? I don't understand how is this related, but if this is what you want > to discuss then look: > Documentation/devicetree/bindings/usb/qcom,dwc3.yaml > > or many other examples. Please open dwc, snps and cdns bindings and look > how it is done there. > > Best regards, > Krzysztof >
On Tue, Jan 16, 2024 at 10:01:42PM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 21:56, Krzysztof Kozlowski wrote: > > On 16/01/2024 21:44, Frank Li wrote: > >> On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: > >>> On 16/01/2024 20:13, Frank Li wrote: > >>>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: > >>>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > >>>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > >>>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > >>>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: > >>>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > >>>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: > >>>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I > >>>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>>>>>>>>>>>> I plan send next version to fix auto build error. Any additional > >>>>>>>>>>>>> comments about this? > >>>>>>>>>>>> > >>>>>>>>>>>> I still do not see how did you address Rob's comment and his point is > >>>>>>>>>>>> valid. You just did not reply to it. > >>>>>>>>>>> > >>>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > >>>>>>>>>> > >>>>>>>>>> First of all, that's not the answer to Rob's email, but some other > >>>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for > >>>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. > >>>>>>>>>> > >>>>>>>>>> Second, explanation does not make sense. There is no argument granting > >>>>>>>>>> you exception from SoC specific compatibles. > >>>>>>>>> > >>>>>>>>> The patch could have been applied two months ago had Frank done as > >>>>>>>>> was requested (multiple times). I don't understand the resistance > >>>>>>>>> towards doing so given the process has taken way way longer as a result. > >>>>>>>> > >>>>>>>> I think that Rob's comment was just skipped and original master binding > >>>>>>>> was merged without addressing it. I don't want to repeat the same > >>>>>>>> process for the "target". Indeed I could point this earlier... if I only > >>>>>>>> knew that Rob pointed out that issue. > >>>>>>> > >>>>>>> Oh I think I got confused here. The context for this mail led me to > >>>>>>> think that this was still trying to push the i3c-master-v1 stuff through > >>>>>>> and I was commenting on my frustration with the resistance to applying > >>>>>>> the feedback received. I didn't realise that this was for another > >>>>>>> patch adding a target. > >>>>>>> > >>>>>>> I think you already said it, but NAK to adding any more compatibles here > >>>>>>> until the soc-specific compatible that was asked for for the imx93 is > >>>>>>> added. > >>>>>> > >>>>>> Is it okay for 'silvaco,i3c-target-imx93'? > >>> > >>> No, because imx93 is product of NXP, not Silvaco. > >>> > >>> You need regular SoC-block compatibles, just like we have for all other > >>> snps, dwc and cdns. > >> > >> "nxp,imx93-svc-i3c-target" ? > > > > Could be, now please point me to patch adding such code to DTS. I would > > like to see the real use case for it. > > Probably I was not clear enough, so let's be more precise: I think you > might have troubles pointing to such code, because it just does not > exist. It is a bit contradicting to single hardware description, because > you want to describe one hardware in two different ways, with two > different compatibles. > > Your commit msg is here empty - it says what patch is does, which is > obvious. Tells nothing about the hardware being described here, which > does not help this discussion. This would need solving as well, but main > point stays - don't add new compatibles for the same hardware, at least > not without valid reason/explanation. I can improve commt msg. It was similar PCI case (There are two work mode: root complex and endpoint). So there are two kind compatible string for it. If you think it is good for using two compatible string for two work mode of the same hardware. I can write git commit message like: dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target silvaco i3c controller is dual mode controller, which can work as master and target mode. All clock, reg, irq are the same for both mode. Add compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c controller work as target mode. Of course, alternate method to added a property "mode" to distingiush master and target mode. but old "silvaco,i3c-master-v1" will actually work as dual mode support. Driver structure will become complex. Frank > > Best regards, > Krzysztof >
On 16/01/2024 22:31, Frank Li wrote: >>>>>>> >>>>>>> Is it okay for 'silvaco,i3c-target-imx93'? >>>> >>>> No, because imx93 is product of NXP, not Silvaco. >>>> >>>> You need regular SoC-block compatibles, just like we have for all other >>>> snps, dwc and cdns. >>> >>> "nxp,imx93-svc-i3c-target" ? >> >> Could be, now please point me to patch adding such code to DTS. I would >> like to see the real use case for it. > > This part have not sent to review yet. basically in imx93evk.dts add > > &i3c1 { > compatible = "silvaco,i3c-target-v1"; > pinctrl-names = "default", "sleep"; > pinctrl-0 = <&pinctrl_i3c1>; > pinctrl-1 = <&pinctrl_i3c1>; > status = "okay" > } Overriding compatible is not desired. It also supports here the statement that this is the same hardware. Best regards, Krzysztof
On 16/01/2024 23:25, Frank Li wrote: > On Tue, Jan 16, 2024 at 10:01:42PM +0100, Krzysztof Kozlowski wrote: >> On 16/01/2024 21:56, Krzysztof Kozlowski wrote: >>> On 16/01/2024 21:44, Frank Li wrote: >>>> On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: >>>>> On 16/01/2024 20:13, Frank Li wrote: >>>>>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: >>>>>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: >>>>>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: >>>>>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: >>>>>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: >>>>>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: >>>>>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: >>>>>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I >>>>>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. >>>>>>>>>>>>>>> I plan send next version to fix auto build error. Any additional >>>>>>>>>>>>>>> comments about this? >>>>>>>>>>>>>> >>>>>>>>>>>>>> I still do not see how did you address Rob's comment and his point is >>>>>>>>>>>>>> valid. You just did not reply to it. >>>>>>>>>>>>> >>>>>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ >>>>>>>>>>>> >>>>>>>>>>>> First of all, that's not the answer to Rob's email, but some other >>>>>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for >>>>>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. >>>>>>>>>>>> >>>>>>>>>>>> Second, explanation does not make sense. There is no argument granting >>>>>>>>>>>> you exception from SoC specific compatibles. >>>>>>>>>>> >>>>>>>>>>> The patch could have been applied two months ago had Frank done as >>>>>>>>>>> was requested (multiple times). I don't understand the resistance >>>>>>>>>>> towards doing so given the process has taken way way longer as a result. >>>>>>>>>> >>>>>>>>>> I think that Rob's comment was just skipped and original master binding >>>>>>>>>> was merged without addressing it. I don't want to repeat the same >>>>>>>>>> process for the "target". Indeed I could point this earlier... if I only >>>>>>>>>> knew that Rob pointed out that issue. >>>>>>>>> >>>>>>>>> Oh I think I got confused here. The context for this mail led me to >>>>>>>>> think that this was still trying to push the i3c-master-v1 stuff through >>>>>>>>> and I was commenting on my frustration with the resistance to applying >>>>>>>>> the feedback received. I didn't realise that this was for another >>>>>>>>> patch adding a target. >>>>>>>>> >>>>>>>>> I think you already said it, but NAK to adding any more compatibles here >>>>>>>>> until the soc-specific compatible that was asked for for the imx93 is >>>>>>>>> added. >>>>>>>> >>>>>>>> Is it okay for 'silvaco,i3c-target-imx93'? >>>>> >>>>> No, because imx93 is product of NXP, not Silvaco. >>>>> >>>>> You need regular SoC-block compatibles, just like we have for all other >>>>> snps, dwc and cdns. >>>> >>>> "nxp,imx93-svc-i3c-target" ? >>> >>> Could be, now please point me to patch adding such code to DTS. I would >>> like to see the real use case for it. >> >> Probably I was not clear enough, so let's be more precise: I think you >> might have troubles pointing to such code, because it just does not >> exist. It is a bit contradicting to single hardware description, because >> you want to describe one hardware in two different ways, with two >> different compatibles. >> >> Your commit msg is here empty - it says what patch is does, which is >> obvious. Tells nothing about the hardware being described here, which >> does not help this discussion. This would need solving as well, but main >> point stays - don't add new compatibles for the same hardware, at least >> not without valid reason/explanation. > > I can improve commt msg. It was similar PCI case (There are two work mode: > root complex and endpoint). So there are two kind compatible string for it. > > If you think it is good for using two compatible string for two work mode > of the same hardware. Not really, because compatible describes hardware and it is the same hardware here. We do not have two different compatibles for GPIOs being input or output. Or two different compatibles for serial engines (ones providing UART, SPI or I2C). > > I can write git commit message like: > > dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target > > silvaco i3c controller is dual mode controller, which can work as master > and target mode. All clock, reg, irq are the same for both mode. Add > compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c > controller work as target mode. > > Of course, alternate method to added a property "mode" to distingiush > master and target mode. but old "silvaco,i3c-master-v1" will actually work > as dual mode support. Driver structure will become complex. Please send full DTS of user for this, which works for 100%, so we can see how it differs from controller mode. If your code snippet from other thread is correct, then it would suggest "mode" property or lack of children. Maybe lack of children is not enough, if user-space could control I3C bus. Best regards, Krzysztof
On Wed, Jan 17, 2024 at 07:50:16AM +0100, Krzysztof Kozlowski wrote: > On 16/01/2024 23:25, Frank Li wrote: > > On Tue, Jan 16, 2024 at 10:01:42PM +0100, Krzysztof Kozlowski wrote: > >> On 16/01/2024 21:56, Krzysztof Kozlowski wrote: > >>> On 16/01/2024 21:44, Frank Li wrote: > >>>> On Tue, Jan 16, 2024 at 09:30:24PM +0100, Krzysztof Kozlowski wrote: > >>>>> On 16/01/2024 20:13, Frank Li wrote: > >>>>>> On Tue, Jan 16, 2024 at 06:23:09PM +0000, Conor Dooley wrote: > >>>>>>> On Tue, Jan 16, 2024 at 12:35:44PM -0500, Frank Li wrote: > >>>>>>>> On Tue, Jan 16, 2024 at 09:48:08AM +0000, Conor Dooley wrote: > >>>>>>>>> On Tue, Jan 16, 2024 at 10:33:48AM +0100, Krzysztof Kozlowski wrote: > >>>>>>>>>> On 16/01/2024 10:30, Conor Dooley wrote: > >>>>>>>>>>> On Tue, Jan 16, 2024 at 08:24:20AM +0100, Krzysztof Kozlowski wrote: > >>>>>>>>>>>> On 16/01/2024 03:29, Frank Li wrote: > >>>>>>>>>>>>>>> Patches were accepted after discussion, what you ponit to. So I > >>>>>>>>>>>>>>> think everyone agree on the name 'silvaco,i3c-master-v1'. > >>>>>>>>>>>>>>> I plan send next version to fix auto build error. Any additional > >>>>>>>>>>>>>>> comments about this? > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> I still do not see how did you address Rob's comment and his point is > >>>>>>>>>>>>>> valid. You just did not reply to it. > >>>>>>>>>>>>> > >>>>>>>>>>>>> See https://lore.kernel.org/imx/ZXCiaKfMYYShoiXK@lizhi-Precision-Tower-5810/ > >>>>>>>>>>>> > >>>>>>>>>>>> First of all, that's not the answer to Rob's email, but some other > >>>>>>>>>>>> thread which is 99% ignored by Rob (unless he has filters for > >>>>>>>>>>>> "@Rob"...). Therefore no, it does not count as valid answer. > >>>>>>>>>>>> > >>>>>>>>>>>> Second, explanation does not make sense. There is no argument granting > >>>>>>>>>>>> you exception from SoC specific compatibles. > >>>>>>>>>>> > >>>>>>>>>>> The patch could have been applied two months ago had Frank done as > >>>>>>>>>>> was requested (multiple times). I don't understand the resistance > >>>>>>>>>>> towards doing so given the process has taken way way longer as a result. > >>>>>>>>>> > >>>>>>>>>> I think that Rob's comment was just skipped and original master binding > >>>>>>>>>> was merged without addressing it. I don't want to repeat the same > >>>>>>>>>> process for the "target". Indeed I could point this earlier... if I only > >>>>>>>>>> knew that Rob pointed out that issue. > >>>>>>>>> > >>>>>>>>> Oh I think I got confused here. The context for this mail led me to > >>>>>>>>> think that this was still trying to push the i3c-master-v1 stuff through > >>>>>>>>> and I was commenting on my frustration with the resistance to applying > >>>>>>>>> the feedback received. I didn't realise that this was for another > >>>>>>>>> patch adding a target. > >>>>>>>>> > >>>>>>>>> I think you already said it, but NAK to adding any more compatibles here > >>>>>>>>> until the soc-specific compatible that was asked for for the imx93 is > >>>>>>>>> added. > >>>>>>>> > >>>>>>>> Is it okay for 'silvaco,i3c-target-imx93'? > >>>>> > >>>>> No, because imx93 is product of NXP, not Silvaco. > >>>>> > >>>>> You need regular SoC-block compatibles, just like we have for all other > >>>>> snps, dwc and cdns. > >>>> > >>>> "nxp,imx93-svc-i3c-target" ? > >>> > >>> Could be, now please point me to patch adding such code to DTS. I would > >>> like to see the real use case for it. > >> > >> Probably I was not clear enough, so let's be more precise: I think you > >> might have troubles pointing to such code, because it just does not > >> exist. It is a bit contradicting to single hardware description, because > >> you want to describe one hardware in two different ways, with two > >> different compatibles. > >> > >> Your commit msg is here empty - it says what patch is does, which is > >> obvious. Tells nothing about the hardware being described here, which > >> does not help this discussion. This would need solving as well, but main > >> point stays - don't add new compatibles for the same hardware, at least > >> not without valid reason/explanation. > > > > I can improve commt msg. It was similar PCI case (There are two work mode: > > root complex and endpoint). So there are two kind compatible string for it. > > > > If you think it is good for using two compatible string for two work mode > > of the same hardware. > > Not really, because compatible describes hardware and it is the same > hardware here. We do not have two different compatibles for GPIOs being > input or output. Or two different compatibles for serial engines (ones > providing UART, SPI or I2C). GPIO and UART is simple. Actuall SPI and I2C have two mode, slave and master. Many SPI/I2C is dual mode controller. Just seldom use slave mode at linux side. So you just see master mode SPI/I2C controller in dt-binding and dts file. So few people upstream slave part to linux kernel community. They have the exact same problems if support slave mode. PCI is typical example: EP mode: Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml RC mode: Documentation/devicetree/bindings/pci/qcom,pcie.yaml Which is the same hardware for two difference compatible string. > > > > > I can write git commit message like: > > > > dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target > > > > silvaco i3c controller is dual mode controller, which can work as master > > and target mode. All clock, reg, irq are the same for both mode. Add > > compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c > > controller work as target mode. > > > > Of course, alternate method to added a property "mode" to distingiush > > master and target mode. but old "silvaco,i3c-master-v1" will actually work > > as dual mode support. Driver structure will become complex. > > Please send full DTS of user for this, which works for 100%, so we can > see how it differs from controller mode. If your code snippet from other > thread is correct, then it would suggest "mode" property or lack of > children. Maybe lack of children is not enough, if user-space could > control I3C bus. According to current implment, only need change imx93.dtsi's @i3c1's compatible string to "silvaco,i3c-target-v1". I attached imx93 dts node for your reference. i3c1: i3c-master@44330000 { compatible = "silvaco,i3c-master-v1"; ^^^^ only need change here! reg = <0x44330000 0x10000>; interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; #address-cells = <3>; #size-cells = <0>; clocks = <&clk IMX93_CLK_BUS_AON>, <&clk IMX93_CLK_I3C1_GATE>, <&clk IMX93_CLK_I3C1_SLOW>; clock-names = "pclk", "fast_clk", "slow_clk"; dmas = <&edma1 6 0 1>, <&edma1 5 0 0>; dma-names = "rx", "tx"; status = "disabled"; }; For master mode: Unlike i2c. Genenally I3C can auto probe children node like USB can auto detect attached devices. So I3C master can work without children nodes. Such as auto load i3c sensor driver according to i3c standard vendor id and production id. For target mode: using configfs to controller I3C. mkdir /sys/kernel/config/i3c_target/functions/tty/t echo 0x011b > /sys/kernel/config/i3c_target/functions/tty/t/vendor_id echo 0x1000 > /sys/kernel/config/i3c_target/functions/tty/t/part_id echo 0x6 > /sys/kernel/config/i3c_target/functions/tty/t/bcr ln -s /sys/kernel/config/i3c_target/functions/tty/t /sys/kernel/config/i3c_target/controllers/44330000.i3c-master/ Then you echo test >/dev/ttySI3C0. Unlike USB, user can switch host and gadget mode dymatically. Suppose I3C only work on one of master or slave mode only, which is static. Although it is one hardware, I think it is exculsive multi function device. Summary: basice two option to distingiush controller and target mode. 1. by "compatible" string 2. by "mode" I think 1 is relatively simple and easy to understand. > > Best regards, > Krzysztof >
On 17/01/2024 17:19, Frank Li wrote: >> >> Not really, because compatible describes hardware and it is the same >> hardware here. We do not have two different compatibles for GPIOs being >> input or output. Or two different compatibles for serial engines (ones >> providing UART, SPI or I2C). > > GPIO and UART is simple. Actuall SPI and I2C have two mode, slave and I talked about serial engines which can be multiple: UART, SPI and I2C. > master. Many SPI/I2C is dual mode controller. Just seldom use slave mode > at linux side. So you just see master mode SPI/I2C controller in dt-binding > and dts file. So few people upstream slave part to linux kernel community. > They have the exact same problems if support slave mode. > > PCI is typical example: > EP mode: Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > RC mode: Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > Which is the same hardware for two difference compatible string. That's the only case, I recall. >> >>> >>> I can write git commit message like: >>> >>> dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target >>> >>> silvaco i3c controller is dual mode controller, which can work as master >>> and target mode. All clock, reg, irq are the same for both mode. Add >>> compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c >>> controller work as target mode. >>> >>> Of course, alternate method to added a property "mode" to distingiush >>> master and target mode. but old "silvaco,i3c-master-v1" will actually work >>> as dual mode support. Driver structure will become complex. >> >> Please send full DTS of user for this, which works for 100%, so we can >> see how it differs from controller mode. If your code snippet from other >> thread is correct, then it would suggest "mode" property or lack of >> children. Maybe lack of children is not enough, if user-space could >> control I3C bus. > > According to current implment, only need change imx93.dtsi's @i3c1's > compatible string to "silvaco,i3c-target-v1". I attached imx93 dts node for > your reference. > > i3c1: i3c-master@44330000 { > compatible = "silvaco,i3c-master-v1"; > ^^^^ only need change here! Nope, don't change compatibles of existing nodes. Unreadable and unmanageable code. > > reg = <0x44330000 0x10000>; > interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; > #address-cells = <3>; > #size-cells = <0>; > clocks = <&clk IMX93_CLK_BUS_AON>, > <&clk IMX93_CLK_I3C1_GATE>, > <&clk IMX93_CLK_I3C1_SLOW>; > clock-names = "pclk", "fast_clk", "slow_clk"; > dmas = <&edma1 6 0 1>, <&edma1 5 0 0>; > dma-names = "rx", "tx"; > status = "disabled"; > }; That's not a patch for existing file. I did not claim you cannot write such DTS. I claimed you don't have such DTS for upstream... > > For master mode: > Unlike i2c. Genenally I3C can auto probe children node like USB can auto > detect attached devices. So I3C master can work without children nodes. > Such as auto load i3c sensor driver according to i3c standard vendor id and > production id. Then presence of children cannot be used. > > For target mode: using configfs to controller I3C. > > mkdir /sys/kernel/config/i3c_target/functions/tty/t > echo 0x011b > /sys/kernel/config/i3c_target/functions/tty/t/vendor_id > echo 0x1000 > /sys/kernel/config/i3c_target/functions/tty/t/part_id > echo 0x6 > /sys/kernel/config/i3c_target/functions/tty/t/bcr > > ln -s /sys/kernel/config/i3c_target/functions/tty/t /sys/kernel/config/i3c_target/controllers/44330000.i3c-master/ > > Then you echo test >/dev/ttySI3C0. > > Unlike USB, user can switch host and gadget mode dymatically. Suppose I3C > only work on one of master or slave mode only, which is static. I don't understand this. So it can switch dynamically or not? > > Although it is one hardware, I think it is exculsive multi function device. Just like serial engines. Do you see there replacing compatibles? No. > > Summary: basice two option to distingiush controller and target mode. > 1. by "compatible" string > 2. by "mode" > > I think 1 is relatively simple and easy to understand. Eh, if you only saw my comments on people replacing compatibles... Anyway, I stated my reasons, so to reiterate: NAK. Best regards, Krzysztof
On Wed, Jan 17, 2024 at 06:15:51PM +0100, Krzysztof Kozlowski wrote: > On 17/01/2024 17:19, Frank Li wrote: > >> > >> Not really, because compatible describes hardware and it is the same > >> hardware here. We do not have two different compatibles for GPIOs being > >> input or output. Or two different compatibles for serial engines (ones > >> providing UART, SPI or I2C). > > > > GPIO and UART is simple. Actuall SPI and I2C have two mode, slave and > > I talked about serial engines which can be multiple: UART, SPI and I2C. > > > master. Many SPI/I2C is dual mode controller. Just seldom use slave mode > > at linux side. So you just see master mode SPI/I2C controller in dt-binding > > and dts file. So few people upstream slave part to linux kernel community. > > They have the exact same problems if support slave mode. > > > > PCI is typical example: > > EP mode: Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > > RC mode: Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > > > Which is the same hardware for two difference compatible string. > > That's the only case, I recall. As my knowledge, yes. > > >> > >>> > >>> I can write git commit message like: > >>> > >>> dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target > >>> > >>> silvaco i3c controller is dual mode controller, which can work as master > >>> and target mode. All clock, reg, irq are the same for both mode. Add > >>> compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c > >>> controller work as target mode. > >>> > >>> Of course, alternate method to added a property "mode" to distingiush > >>> master and target mode. but old "silvaco,i3c-master-v1" will actually work > >>> as dual mode support. Driver structure will become complex. > >> > >> Please send full DTS of user for this, which works for 100%, so we can > >> see how it differs from controller mode. If your code snippet from other > >> thread is correct, then it would suggest "mode" property or lack of > >> children. Maybe lack of children is not enough, if user-space could > >> control I3C bus. > > > > According to current implment, only need change imx93.dtsi's @i3c1's > > compatible string to "silvaco,i3c-target-v1". I attached imx93 dts node for > > your reference. > > > > i3c1: i3c-master@44330000 { > > compatible = "silvaco,i3c-master-v1"; > > ^^^^ only need change here! > > Nope, don't change compatibles of existing nodes. Unreadable and > unmanageable code. It is just show minimize difference. Normally, it should be. i3c1: i3c-master@44330000 { ... compatible = "silvaco,i3c-master-v1"; ... status = disabled; } i3c1-target: i3c-target@44330000 { ... compatible = "silvaco,i3c-target-v1"; ... status = disabled; } in board dts @i3c1{ status = "okay"; } Or @i3c1-target{ status = "okay"; } > > > > > reg = <0x44330000 0x10000>; > > interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; > > #address-cells = <3>; > > #size-cells = <0>; > > clocks = <&clk IMX93_CLK_BUS_AON>, > > <&clk IMX93_CLK_I3C1_GATE>, > > <&clk IMX93_CLK_I3C1_SLOW>; > > clock-names = "pclk", "fast_clk", "slow_clk"; > > dmas = <&edma1 6 0 1>, <&edma1 5 0 0>; > > dma-names = "rx", "tx"; > > status = "disabled"; > > }; > > That's not a patch for existing file. I did not claim you cannot write > such DTS. I claimed you don't have such DTS for upstream... Yes, it need finialize this topic before handle dts upstream. > > > > > For master mode: > > Unlike i2c. Genenally I3C can auto probe children node like USB can auto > > detect attached devices. So I3C master can work without children nodes. > > Such as auto load i3c sensor driver according to i3c standard vendor id and > > production id. > > Then presence of children cannot be used. > > > > > For target mode: using configfs to controller I3C. > > > > mkdir /sys/kernel/config/i3c_target/functions/tty/t > > echo 0x011b > /sys/kernel/config/i3c_target/functions/tty/t/vendor_id > > echo 0x1000 > /sys/kernel/config/i3c_target/functions/tty/t/part_id > > echo 0x6 > /sys/kernel/config/i3c_target/functions/tty/t/bcr > > > > ln -s /sys/kernel/config/i3c_target/functions/tty/t /sys/kernel/config/i3c_target/controllers/44330000.i3c-master/ > > > > Then you echo test >/dev/ttySI3C0. > > > > Unlike USB, user can switch host and gadget mode dymatically. Suppose I3C > > only work on one of master or slave mode only, which is static. > > I don't understand this. So it can switch dynamically or not? I3C Protocal allow do that. But no one really do that. > > > > > Although it is one hardware, I think it is exculsive multi function device. > > Just like serial engines. Do you see there replacing compatibles? No. > > > > > Summary: basice two option to distingiush controller and target mode. > > 1. by "compatible" string > > 2. by "mode" > > > > I think 1 is relatively simple and easy to understand. > > Eh, if you only saw my comments on people replacing compatibles... > Anyway, I stated my reasons, so to reiterate: NAK. I know it. Needn't emphase it every time. Is using "mode" ('controller' and 'target') proptery okay? Frank > > Best regards, > Krzysztof >
On Wed, Jan 17, 2024 at 01:06:15PM -0500, Frank Li wrote: > On Wed, Jan 17, 2024 at 06:15:51PM +0100, Krzysztof Kozlowski wrote: > > On 17/01/2024 17:19, Frank Li wrote: > > >> > > >> Not really, because compatible describes hardware and it is the same > > >> hardware here. We do not have two different compatibles for GPIOs being > > >> input or output. Or two different compatibles for serial engines (ones > > >> providing UART, SPI or I2C). > > > > > > GPIO and UART is simple. Actuall SPI and I2C have two mode, slave and > > > > I talked about serial engines which can be multiple: UART, SPI and I2C. > > > > > master. Many SPI/I2C is dual mode controller. Just seldom use slave mode > > > at linux side. So you just see master mode SPI/I2C controller in dt-binding > > > and dts file. So few people upstream slave part to linux kernel community. > > > They have the exact same problems if support slave mode. > > > > > > PCI is typical example: > > > EP mode: Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml > > > RC mode: Documentation/devicetree/bindings/pci/qcom,pcie.yaml > > > > > > Which is the same hardware for two difference compatible string. > > > > That's the only case, I recall. > > As my knowledge, yes. > > > > > >> > > >>> > > >>> I can write git commit message like: > > >>> > > >>> dt-bindings: i3c: svc: add compatible string nxp,imx93-svc-i3c-target > > >>> > > >>> silvaco i3c controller is dual mode controller, which can work as master > > >>> and target mode. All clock, reg, irq are the same for both mode. Add > > >>> compatible string "nxp,imx93-svc-i3c-target" to let silivaco i3c > > >>> controller work as target mode. > > >>> > > >>> Of course, alternate method to added a property "mode" to distingiush > > >>> master and target mode. but old "silvaco,i3c-master-v1" will actually work > > >>> as dual mode support. Driver structure will become complex. > > >> > > >> Please send full DTS of user for this, which works for 100%, so we can > > >> see how it differs from controller mode. If your code snippet from other > > >> thread is correct, then it would suggest "mode" property or lack of > > >> children. Maybe lack of children is not enough, if user-space could > > >> control I3C bus. > > > > > > According to current implment, only need change imx93.dtsi's @i3c1's > > > compatible string to "silvaco,i3c-target-v1". I attached imx93 dts node for > > > your reference. > > > > > > i3c1: i3c-master@44330000 { > > > compatible = "silvaco,i3c-master-v1"; > > > ^^^^ only need change here! > > > > Nope, don't change compatibles of existing nodes. Unreadable and > > unmanageable code. > > It is just show minimize difference. > > Normally, it should be. > > i3c1: i3c-master@44330000 { > ... > compatible = "silvaco,i3c-master-v1"; > ... > status = disabled; > } > > i3c1-target: i3c-target@44330000 { > ... > compatible = "silvaco,i3c-target-v1"; > ... > status = disabled; > } > > in board dts > > @i3c1{ > status = "okay"; > } > > Or > @i3c1-target{ > status = "okay"; > } > > > > > > > > reg = <0x44330000 0x10000>; > > > interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; > > > #address-cells = <3>; > > > #size-cells = <0>; > > > clocks = <&clk IMX93_CLK_BUS_AON>, > > > <&clk IMX93_CLK_I3C1_GATE>, > > > <&clk IMX93_CLK_I3C1_SLOW>; > > > clock-names = "pclk", "fast_clk", "slow_clk"; > > > dmas = <&edma1 6 0 1>, <&edma1 5 0 0>; > > > dma-names = "rx", "tx"; > > > status = "disabled"; > > > }; > > > > That's not a patch for existing file. I did not claim you cannot write > > such DTS. I claimed you don't have such DTS for upstream... > > Yes, it need finialize this topic before handle dts upstream. > > > > > > > > > For master mode: > > > Unlike i2c. Genenally I3C can auto probe children node like USB can auto > > > detect attached devices. So I3C master can work without children nodes. > > > Such as auto load i3c sensor driver according to i3c standard vendor id and > > > production id. > > > > Then presence of children cannot be used. > > > > > > > > For target mode: using configfs to controller I3C. > > > > > > mkdir /sys/kernel/config/i3c_target/functions/tty/t > > > echo 0x011b > /sys/kernel/config/i3c_target/functions/tty/t/vendor_id > > > echo 0x1000 > /sys/kernel/config/i3c_target/functions/tty/t/part_id > > > echo 0x6 > /sys/kernel/config/i3c_target/functions/tty/t/bcr > > > > > > ln -s /sys/kernel/config/i3c_target/functions/tty/t /sys/kernel/config/i3c_target/controllers/44330000.i3c-master/ > > > > > > Then you echo test >/dev/ttySI3C0. > > > > > > Unlike USB, user can switch host and gadget mode dymatically. Suppose I3C > > > only work on one of master or slave mode only, which is static. > > > > I don't understand this. So it can switch dynamically or not? > > I3C Protocal allow do that. But no one really do that. > > > > > > > > > Although it is one hardware, I think it is exculsive multi function device. > > > > Just like serial engines. Do you see there replacing compatibles? No. > > > > > > > > Summary: basice two option to distingiush controller and target mode. > > > 1. by "compatible" string > > > 2. by "mode" > > > > > > I think 1 is relatively simple and easy to understand. > > > > Eh, if you only saw my comments on people replacing compatibles... > > Anyway, I stated my reasons, so to reiterate: NAK. > > I know it. Needn't emphase it every time. > > Is using "mode" ('controller' and 'target') proptery okay? @krzyszkof: Do you agree using "mode"? Frank > > Frank > > > > > Best regards, > > Krzysztof > >
diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml index 133855f11b4f5..17849c91d4d2b 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> @@ -14,8 +14,9 @@ allOf: properties: compatible: - const: silvaco,i3c-master-v1 - + enum: + - silvaco,i3c-master-v1 + - silvaco,i3c-target-v1 reg: maxItems: 1