From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 5E4AFC48BF6 for ; Mon, 4 Mar 2024 09:26:11 +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-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: In-Reply-To:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=z6sY9vExJLw2hTPwBeEYTCjCjjYnaBZMOsuWJs4W/bY=; b=aM6fEobd/r4GCgKVgRAwchRBoi zPlIU/apHQqv8qf07rs753L9ymgdAGVXm+AVnvCTQyrRZd5FxNBR9/ovfLTeqLBDoXtZke4b8Uvtq 0BZGMfsJGG14O7xxo3CCaB0mc24KzYLTMA66hw3CprP6qQksUtOOOSvVBb1+gIoookH+VgkOi/2SM aJJ8c2lmA/MIFudNNWCUZqZfElHQ2R1iviYFE0uXBjXAS/q1rE9HbsIFFec4a0U+XhAdstgXzLuXf 2wp+myY2JyBH7dFPIkekhYZ2l3J1Oxj/ouurXczgE/idyxKnBID4fewq7ZPiG3Pg82Y9XaivxwNLX NmmlrgLQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rh4Zz-00000008NK4-3ewt; Mon, 04 Mar 2024 09:25:51 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rh4Zr-00000008NEi-34zP for linux-arm-kernel@lists.infradead.org; Mon, 04 Mar 2024 09:25:48 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id E909060CA4; Mon, 4 Mar 2024 09:25:41 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1FD03C433F1; Mon, 4 Mar 2024 09:25:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709544341; bh=f008UATUrI7sibR/TkxlbuJzutLyjgIg+maDCRMxPPk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f/QbL91xIktoRsBhcjzTgpJjmyx5gE3520T97WhOSGzhK83xV8YVx8KW6TXir6j0v 8Lrywzv7U07XO1ohEGh4bHL4ieLoGNLIzTYACXgXCDghAs4h9CecSSTzKu2871NBzZ sm9LgmLVPbdC9Yly/bsytQc8yPpNdyubzIVVeOSHuoTY1lzQuAbyiOKKxzWfeRllLb KmRp23N4LOtU1Eke5dg4HXWVK3JCe2NxXMA0CoZRP1nH/nUPwzfDTIn2AM04Rf/17w UjBPpUi2+s6H9OzFunp/qSQRTa0RNhfnRYNvdrVgj2MkSwGk2PHMvLllJ+byfCLI1Z QKZjXg+pXyvxw== Date: Mon, 4 Mar 2024 10:25:38 +0100 From: Wolfram Sang To: =?utf-8?B?VGjDqW8=?= Lebrun Cc: Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk Subject: Re: [PATCH v2 08/11] i2c: nomadik: fetch i2c-transfer-timeout-us property from devicetree Message-ID: Mail-Followup-To: Wolfram Sang , =?utf-8?B?VGjDqW8=?= Lebrun , Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer , linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Gregory Clement , Vladimir Kondratiev , Thomas Petazzoni , Tawfik Bayouk References: <20240229-mbly-i2c-v2-0-b32ed18c098c@bootlin.com> <20240229-mbly-i2c-v2-8-b32ed18c098c@bootlin.com> MIME-Version: 1.0 In-Reply-To: <20240229-mbly-i2c-v2-8-b32ed18c098c@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240304_012544_624217_83C704A7 X-CRM114-Status: GOOD ( 11.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============3489512873712257428==" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org --===============3489512873712257428== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rOTSJM5aE4jTNjnX" Content-Disposition: inline --rOTSJM5aE4jTNjnX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 07:10:56PM +0100, Th=C3=A9o Lebrun wrote: > Allow overriding the default timeout value (200ms) from devicetree, > using the generic i2c-transfer-timeout-us property. >=20 > The i2c_adapter->timeout field is an unaccurate jiffies amount; > i2c-nomadik uses hrtimers for timeouts below one jiffy. >=20 > Signed-off-by: Th=C3=A9o Lebrun I agree to get the DT property here in the driver. We may later refactor it to handle it in the I2C core. Syncing this new property with the existing 'adapter->timeout' will be a tad annoying, though. But I guess the shorter timeouts are a desired feature these days... Reviewed-by: Wolfram Sang --rOTSJM5aE4jTNjnX Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAmXlk5IACgkQFA3kzBSg KbaRSxAAmSt/pzGp5XIF3h7uIsHzvGvEGXZg6PHnvH2DulayTo3u3cBgnGDud+ZP jHg/FqfwO2Lb6818/uloRuAuoi61YmlxoBRKLwJHUbz2TBGjI5rRIpVLRq8/BVg5 95uVU1/MetVec/Kyrtq8S3DpQhbD8BrzAQrui7RW/VBrr+jIUH9wOevEPWGG439V 35a7yjmQGqV7b4sWgZ3iaqhq7bya6VvCs9UMP7y+N1PVgSfRKrxlR3lIFAxujREV Ed4yYySDk7A0Hd+KJ/xyUnAJAuzmo8K1cqishU+4oFzvBUJMmgHhXTzDNw2TJtRR lzXhg/Pc9Uu5ay4qN1Tec7c9+VU/AUyw82UW3/rR64ubxc8x+PCfvxX2lCZNq+gL uCIydfzj+BoRJyGEipx62qxBzIDZUFYr46v8Xc+xxM6/QRxMtyK4tyHqjGRlHHBx 8GQNCeiYVSgGI64k+bTsWzcPnBDMJpo+ZI1GiSninEZuf3GDhuLNCfg+jhmz+FzK u2U05gyiV7D8PJuAOEadGOgpwOw1cyj84TEACKcch7yH1zwDO3kQmq2eaBV3NHpk hdGIOWuIImVEmb0CkAHRDq4xcA4ydluQvcrW8RNSBt1U1pD/n2ka//Xri+gIYVp/ 3UnUDoe1Zmz0x6h9xurqZ+ys2PplW047yo16PZ98qJsrtZB5jd4= =mCbo -----END PGP SIGNATURE----- --rOTSJM5aE4jTNjnX-- --===============3489512873712257428== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============3489512873712257428==--