Message ID | 20231016211854.2901427-1-Frank.Li@nxp.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show
Return-Path: <linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 95F17CDB465 for <linux-i3c@archiver.kernel.org>; Mon, 16 Oct 2023 21:19:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=44YDX/C8oKXRagM1JcdtzXoOt/G5w/6n9XQy0VlRneM=; b=bVw+uNAwNw37RK LSYBcYwtvQ5TaWGsOn+Ha3rvdKrJujn/md+VfhsNN3Yued4xkvAB9vh4gTIAK+YbKOKzMWm+A6kBK DXcX7Niqtgvmjq8Ap7fnotgFfXIMqi2T87M2N/sdb/KhRX85JTQ8rT7D8K2RvqDzCbnR6bcAYZmbZ br1L1MRdceqeniWcbeNjmz+8yZM+PFmOtvy43N7Wh3i5hXaLAJbyMSTLMn0hAqJW8zOY+jVoErptX 3eZ4hrr9TlIlSJ1GTvkWCLNXOm1eh53qLwdfB0USFBOVe4eUZEFIysHCUMffp8LDz7gMnCf5tJ68v 8C3A7UaW7wzoRGnbr3cA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qsUzm-00AZ6H-2e; Mon, 16 Oct 2023 21:19:26 +0000 Received: from mail-vi1eur05on20617.outbound.protection.outlook.com ([2a01:111:f400:7d00::617] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qsUzk-00AZ52-0H; Mon, 16 Oct 2023 21:19:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lqLGBvK4OCFt3lLsYIgVuqGUgJTWIqweqf/AYmqWywz3lUY5tn60wHey1jpiucobRkaD0Y5GCCqx+Bb1I2tLWX8osDKHkhxE65TqRwWUEyN3/1nIf/cDG4pR/CMFMj2wKr60vv+4YBQtsmkweTfXCRB2TbFWbusr0jqemfIyrtgBj/amfBLY6YbRnrReVXUYrCdPQ6tX2WGJulQqfminZ0F2Bpvi3brocOdQdAy/CQVvRtp9nSn47hIJxyn5ebpBuXW/5GE/deh8Ug9yanku1Ek2rPJY5dC9o/mscn6c8SnVvviMcUIDqENkG+Z8r2ns56nAWE42wC2Wqhg3MC0Daw== 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=FGLg85lrmJAK1G9LTYz64lUcqVLxFXWlm5K8jHJaC6U=; b=EIuJbssJjg6NcfQ5jnwNPk51eREZxLFfpPkp59aTpmS1I0ZVb2LMt16RUH6slyLurjyNtIeQuJ0gNTirCkSHWdr2KlmRV/80QlxqmwYgQ1hzs/n0QtgdMDOqs1CAvuWYYZrPgSwJarBFZ8tlrKDBtTi25GUtuvlya5yTxEMm/jzcJzGtFDd74KvAl6bp/EE+1vPh/JuUrBu+Me81qlcyopN2E5N+MqsO2gGEBg4/vzS1wm2dZYJJVL7p+Jal65gV7lpDEg3UJLflZTkmWbzzrmc6zfeCcsKzip6pktZS0jcMSyjSQj82WS8Qh8+sAAqar3f2sKqCXeo7ID70/nM/8w== 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=FGLg85lrmJAK1G9LTYz64lUcqVLxFXWlm5K8jHJaC6U=; b=MDmoDBuytY2pcdfr40uPEBciGyae7eDlZYrARZf2hob9T/LA5EGKF/Dbr4a3sDB/PpFjXdIT6yYQcGQw1lptp7jtmuTr2n/+8+GAFIXCUIEQjCIjJ+skJvjCRTIrMY+E4fqExToKQrRs6muUd9PuDGsUIerOE9OghHPbGNBvo5o= 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 PR3PR04MB7417.eurprd04.prod.outlook.com (2603:10a6:102:8e::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6886.36; Mon, 16 Oct 2023 21:19:10 +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 21:19:09 +0000 From: Frank Li <Frank.Li@nxp.com> To: krzysztof.kozlowski@linaro.org Cc: Frank.li@nxp.com, alexander.stein@ew.tq-group.com, alexandre.belloni@bootlin.com, conor+dt@kernel.org, conor.culhane@silvaco.com, conor@kernel.org, devicetree@vger.kernel.org, festevam@gmail.com, haibo.chen@nxp.com, imx@lists.linux.dev, joe@perches.com, kernel@pengutronix.de, krzysztof.kozlowski+dt@linaro.org, linux-arm-kernel@lists.infradead.org, linux-i3c@lists.infradead.org, linux-imx@nxp.com, linux-kernel@vger.kernel.org, miquel.raynal@bootlin.com, peng.fan@nxp.com, ping.bai@nxp.com, robh+dt@kernel.org, s.hauer@pengutronix.de, shawnguo@kernel.org, sherry.sun@nxp.com, xiaoning.wang@nxp.com Subject: [PATCH 1/2] i3c: master: svc: fix compatibility string mismatch with binding doc Date: Mon, 16 Oct 2023 17:18:53 -0400 Message-Id: <20231016211854.2901427-1-Frank.Li@nxp.com> X-Mailer: git-send-email 2.34.1 X-ClientProxiedBy: PH8PR20CA0019.namprd20.prod.outlook.com (2603:10b6:510:23c::25) To AM6PR04MB4838.eurprd04.prod.outlook.com (2603:10a6:20b:4::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB4838:EE_|PR3PR04MB7417:EE_ X-MS-Office365-Filtering-Correlation-Id: 67b74a61-a64f-4acb-1c2a-08dbce8d88b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wgsnpfh1fQ+bo4fyS6SEMr+5aEhn0Tt4SVcySAkcpE7/lztbICLKkCKvtHkrNDEA6cqd+2D5xZLw2o/vc8OKV57fTtOBQ0XIIzI3bqKModzCcbzodc8WLqxPBxvn9zOona1t1/+lTMNSk/K5Segz7euHeJuND/eiF6a0g32CUm5LJ/pKQfcXwwF8XaivO9NSHPtmzYXCWHhH2dz9z1eMCuMA7cl0fj172LgEqrEj/8SZ+5RsOntndAzialI/JZIMqop+BTOC/VoNWQRi0K+05jUI5CHfGzRnGK+WKsJuXMdDmJAVoVnfEzjxXx4J7zu/MTOChIRlpgz2Ng+q2+joYKbRq2drKYYVtUSQPEmuaEFvIDHubKXf21NMeFErStINVHuHga1ERXNXycNmH+TbGf5Pk2Uelsva0xqmUgaYSby4V57fogEgta6jHMgID7z0pr+TMrK5tvjpjL/PKuwW8svZx/2c3N7LPRJWwpaiZhCQbzK1Cbv+8rk8mSxMfRlYkQL+o+ILyXhJFIXyJZTxcpQXz2AvCCovYiY3bYtWp6K+C4e/X8a9kgT3g05eqlFDlWv1sDrt95r91m4Lup7Brsnc8OTs5RxCbRHgX+cRVs8rm/aCryk50zDOEHnM83O2 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)(366004)(39860400002)(376002)(136003)(346002)(396003)(230922051799003)(186009)(1800799009)(64100799003)(451199024)(38350700005)(52116002)(26005)(2616005)(1076003)(86362001)(38100700002)(36756003)(83380400001)(7416002)(4326008)(2906002)(6512007)(6506007)(6666004)(478600001)(316002)(41300700001)(6916009)(5660300002)(8936002)(6486002)(8676002)(66476007)(66946007)(66556008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: tbzV8AqaFpMiD7apdC1X2NDjuEX0F39Dpr+oVWSO2KkLtmewNMTT7jATnd+UYT3ojqmZrCXo/bxRMOm/RzBY0Ph1pIqJ6GkFF91aHRWrM9DT8/pwy0JvCL0/v+6Ee+i/7mpu/IU/mkkPMflRXVMeey3ULcXw5mR8lB9HquyA9xFAUmBFy9XgIev3nwy2ZBF6xJXwXUKzmZIqjllgO4zgxuKie71e1z7zZbupmPXZE1/lL48bQ2XooYe6KneyY8mRKDPheZ/NK8yam4uKK8oJ29Auhoi5kDsfEgmS4c7dezgGTDJuEEZpI9Eq9NQaUP4QprnQISuw1nz/EvjKsyom46r7spWrDXLhgkIB/cbA3D5ehauID/oJifb2Dp2eLI+oiTjW8fVMv5uyIRYIOcGPZgrnxZxyE0bcRofuphyMv4HrHJCaL9V36hXWGrC9/VBQB5KOi4LHPRjNaqCdbLM9XDUcTq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56iWhpToPI3ea0NCPbkXJCWKgt1LpsfzgpE5sScl/v X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67b74a61-a64f-4acb-1c2a-08dbce8d88b0 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4838.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Oct 2023 21:19:09.6873 (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: pU4lZf2jOFYcq/Pr3iFgKxZJXZ+ulT+dVx8puJJmtdtteuM45gGNgk8ilm1lZizBgBDs39p7T06OaqCPjZLZMw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR04MB7417 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231016_141924_133208_B8E855F7 X-CRM114-Status: GOOD ( 11.50 ) X-BeenThere: linux-i3c@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-i3c.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-i3c>, <mailto:linux-i3c-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-i3c/> List-Post: <mailto:linux-i3c@lists.infradead.org> List-Help: <mailto:linux-i3c-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-i3c>, <mailto:linux-i3c-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-i3c" <linux-i3c-bounces@lists.infradead.org> Errors-To: linux-i3c-bounces+linux-i3c=archiver.kernel.org@lists.infradead.org |
Series |
[1/2] i3c: master: svc: fix compatibility string mismatch with binding doc
|
expand
|
Hi Frank, Frank.Li@nxp.com wrote on Mon, 16 Oct 2023 17:18:53 -0400: > In the binding documentation, the compatible string is specified as > 'silvaco,i3c-master-v1', but in the driver, it is defined as > 'silvaco,i3c-master'. > > Add 'silvaco,i3c-master-v1' to the driver and deprecates > 'silvaco,i3c-master' to ensure compatibility with the documentation. > > Signed-off-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> Thanks, Miquèl
diff --git a/drivers/i3c/master/svc-i3c-master.c b/drivers/i3c/master/svc-i3c-master.c index cf932ee056ef..4c74b11b13c6 100644 --- a/drivers/i3c/master/svc-i3c-master.c +++ b/drivers/i3c/master/svc-i3c-master.c @@ -1650,7 +1650,8 @@ static const struct dev_pm_ops svc_i3c_pm_ops = { }; static const struct of_device_id svc_i3c_master_of_match_tbl[] = { - { .compatible = "silvaco,i3c-master" }, + { .compatible = "silvaco,i3c-master" }, /* deprecated */ + { .compatible = "silvaco,i3c-master-v1"}, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, svc_i3c_master_of_match_tbl);
In the binding documentation, the compatible string is specified as 'silvaco,i3c-master-v1', but in the driver, it is defined as 'silvaco,i3c-master'. Add 'silvaco,i3c-master-v1' to the driver and deprecates 'silvaco,i3c-master' to ensure compatibility with the documentation. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Notes: Change from v1 to v2 - update driver by using compatible string silvaco,i3c-master-v1 drivers/i3c/master/svc-i3c-master.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)