Message ID | 20241021-i3c_dts_assign-v8-0-4098b8bde01e@nxp.com (mailing list archive) |
---|---|
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 C6AD4D15DB5 for <linux-i3c@archiver.kernel.org>; Mon, 21 Oct 2024 15:52:24 +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:Cc:To:Message-Id:Date: Subject: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=Hzi/6ixB+rc8WPmnZMM2mQ8/pXCbi7U9HgXpZjmpAa8=; b=K9WXtRqzsPzSRs trF/TPnPcwt5WbQagSIOk0aGymk2bK/OTeVqhXWxRsxNLUCl8lPW9cgMEPdiZ7NT8g9DoerMpRTJD m2gfdRVY42wUrDI1+ZNM2M45gSD62TejMCX4iZRW+UkV4Se3/SO1X/4WCyvxg0kyuEmo05yiDorhK 50AnTO40bYLN32UD+RuShdWaLqdqvXWa4BL+ODygZ+oMzZtmECgI9WcAar7MyZBJddoSwwnNa+xgR m8LZLMyZcahM2Xmuulz2FnyO1Bio+QGBzNP1Fybdge57jbvpkq+9+JPx8yV05PdobsS/F9z7Ya/b+ gxiNhZmKLgp6i1dHRAFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2uhk-00000007rtA-0Qww; Mon, 21 Oct 2024 15:52:24 +0000 Received: from mail-vi1eur05on2043.outbound.protection.outlook.com ([40.107.21.43] helo=EUR05-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2ub3-00000007qMr-44GL for linux-i3c@lists.infradead.org; Mon, 21 Oct 2024 15:45:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=vOBMPRyXcvPA95BvoPzmWkMSybeV7g7sl53oudcm0I1viztl4jQRoglTCB7Qwj0M+S0+DsgVOukawmFWIPwFyrIjf1V0aZIs3x785r3SA1tM8yS9RD2M3kKWEQfKLHAfHku7ayT9GuvrkTohy/E7yUvFCC8RpeOzW8n9FsJmNB9m17TkSRcuVShgJd25yISyeahGCe7IdM1Kd3RTPYc1UsqZNUk6n9AZeUnsfcqnZitKd5bjSn0Euyim1kAdjT8EklnFjq3QWdmDTxBAvLj8lhEnelbcrw6QAWXLsCa9FmsCgvnIzlO8HEn31T0j871dF1SvE6cyzZoQ8xY7kINRXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=u0YmqAjB45Meq1Bdun7KenPvmCCRCnUuYZU6Wf1cSQg=; b=mml+tMVZAWS/323rxiKSfMk/WY1Xm/oM7u0l9NndsXG1XZaFSODuQ1Pj30bMAkszefXfjh1uLq8LyIwo55kg5t8gDTPj1VCytk4sDGsXxp1dyqn3FG5W1DcDHgYlZaFe0DKVCl+EaouOxHXMs//u/NGMXzc3KPsoFvsWCS6QtrJB5ZHjIC6hiTXmFfMYoWYoHTBcBvcQjohYnZblX0Qwe3WqgMihcKRHgHhfrhu9rNsbQ/pObiOMTdlBp6jEg7gZJAiBb4RF37CH7FMKfgS19MD/L71xRAXl39Th3dKFhnB3ATs8JQy/TFIE4dwSECk6KWmwJ8CkhwhFsFsiDCTdzQ== 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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=u0YmqAjB45Meq1Bdun7KenPvmCCRCnUuYZU6Wf1cSQg=; b=i++H4DptPbqbvkPAPMXcTgMe19ArxpwJIKQ3WkmePkpKh0AeXeRu1xPQGVSfL0PvbqJkzdfxt9z9vI5UNmyYPEvhV8dOM9m5h2ekz7wkVxuYJOURMWGhmwcjU7F2IuEz7pJqc8GE28vn82mnMI2ukdVnnkKhT1qnIqgAWVyaUHFrMDybeRnO5bRN+RYt2flKdJcjUJ0VwNV0s9/HK3cDIvIYq/onIcUJNgVlfXnyFIG4Hhi6CTb2N9WAvOoAOFFEwYm0xd0clqzmbYc8KhEED1JbUtj4Nys7OpOFxSQYqzAHS4BMo0Uw9mOZar9yK33ETVfyqOruFNnTQuEAgPzaTg== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from DB9PR04MB9626.eurprd04.prod.outlook.com (2603:10a6:10:309::18) by PAXPR04MB9058.eurprd04.prod.outlook.com (2603:10a6:102:231::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.18; Mon, 21 Oct 2024 15:45:22 +0000 Received: from DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d]) by DB9PR04MB9626.eurprd04.prod.outlook.com ([fe80::e81:b393:ebc5:bc3d%3]) with mapi id 15.20.8069.018; Mon, 21 Oct 2024 15:45:22 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v8 0/3] I3C: master: fix the address assign issue if assign-address is exist in dts Date: Mon, 21 Oct 2024 11:45:05 -0400 Message-Id: <20241021-i3c_dts_assign-v8-0-4098b8bde01e@nxp.com> X-B4-Tracking: v=1; b=H4sIAAJ3FmcC/3XMQQqDMBCF4atI1k1xEo3aVe9RisTJqFlUJRGxi HdvdFOLdPkefP/CPDlLnt2ihTmarLd9F0Z+iRi2umuIWxM2E7FIII6BW4mlGX2pvbdNx42CtEY pEcGwgAZHtZ334OMZdmv92Lv33p9ge/+mJuAxV5XOpUFIqcrv3TxcsX+xLTSpI5YnrAImTSJVB RYC9S/Ojjg/4SzgQhEW0kAtE/zidV0/1eaqTiQBAAA= To: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, bbrezillon@kernel.org, boris.brezillon@collabora.com, conor.culhane@silvaco.com, gregkh@linuxfoundation.org, imx@lists.linux.dev, miquel.raynal@bootlin.com, pthombar@cadence.com, ravindra.yashvant.shinde@nxp.com, Frank Li <Frank.Li@nxp.com>, stable@kernel.org X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1729525518; l=3102; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=esXoixZSpbzjIDEWvvmytuS3RtOIyX8qdTSsowQdX4w=; b=/8yCUkyCLfQDkIgg8Pg4ZoHTZkMwsEVQCReSV2S82ciD8A0Ii6Mg5bfmkfJGoW94vYxXFAm1f Q+UaMYVXeUaCfoNlpg4Ggs6eBdwam9peppd2SVi7kT71x0RL9aCqjZ8 X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BYAPR08CA0006.namprd08.prod.outlook.com (2603:10b6:a03:100::19) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB9PR04MB9626:EE_|PAXPR04MB9058:EE_ X-MS-Office365-Filtering-Correlation-Id: 73c9e608-0d5c-4525-6298-08dcf1e75f6e X-LD-Processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|366016|7416014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?MsXiQ+qCOcHt9gLIbo9JC6s44hEnpH0?= =?utf-8?q?7we7umn+oRlvYb8BQdZTwds3LSUpCGLFpmKaXY+dXg0pR9Tj7UqM7czT5Dy79tE2c?= =?utf-8?q?rCHmqJzVkN+fW5y3Zn/N2hZi5fU7GYY0/BzxGvk1u8GPfpdUeko5MKhKRv1H9lrQb?= =?utf-8?q?ePbSuETVlnu+zyTXbX/QgQSj2uWgLocGiHUE9/F5AS+iqOJcMF933tUCbbusgvBxM?= =?utf-8?q?w9t75jotR9oi2Cl291Bn/EGhyiIUHQG14805BCp3GrMrZ8WCny3cZQEa9BFmk6j5V?= =?utf-8?q?xMNZzVC6rVeb+1m/gYav0jdhhE3MMm83isGe2oGvF1HzZ9Gm7769tGnk9rSUS3LbO?= =?utf-8?q?MQGFt3hkRY7T7osNT/AfSGds5NYQtzUDIWIy11t9RY5BryW5KK2hCtk1daY1SdJiR?= =?utf-8?q?B1epeHVIqVg3K1JvPytQTtAK313sWfG2s9CmO2aWiFK6CnWPDK/TNchc21Gfh+sOm?= =?utf-8?q?maVV1thySrqF0Hg8VUrBGfS1598P7S010RgmXIwnBkIb3ce8VoxYVPC+hUNesXhE6?= =?utf-8?q?d1hpUxqj4KVNsU0IKzXIqWo0LLP/Ukp9DZhbmfc6ieEHRI0qsk4doRs5yjBASGdUu?= =?utf-8?q?yq+qV7xpvOBnwoBB6lXixLonFVHWdpHTPqz9W1zqzXeagMZdMIb9eXEyJzampoz5h?= =?utf-8?q?PeGe/WbHM52T9RZMrIrhiYxl5TLFID6+l6UnW35U+508p151OXuM2BSjx9Njb57Dn?= =?utf-8?q?DmxXPymODNkDrl6WzSYQDk6p6YYl3JNiZ45uLdIaJKTm66MGLw9HOfYbx48/eH3w9?= =?utf-8?q?vrIsONSFj1t/ShtKJZ2qlTUsYxb9L/6DxqCS6Q/ZsUPSLA4adfto7P4wn1TQVkOFL?= =?utf-8?q?cYyNbeVXxalmFQ9dj5bLEQml7zkoaJphfqxyouGQQDabc/9NVJJst+YzpTifvQrHm?= =?utf-8?q?LRME2wcMrG6HmuZODShoZoiPFUSdYDe6A4u7lfv1xJTEKv/+wmO8h4ngXaq0KPH1n?= =?utf-8?q?jro2awLxh0smzmv/zUttcieMS1QqDe0PErAF3r7A5DCsMhXPLgQKY1Tkx3zd2fp0y?= =?utf-8?q?P6aQWVuYVNEcO9Z9ww/tEK/CPQD6CMuIwOfZx3t2kJUgvVLLFw7pTXcsGyr1sZIpc?= =?utf-8?q?9wuGAJOIfMKL16YsXbU6GtGSNSEip85phcxMcqaYoKFoiCWH75PEPmEpopFWld89i?= =?utf-8?q?Jm14o3bDoxTrogerZ3uQkZrLER6ZHbI7YpD2p8x3BxiiAMzlUKLVctu9hU620Qcea?= =?utf-8?q?nndATvvV0bnhDOM40qEcAJOKmmUl1bXo2zZnSfABSk4zSYavhwwm4hbKb+crZ9owB?= =?utf-8?q?S5ovh1TykJa6kSJTKkNT+V0WZcekhBOZHbv3pMW+11YemVSNnoAdoyYhbvx2RdOyZ?= =?utf-8?q?x33dhA8o9Kfq?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR04MB9626.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(366016)(7416014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?meanurpU8pMDRdhishZUuZTDSq09?= =?utf-8?q?xQ/jal2izzPMtiyylCNcIE3InWTTwJ5FOyXQgPznOinsiBJGTi1e2BdSKZm5FlZpE?= =?utf-8?q?UAxpF6hGOuvuw7bRS6dVWNjPPXs+wMzBGFV5Ok/HV9BGJE5yKgbfgdifn16z2zX2j?= =?utf-8?q?Zn2OB3kUbgD/YYFAfwt9BmFc0q8pehyEKkCxbKSxWpdE6pxJ1QaGSdDz4o1fQbwIE?= =?utf-8?q?3R1T0dh09GNP+EtIfR1tPeg2hRkBS/aVOS1JXMfxdomXuRB9Ye4D4WHXa6LfQI0dF?= =?utf-8?q?IaQOGODYq3C95qoDTk2WT8r0CI4ngqvk8/GryzfUsypcE3W8DkJpLAs4fHLUzvun4?= =?utf-8?q?88wTVrRnXGTATEodSyACDnwegSCs2H9enkUszZnNsVUJHd5njJFh1nHn7g9WQ4v/3?= =?utf-8?q?RWTtuXeGNjeJ56b2wdQdXCEfjC7+Hl9HtKqk1ahNHhYtXQhjL83kQqjSvqSnbS8gl?= =?utf-8?q?zORyIQgFO07qcfUa5KwZVUWKLTyytkH9mkpH8TsO7z7ikIpAxX+oEvND0SeJ64Qq6?= =?utf-8?q?EkkoVrMw4tm4Y5TJDRrwpSCWPRsUsRQ9e3suN4ekdWQkcs2CGWS9/nYer1xuN5I/G?= =?utf-8?q?mwb1Ya2lp4gWUpGtgUZuXDZzboDdrOL3qNcVk/JPzHjFaivabnp8+C0w0Ov4IO3cu?= =?utf-8?q?YPmJJdeZROur8/kt/5X/R1knzRQqvoFPIU9fHVfLWyy/AC/l2Os9arKQG6KbnpdIy?= =?utf-8?q?vWNu/Py6rdj9rkrMoaBbVTl/XUZlHmO59lVUrxt4BDyDSsLWXmZRY8TnPPJXFC082?= =?utf-8?q?l7kDdloWVOWbHfoZHK/k+xlqf6ysm1HdUie6rfeAizzKno/sYGHL6t06aQ1DA93DC?= =?utf-8?q?LhT/2LRE29GwSfz+S74ZaxeAl/yaLbMjNMoSqfAHnba0pnObPeeVohEhYMdruPG/d?= =?utf-8?q?E0avuQWuRRLiILWirLMTPM8ZquFY2uoVvBd1n+JBtafcSMQhjLb1XVgYAn/p24+uO?= =?utf-8?q?E0mddxy7mHFuKyomv+tYhYd3pCuSN6e1fK/E9kbn+D4CSlOAVa/CF58MsYBa2cqwL?= =?utf-8?q?Kr3cPwT8XoN/dXDdripAmR4cqSfWhA8zBxJlI6AsXR0W/IqhiAtHMGt59jcwfN/qV?= =?utf-8?q?bXCqEboOxbF6x2Mcl//3CJQqjjS6giABpmksbPAddyozEFnxndEB4GqNlgwq8wm5K?= =?utf-8?q?Gn8pfgYDi/wtQDKiwMUkQI/cOWbcdYNqd9bP9r9/zMozbAp2CCCZiuHrUuFZoUQAj?= =?utf-8?q?nPCbUB9+ykJ2EeNEx5ACh6ZZJE5HsJ6DjUT+njYyr7Z2x/v2FiX8/v5RTqAWtpc/W?= =?utf-8?q?nkQo4n9QO4OlXPs1p4hZJX58ArYMtd/UuhU/Q7M8xqybSjzvF7aHbmM1xWxIGS6Wl?= =?utf-8?q?EoQe6yhDDP3buBKQr2d0VtSIV9icAHAQ3QQyXigfwraMdF6aenokh5GHEOQ8tPP/G?= =?utf-8?q?MIXTzVlML/I9iObUhHvwyKozWCtK5qK9mtfbbjMdfiQfY6OLz+GQlOSak/uKwLVgt?= =?utf-8?q?fniOqIdgtQH7l82pZl4i+Y1ig2ZP6TWI7qukm6Vs2Rz9S4M4YPN+qhIUbL/TzJVFV?= =?utf-8?q?ueJwdtVzl6V1?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73c9e608-0d5c-4525-6298-08dcf1e75f6e X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Oct 2024 15:45:22.5371 (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: hMI2KXeJbNdU9L1q5orkkop1im5IO0j07U9G3ve3d7BWa74HSB52DO5dEMxQFlfv7WVp6NK/Rprjxom/bCW0YA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9058 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_084530_050809_F76AE935 X-CRM114-Status: GOOD ( 11.56 ) 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 |
I3C: master: fix the address assign issue if assign-address is exist in dts
|
expand
|
On Mon, 21 Oct 2024 11:45:05 -0400, Frank Li wrote: > These patches are split from > https://lore.kernel.org/linux-i3c/ZvrAuOBLgi+HtrPD@lizhi-Precision-Tower-5810/#R > > There are discussion on > https://lore.kernel.org/linux-i3c/20240819-i3c_fix-v3-0-7d69f7b0a05e@nxp.com/T/#m16fa9bb875b0ae9d37c5f6e91f90e375551c6366 > > Basic back ground is > The current framework is > 1. get free i3c dynamic address > 2. if found dt have assign-address for such device (identify by PID), > change to such address. > > [...] Applied, thanks! [1/3] i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS https://git.kernel.org/abelloni/c/16aed0a6520b [2/3] i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED https://git.kernel.org/abelloni/c/2f552fa28059 [3/3] i3c: master: Fix dynamic address leak when 'assigned-address' is present https://git.kernel.org/abelloni/c/851bd21cdb55 Best regards,
These patches are split from https://lore.kernel.org/linux-i3c/ZvrAuOBLgi+HtrPD@lizhi-Precision-Tower-5810/#R There are discussion on https://lore.kernel.org/linux-i3c/20240819-i3c_fix-v3-0-7d69f7b0a05e@nxp.com/T/#m16fa9bb875b0ae9d37c5f6e91f90e375551c6366 Basic back ground is The current framework is 1. get free i3c dynamic address 2. if found dt have assign-address for such device (identify by PID), change to such address. There are problem in current implement. If device A have assign-address 0xa, device B have assign-address 0xB, which described at dts file. If device A is not ready during i3c probe, and device B hotjoin happen, 0xA will assign to device B, so if device A hotjoin later, address 0xA Can't assign to A because B already use it. Mirquel's opinion is return address B when B hotjoin by scan dts by PID. The issue is the controller HCI (i3C standard), I3C HCI Spec 1.2, sec 6.4.1, when do DAA, "DAA CMD and dynmatic address" queue to cmd together. We don't know PID before DAA CMD. So dynamic address can NOT get based on PID. When do DAA in HCI, it needs a dynamtic address firstly before get PID information. Consider this need more time to discuss, so split from previous big serial to avoid prevent other fix patches can't be merged into i3c tree. This patches's overall design: 1. keep current frame's work flow 2. reserver all address, which assigned in dts. 3. the device with assigned address have high priorioty to get such address. 4. if all address without assigned by dt are used, use offline devices's assigned address. To: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: linux-i3c@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: arnd@arndb.de Cc: bbrezillon@kernel.org Cc: boris.brezillon@collabora.com Cc: conor.culhane@silvaco.com Cc: gregkh@linuxfoundation.org Cc: imx@lists.linux.dev Cc: linux-i3c@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: miquel.raynal@bootlin.com Cc: pthombar@cadence.com Cc: ravindra.yashvant.shinde@nxp.com Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Changes in v8: - see each patch. - Link to v7: https://lore.kernel.org/r/20241008-i3c_dts_assign-v7-0-96ec93d1f34c@nxp.com Changes in v7: - see each patch - Link to v6: https://lore.kernel.org/r/20241003-i3c_dts_assign-v6-0-eae2569c92ca@nxp.com Changes in v2: - see each patch - Link to v1: https://lore.kernel.org/r/20241001-i3c_dts_assign-v1-0-6ba83dc15eb8@nxp.com --- Frank Li (3): i3c: master: Replace hard code 2 with macro I3C_ADDR_SLOT_STATUS_BITS i3c: master: Extend address status bit to 4 and add I3C_ADDR_SLOT_EXT_DESIRED i3c: master: Fix dynamic address leak when 'assigned-address' is present drivers/i3c/master.c | 82 +++++++++++++++++++++++++++++++++------------- include/linux/i3c/master.h | 9 +++-- 2 files changed, 67 insertions(+), 24 deletions(-) --- base-commit: 77df9e4bb2224d8ffbddec04c333a9d7965dad6c change-id: 20241001-i3c_dts_assign-d615fc33cc1d Best regards, --- Frank Li <Frank.Li@nxp.com>