From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 AAAC32F0680 for ; Fri, 8 May 2026 16:12:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778256745; cv=none; b=qm2tep2tcn1hnSxidHzY1rCKafhcQ77qGxhi3EThEvFpL+C9cLN3UUKSF8kjFY55t/pBZkkr491TvvU/xRsTq/a5adtcbYApKYjqIXVe3VxZQdaSH9zMVDjAa8AhKnbE7NtJodreffgqNf2layK9C0nZnVA4cKdPlZfnYgwzEgQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778256745; c=relaxed/simple; bh=AxH0H7SjWvdfFs9A7JYy9sQog4FFRFEh0PEtdkWQG9Y=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e8NQ7vofsTX5XebnhhmvBjVxotHmTciAFepsEOtDZLXvMuOW04Mdg1CRL+m37JaiStlVn+1VuI05A4g+RwMgonLkjP+BJQdCygqZPAt4gIjzh8AHSqVqaWzT9hhLy84dh3j3e1dimUxO0TT4ErWTUfVkcAEGlnPm+OIkDRHI848= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=TVkl0B+W; arc=none smtp.client-ip=209.85.128.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TVkl0B+W" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-48d146705b4so26265475e9.3 for ; Fri, 08 May 2026 09:12:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778256742; x=1778861542; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=pkIoCWWdm7EHeG5o00/peFWmYkp/yOXcS/WrUgUk1dU=; b=TVkl0B+WXAWPcqCZD6J15/QOEmLrZBRRZoJMBwk1mLRdDuYcXdJ6IAzBGye794Tbla yHUnEHcTD4FrMztZ/MDOpRl9g8dTgCFeJj+wDC9Opgo4avakr6xaMuaIimmX63uy/wfM 7yETR3J8lk+0M8K5fj/70XogmgyVcN3hivjfvbWQGitaFcDLtCemfm3W83CxaXu2hL8m 555/IbylnI5AJOw1Aj3VHHoOKXhASB5539xyRW4Gmv/OjdSACzUKPcLWciwtA6PfHmnb g7uY7rp8dl7RJCw8KuTNtQSw0C6ZLpBepTfF96AIRRCtG4/Mw+icTT5EcscIj1B+tvdY ACSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778256742; x=1778861542; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=pkIoCWWdm7EHeG5o00/peFWmYkp/yOXcS/WrUgUk1dU=; b=Fig4Xcd13ZPp47Z7VyOyayXNPitJQUdVt/C1EGlxXjnseBEmE9Z4/1JGLIvK3szzku hQMIR01gDo3bU/TROmJcqrJJzvQBzgc2wSzk5H7ey+bV4PRb8pqQMHQFnHaV50D3eSGO RWP0Xx2KLr9KRLa8oX05jxBvMv1eSyZ8tSLEkuJRECZcPlgH7IpF2YOqbffz+QnK6QJI +AsLn+9UdHQZkviypoR+yj0WdxsnvMc2EaDk96S6RFgE0gjppIZ6Wa511gYu1HFKlCna I4m2ZqDyiRZc8VHC3wHtSQuquSVIrJgUl4jsB3a8YxaJJl9oRu4Hxb9X1u0BwztlcwyF 7TJA== X-Forwarded-Encrypted: i=1; AFNElJ+LbkLlMByevxHkKidjomMRYHefi3LKgOXXaJW1guQq6Q2MBGO1gkM5cvUCvpgQ5MZF62IAKx4b2jvH@vger.kernel.org X-Gm-Message-State: AOJu0Yw0qpzQ+ZZ05taYOLuBSg2i9Anxi6hXk9585fyvjPa3jZimdjeH uMG8E2RjE8TJI2raM8UlXz72ycquVi0MvigSwKk+YwDC6rpeJWKq6773 X-Gm-Gg: AeBDiesTiX7lMw/KY1f0klLM3LzRNBXNruWfayJiYgDriBnvAakP/jaE1oXbQzPvSbl uo1XVR32nqRJJtuZSgfh/EOhNFoz2EcNIGHdEjpjtP9cC+yA5UvSuq6qbACLFO5dsycPp+LLufH nNJRTyydQYAUN9V0Li/ZC/u7eHMmkS5ykwfIUDPZuP7mi0bPxOgoFhlfQnUy1s3T4H9QB0fMkP/ m+sGRh8NRf7B34FfoWaJUsX+Gl0wOhozZpQ+lgghfRSOlZRZIeRMZHZsL+KZczjG6jasbBlBFef JtDzC0vPrnuL9Bxp1e8knwMOVg6aHJPDratTti4W2ivV0eqNcxbehqgn+xgXdWGDCMUIfLc8V/f bnchTfFS3p2Vw7ny4ZmQWUKRiqmJShWaFFfHJ1p22b+RgKj1YvTQo1Qxazh4bZV7HjQxSXg970S R5v1Bui7vQr1R7/zghRqgkeKo2uA== X-Received: by 2002:a05:600c:c096:b0:48a:f18:ece4 with SMTP id 5b1f17b1804b1-48e51f50982mr159339065e9.24.1778256741678; Fri, 08 May 2026 09:12:21 -0700 (PDT) Received: from nsa ([148.63.225.166]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4548e4bbebdsm5771250f8f.5.2026.05.08.09.12.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 May 2026 09:12:20 -0700 (PDT) Date: Fri, 8 May 2026 17:13:14 +0100 From: Nuno =?utf-8?B?U8Oh?= To: "Stan, Liviu" Cc: Jonathan Cameron , Lars-Peter Clausen , "Hennerich, Michael" , "Sa, Nuno" , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] iio: temperature: ltc2983: Add support for ADT7604 Message-ID: References: <20260427132526.272716-1-liviu.stan@analog.com> <20260427132526.272716-3-liviu.stan@analog.com> <20260508121441.39ad9f65@jic23-huawei> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Fri, May 08, 2026 at 02:48:39PM +0000, Stan, Liviu wrote: > On Fri, May 08, 2026 Nuno Sá wrote: > > > On Fri, 8 May 2026 Jonathan Cameron wrote: > > > > > Will defer this to Jonathan but if we can have a real of the coverage > > > > > given the temperature, I guess this is ok. Given that I think we don't have > > > > > a better channel (unless we add one?) for this. Or just extended_info... > > > > > > > > > > > > > I have no idea what coverage percentage means in this case. > > > > Can you provide some more details or a reference? Google isn't giving me > > > > anything useful. > > > > > > A leak detector is a sensor like the raindrop detection modules, whose > > > resistance decreases as more of its surface is contacted by liquid. In this case, > > > for example, if half of the sensor's surface is in contact with a liquid, the > > > ADT7604 should, with an appropiate user-provided resistance-vs-coverage > > > table, report 50% coverage in the IIO channel. > > > > And, AFAIU, depending on the coverage the resistance changes and that's > > how we get into the indirect temperature variations? > > If I understand your comment correctly, you're implying that there are indirect > temperature variations caused by resistance changes, and that's what the chip is > measuring? The chip does not measure any actual temperature for this sensor > type, the value in the temperature result register bank is solely a result of the > chip's interpolation of the user-defined custom table. > I meant that's what the table is trying to accomplish? That's why I kind of put it as "indirect". My understanding was the chip does not measure any temperature as well. - Nuno Sá > Liviu