Message ID | 20250129-i3c_ddr-v1-0-028a7a5d4324@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 3064EC0218D for <linux-i3c@archiver.kernel.org>; Wed, 29 Jan 2025 20:06:18 +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=A19a7Geqmv0STroAlmByTH3pSQYLAuT/ftYe1WqwM7I=; b=nV1LAoBHmsPD93 xjyQ946nJIiSB0n00wPXWNyAIH+0qMbphse/XmOQmqlgFeKuyZrbf05o2ka2SzFM6Vlf7WHZICZ4r PUVMOakYxSVo23gS7VQA/5/6JWkKl6cg15McGh4mRAdmEHRpcAdqH6sEjbb1fxdyVZx6lzSpmgVlh 7xoMjaE/+Dps67V3y7KHPD4F62AUgXUWgB2eJoFBXTHx1GBUJjwkImuu/nHrrKAiQP31oXbpG14cW NhOYV0z/0d7TYjIe7yPf3oPy4JJ0gu4uLV2C5YuOkwjzqwEvHkDEy4janTmyL7AWCnj/XNO08SWFl Dwln84TiRVq9sd3uG7og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tdEKH-00000007jne-3Wbt; Wed, 29 Jan 2025 20:06:17 +0000 Received: from mail-westeuropeazlp170100000.outbound.protection.outlook.com ([2a01:111:f403:c201::] helo=AM0PR83CU005.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tdEKD-00000007jml-439D for linux-i3c@lists.infradead.org; Wed, 29 Jan 2025 20:06:15 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=iIZ472GqFwyFHx/0InrhfhEO1L6gO9RrdlKGX7uJNqHdaGPF1EoPNwQG6rGFIYCZWTXR3eb8DJuVznAub5YpQK11fEeda5el7LILYGilShxMCzKCEjs0EZFaOY5FRwh5GR0h4PembcuVjRpeFeHkKeZ1DHz9FpnqfpKQNt3Kao/jC9Fi8fK+mtRP5kD0IoSV/SFYlIMeBvq4hOnMyfJPqunCqzMylL6vz2As/LSF/47GB6mmDRbAgTJ1hc8MqEZ028wUoznwwwsiAP+xTh87LWTkDv2/T/zzarFeNGgsF1mlMyHjWo0LcvVfVBJxcJOXXhSlsJHPgZdl2jpmFKeqZg== 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=K/6eDHuJ9m0Bv7xHBPjt6VoPLEeqtNDBre/rnDFA1Ks=; b=iw78uW+OlQDiJbDvqiEmhC3/aCVf5UPBOuP1WHwKHdUXxXFh1jRjpzFxME16Uqyc2ucfPt63BShXd3UB7eZye2vo/Yqn5+AUsarpsJutWrwTG5nbwcTJnFo2ydK//UeuPStG37oDR+17y1tICUkNw2yTQRRsriIHbfddh5oHJyb+Dn606VVe84sl6R3J89wCv8hiyWJriHbh0MZuoQdp8lJJnl1tQkVob8QwvKr7F0Lrh9CLEIEaL3X2gCTguADmZwrKtegsTp2tAcp9+xDpaUL/ibq94vrt4ffHvT5DmZN4YSiKJzAXs810dJxG9XD20w6UTnD0ZDifwAR6qKz/wg== 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=K/6eDHuJ9m0Bv7xHBPjt6VoPLEeqtNDBre/rnDFA1Ks=; b=YKnUfz8Ub2KCXRZh7cH2m3HtjsP3S1IFDTCx3GoYdgRTfcgRcQCfV9uyk96Jbd1NnNbaVeeKF7X4VkDai5V/u2Cm0kqa4Vu2pDUstUPrWMBq6ZEflVAdi2mz06/+YEtgUGQSPz1ym6ivkL+4CANkfXF72l4AD8i2N3MVkgyISYDa2nhlxUw+f0CquQQ9EOWmmvIkuF0/1307b6GLuWWyYX1an59nsPvcf7P+ejXxoTLjNEHixtq9Aso8H0u0ZCzLs2xdUFkURUXniJ8ddIybQXa7SDsT4kPiHqBeRjP4DWvEmArMHdkpcLVS73nIqaonriKb8xgODCq1Zzmv0OulNQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB8995.eurprd04.prod.outlook.com (2603:10a6:20b:42e::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8398.18; Wed, 29 Jan 2025 20:06:05 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%5]) with mapi id 15.20.8377.021; Wed, 29 Jan 2025 20:06:05 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH 0/2] i3c: Add basic HDR mode support Date: Wed, 29 Jan 2025 15:05:51 -0500 Message-Id: <20250129-i3c_ddr-v1-0-028a7a5d4324@nxp.com> X-B4-Tracking: v=1; b=H4sIAB+KmmcC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI1MDQyNL3Uzj5PiUlCLdJENTEwsLSwPD1CQLJaDqgqLUtMwKsEnRsbW1APD 63odZAAAA To: Alexandre Belloni <alexandre.belloni@bootlin.com>, Miquel Raynal <miquel.raynal@bootlin.com>, Conor Culhane <conor.culhane@silvaco.com> Cc: linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1738181163; l=1574; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=yReafC9YdUhEJkjmv1++ghMWRJCcjW4OipPuRgfMnTk=; b=pLf71peuWYlaKdNiM+mNC4WgECQ1KC41lq2gas4oZwowTMxtPUPSSJEBSzq/EPPfKohTJFFs2 hwfc7+AZDdVCb5lpfwLrv8siCWW3XNUgHDrkXahEnd+oCp4B/W0T0/q X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY5PR03CA0012.namprd03.prod.outlook.com (2603:10b6:a03:1e0::22) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB8995:EE_ X-MS-Office365-Filtering-Correlation-Id: 1a2c0a5f-9f36-43a1-8822-08dd40a05cd0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|52116014|376014|366016|7053199007|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?H+IKG0vzZ0l4X1iJUTEkyGMKW1TUvnj?= =?utf-8?q?tfl9LWHzUZ5k/VwSkLQ89GDzERk9UMxlMX82aFOd81nKn+Qtsk6ZMBtVTsdFehNLI?= =?utf-8?q?cOn5sfvWgqlMpjwRyLOcBsehZ5CmUJ2Ozae7Uwj0evavI2wCqLWpKhK2eoCC0sm5Q?= =?utf-8?q?5AVPHopDn5JdELDf3WbEdqID92ug8gETv7s33tk7V4ApMvrqPNk/YuCp6WSjSa8N6?= =?utf-8?q?UbW+GAkZ3mgjhBYI78dpTOsgwHCShimSBjNZOkl4mm7Riv03ob7eZwcUv7PeoNHKx?= =?utf-8?q?1VIEpaG3No03shlHCsJXez+wp/hBDnRznrlbTQROFdihpXLlhjsZkvxs++I5JAvC4?= =?utf-8?q?d0A2Hh/nR0wREKF+MzEXQmCKL4rhQBbwz81Wvnfu0Nyn+ICKBxLSzX6VL5hd9dD5Q?= =?utf-8?q?fcB69tGhig1YBT6fMRm3dWpzPFSJekVvvpIvznlwK4OW6lD7w66oFnJ2HxoAGUG+M?= =?utf-8?q?MJacGtNTyrOQHOZTvXUvk3bs+/TPhcwZTa0ya4hmODn2UtF5en/L6hp80OjgvW4IH?= =?utf-8?q?bct+UTEjp93uwh/6f+dsGB0fLuroIezB6DblL7S7F1H7MN77UJfb8l+yxp/1Vd6wL?= =?utf-8?q?QMFRTJJf4ieOZQBUZAEgaBo5cOTIsh6y+D8mlv6G4nKGGWZ6Goq6EzVL/PGC2VbY5?= =?utf-8?q?mMZvYz9/T5j0nfx9c/LcYKWZ2wIr/FEPGzBx+9HOPZ0De7s9tagMhEXuMXVzdye7h?= =?utf-8?q?8w+qB5N3NTqBppHQIA5QLor+52Y1OSvph2Oc6o8PBPv16mbie4vJn82EiP6ih8Xei?= =?utf-8?q?z6dLmnzY2D5Dd/Vl1Z71VL3XAyJLicBhNNDNIFd5D6hK6cJaZILCuGPnG6MvJFE5t?= =?utf-8?q?W2//YwJBmz8NA8KNwf+IWLSTeB18d21whIRTNo2lk9e5NYdezNaR+IIbrYatGKwZX?= =?utf-8?q?mPvRppsMz7DSjmcY/wWPFhA1J3sI7/9cOFh9fLoNpvuYP3khV9SPS+phw8s5JMf+Z?= =?utf-8?q?sGE9j9e+Sgl5P1PQsTL68mpYP4RFKOMQhhthL5CEo/bfbilILd/Sf5hMIXNMfllif?= =?utf-8?q?V/HB1MdPDZlcVIvcvrJ2Jz9TeiZHKRhRyLCXeshTLmSYGAb1LGkczNYq8St5P4IGN?= =?utf-8?q?YLUg8la08dQDpNrgaTN52qqyljg2zt36tLbA7r//oR4a6sY6qPbdazMnyzxroECy4?= =?utf-8?q?mKwFYETJFyLrHAoowW2dYpNtDjUdXJYCfm4Z+02mdJV4CBegnp/Bh7fURYErQOyQM?= =?utf-8?q?XOjYd69DD1VeoJ39s6CAPd7DJZXB+kefvD6nm4uZi0z0P6UycCTqRyWugTKJs2bUS?= =?utf-8?q?RMAFgRzgW7SFoiJzpXCdg59BOM+BSMHJsGRsHm+6w7qjq/xDRqpsILEeSaEWUmjHR?= =?utf-8?q?3zhJkp/IVCwHSxjFPSaRKIT8QkrFncJZXej6KzqiGniuui3O1FYxm2Ol6NO3ChuYC?= =?utf-8?q?Ryp3Ebx8onm?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(52116014)(376014)(366016)(7053199007)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?lBD5/9FOtgcN4OmfhZYZo0bXkRlP?= =?utf-8?q?SxYcatKZqXFVSSksvHfsDgLy0g8VhVvefKfMeUPb6FUiLeOOE0C0w5A86m+kjbNDk?= =?utf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Z5?= =?utf-8?q?vxNlGJPphF81wXUgwXxjVlkf7f9dF2twdCdRYJ/EVana31xiOlRNToKI6b8hsf1nx?= =?utf-8?q?NFRtvSrjuyc/L7ucuVn5sLc+AW6xDdtL0dVSA7ZsHJM/9ZBp4Y0l+TQaMuaEKpzyw?= =?utf-8?q?xDJHxIYyPtF89ckQcE0iQhIs7wL1g4dCp4BujJWkXZ6SjRYdptwXfuqP9INuenFXf?= =?utf-8?q?XD0DwG3CAoEcb37xJIysh2G0n6QthYuPaCi4sxzD2/6h2kEYwct5tkJYtBhYw9Y22?= =?utf-8?q?th2Vr3bLOx1+6HK+AHUWBOGUv1aBFsLJLodyxhtaeD8LC5zcgeKY7YppbYvfftEah?= =?utf-8?q?DAnXhU2xTtboazikRDCq6VUh+BoKm+jDF+ESciywqetjVKTDdSm1Xsi59Zmzc3XjX?= =?utf-8?q?GAkNUMsXg+UjEpBql6zsFj85zOY1QDZZrWk8NoiGnY0qADcGqaxhTwP0xy5ahZsJX?= =?utf-8?q?ZadZZGlCSqYlWuK+CnE5E+SSQdZ/AVPTLgs+ZV5fNZ9gde28Pw++yerDtUHr6Or6F?= =?utf-8?q?cgHobsQXb7O2q2WW1v9OWSVezJoLSE/umBXURakgMLsh6e5zElIy8MEhkhL+B7jQw?= =?utf-8?q?42Wpbjir1eex?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a2c0a5f-9f36-43a1-8822-08dd40a05cd0 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jan 2025 20:06:05.3784 (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: +5wmHgUoRS4VnWPxu23f2Yu+ETYO45qITh/e4RsOM9qaDWeoT1gEh4292s9m+cenBc8zV4CR4UtoPnoy8qrEUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8995 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250129_120614_046297_4FFCBF69 X-CRM114-Status: UNSURE ( 6.87 ) X-CRM114-Notice: Please train this message. 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: Add basic HDR mode support
|
expand
|
Add basic HDR mode support, only support private transfer, not support CCC command. Update i3c framework API to allow pass down mode and extend driver callback function. Implement HDR transfer in svc i3c master driver. Simplifed HDR flow is (ref i3c spec line 5514) Figure 129 <-- SDR ---> | <--- HDR START 0x7E RnW(0) ACK CCC(ENTHDR0) T HDR-CMD(00-7f write, 80--ff read) ----> | HDR-DATA HDR-CRC HDR-RESTART .... HDR-EXIT Note: HDR-CMD is 16bit data, which included 7bit slave address and 8bit read/write command. svc hardware can auto issue SDR part. To: Alexandre Belloni <alexandre.belloni@bootlin.com> To: Miquel Raynal <miquel.raynal@bootlin.com> To: Conor Culhane <conor.culhane@silvaco.com> Cc: linux-i3c@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: imx@lists.linux.dev Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Frank Li (2): i3c: Add basic HDR support i3c: master: svc: Add basic HDR mode support drivers/i3c/device.c | 19 ++++++---- drivers/i3c/internals.h | 2 +- drivers/i3c/master.c | 8 ++++- drivers/i3c/master/svc-i3c-master.c | 69 +++++++++++++++++++++++++++---------- include/linux/i3c/device.h | 12 ++++++- include/linux/i3c/master.h | 3 ++ 6 files changed, 86 insertions(+), 27 deletions(-) --- base-commit: 66408a65f3db566c45fd7658fa7bc0b17aaa4807 change-id: 20250129-i3c_ddr-b15488901eb8 Best regards, --- Frank Li <Frank.Li@nxp.com>