Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp581001rdb; Thu, 15 Feb 2024 08:53:06 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGySITgIoQ9D+WCdP/skf3BHCs5NclF9a0dg9srCpIThXk45SXiySUBvJYsi0vk6TGyqPc5+7KBAT5mmJtQ+orC0zG8voxdAw8ZY0qag== X-Google-Smtp-Source: AGHT+IEPvGL4wJWVPa2ACfHuPHdeLuPTvyoJlQvv8YrH8uruDyyUmQZBBgjsjdyTSPAshTzmJTJw X-Received: by 2002:a19:384c:0:b0:511:ab2a:3f04 with SMTP id d12-20020a19384c000000b00511ab2a3f04mr1786138lfj.58.1708015985926; Thu, 15 Feb 2024 08:53:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708015985; cv=pass; d=google.com; s=arc-20160816; b=a7TB/ISJYvJYuupE4twAy4PbiXukuzYXIBSU7b3u4nrEaUyY/j52vQNsUSuL10SxHt 3ya0cASpzq2/51wTQe6MgSz98OuMmmGGaeX2Pe5ux78HYz88PqLV8tRioglTP7+JlGVq rZFyUg2i7GqDfdMF2jDKOfaLNxbvi/Gkv88AALjRaelzajljJSefkcn3GKuoGX/ngyjk FE/FRYjiw49brgmFhO6bU6S1lV/sHRVvEpeP+Ki/UTbAZrJIfZWJUt0YWYb6Wb7HFz7u AukMqFtuXmov1/kFLsgPnulmCNmzV2hRhGkYbE9EsWscWq7WT6c6mg0GEvGgCIYyN9Zk 1wPw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=G6Tnp2unso4XKazSiaHxm91hgMMt9GxFy8ctCox1SvU=; fh=5JSnMO1qLgeVtLVJilSQcFnAcZn2MWLSM3RnsAdOnEU=; b=WlnnxEUKkXO36L6Cw6Ls24B0INYyeGwRiOYCQByRzQn1agAAchd+kPbgohm/W4on1k woXcNuqjSSvE/NveDZJkX3utbdmoRtlCH5yGFXNzgEYq8sd7kNHpGUBLR+vj4+IRsB4o IvkVgCR1UbtRlu6I8akHCCgxYT6Dpy5wBArHpHPKOqHdhzZqwW3t1zqvDMT4hvlTmL0y /m9TG+0ZAotTiD00DzOBrPp0uVI1QrA7FW1Lur1wEVBWf9yhkQ41uYe7ZbHbW+FvUnpi kFJNjOVodfCzKraxhqZ77XS0MptHglkunwrS+4guGNQRdqcwXCo++ZksUYlWeKGcNMwv YgEA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="JP1M/bpk"; 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-67334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67334-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c18-20020a170906695200b00a3d25334857si789136ejs.707.2024.02.15.08.53.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 08:53:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="JP1M/bpk"; 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-67334-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67334-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 am.mirrors.kernel.org (Postfix) with ESMTPS id A4FED1F226A3 for ; Thu, 15 Feb 2024 16:53:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E93761369A1; Thu, 15 Feb 2024 16:52:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="JP1M/bpk" 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 12AF1135A78; Thu, 15 Feb 2024 16:52:35 +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=1708015959; cv=none; b=XovIUtAGTZ837B2Sd2fE28C+jVC7fvFMv1JzNsRn8FeIFgBBxGFV1u6+8ZM9KQ3CtEi3KyydW5Vp8YF8XDR1il6A6vqfwn4BKvgjxD/Kk1RfLiuC4icG7XFnJuGYnDwH3SDbdn7L9Kgs12ShYSOnRb80e5LUde9S2BerF6o5UMQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708015959; c=relaxed/simple; bh=Ijz14cGEXQbqSJZ0xGJh261hxmWQfnydjiU88f3iIpE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=qtq9nhow3sjvTZdGJAJYqW0/0Wh9eC3JOz4Iu0Hg0a+eViXM5YhJdX3pGj4LcXWjk0n7nWdqsqfLf4UPviu4+GWMzGz/k9VetHAXvZ8+i3rUuG8w9pg/4a7TEUZMeqjBBq9kjKh+LNgb4ROFWge+w2NanqrcUcezWZH0qt11Lz4= 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=JP1M/bpk; 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 3CE20E0014; Thu, 15 Feb 2024 16:52:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708015953; 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=G6Tnp2unso4XKazSiaHxm91hgMMt9GxFy8ctCox1SvU=; b=JP1M/bpk9bS3ep85U+nbtsJhPr5WGZqySKANmguhxV3YSIYrvZOMDOgVZeA87geAQb9jUf 6P8LNCHsKt8QUIE0xct6uroeEAxUrm0RnZoZU9QkzvinQmkyl+wvbIvJhFYjYFUnS3EQfW +ttcLLGBR++EuNY+uVTPqcfrrC1xAq3oqBCRyLXthyVpK13mzESZMdzptdcKUQCYJCVUl0 /O8bECxGAPEQmIo/w+2nhxKiDkWnHWewJiB4pDCQ6IeflfDVIPkHpTsqxf212e96mkqdyS AkREzWfipVxO/lnFPW66vP4sJQf7RsOoaHSfxsT+hRK5di/BTcrbsbktdq1A6g== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Thu, 15 Feb 2024 17:52:08 +0100 Subject: [PATCH 01/13] dt-bindings: i2c: nomadik: add timeout-usecs property bindings Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Message-Id: <20240215-mbly-i2c-v1-1-19a336e91dca@bootlin.com> References: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> In-Reply-To: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> To: Linus Walleij , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: 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 , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.12.4 X-GND-Sasl: theo.lebrun@bootlin.com 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: + $ref: /schemas/types.yaml#/definitions/uint32 + description: Timeout on I2C xfers in µs. + required: - compatible - reg @@ -98,6 +102,7 @@ examples: clock-names = "i2cclk", "apb_pclk"; power-domains = <&pm_domains DOMAIN_VAPE>; resets = <&prcc_reset DB8500_PRCC_3 DB8500_PRCC_3_RESET_I2C0>; + timeout-usecs = <200000>; }; i2c@101f8000 { -- 2.43.1