Received: by 2002:a05:6a10:6006:0:0:0:0 with SMTP id w6csp1999722pxa; Sat, 29 Aug 2020 10:29:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFz5z7TXRiVnTrvvnNOJ72Voosup4pMoc2sHsUcYsVqB0p3NEAfg487s1rUTRSauCaz7AN X-Received: by 2002:a05:6402:3199:: with SMTP id di25mr4267375edb.315.1598722173226; Sat, 29 Aug 2020 10:29:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598722173; cv=none; d=google.com; s=arc-20160816; b=y34By765pXPaqWWSMX3wVqluqWFDyK6I6+C//5L8/JAfTFhGs+TXiE/h4m7COFNbEp TCd3bFN2s9L+89rkbH3yImIWk7TUY5rCr8NslwMRGC3mdDpIsjC5pmUczP6V3zEi09D2 129ePabhxr6vDzEWqufD75m4HpkfyaNcSwFSGF6qbez2GcQmwIZF686jhZYYijIZWcy4 eCMEoBAmo1gk5eruov0nAyud8IIabUyNui7uIEy/d7JJREPJTiyc2pFVZSkkfCHtmvDA aD5m4lMfMMPbziNC/Cm8v/EpuARmzooA7QJ5JM9gyYEIqnIL6vnl+XOAM37GS+w+xbXu CT7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=h3W76K/oM8KNiy7zgyX5jixMF7fwt2ATQ0ULdZtm9eg=; b=b1QFlOkja1eafSTK0Q5nzYn0nKw0CCzvStHpecFiBVw2t26q4nzXemtJWLCK9P23Lv JR8q97OcG2jlJGhue5bqprK8kvi39a+zt2/niecByEb6w3nxjhARMQheuzf/2lfPo+13 5chqXDRuH1SVS5AIYrqTsK4YWaZzd3mlR0uL/3YZgxP8cleSOw8IlVFRUZInUAX2CaGK Phze4UWdNKTnNTcIHLM7bpyrPCB8g4ZTvhbEy5csGtLIVbToxd8iOJmsWJ3lG+vIbG3T Lse7vTev031hlRW0hxFP6KRAEbauPmmxR3MJmAmQUUrHlyhZPpZvtB2f3KiLf0tvKxzj XxWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sqillNnV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si2075112ejz.589.2020.08.29.10.29.10; Sat, 29 Aug 2020 10:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sqillNnV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728238AbgH2R2G (ORCPT + 99 others); Sat, 29 Aug 2020 13:28:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:34074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728105AbgH2R2G (ORCPT ); Sat, 29 Aug 2020 13:28:06 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AD57B206B5; Sat, 29 Aug 2020 17:28:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1598722085; bh=qY7x57AGtsUkeHbRnNlDUQfIhyRS0g6JReGDi0RPd94=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sqillNnVlaj1WTu3OaIzsuJDY0nq3eOaFhPRFbuifV6adDgYasJiObOTqdPYJyAU5 SyIK04VwkNP/YTKIduPBRw0TfF8Xq4KjxzLkX5EzO/kvN5xyqDUImSf4i3gq4KZCbw q2wzuRgYtoj4tHa7ares9vlJHx9IaMMUPV/yMHnM= Date: Sat, 29 Aug 2020 18:28:01 +0100 From: Jonathan Cameron To: Crt Mori Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko Subject: Re: [PATCH v6 0/5] iio: temperature: mlx90632: Add extended calibration calculations Message-ID: <20200829182801.19f028ef@archlinux> In-Reply-To: <20200818213737.140613-1-cmo@melexis.com> References: <20200818213737.140613-1-cmo@melexis.com> X-Mailer: Claws Mail 3.17.6 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Aug 2020 23:37:32 +0200 Crt Mori wrote: > Add extended calibration calculations for the new subversion of DSP5. > > V6 review comments from Andy Shevchenko - Covert all while loops to regmap_read_poll_timeout or > read_poll_timeout even though udelay of more than 20ms is used > in the second. Problem was, that timeout needs to be 800ms, > while polling frequency could be 20ms, but we konw that that > will generate more noise on line than needed. Did some tests and > current number combination seems best. This also caused that > commit messages were adjusted. > V5 review comments from Andy Shevchenko - Swap order of patches to avoid re-doing the calculations > - Add fixed name defines for Ambient and Object RAM temperature > channels as per suggestion of the Jonathan Cameron > V5: > - Add style changes patch along with current series. > > V4 review comments from Andy Shevchenko : > - Move the function creation for Ta4 to first patch > - Add kernel doc patch for documenting internal struct > - Add patch to convert while loops to do-while loops for > polling > > V3 review comments from Andy Shevchenko : > - Change commit message text to more proper English as per suggestions > - Drop unneeded brackets and parentheses > - Use defines from limits.h > - Remove userspace typedefs as leftovers from porting > - Testing of timeout loops with iopoll.h was no successful, > because delay between measurements is 10ms, but we need to > fill at least 3 channels, so final timeout should be 40ms > which is out of scope of usleep function > - Fixing some typos in comments > > V2 review comments from Andy Shevchenko : > - Convert divison back to shifts to make it more readable > > Crt Mori (5): > iio:temperature:mlx90632: Reduce number of equal calulcations > iio:temperature:mlx90632: Add kerneldoc to the internal struct > iio:temperature:mlx90632: Convert polling while loop to regmap > iio:temperature:mlx90632: Adding extended calibration option > iio:temperature:mlx90632: Some stylefixing leftovers > > drivers/iio/temperature/mlx90632.c | 274 ++++++++++++++++++++++++++--- > 1 file changed, 247 insertions(+), 27 deletions(-) > Thanks. Also thanks to Andy for all his review work on these! Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to try and break it. Thanks, Jonathan