Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp981656rdb; Fri, 16 Feb 2024 01:19:31 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWDYq5kbU/jKBXZd8PoYReodRz5GxD7H+7UNjTcTaFS4P13qzodlkZRSJYg58DOHub56eQGIhljON5i2DBNmu5YJt/g4oj1FhAmroOFIw== X-Google-Smtp-Source: AGHT+IGW3UWE4x3AURkG0wss5hAfD0FLrtMKo52r5aCLeygbiJ9iDEeOBkdUWSiUDnsEcm3cLFHh X-Received: by 2002:a17:902:b687:b0:1da:1daa:e2bd with SMTP id c7-20020a170902b68700b001da1daae2bdmr4290872pls.19.1708075171720; Fri, 16 Feb 2024 01:19:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708075171; cv=pass; d=google.com; s=arc-20160816; b=A9war2ZieYKcFJuGV6J0wxk+zzsRtsT9Tq4j8WLl/B0t7eoLO7aOWLNogvXAW8jYof MJWsh2j4/Jgsdnri14SNO+IGulb+sSoNGexLKn5J7l3RDYkHKqSdtEUza2nsgyqxFPPL pK8Bcgi+kZJ91dbB/mKB0rdiGXRshRcdctFwVyPEdf9ZbZ9UHGc2220kLSU12/Drs0LQ bAH6/ioeecPuRPXTcCjTB6/+ArBTQSWDIripWvqx4Z7RxssgAEpoJ3EVW3D4rADz+xZB zhCZp5x7djnnlyH/Yh0UzXFcJyIZCbPVE1qW8joz2+OILhtG2t4zHSwyzgy6mCm6ezwh b9Lg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=mUfMiYERPQ1ajJgUKEduJKMufk+sBmKDdRWuDOgmHXA=; fh=JPh8QZMDJH5Hu491GQzz/Av3Y+EV5sme9zSfWJnUCts=; b=srGFAA9KjGcKr1T9tD2P3WX8GeOohqiXv+kYyfAeYKtGL+KSCShxtxM7MlrGNDXwju OvRS6V+tiQOEQDs/k8IEQKyUPkmXBZ8y+bn0GhuEBlC7gSX4560ZV47YsxEG6ML/G0aG 2zjfYkEnGC1uzqKJvyHrgPXFVRJYBt8BMLK/0zw/ldi0qTOuB/I3y4TQA4iAIr0PdOXI GyGVTP07iRFU+XFE+IPQKubQZIw41t16/w51KmOw7A+V2CO98d29CARcCENW7OKsELTT zDYW0BMizESHJkVZt0PVUkJA0YjJxB0HbnsuejfblXhuOTRLPZv/vV2e+EqdXCPn47sU g0Ow==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J/CUTWlV"; 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-68321-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68321-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id j5-20020a170903024500b001db56097a9asi2696730plh.638.2024.02.16.01.19.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 01:19:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68321-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="J/CUTWlV"; 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-68321-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68321-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 6F628B20DA6 for ; Fri, 16 Feb 2024 09:18:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 74A751BC57; Fri, 16 Feb 2024 09:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="J/CUTWlV" Received: from mail-ej1-f50.google.com (mail-ej1-f50.google.com [209.85.218.50]) (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 A63E01BC3F for ; Fri, 16 Feb 2024 09:17:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708075072; cv=none; b=XDrXQRQj5l3gxefIVVyfUjG1/sQY4xsmZ8u6S2tz5G02PKmPIE8Sc+mxDaxOVcSDjgINqootMs3Toc6X5+rUaZXMN7n3yVduwqVeVFBR6BAqbAVH13rJyb3JlSFNoex/X2XPvEbRLj1Ipf9QRMKLmM1LawZ0jAEvUdjHXweQhwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708075072; c=relaxed/simple; bh=ABK9SZFJh3iFrxKkRqATbU8RxTxkltNx7vTWVN5a9oo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JuvfSTEvxO2hcP+I/uJmQ2XrvPOwgN1lqozT99ixYPpBlsM6+E+4mIKKlSIpq1lw3tanr5xtlQjcFdbavmf4asonMvNpjBUDL1hP6Wj//yefWYb5HxTpADGp7K8Nz1cb4C+AgQNLjA0pxT5EnIf1WtAKrQX6IlDrhMRlrFJaHv4= 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=J/CUTWlV; arc=none smtp.client-ip=209.85.218.50 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-ej1-f50.google.com with SMTP id a640c23a62f3a-a3db14a0a31so150015666b.2 for ; Fri, 16 Feb 2024 01:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708075068; x=1708679868; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mUfMiYERPQ1ajJgUKEduJKMufk+sBmKDdRWuDOgmHXA=; b=J/CUTWlV6pKwmfsF5tDSZRSXsr5gFDNkbzO+lohqo5YJiEakZ/VJuVycSQqFSJmPNy 5ip9Dq7+krS+h4ckGz+qmdkeXA8mSGo2fzkO8TjjFa3AYUy1Rw5+bxgx0ahkiSIcSvBu aOjR48bryfXtsN3LMXgS767+4uYqxMJnHqWxFvTK2KdFLYDzk2mokduy+E/JiHWepTU6 Ha/sWVBxaiw5XcosvVJKQ1QD8s9X6icJJ63q557XcisV6QaW9d4qcgdBhsix7LUy4xEM Ces/FBK1LBvIAvuunC42uWW5EVarmlLAxPlwgL3ysyowWHl9sYHI56O3fem8dvO0qrsf sRUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708075068; x=1708679868; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mUfMiYERPQ1ajJgUKEduJKMufk+sBmKDdRWuDOgmHXA=; b=LIpA3pOy1aQ4tQbZJ7NpqcmHxTO1CX4zYHuX5UGpFSYDTRHhtzZYx+strRAJL3om/4 Xn4CqguJwb28HUSmcnM/0h5BgijULCP9kp0L1wuQNkGKJ24QdIWSY07Zdg2WffXO+pIR +3S1BYlHIOJKWvLzp8nZyVmdNf31T7Opb69Bd3ncZPXXENzIKUisxx3tlkBvCm2KUvog TmyUfPQus8bMpI/r8QSRI86vlDIRE4LTf/f4CohlLpLlK9eNzrbItMkQlWMu4XXBaLL5 wtntuCB//U2MSm6J3ap7W7DwyqbbNcHIYCIZICy2JdWiAPvtAtZzElfq6cFWl3MOJGNw 0TZw== X-Forwarded-Encrypted: i=1; AJvYcCU18PS5fVOKHxcdLCTHzTPbibLlb/7rOYn604JF31WkyOWOcWbFUEcHu3r8pkd9ZfRCxXVrrbZp3avEeiiBmf45yvoBatEos4ICdkXB X-Gm-Message-State: AOJu0YzFGVrX6xDnJZTkLGh/1eFYJdUi+qct7ciVK1JnwsScse12afP+ MG01rosPp0uUjH96sMeDiFbTeNtL8ie6s2+Gj2lslcflxxdiMjqIFWrASmwJCUM= X-Received: by 2002:a17:907:1051:b0:a3d:64d4:44bc with SMTP id oy17-20020a170907105100b00a3d64d444bcmr2950207ejb.18.1708075067939; Fri, 16 Feb 2024 01:17:47 -0800 (PST) Received: from [192.168.0.22] ([78.10.207.130]) by smtp.gmail.com with ESMTPSA id s15-20020a17090699cf00b00a3bd8a34b1bsm1372932ejn.164.2024.02.16.01.17.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 16 Feb 2024 01:17:47 -0800 (PST) Message-ID: <60b568a1-6dc9-4116-af95-bfaaca61677b@linaro.org> Date: Fri, 16 Feb 2024 10:17:46 +0100 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 01/13] dt-bindings: i2c: nomadik: add timeout-usecs property bindings Content-Language: en-US To: =?UTF-8?Q?Th=C3=A9o_Lebrun?= , Rob Herring Cc: Linus Walleij , Andi Shyti , 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: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> <20240215-mbly-i2c-v1-1-19a336e91dca@bootlin.com> <20240216022704.GB850600-robh@kernel.org> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC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lqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 16/02/2024 10:16, Théo Lebrun wrote: > Hello, > > On Fri Feb 16, 2024 at 3:27 AM CET, Rob Herring wrote: >> On Thu, Feb 15, 2024 at 05:52:08PM +0100, Théo Lebrun wrote: >>> Expose I2C device timeout configuration from devicetree. Use µs as time >>> unit and express it in the name. >>> >>> Signed-off-by: Théo Lebrun >>> --- >>> Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml | 5 +++++ >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml b/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml >>> index 16024415a4a7..e6b95e3765ac 100644 >>> --- a/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml >>> +++ b/Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml >>> @@ -70,6 +70,10 @@ properties: >>> minimum: 1 >>> maximum: 400000 >>> >>> + timeout-usecs: >> >> Use standard unit suffixes. >> >> We already have at least 2 device specific timeout properties. This one >> should be common. That means you need to add it to i2c-controller.yaml >> in dtschema. GH PR or patch to devicetree-spec list is fine. > > i2c-mpc (fsl,timeout) and i2c-gpio (i2c-gpio,timeout-ms). I agree this > prop has no reason to be compatible-specific. > > Feedback from dt-bindings and I2C host maintainers would be useful: what > should the property be named? Having the unit makes it self-descriptive, > which sounds like a good idea to me. timeout-usecs, timeout-us, another > option? It must have an unit. That's not negotiable for new properties. Best regards, Krzysztof