Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp366266rbe; Thu, 29 Feb 2024 01:42:23 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVS+2+EHWAnqC+RIWUdwj1gVEzrt5ZVkJ0Ctn07qNYgHO/bJc8i5PLuWicr32V77t9t1hOrE4YCy/7BlY+Ssg9M6j0WTvsAPrzXcJySAw== X-Google-Smtp-Source: AGHT+IFlYYf2bUyYlGPoMujz6fFaa9a01HGmOkxUMyzOiT9nAv7S7rbQO287i4ikOmKeEgm7nBIv X-Received: by 2002:a05:6a00:17a5:b0:6e4:5cf5:1b5b with SMTP id s37-20020a056a0017a500b006e45cf51b5bmr2829727pfg.30.1709199743518; Thu, 29 Feb 2024 01:42:23 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709199743; cv=pass; d=google.com; s=arc-20160816; b=Jfre8rO/FwkMqQe8GUIK6Yp0QTxvhBTP+4LPm3+YsnaEkNY8EN1Yg6cvCbdXdC1lN9 4kAqBJMWHA0JwqTHE3Oy2QNNL/G8EXaSyX6pZ2UhJrREkmkZhWuQB3ClnwUPma3onn5+ x7FpwiStk+SZb/WGsPvEPMBpsXn8Bp5M7rqt/HugoP6Bu3Q+sjlssKR13GD6FmujaSqc MMWdO0CCCCkn021g4m6uQgPVOWyzIVkF8pGnDGHRtykOY0R62fOQ0/Td09FekVgsdJWs ZJ6saYTMuMYkBOHLrOCf0nxuluFcjpEwVfzk1ETAyqQLU0x8CfHczhG89GifhS8eLLoZ w7tg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:cc:subject:from:to:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=PWzrG6VIjZLBT76F+KgpRQIxbWi9zLp+1US14SEgOzU=; fh=OLGtD4gpuuySJVKCyZtanhFBDvLYh4K6J5JKR39ni7c=; b=ryoooEYR+Ckcp8ZsB32vIcS5zD3lx2LCdrtHLl5EI09bqS93kzS0OFadfb30PZpvcq CxjTyYQ9YewnN6wND8gVwv2Tjeblr8MxJ5d12GevwofhV3j8m6Jw/jsDzd/U8bVgmiIf LCGKZC450lX6lL+826LNjKSwFzQw4AER2Vg5otgU3SdsPhyvWhZY6zYOr94KjSUMz73V otITJT9ARvs+61m2fUHjjTR75KDnf954x7953rz9xqgmiXhBWCVUjVQ6TJbhyLoL4b4E palRW8x+/l3/woWCpSQVhqvSUyRgTTZDrbPQxy5AuT51b9fa+ZrerpDhZQ6AB8yVkdL/ YSYw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dYHy0nIT; 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-86431-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86431-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. [139.178.88.99]) by mx.google.com with ESMTPS id d10-20020a63d64a000000b005dc528a5317si1030192pgj.50.2024.02.29.01.42.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 01:42:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86431-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=dYHy0nIT; 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-86431-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86431-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 93D0F28A75F for ; Thu, 29 Feb 2024 09:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D6285D744; Thu, 29 Feb 2024 09:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="dYHy0nIT" 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 BFC9D5B690; Thu, 29 Feb 2024 09:31:42 +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=1709199105; cv=none; b=rUtmpdYVDGRa76jbaY2dVR8ssM3Ovqc/WX6iMlnwYGwt8/gOUKIBRVryxJxcZ7od2GwceMfhIFgv6lkeSHT1ICrRiJtf9+yvuEcoNYCLZW+4fGSWRrj0p/Qn4rCF+2ocZpC560+RtmzHnO4sybD7ax8NI21cwyegvdAdlK13z3g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709199105; c=relaxed/simple; bh=PWzrG6VIjZLBT76F+KgpRQIxbWi9zLp+1US14SEgOzU=; h=Mime-Version:Content-Type:Date:Message-Id:To:From:Subject:Cc: References:In-Reply-To; b=CHsobcp+kAxAwUCErDBSJ+7hJqIuMjYUSQrlD25PBzboafHWL+E3NRxiQufgj81Iq8bx/Ck+QIuUIlSem6rF1++SF6oCjrE4G7bjbtaFoBKU1KAO/dtOrdqJElPFg3svSlqORS681+MaGONkVtyJqlY/kkrDCgoIVnc4wAlTy7s= 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=dYHy0nIT; 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 1D3D7E0011; Thu, 29 Feb 2024 09:31:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1709199101; 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=PWzrG6VIjZLBT76F+KgpRQIxbWi9zLp+1US14SEgOzU=; b=dYHy0nITyeQv9SDvJSf0KHiSFGyyJMx6bJY1VW+IopaZlmZOfJZBEwXe1kjXJZphSb7HFy 22+t/AXW5/rCaE0+feMCcC8OksOOb+K70PrnlcJX+ooZHUIl0Fju33omWcSX5njKkrSgIC Id2wFpqxrJnaF/TDMXZ8nZfhanGK4j6XoEmag3stdmX8KamAQCJka+XurtxwGh0IVPGw3c vz+j98XUXdQNXd0I295OsoBEuoC8vOE7vPu4jKpF/U3u02d+/UX80cuGwAiwBrglfSS1CT aO+n9sgU9ywBxuHhCWq6eAhT3sz2b7DYCbgu+CMyHFKhNkZXBE0U+pmSys/64w== 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: Thu, 29 Feb 2024 10:31:39 +0100 Message-Id: To: "Wolfram Sang" From: =?utf-8?q?Th=C3=A9o_Lebrun?= Subject: Re: [PATCH 09/13] i2c: nomadik: fetch timeout-usecs property from devicetree Cc: "Linus Walleij" , "Andi Shyti" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "Thomas Bogendoerfer" , , , , , , "Gregory Clement" , "Vladimir Kondratiev" , "Thomas Petazzoni" , "Tawfik Bayouk" X-Mailer: aerc 0.15.2 References: <20240215-mbly-i2c-v1-0-19a336e91dca@bootlin.com> <20240215-mbly-i2c-v1-9-19a336e91dca@bootlin.com> In-Reply-To: X-GND-Sasl: theo.lebrun@bootlin.com Hello, On Thu Feb 29, 2024 at 10:25 AM CET, Wolfram Sang wrote: > > The alternative is that I keep going with a new revision of i2c-nomadik > > that manually parses the prop. It'll be refactored if/when the I2C core > > provides a better way to access the value. Is that OK? > > That wouldn't have helped because there is still no user in-kernel of > that property, i.e. no DTS file with that property. But I just realized > that I need to convert i2c-mpc to avoid a deprecated binding, so we have > a user there. Lucky you ;) > > I'll try to get the series done today. Lucky me indeed! I just thought about it but I don't mind using the property in the eval board DTS. The default 200ms timeout makes no sense for us. Using a default of a few ms would be more sensible and make us the second user of the prop. Thanks, -- Th=C3=A9o Lebrun, Bootlin Embedded Linux and Kernel engineering https://bootlin.com