Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp589597lqb; Wed, 29 May 2024 05:17:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXwubIistfb2dE5U8D+Dcatu88w4OTQZKzkXC37L/+/6Uvxk619bIxbWdddUz0s066r7NytuRPssBNZJq360enjbbp/344HgcwNj1TaxA== X-Google-Smtp-Source: AGHT+IGA4c9sJU1dXG3KQ+XLL2Gon3K7VgMHgWbosPw2yMIZy2gJ/+pYzmg1mf5jC4Si4f6ddZXn X-Received: by 2002:a05:6358:63aa:b0:199:aa1:7755 with SMTP id e5c5f4694b2df-1990aa179damr369259355d.24.1716985033944; Wed, 29 May 2024 05:17:13 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6bc52ff6e5esi596099a12.449.2024.05.29.05.17.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 05:17:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194065-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@axentia.se header.s=selector2 header.b=Ct5brx8D; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-194065-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194065-linux.lists.archive=gmail.com@vger.kernel.org" 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 871A62891CA for ; Wed, 29 May 2024 12:17:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A2141802CA; Wed, 29 May 2024 12:17:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=axentia.se header.i=@axentia.se header.b="Ct5brx8D" Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2133.outbound.protection.outlook.com [40.107.6.133]) (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 AA5BE22089; Wed, 29 May 2024 12:17:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.6.133 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716985024; cv=fail; b=Kek2uCl+9ZvLvJLyJACgI6aoVT04iI2E1mg251Nukn3+YcWX8+wkYBZhPLiARt51i6mIYZKzVc7lTPPaF0/4OkKVlDk3OZhBvtHqneqb3mVL4RtK9PasT2bMLubRIbmvRhqIzXlQOYQRWnMqhUOoA6WtBz2S749IGoWY2l3v1SQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716985024; c=relaxed/simple; bh=GcwfrUGjK3mPkFqwu3jkAbxHnQa8m0fQka5pr1GJeWE=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=YSYV/7Z33COVQsJxrk8lxFt75yLrr8DC/Bwgi+ruweYqs4io8KB55Zax7iofST4RmVt2NJoBQ/xBdlaGB15A8gG079K468eJuIdcwA6ECW/rZWyBFcWVf1ywJW48/6TetQ0rIZgm1Lhi9d7X5TR79qRD0LBP33YYt0Frd8OebxY= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=axentia.se; spf=pass smtp.mailfrom=axentia.se; dkim=pass (1024-bit key) header.d=axentia.se header.i=@axentia.se header.b=Ct5brx8D; arc=fail smtp.client-ip=40.107.6.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=axentia.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=axentia.se ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KdN8LpALDha6ty0zJr4KlDfHDsDAi8p/YMdhx2s5i8N/mQsSML7beOZCj++sHeq+jFNODxBaBgtAjU4TwXHQzsugL0H445daGVD7yeL1RnDjIU2dV0I0ZcqG0X1o76eEa/6pBLZUO+eYDAN2DnJ6r6+nZamf1ThQUogibirp1kgG2VkqanFbAf+wqwV1yuK7DAgnlnuc9MqAsuHNJ7Tgd203rqZJQk7sWPCiZy5OjrGI/N7gOux1coSlqWBegO4Ju9S1qeC+MoRoqFmp8Ofr1SmQyOyfD2UzC6P9nqgHJGjEJv+X2rfs03OGKvlYHySl3xftwEhdnowNvRylnqZ88Q== 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=omf99T/di9T7JtfjISJ1RuZTEhsVWPeXv/fFA++bSSg=; b=GgwBUNRvlsQG9uDIWOjHrwlR0O7x8mYPEzDZIKls5ljihrJbjg5LwELvrz8v/w/TZH5+rzWtOfr38WBqUqhpR9zUGh8+dgXdAQ538vpnniEXYkGyX65U2KiNxZ4RDQ5RRBK0qT8c+9FagF/ahY2ZdfXkyUbWc3ZT+IJ4LJ4cmYvEB17zUgguMb4155hLKYV6TjDLTVSRSovHhgc3urkUtys2cXHa7/e1diXGsNfsDM2tWuPaGTcFkE5f0f+k55btjRzMbWLuRb0tguWaN9FIFuiZdrG8cG1q/mkIFhpLAEa/UukGp5FWYY8TQpWlpi2l2treSx8Z9XXdoJM8E3Ol2Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=omf99T/di9T7JtfjISJ1RuZTEhsVWPeXv/fFA++bSSg=; b=Ct5brx8DiJI4ePAh9KLwT24o2luFHFJEtQINrfdnyQtj5F4qdtAxetgebydSGXTPS4BbWGEfQY68NLi8kJVS9To1KQ0sJp2izJ9R2e5sOJ/Njr+dsjTa4i+UJuWtF58j7Gyx61okueNflLxhBVTSyKFeQxSXsofJM9gKtGrZFCY= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=axentia.se; Received: from DU0PR02MB8500.eurprd02.prod.outlook.com (2603:10a6:10:3e3::8) by DB9PR02MB7116.eurprd02.prod.outlook.com (2603:10a6:10:1fd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.27; Wed, 29 May 2024 12:17:00 +0000 Received: from DU0PR02MB8500.eurprd02.prod.outlook.com ([fe80::aff4:cbc7:ff18:b827]) by DU0PR02MB8500.eurprd02.prod.outlook.com ([fe80::aff4:cbc7:ff18:b827%4]) with mapi id 15.20.7633.018; Wed, 29 May 2024 12:17:00 +0000 Message-ID: Date: Wed, 29 May 2024 14:16:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH v2 3/3] i2c: mux: gpio: Add support for the 'transition-delay-us' property Content-Language: sv-SE, en-US To: Bastien Curutchet , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Peter Korsgaard , Wolfram Sang Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Herve Codina , Christopher Cordahi References: <20240529091739.10808-1-bastien.curutchet@bootlin.com> <20240529091739.10808-4-bastien.curutchet@bootlin.com> From: Peter Rosin In-Reply-To: <20240529091739.10808-4-bastien.curutchet@bootlin.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GVYP280CA0027.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:f9::26) To DU0PR02MB8500.eurprd02.prod.outlook.com (2603:10a6:10:3e3::8) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DU0PR02MB8500:EE_|DB9PR02MB7116:EE_ X-MS-Office365-Filtering-Correlation-Id: dbf4e695-de6e-4112-3d47-08dc7fd93ded X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|366007|1800799015|376005|7416005; X-Microsoft-Antispam-Message-Info: =?utf-8?B?TWtJSnZmWXpiYW1HaUVSZkVqUk5BNXFscTVaek5MVWY1OE5TUThSUjQ5S1ov?= =?utf-8?B?cWtqQVZCTDR5cDRvczRFVW9ObVBOTExXNWVwQk9qaHlnNWxzZGVaRTZVSUht?= =?utf-8?B?SUxJajMrVUZ4TjdTWDUrRXhIWUhHZG5JWEdVWmpsRTBQclJ3SThVT1R1Qy9D?= =?utf-8?B?SE1qbGJxRVl0cENpUG5TeTRGZnQxVlNSenk1bWFaZDFrQ29KWUNOcmF6QmFz?= =?utf-8?B?eFlJMWtnU2FvY1JJQjg3b21uME5ETjJ2THdBcjVIZEF1b0ZPRjc3QTJ0aXVT?= =?utf-8?B?OUxmV2tsMGk2ZUpzSWxGTjhFZ3UwdmVjM2laTVYzbkthbXJubGQ4cG5RMVJC?= =?utf-8?B?QnZITTNmYTh1d29FNTdqZFdwcnl1enNJYjIxZFVoYy9vYWRzK2dFTnpGajZp?= =?utf-8?B?SWR5Tz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ZZTFFa?= =?utf-8?B?bm45bHRjaXkzZHBiam5XT2U4UEVQUisrTXUweWZPMFRVUzh0RWttQXliY1lV?= =?utf-8?B?bHc0bTFDejdrVlQ4cGh2KzRHRWJibHduaGt6ZmNZQmltSHNGZXFraTUvbzNX?= =?utf-8?B?dktXUjdhUCtQcGNlUVNJRnoyY3RpS0loTFUwd2dEZGlzSnpRNjhjeStrQitU?= =?utf-8?B?a1FtV1RYRVMrZlZXSElMTmt5SDhKYTRNL0Y1RjVmWHFLS1ZJNFlaNW91SjRn?= =?utf-8?B?VG9jeFFDcjNjd2gwZzFhSmg4aTIyMXFMZklyUWRDcDIvNzRQdHVkSExIY0Zv?= =?utf-8?B?QWxReFVtUnVQeWVEZ1FWV3dJLytOS3RtTU1Pc3dIQ3hqM1pseFBsQXV3bFhr?= =?utf-8?B?MWhJRGlMaEtkWEtDbUxLUXZLKzlHenFVYXFDK3JkRnFEN2tYMHlvS2NRPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DU0PR02MB8500.eurprd02.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(366007)(1800799015)(376005)(7416005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WmVnc2FtQW9ENjVFZUxhbEU5YnJOWTllSUd4ZGxra3hoczdXT29ENllVOWNI?= =?utf-8?B?d0U5R0I3NjBUUXZRS04vMG1udXR0a0crNHdmaXNTZ0tsNGdtSDc3dUUrRm8w?= =?utf-8?B?eXFscUFpeVNkTlJvQjIrd3JaUjlXZ3FFZXN0SW1MSU9tb2hDV213UUphZllM?= =?utf-8?B?aFFaa2dEb3UyV1JFRnFVbS9Cd1A2amlnOU9wdWVhRS94blVra2FzbXlzL0tB?= =?utf-8?B?S1o0SDlaaHBpaWFNck4rRFBCWEFRbmw1a3RhcmhnSy81MjBWN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IxbEovdWtrNFFxVmJ0d2NzRXB3dDMwWVNqUHBiM2Z5WVVGYm1r?= =?utf-8?Q?bq7so3QjzWY/h4DBNilnfKkmq?= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: dbf4e695-de6e-4112-3d47-08dc7fd93ded X-MS-Exchange-CrossTenant-AuthSource: DU0PR02MB8500.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 May 2024 12:17:00.4923 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7V1zUQ0Pakt2Yk7C4dnga7X/JxLdlGNH2x9+npOmGtvKb1/ZEKqlT7e7m/JGKI9/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR02MB7116 Hi! 2024-05-29 at 11:17, Bastien Curutchet wrote: > Some hardware need some time to switch from a bus to another. This can > cause the first transfers following the selection of a bus to fail. > There is no way to configure this kind of waiting time in the driver. > > Add support for the 'transition-delay-us' device-tree property. When set, > the i2c_mux_gpio_select() applies a delay before returning, leaving > enough time to the hardware to switch to the new bus. > > Signed-off-by: Bastien Curutchet > --- > drivers/i2c/muxes/i2c-mux-gpio.c | 6 ++++++ > include/linux/platform_data/i2c-mux-gpio.h | 2 ++ > 2 files changed, 8 insertions(+) > > diff --git a/drivers/i2c/muxes/i2c-mux-gpio.c b/drivers/i2c/muxes/i2c-mux-gpio.c > index c61e9d9ea695..b9cfc80660e2 100644 > --- a/drivers/i2c/muxes/i2c-mux-gpio.c > +++ b/drivers/i2c/muxes/i2c-mux-gpio.c > @@ -6,6 +6,7 @@ > */ > > #include > +#include > #include > #include > #include > @@ -37,6 +38,9 @@ static int i2c_mux_gpio_select(struct i2c_mux_core *muxc, u32 chan) > > i2c_mux_gpio_set(mux, chan); > > + if (mux->data.transition_delay) > + udelay(mux->data.transition_delay); fsleep() is appropriate here. Cheers, Peter