Message ID | 20231016152450.2850498-1-Frank.Li@nxp.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp3538452vqb; Mon, 16 Oct 2023 08:25:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEeY4Vb4iHP+GM7FwxYeeGtqJO8iWOEdq3cTbv++T6InIv9fYX4lMEYW0xN/zMa9+oh/NPe X-Received: by 2002:a05:6830:43ab:b0:6b8:7653:dd66 with SMTP id s43-20020a05683043ab00b006b87653dd66mr43193111otv.0.1697469918436; Mon, 16 Oct 2023 08:25:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697469918; cv=pass; d=google.com; s=arc-20160816; b=jj1yQgNdDArnadVmSi1ZQT5efOJ8t/MZIeaRnlutmmIgxrhDUrDqlrbnfM5MFhxHq/ ihyspj7EiThTIwSQkQRfsfRzElyTk/tLi5GBXtWoviELR6Mih3Dp7q71wFV/bDAamedi lvvoRSh7wAyTyNN/5QoYk0AMwgFJgUXNEZykAa7BDSvE8AYQYtGgyt0nTrctKy8bCGKk m0j7oNS91Zb1LrxO3PlaDU+poIDRy2lRWPRLNhaLtECQMUNaPtFUqHHe3wIfAZi6cSVM bpmDDQ8mP2BK21z9jOdTPOstTpVnNYDBTLZ5wH0+7SExG9mklFRF3HMXr3Nppswwiq5N 41cA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:to:from:dkim-signature; bh=trVV9USWD4xPQtUqV3CYyFL27JsRPY6/ZwQ10W859wU=; fh=DrVFRJS/cRjN7stFTJJ7fXqA/wg0g8VaBLeeiXqZZwU=; b=y1gdkEAUCbYxd8TvBqXCHPXHtQBdGGRwVNPXeI0PB8uJVgoJbva63aJONkVH3+axnN 9Yrg+KeqesXBRpmVx8SaKKBKuXvp5F1uUNh/FkEm/yybbTeWMASOFaJ+Yv6MtDYV2a+H tOY9C5whz5Z1GE2lENkX4nfUr9oZBuWeT6WOfgcCyo8Wy/iQvFPgJcFX77ARGZrHSMDm GxGVQJsOp3sVzaJz5OMDIYVNi8uJLzBixNcqCruwhiE2evY+g/YVKxI9eAZ96i6jA5G1 X9nPGfjtEy6zaQv2XgKVOn/W19Wq5zX407IKCBdpSp8/ZLnnfGHcb4euwHkGIvnzAtEk TTXA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qpv0EGus; 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-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id i65-20020a636d44000000b005b3bcd9d7f8si4712296pgc.808.2023.10.16.08.25.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 08:25:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qpv0EGus; 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-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3DF8A80C65F7; Mon, 16 Oct 2023 08:25:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231782AbjJPPZN (ORCPT <rfc822;hjfbswb@gmail.com> + 18 others); Mon, 16 Oct 2023 11:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229848AbjJPPZL (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 16 Oct 2023 11:25:11 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2055.outbound.protection.outlook.com [40.107.6.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 911B4AC; Mon, 16 Oct 2023 08:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y72Q22VhM8jlQBnmH0vyFM2EatN+oR1GQqjcVVxE/eTsWHsSDvWU0b1UFfs5TH3OgX6BO7/MNA57qwalYt0TKMozVOjdm42lwn0ygLbx5rwIv7T02RQ3zyX93noOU9dI6NLBdidiYco6mRoDsYCD2JprmekLhVwMtKpT9PadgPj7O16HsLEH2LDO5Yg/OTDFctQK9qBosWfE2erFPzfuj4wyxeRBrHc0GFwqA3gnwp6eO/FSrmSKJHupb5Y6Yutvf9qwpri4eM3cSEPfI/I+zrJrd0QD/mp80BKwLWlb8cEeB98KZpVN0oVqXXGCwLcn2jMtDC8+QRDEKNuAopxuDA== 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=trVV9USWD4xPQtUqV3CYyFL27JsRPY6/ZwQ10W859wU=; b=NSluX9uIYisNaQqz0mWAqs8VDvmXBF2pLCDuXtI/7k0lTetp0n2+7XvhA5ifeGS8NQNn/CDGv2k7zZH7KVq7zDJaYXTxSS6KcF7fPnAFFs3O9ZpCfJCddOJV/xwHWu5+k7P4xseBvK/OT9AhJxulLvQVGUI3LOY6QR3cleq9cbzLmhe2sp1vHm+pTwcfkXEOkHttLB8hEdYnT604/OO0KVSHkBUqgDXQyThl/op+TBBDT3EZEN9AthAHLMELKvwlB7nuvEn2X1brbVdtGiG+d5Ai0ic+Rmm9MZQ7YNyyJ9Yp72IllWReopRQUUYfh5OLxBRC7WJKMdiEQaE/8FcvGw== 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=trVV9USWD4xPQtUqV3CYyFL27JsRPY6/ZwQ10W859wU=; b=qpv0EGusteIgJatmmC6wRFlJzBEcaFZACN9x4r5P8F8LIa8y/+x1RBxNwO5bpH3+mfDR7aIKh4JLwTILTdPUfcAUwAevaxUqOAOevDa5kBqtZZyy+KgtLJ/fmE7WrAkonOrVIte3xiGMrkZpwH6surPNQ6sxxtLBNOUsVsBlXCY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) by PAXPR04MB9185.eurprd04.prod.outlook.com (2603:10a6:102:231::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.35; Mon, 16 Oct 2023 15:25:07 +0000 Received: from AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2]) by AM6PR04MB4838.eurprd04.prod.outlook.com ([fe80::1774:e25f:f99:aca2%4]) with mapi id 15.20.6886.034; Mon, 16 Oct 2023 15:25:07 +0000 From: Frank Li <Frank.Li@nxp.com> To: miquel.raynal@bootlin.com, conor.culhane@silvaco.com, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, joe@perches.com, peng.fan@nxp.com, alexander.stein@ew.tq-group.com, haibo.chen@nxp.com, ping.bai@nxp.com, xiaoning.wang@nxp.com, Frank.Li@nxp.com, sherry.sun@nxp.com, linux-i3c@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev Subject: [PATCH 1/2] dt-bindings: i3c: Fix silvaco,i3c-master compatible string Date: Mon, 16 Oct 2023 11:24:49 -0400 Message-Id: <20231016152450.2850498-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BYAPR11CA0069.namprd11.prod.outlook.com (2603:10b6:a03:80::46) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PAXPR04MB9185:EE_ X-MS-Office365-Filtering-Correlation-Id: a6e4d6e1-4c3d-4b3a-ff55-08dbce5c13de X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gmMsqhYXkuJhixDIzxTi1zAmPBFBSit3wDWl1VQtZsvK7UgJyPGRPZ0G5kWEkJHH0F3ZXM0zF74Ujb0eMCd7sTHRHurJNK0KDf2wSVcy209Lrv0WtWC0N8SzRTgUIa/naQeKWo/0z8zAy0K6uS2W7Qo3KHrZQ/IleNwbaQNW2N49Cw2KITDl++J3e8gR+iQRiM71UyJ8PURhF3j6aOhDlTkQ22Sn7DhnGULRfe4ynAIJA3zULjGI/FxQ1g3oho0lhtuZ2nMLqxgmX/iceXDXLMc3ertT5GAxBK/kabgvU8YRbavIOTbMWwRifEvwl0LMw6gTmxk6xPJAaPoZjW3PZdYx+GO6EjjYQZj39TsVCDZd4+hyebH2AuCbOUDcG36pTPdf3ToDVTUeztQ7sVk94J0UcaiLrkbhVlTlXoqBotOuBzU5iGzJbHLY/d7mag2naGuuEd8Ob0JrHdKgF64KxnBO2zRBBWr+TSRk2Or9c8qGdmQWKQKC/HxHroNut3tbMiLYcmsxHVpQWtgfNuzmqDK5Sg6iltKF/9P2XPV4nNBY5gzoPqLhYRMhOq7Q2rffjKDdMCqgdJkobvOyn16jOoEamCkQi2cVx8duAkSD3VFF+JVStD+GItikvA1vukStKAHYnM6e/pwwUa10YCRrCQ== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB4838.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376002)(396003)(39860400002)(366004)(136003)(346002)(230922051799003)(451199024)(186009)(64100799003)(1800799009)(7416002)(2906002)(4744005)(5660300002)(41300700001)(8936002)(8676002)(316002)(66946007)(478600001)(6486002)(6506007)(6666004)(36756003)(52116002)(38350700005)(83380400001)(66556008)(66476007)(26005)(1076003)(86362001)(38100700002)(6512007)(2616005)(921005);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: gYmovskGw+hSJ6jJ4g85RXHr68FmhgA/netnU/Gdp0PqvqnuRNJX+Owv/Yn9/uPAuHgZIsMv3W0EkafJ8R4kICdThgQUBSIwsCWOhPEKgTnGBqFwyoZzN9FIJ7SAxlt0K/vMpT3f13SBMfw/wDYXfAyWt48+UgrXOG5dtlEg3iQOud5ERfbSfzMxpTg5a1ZNziBPEhtNxT/RKxb/deKbhuCD8xqSNsdEIAV3BX58QAPbrqkvUcI+pmnWSy6DcZc9WRfzmVe++e5mg68WFtgPIvWL5SqBEX37v22poHWwoXn2QcUKPytcDXPoI02qMM4xD52915GDztRQtnCoUvsOqyEGB9ySISpUOSSk34NWrzB6lS4oXDH0o0lsjdakm+49/LwCIqeq5XW9FhFmn9lbLRcrVkl/FpSaSgdHDqOnpBACyJ/crwultezA2xqKfAMAUojGPca1XjrztVh9xFzFQMEtuayHB+uLEP5Oiaxx74wR4eeDv07N6kAD2ohL6+lpYj+5X+7+Svuiv2Q2j84LcFW1yCO9Z+/BQgadXlpngTf9gax7A5SaTAlqNaAf/xZvPMsLpOfgQhiOOnltp9hy2Vb9S9W9vvvIaLz7pfL99SGVsAjNCKVUsU3GpRUTfGAi+Mmz+2ZAWhd+69AuobfLpSTn+SUlZfJXMpsGWM1b64uofmhF5/UzapqjXUW0eKJ6f56n6ZpA9561UUgdQyoEJUtlNQK9XM1djKYEhfIBVA2MPY8vDDTIR4k7qJt3hyuPEWCe9kGuFqqpcemnBlnYUQeUNB8+SFbEEi6WU5hmBq6CxNnwsDg/wa6vS7JXHoYTjXrqshEJIi2VXJ23G/UvkyRMg++YbR8Sk1cKUi6e8d+vgTwDn1+VpmRXwpZQeotkYvKpn4CrJiCnyFvYutRX2H6XF+oKiPzSMAeiOMt57HBOziNm6imbf31QBcGnGvySmlg9ouIrTPYqomAgY35XWIQJCikn7zUhaVyYjueGUG2hwZ+7pF1ZY9SscTh9wtaAu8d0U2G6EUE4AL9ZzN8WZUkBgVlV7Gkb5CfMOsS0gQumNfpbFTp33AGNnWGAzO62sPxyFekxb/sahS1ESQ99BOhfHOiLjrTL8YyonBNL6ixKMT0wwalJhSMkBS9pstfelpkdVeoW8ZBOQXPda+7ACOiv6g8whfM8J5Feg0bZDtokWXOpvgSyWsB3Sx+/pvQBYhq9HCzDl1DJaphw8Ng3dxXGNWD0rSfEnaKAYAFaPqOhnlBINslYruRgBDIcOsEsxb8PFCLs1hVs4oCl437Dc0FOkcQ3wlDxOIOYPRJa2EXGvBlbPTYwLZ16GU3i5OoI27p+Oz50Ug0LNJgOJqh7cmcFsEwbIWHu+r+a/AStD1yaAKuPE09H/nUfjDvblDvKdMymw5yxnJKl8YaDcD1FLTJ2xy2CEFyjYtA5Khz3oxjTobiLzepFxmxk4FEhHRgtbiWsMEwdAVSxS/6MysX9getQiamcC8tpxj/9PsMmbqTefaPw8rxLXd4WeZ3GlY6wjmdoIfXStNN2GWaf0ldVFHHvFtSLeYdiPeVCwEVzsrZ9C3IhcsBacOv4VIM9lbUr X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6e4d6e1-4c3d-4b3a-ff55-08dbce5c13de X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 15:25:07.2086 (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: xVUv6+wpv1dmKPsyPhv4AiglxiNjvRZbTDv6NrIi3+RNytbQs/XKQdhc65pxtk1BADMfPxjYPGFNvogJ5zo+nw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9185 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 16 Oct 2023 08:25:17 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1779926217108710071 X-GMAIL-MSGID: 1779926217108710071 |
Series |
[1/2] dt-bindings: i3c: Fix silvaco,i3c-master compatible string
|
|
Commit Message
Frank Li
Oct. 16, 2023, 3:24 p.m. UTC
In driver, compatible string is silvaco,i3c-master instead of
silvaco,i3c-master-v1.
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: > In driver, compatible string is silvaco,i3c-master instead of > silvaco,i3c-master-v1. And what makes the driver right & the binding wrong? AFAICT, this is an IP sold by silvaco & the -v1 suffix was explicitly requested during review of the binding. Thanks, Conor. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > --- > Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > index 133855f11b4f..19e3f75eb45c 100644 > --- a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > +++ b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > @@ -14,7 +14,7 @@ allOf: > > properties: > compatible: > - const: silvaco,i3c-master-v1 > + const: silvaco,i3c-master > > reg: > maxItems: 1 > @@ -49,7 +49,7 @@ unevaluatedProperties: false > examples: > - | > i3c-master@a0000000 { > - compatible = "silvaco,i3c-master-v1"; > + compatible = "silvaco,i3c-master"; > clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>; > clock-names = "pclk", "fast_clk", "slow_clk"; > interrupt-parent = <&gic>; > -- > 2.34.1 >
On Mon, Oct 16, 2023 at 06:30:11PM +0100, Conor Dooley wrote: > On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: > > In driver, compatible string is silvaco,i3c-master instead of > > silvaco,i3c-master-v1. > > And what makes the driver right & the binding wrong? AFAICT, this is an > IP sold by silvaco & the -v1 suffix was explicitly requested during > review of the binding. The driver existed for the long time. DTS files already use silvaco,i3c-master. There are two options, one change doc, the other change dts and drivers. I think change doc is easiest ways. If there are v2 in future, we can added silvaco,i3c-master-v2 in future. If everyone prefer change drivers and dts, I can work on new patch. Just break back compatiblity. Frank > > Thanks, > Conor. > > > > > Signed-off-by: Frank Li <Frank.Li@nxp.com> > > --- > > Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > > index 133855f11b4f..19e3f75eb45c 100644 > > --- a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > > +++ b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml > > @@ -14,7 +14,7 @@ allOf: > > > > properties: > > compatible: > > - const: silvaco,i3c-master-v1 > > + const: silvaco,i3c-master > > > > reg: > > maxItems: 1 > > @@ -49,7 +49,7 @@ unevaluatedProperties: false > > examples: > > - | > > i3c-master@a0000000 { > > - compatible = "silvaco,i3c-master-v1"; > > + compatible = "silvaco,i3c-master"; > > clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>; > > clock-names = "pclk", "fast_clk", "slow_clk"; > > interrupt-parent = <&gic>; > > -- > > 2.34.1 > >
On 16/10/2023 21:32, Frank Li wrote: > On Mon, Oct 16, 2023 at 06:30:11PM +0100, Conor Dooley wrote: >> On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: >>> In driver, compatible string is silvaco,i3c-master instead of >>> silvaco,i3c-master-v1. >> >> And what makes the driver right & the binding wrong? AFAICT, this is an >> IP sold by silvaco & the -v1 suffix was explicitly requested during >> review of the binding. > > The driver existed for the long time. DTS files already use > silvaco,i3c-master. > > There are two options, one change doc, the other change dts and drivers. > I think change doc is easiest ways. > > If there are v2 in future, we can added silvaco,i3c-master-v2 in future. > > If everyone prefer change drivers and dts, I can work on new patch. Just > break back compatiblity. No, because Rob explicitly pointed out too generic name. https://lore.kernel.org/all/20210111200821.GA2978830@robh.at.kernel.org/ Is it some way to avoid implementing feedback or how does it work? Best regards, Krzysztof
On Mon, Oct 16, 2023 at 09:57:18PM +0200, Krzysztof Kozlowski wrote: > On 16/10/2023 21:32, Frank Li wrote: > > On Mon, Oct 16, 2023 at 06:30:11PM +0100, Conor Dooley wrote: > >> On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: > >>> In driver, compatible string is silvaco,i3c-master instead of > >>> silvaco,i3c-master-v1. > >> > >> And what makes the driver right & the binding wrong? AFAICT, this is an > >> IP sold by silvaco & the -v1 suffix was explicitly requested during > >> review of the binding. > > > > The driver existed for the long time. DTS files already use > > silvaco,i3c-master. > > > > There are two options, one change doc, the other change dts and drivers. > > I think change doc is easiest ways. > > > > If there are v2 in future, we can added silvaco,i3c-master-v2 in future. > > > > If everyone prefer change drivers and dts, I can work on new patch. Just > > break back compatiblity. > > No, because Rob explicitly pointed out too generic name. > https://lore.kernel.org/all/20210111200821.GA2978830@robh.at.kernel.org/ > > Is it some way to avoid implementing feedback or how does it work? Downstream use silvaco,i3c-master to match driver. Anyways, miss match happened. option 1: fix doc option 2: fix driver and dts what do you perfer? > > Best regards, > Krzysztof >
On 16/10/2023 22:10, Frank Li wrote: > On Mon, Oct 16, 2023 at 09:57:18PM +0200, Krzysztof Kozlowski wrote: >> On 16/10/2023 21:32, Frank Li wrote: >>> On Mon, Oct 16, 2023 at 06:30:11PM +0100, Conor Dooley wrote: >>>> On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: >>>>> In driver, compatible string is silvaco,i3c-master instead of >>>>> silvaco,i3c-master-v1. >>>> >>>> And what makes the driver right & the binding wrong? AFAICT, this is an >>>> IP sold by silvaco & the -v1 suffix was explicitly requested during >>>> review of the binding. >>> >>> The driver existed for the long time. DTS files already use >>> silvaco,i3c-master. >>> >>> There are two options, one change doc, the other change dts and drivers. >>> I think change doc is easiest ways. >>> >>> If there are v2 in future, we can added silvaco,i3c-master-v2 in future. >>> >>> If everyone prefer change drivers and dts, I can work on new patch. Just >>> break back compatiblity. >> >> No, because Rob explicitly pointed out too generic name. >> https://lore.kernel.org/all/20210111200821.GA2978830@robh.at.kernel.org/ >> >> Is it some way to avoid implementing feedback or how does it work? > > Downstream use silvaco,i3c-master to match driver. Anyways, miss match Too bad for downstream. > happened. > > option 1: fix doc > option 2: fix driver and dts > > what do you perfer? Fix driver and dts, keep existing compatible as deprecated. Best regards, Krzysztof
Hi Krzysztof, krzysztof.kozlowski@linaro.org wrote on Mon, 16 Oct 2023 22:43:28 +0200: > On 16/10/2023 22:10, Frank Li wrote: > > On Mon, Oct 16, 2023 at 09:57:18PM +0200, Krzysztof Kozlowski wrote: > >> On 16/10/2023 21:32, Frank Li wrote: > >>> On Mon, Oct 16, 2023 at 06:30:11PM +0100, Conor Dooley wrote: > >>>> On Mon, Oct 16, 2023 at 11:24:49AM -0400, Frank Li wrote: > >>>>> In driver, compatible string is silvaco,i3c-master instead of > >>>>> silvaco,i3c-master-v1. > >>>> > >>>> And what makes the driver right & the binding wrong? AFAICT, this is an > >>>> IP sold by silvaco & the -v1 suffix was explicitly requested during > >>>> review of the binding. > >>> > >>> The driver existed for the long time. DTS files already use > >>> silvaco,i3c-master. > >>> > >>> There are two options, one change doc, the other change dts and drivers. > >>> I think change doc is easiest ways. > >>> > >>> If there are v2 in future, we can added silvaco,i3c-master-v2 in future. > >>> > >>> If everyone prefer change drivers and dts, I can work on new patch. Just > >>> break back compatiblity. > >> > >> No, because Rob explicitly pointed out too generic name. > >> https://lore.kernel.org/all/20210111200821.GA2978830@robh.at.kernel.org/ > >> > >> Is it some way to avoid implementing feedback or how does it work? Not at all, it's my (faithful) fault, I did update the bindings upon Rob request and apparently kept the previous string in the driver. After thinking again I would drop silvaco,i3c-master entirely from the driver, it was never intended to keep it. Thanks, Miquèl
diff --git a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml index 133855f11b4f..19e3f75eb45c 100644 --- a/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml +++ b/Documentation/devicetree/bindings/i3c/silvaco,i3c-master.yaml @@ -14,7 +14,7 @@ allOf: properties: compatible: - const: silvaco,i3c-master-v1 + const: silvaco,i3c-master reg: maxItems: 1 @@ -49,7 +49,7 @@ unevaluatedProperties: false examples: - | i3c-master@a0000000 { - compatible = "silvaco,i3c-master-v1"; + compatible = "silvaco,i3c-master"; clocks = <&zynqmp_clk 71>, <&fclk>, <&sclk>; clock-names = "pclk", "fast_clk", "slow_clk"; interrupt-parent = <&gic>;