Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp980855rdb; Fri, 16 Feb 2024 01:17:22 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW2zpf5fFsY1iiEydZR0LSkAwQDTQ49qME7hc4o+pOK4HGsrulxJee3uLpvLgEdInObkFXgqmzZxMo/UYVDY2sAdJM5jjpuZrAB2I4lPQ== X-Google-Smtp-Source: AGHT+IFUJOYvzSqXJ3iuQrQknlr//ktC8lJCby+lZYg9cRTSvO7V6nVYJ2PUkhYH2SOtIEp8oQNq X-Received: by 2002:a05:6a20:e188:b0:1a0:7960:30bf with SMTP id ks8-20020a056a20e18800b001a0796030bfmr4698485pzb.25.1708075041094; Fri, 16 Feb 2024 01:17:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708075041; cv=pass; d=google.com; s=arc-20160816; b=OLnRR2uU1UafiIXrFHL5588HmqKCSU7BCZWpPok0a9CrAXKj1niluVKqsxE8AoTmLd cxpr0VZ0fSGVNMEcNjbOkz+ty4hQObIwqbSNEAkRyar/itKaV5jVNeKlZ00HZlMLRnyw sgLZ0IE5BZ2cmYAtJ/9pSSB1DcJgl7SLFlgCkyrUgK8JmtxV09KWGKgDqbSf8luKShya zcsahF3xbg9NEjOnaqUO1TyvBw1tc7XjfZAFC8nqbXAmsOFr6RwPD4Hp5MIIi2YWGog7 Ux+zBZUXZfjqLoYPGpjlxQf4SAw4f7VYpwZ46iGGndYdpvTA3PCPibUp0GytH5oEA2+Z NA7A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:subject:from:to:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=dQdI8Zrzs9kwj/PfuUOcwe/1YQf/eV/Bz9uqQisZoKk=; fh=va4913oJQYF/v0TVPabWfIhXxka6EvMZC7TBwTGa7aQ=; b=C/WmSO1KzNzbWAIFHBuSk3sxl8qRs7hLVGCYeL8jT5WMBVqgfysqtLeFHG1w2agdu6 1+7Ni4rUsHPl1RiZACHXeNm2mYR/noNZcz2CjfsZ0E0+8oh5p0duO7sF/39aIiFg7KmJ +aCKdkbqJJ+Vf+mW18x0FYIF783wCYm/lmSKPJAgUCBaWu2KT88QEt5hnId5Q4tSwS1E PDuRly56AdACKvW3igrxGZeMDK19YEEkHx5wNgelGo1k2Im4bnyoTQwJFh/qCrROUf4p jPUMHh0b0ENloD8Vp7ypSYVCgpY1oujeWn7k96az+f9cG2uC21tfMh/AmkiC38c13G8Y lKVg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=I9OgeOob; 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-68318-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68318-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id lk8-20020a17090308c800b001db28cd72f9si2696784plb.466.2024.02.16.01.17.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 01:17:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-68318-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=@bootlin.com header.s=gm1 header.b=I9OgeOob; 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-68318-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-68318-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CBF7228244B for ; Fri, 16 Feb 2024 09:17:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1B0A01BC22; Fri, 16 Feb 2024 09:17:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="I9OgeOob" 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 3AC2E1B941; Fri, 16 Feb 2024 09:17:03 +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=1708075027; cv=none; b=mopLckpfrn+iwJxqCJqmf8MlIz4K66wibN6/LIbbdJNLrDEwRcdCw35urToq8UKiDkJU+vX10V0i0t1jZ9xlkaoY1pCS3Wx2KT00xaPeBm8lSQLaOgXMKOaFFOAIL/2qDwZT0RDIiH6ZT74LyIAMjQAv2eKYhglRPahG4F1lg+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708075027; c=relaxed/simple; bh=knQb6WdfHntiaYWe1pTnj/8jQXTGcQ1QPPfOu5SCjG0=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:To:From:Subject: References:In-Reply-To; b=raQYZzYZpNZKlA8pc1pmM9QMC2xAPXiVXLjQIWFkSLK68VoljLpXKsUH2Vtimac0zpPA3fq0UB6cAiSbV/oejyO+TCapWrKSkopsZ9wYgiXaz9DxeUxRazhfm/+ZDJJbMij5HWi7WEVST2yoh37vENgdGaSym7Z9i2lSgiDPLKU= 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=I9OgeOob; 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 6E7B2E000C; Fri, 16 Feb 2024 09:16:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708075016; 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=dQdI8Zrzs9kwj/PfuUOcwe/1YQf/eV/Bz9uqQisZoKk=; b=I9OgeOobZzRaooIv6wdlB3NjJehUtglDnRE6VN/4DfqvdnnFZMCvv6RM2wLYVGlZ3oFrRc GMl/fM4t/cMqlyDon/tfQK6c3SZmIH1SiwNn1dXN+bpaq6la3naR3OMZt45jhtQc3cXmuD 92n4tBheAXzxd1RdvazlCDealn3xvzW6d1ivDuXKVgsjenXyY9o3MGWwhh8lZ9EMp6bEsu Nm0XhFN0TiUF/WQEO4D8OdKVi9ui2i0SVYvf2DTG+y0I88XhDtaCzL8Kxp1pkqnYSog1Uy CktNJKi4ZZRbAv9cajIfsuq/4m+2LUu8JY3EksFepWeO4xLh1S6jfU8ZRSdOYg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Fri, 16 Feb 2024 10:16:54 +0100 Message-Id: Cc: "Linus Walleij" , "Andi Shyti" , "Krzysztof Kozlowski" , "Conor Dooley" , "Thomas Bogendoerfer" , , , , , , "Gregory Clement" , "Vladimir Kondratiev" , "Thomas Petazzoni" , "Tawfik Bayouk" To: "Rob Herring" From: =?utf-8?q?Th=C3=A9o_Lebrun?= Subject: Re: [PATCH 01/13] dt-bindings: i2c: nomadik: add timeout-usecs property bindings X-Mailer: aerc 0.15.2 References: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> <20240215-mbly-i2c-v1-1-19a336e91dca@bootlin.com> <20240216022704.GB850600-robh@kernel.org> In-Reply-To: <20240216022704.GB850600-robh@kernel.org> X-GND-Sasl: theo.lebrun@bootlin.com 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=C3=A9o Lebrun wrote: > > Expose I2C device timeout configuration from devicetree. Use =C2=B5s as= time > > unit and express it in the name. > >=20 > > Signed-off-by: Th=C3=A9o Lebrun > > --- > > Documentation/devicetree/bindings/i2c/st,nomadik-i2c.yaml | 5 +++++ > > 1 file changed, 5 insertions(+) > >=20 > > 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 > > =20 > > + timeout-usecs: > > Use standard unit suffixes. > > We already have at least 2 device specific timeout properties. This one= =20 > should be common. That means you need to add it to i2c-controller.yaml=20 > 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? Thanks, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com