Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp286714lqr; Wed, 5 Jun 2024 06:14:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7z0k5ldeiL7UMeGULJgC4c8jNupA5WnaT2crYnHGcJqgg5KM4JNKl2JeeGjsEgVBV31YQJ51lyUEO7l2Ty7WGZRJ8ApOfVEBE4fPMoQ== X-Google-Smtp-Source: AGHT+IHK8zRiu5qbWkMwigkIavI7BfHKCDsU3PdqvWDmxVFCB8uBj4dwu+M5/oLopGwmT3rx2AUS X-Received: by 2002:ac8:5d4a:0:b0:43e:e6e:21d7 with SMTP id d75a77b69052e-4402b592d84mr24405131cf.26.1717593292349; Wed, 05 Jun 2024 06:14:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717593292; cv=pass; d=google.com; s=arc-20160816; b=t7NJUd/+Vndq0GPXGbeTidLwPVN8oi2eDIujweIhcmFtSUrjc6nlB5ySwWEwGXG5Ry f8AGQQ9icJ+wafXYdsGfFUckFY9exvw3BEJyrsG7ew1Ia2KawS/v36Z23yk5YbiSH2XL 4aaP+f5hqpIm2/UXoJAFrBNxFSU6uB4zjIO5+8JrTfuQ6cdOlDZRwDmFhmuV8oA6ubLT IQEjV7o9OlumwfG8NIs8gdJ2qFGheaX9fp6EHFEPKi++NlTXv/vFOIrJCdFqi+aM895K hnd9Xm8laJ7WYtFJykiWiGoRqVTfkbYRM5ql63yQj0pOC5TjGbjKIdBAcn140gv4nGua PB8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PbnUs0MSq2j9sy1LgeEvLYnILq+qylhWfc/HqlZBIlQ=; fh=4rT4TVsXP5tOB6tfT7Rm1KrcXdq8GGzd7K4wbQp7C3Y=; b=NoElVxTScwl6uP12Ai15FpJ/hXFaXCmm07SPULpJtzvYbuqgWZ4Nc/zPTbxRZ1n8bP tCRnDTVyN10cdvhF6ebHupg/A7Z1wLwlR5IZLZR7Lhyg3AiQWmeRtzcTE7WmYwdRYDse 7W9Y9PmD5qoiyAl0D+zDgxosheOD0f9MzVpcZ15fy+Drbu9eHZblqshk0KzuN6r3z70i ihgayr87otOkYSUsUwqjDQ9MtnHpCSl9ZtsJffXN2iYN/LPgU558higImlGuhBLge+CA ocMCcqG4gtQ1/1wE0Hq/9c6CVzoE7XoWdB1GXp84JKL7pGEqx4d+VIrl6mdpX+3WCj1a BpAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JNBTOBE9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-202613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2468bf0si130350531cf.281.2024.06.05.06.14.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 06:14:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=JNBTOBE9; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-202613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id B25241C254DD for ; Wed, 5 Jun 2024 13:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A8321195FD2; Wed, 5 Jun 2024 12:32:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="JNBTOBE9" Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) (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 D4FA719D882; Wed, 5 Jun 2024 12:32:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.196 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717590766; cv=none; b=nkjpk1ZyYl+Rc2lRXxthh7ttXg92UBUnB2HkmLi7accXkbbaEcmXMcQ1IhCJSBeLKDNHBZPP3xvXoOmckslYuVvdYrSEH7dXPg2vk6/f8/uoys9KiGKslAt9dpX41JpkiBx7u6nDpHxwGPCamNUf2vP5nHzXqNLfLlI+dihgC/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717590766; c=relaxed/simple; bh=PfhQeGJITJTvs+p/Hge5SmZR5Iv7XJjDoRihZXn1CME=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=uTi8NAvxQO432rURWQif52jmqJGjxRI67xjW3OIl7a2jcNTgmF25t4wPIaVYVzeaBRWpOU83YNZ0EsjuF+ffXCVO4fEccaBoXmUwK/G/8eQI2xNmbmoKzD5fxFap1S+YKIMYFhZwXsFPYnEQUZBuyPMNtL72iEGZG7qTLKcRZxU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=JNBTOBE9; arc=none smtp.client-ip=217.70.183.196 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 6BC19E0005; Wed, 5 Jun 2024 12:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1717590756; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PbnUs0MSq2j9sy1LgeEvLYnILq+qylhWfc/HqlZBIlQ=; b=JNBTOBE9C1+Jb/djiD05CcRKaJnyba3X338QbcyFU2V8rwpuVElD+sX3YHbWrh1Lgrrs8v ClTridWJQLNPj4OmVMbF9oa+F2RhZdSDVxPOC8W2IGkb8RAKPdR3R6FGo1PzngjQBWURlv 8BzA+9asD/76DVv/aKBdszkLWnN8f2G2zin/rNNOl2a/diBZ9yguqhlLrmeKEtaidmrJCo tLyrXjHT9qjF858YGk5EQR61zoYda/bjhT+/bVBAbii+H4jcsXszoiKjcMm48z8dR1Kfoj J7N0fcbLwtyOUPy0NmOI0xeSAbjzTb86ErgD1laih6Ilc10aKUjEckvjh7edOQ== Message-ID: <26e9970c-7dbf-48ac-9832-58bf2952d350@bootlin.com> Date: Wed, 5 Jun 2024 14:32:35 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/3] dt-bindings: i2c: gpio: Add 'transition-delay-us' property To: Rob Herring , Peter Rosin Cc: Andi Shyti , Krzysztof Kozlowski , Conor Dooley , Peter Korsgaard , Wolfram Sang , 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-2-bastien.curutchet@bootlin.com> <718d86a7-d70a-c38a-089d-5276bcc6e88b@axentia.se> <20240603155810.GA509311-robh@kernel.org> Content-Language: en-US From: Bastien Curutchet In-Reply-To: <20240603155810.GA509311-robh@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-GND-Sasl: bastien.curutchet@bootlin.com Hi Rob, Hi Peter, On 6/3/24 17:58, Rob Herring wrote: > On Wed, May 29, 2024 at 02:13:37PM +0200, Peter Rosin wrote: >> Hi! >> >> 2024-05-29 at 11:17, Bastien Curutchet wrote: >>> I2C MUXes described by the i2c-gpio-mux sometimes need a significant >>> amount of time to switch from a bus to another. When a new bus is >>> selected, the first I2C transfer can fail if it occurs too early. There >>> is no way to describe this transition delay that has to be waited before >>> starting the first I2C transfer. >>> >>> Add a 'transition-delay-us' property that indicates the delay to be >>> respected before doing the first i2c transfer. >> >> The io-channel-mux has a property with very similar intent named >> settle-time-us [1]. I think we should use the same name here. >> >> [1] Documentation/devicetree/bindings/iio/multiplexer/io-channel-mux.yaml > > Agreed. I knew we had something and went looking... I only checked the > base mux and i2c mux bindings. > Ok I'll do this in V3, thank you. Best regards Bastien