Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3572225rwd; Sat, 3 Jun 2023 07:43:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ51AlT6Af8pMVKjKa2RyK0sSD8IzWJkTmPJ63hb04JzPrgobEGfTQUemmNOMhLTxeiYT62b X-Received: by 2002:a17:903:190:b0:1ae:3e5b:31b1 with SMTP id z16-20020a170903019000b001ae3e5b31b1mr1668294plg.9.1685803404260; Sat, 03 Jun 2023 07:43:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685803404; cv=none; d=google.com; s=arc-20160816; b=UKw5gAULkkpsFNMr/M32Y6STvp2Qsu5Rl4sYRegwXKUIEx9bqRm0QnVQr/hF4SOLeK V5dawuGvA82vQ2hS88b4GjKVNPu7hD4DElzfi140I4BduKCCXzLMJFh1rjDOGC3INhbP 6qfbWqZFSbBoIuYumLBHM4JN8mp7+qiGITjjHIhMq1eK0ggiTI8YrHJ0ZUa/RfaotFbg ywHjXbhH41a8Bt3n1jCxk9WSl6dKBpGTHHTRsqjtxjfQwQaEBwgGXc1brjKA0c4pEXDA M9pdAAcWaq7TN0/nHnTOE0cLp5LGVXovhSWlIdsfakANNVHmL4gx3leDdyPH7lKaRR1r Aoxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:date:from; bh=oXGCaLCCQpCUJZKoYu5+uP5TLJEHuKd+KzTVJnD5dzQ=; b=NHnisqTB6GqEyS7yyF5sxg3HbRAyHUQ008mLWJkofQ0+KOvPzVznc2WL3cipnWxAdQ UdiAKLEBDGKbh3pYeZoC2V3BPaMWQlSAJCq7CycEQ64ED4XwAmpqh6UVfy74S79dt1zq hJX34B0my7/dVxYd0hZooCZW0iPQt3pCu/MnacPPPP122kJt5Aq5g9pOjdrqxNMaEhcD sYiprwPhYKZuJOkhGfzl+ib3tIvqXpX4O4QuC/+q06Ex6egaO0Qqv8OBXhpi1B/aKNdI b5NqPR2MXBP68yx1dw+r8OVz6roiSLqtsU1YEGPLExc1/HPROdDQcvOdMQP+pjrET/5l rjNQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k6-20020a170902c40600b001a95c413f7csi2679749plk.550.2023.06.03.07.43.11; Sat, 03 Jun 2023 07:43:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229939AbjFCNyP (ORCPT + 99 others); Sat, 3 Jun 2023 09:54:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbjFCNyO (ORCPT ); Sat, 3 Jun 2023 09:54:14 -0400 Received: from fgw20-7.mail.saunalahti.fi (fgw20-7.mail.saunalahti.fi [62.142.5.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2EC8F9F for ; Sat, 3 Jun 2023 06:54:13 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw20.mail.saunalahti.fi (Halon) with ESMTP id 1de9284c-0216-11ee-b3cf-005056bd6ce9; Sat, 03 Jun 2023 16:54:11 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 16:54:10 +0300 To: Astrid Rost Cc: Jonathan Cameron , Lars-Peter Clausen , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@axis.com, Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Mathieu Othacehe Subject: Re: [PATCH v5 0/7] iio: light: vcnl4000: Add features for vncl4040/4200 Message-ID: References: <20230530142405.1679146-1-astrid.rost@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230530142405.1679146-1-astrid.rost@axis.com> X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tue, May 30, 2023 at 04:23:58PM +0200, Astrid Rost kirjoitti: > Add a more complete support for vncl4040 and vcnl4200, which allows to > change the distance of proximity detection and interrupt support for the > illuminance sensor. > > Proximity functionality: > - Interrupt support (new on vcnl4200). > > Proximity reduce the amount of interrupts: > - Adaptable integration time (new on vcnl4200) - the sampling rate > changes according to this value. > - Period - interrupt is asserted if the value is above or > below a certain threshold. > > Proximity change the activity distance: > - Oversampling ratio - Amount of LED pulses per measured raw value. > - Calibration bias - LED current calibration of the sensor. > > Illuminance functionality: > - Interrupt support. > > Illuminance reduce the amount of interrupts: > - Adaptable integration time - the sampling rate and scale changes > according to this value. > - Period – interrupt is asserted if the value is above or > below a certain threshold. It's a good work, thank you for doing it! But it has a lot of small style and inconsistent issues. They are not major per se, but since there is more than 3, it makes sense to address. Also check if you can split your patches to two or three where it makes sense. -- With Best Regards, Andy Shevchenko