Received: by 2002:ab2:3b09:0:b0:1ed:14ea:9113 with SMTP id b9csp157931lqc; Thu, 29 Feb 2024 13:15:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXYiDz+5g5t791Hoks6eITpUOeDSMzF550gTgEvZ2O6RJmRiObnwWHHkOHtbhxH5TrAbeq3O+y1L8wW2PjRVRbI3BdGgjeXv29a7wf+nA== X-Google-Smtp-Source: AGHT+IHJWnRubzmqgw/aEQMNf3NFIBkQjqiu2zDFKDJTdwTEJfoDP4+ZAdXu79I05YX3HlFnaHCI X-Received: by 2002:a05:6a00:1990:b0:6e5:32e9:2954 with SMTP id d16-20020a056a00199000b006e532e92954mr158259pfl.16.1709241348912; Thu, 29 Feb 2024 13:15:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709241348; cv=pass; d=google.com; s=arc-20160816; b=FUh6Y0l/VgQyVagg7xB2WMY3xQSZ8d8lOXX86aQAoB+mkuR4ebYqxEzVz01Kgsqov3 8Lvl6++kLeOr+M44roy5/vCSyHdaopypmdlVeLhVEk5HGmCLgUKKBap2JvzUFn6QNoqJ GmYlFTmcw6KIJL4eqxiaIpM/QPuOSlvmXhdtL/gER51qstYnhGYvKiJJq7Tr7SXH91df KUJbkbLeHOE4I/3OK8ehv/j2EtfMKh0HOO788el1JnuXADtxdrnQZHvTjv/0SXADRDmZ +V2dyYsE2cs8HqzUPlJvEKMZJAalQfegdu1DEh+uZYnH89Gl/x7F0BDow62s9vHWXbg3 xf1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=8uPVylV9EO6m0KYXwD9bCM+qusEzKV7OpBt6B4Y/Y+Q=; fh=5/Y0qlT3TnmM9IwoQ81hNWmIkxwhGWuiaAb2LRgQNKE=; b=eu50vvR+fAafjxdVaku1RyNZxEwoXAJaZFPAcUFqml+cDtHmhLKC5VeOpkGOCBBzy3 13adOLoK7P0jQPJs1pEBjcGJK0O59RQKR6bQZHHC9dDvprvIPzuQgM5R+G9+xlm4zpjQ Emtor1CxfEP4wH58sJVEaRIWUWQ1zA87BM2nadOxQ3nvHljflBoP1tvNkqO4otQ3vcmk xxyHMVa1Hi8syZG/ekKm18AkNkU7lRWUNz6A1wBJR+VdMLDWDMMHigQGlUbJfyFbAu8E +k5UruvT3QcSMkHkDprb6d51DW9ybrIHn4tioWx/sAt5feDYJvCz+5Rf+X4HdmHflbZy rCgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpmSeTlB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z4-20020aa78884000000b006e4751b9565si2092105pfe.385.2024.02.29.13.15.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 13:15:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QpmSeTlB; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-87556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 99D6F2891E3 for ; Thu, 29 Feb 2024 21:12:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8340C16FF40; Thu, 29 Feb 2024 21:04:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="QpmSeTlB" Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 42B2916FF3A for ; Thu, 29 Feb 2024 21:04:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709240679; cv=none; b=Z+ntvXDSprkjc511hkOaqFTxSvxpjTN0R1qAAigJ07vz3V/TA81vNlx/gMWoaSvLgY4yBs9fhwXoOuLIyk8JTFaOmWIe6QuDfyzm6h4wxxYcYRwCut4P17kbm8FuE263m8G4lOv1GD8mOPMarCf+2+/xBGvUBX0kEUk3s2kvqo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709240679; c=relaxed/simple; bh=8uPVylV9EO6m0KYXwD9bCM+qusEzKV7OpBt6B4Y/Y+Q=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=WH8bU6EED0hGRUoyx7FivD2DGPCr5K0yzLQeLOife/DB1H0lzr/CVA1GjjsHV5Qq5KMWn6FXYZ3HrzUubOztXU8xAX+Tf48+CFKt7RDXZJEpF+Arb8q6dOTN4OuhtCRYA+17L95UqyH+nLAmkxccpU6og+n0wc2HD7baXmWXaUs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=QpmSeTlB; arc=none smtp.client-ip=209.85.128.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-6084e809788so20973447b3.1 for ; Thu, 29 Feb 2024 13:04:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709240677; x=1709845477; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=8uPVylV9EO6m0KYXwD9bCM+qusEzKV7OpBt6B4Y/Y+Q=; b=QpmSeTlBYpnn9mqBMS99KSQoZHAmlh6zlGdw4USU97YoQ+XX3pZp67WWm46223FX8E 0OfZt5HLZBO8Pu5KzQziX+rCqF/8sTLEPjQHydYjaCsMwcPqwuKoS5NtLLh1UtxMBeQF KgnqF8j1+ZbS2T/jI5OKRHJP034PAmx3TvT0AVXyfm7uQpSy0p6CyPeQ2NvtRi1JW6+3 YoLDRiQdHEuk7WtViN1J9YTZAUSOjL1sjYC1n5/A57Kb0etZ0YMUSRkpsJhmn4QtjHWW gSB18Nu6KqAbmV+1j31K3lkdiyW2E0SBTieklLw5yzjVU/AYYoomZQdBGYI+fwMmHxUM amFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709240677; x=1709845477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8uPVylV9EO6m0KYXwD9bCM+qusEzKV7OpBt6B4Y/Y+Q=; b=gaKzF5f5uNZN9Brx7XGbyhe6fThubFPAYKDT09jVbxMvWxII+U0BfDVcOLwouexShF gIamAEz2i1ippcwdxu6TLb2okCuMOQTNZnpSBXjDdk66PaT995dYslpKCtdKvYfUoQUj fPLk2Obq+y+O1DO/wQTwX9nwfidYXU1mJsURcrJGRkdiljiMlZls9O8NiouKY4BesiEf c6nHbFQW9mYRHB3XDzkXM5+8nNJdJli0LAbMuJIAt5w2ZJjiKJheW6gOcZxa+m3huCbH NbcNnb2eqI+te5WeXYVZqXUOoX+10yKW6WzVGSZy2s9Fe2trzSiAMU7cSnoOXCo9SQdx 5rmA== X-Forwarded-Encrypted: i=1; AJvYcCWjhxonyqHS9AY5RKlN4MDpZSe2Iw4U7ny/LhSYjKnsy4ISypPkPOx4TOSSbk/khYv+Jtv4Swq0C/+QmZyFsnOmimFiTpAYZvp0geaE X-Gm-Message-State: AOJu0Ywylb8K6Z+XLtNUYv8+ZDJsgoF6tEV0BEXrUYaej6VESb4hRiny OyWFiDlhJcYz/Gx/8RiLVgIn9pkN49Fgqn2e2hBZg61eFbsvwS0SrrZGe/JX37LpM4D4yVHa9ZZ zhIvjX2lORc8vyuUtCClv0UzkJw9zRIRC2Rb7BQ== X-Received: by 2002:a5b:9c5:0:b0:dc7:421d:bcc0 with SMTP id y5-20020a5b09c5000000b00dc7421dbcc0mr1924276ybq.32.1709240677236; Thu, 29 Feb 2024 13:04:37 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240229-mbly-i2c-v2-0-b32ed18c098c@bootlin.com> <20240229-mbly-i2c-v2-8-b32ed18c098c@bootlin.com> In-Reply-To: <20240229-mbly-i2c-v2-8-b32ed18c098c@bootlin.com> From: Linus Walleij Date: Thu, 29 Feb 2024 22:04:26 +0100 Message-ID: Subject: Re: [PATCH v2 08/11] i2c: nomadik: fetch i2c-transfer-timeout-us property from devicetree To: =?UTF-8?B?VGjDqW8gTGVicnVu?= Cc: 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Feb 29, 2024 at 7:10=E2=80=AFPM Th=C3=A9o Lebrun wrote: > Allow overriding the default timeout value (200ms) from devicetree, > using the generic i2c-transfer-timeout-us property. > > The i2c_adapter->timeout field is an unaccurate jiffies amount; > i2c-nomadik uses hrtimers for timeouts below one jiffy. > > Signed-off-by: Th=C3=A9o Lebrun Reviewed-by: Linus Walleij Yours, Linus Walleij