Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3519115rwd; Sat, 3 Jun 2023 06:52:39 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4i8lIFz235HOitxw3sJFvCLbWkl+u538s4BWkOFiBbH2spzM/hZx1UaauOD1yGM2gLahmv X-Received: by 2002:a17:902:d4c8:b0:1b1:8e8b:7f6a with SMTP id o8-20020a170902d4c800b001b18e8b7f6amr3854843plg.27.1685800358922; Sat, 03 Jun 2023 06:52:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685800358; cv=none; d=google.com; s=arc-20160816; b=u6LXJ1wveKY8OgDW5tNDdniz9Tp34Rk/RN92D684Kj92F3ib6ScxFeg8HBA9qRoOPu fz0CDIWqOYGmhyvvnEY9fu4bnAYt0LpTAJ/lHZOTCIhCBBPwaMDy+5tHGnJbxoFDvNGF 5RsDnX9s4QL06jPPxWow5ddqk0/LC1dBMG2gyFcJ6wuArVkZUrA9nPP0U/8z0JUY2qWQ UbwbAskCXlyrfXywFoAYRwyFDF6mQce154ekeCAIaNb6jIl6ocr9ISKxMspMwA5iQ8cp aKfo6yutGOazvX5h1HmWA9qLoZCqzeBkvwrynxFDLKEUcAenoATw0h5IHmSTs4S6qQ8m bhLg== 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-disposition:mime-version :references:message-id:subject:cc:to:date:from; bh=0xMtRX4iincTfbnNaiu/C9kgUyvUbeU8NeDpP6ZijSY=; b=rqf96dCzim7VQD7QQHxJRD8Za3yj2gtm4EcDxBzdVrbuzycA8+Zl/kgsvjIsDAe22p YzTcJ8VNsU8Cw1qro5SsrD72QRq4+tyQiu5fbqogAnKEln5QP3cWb9V8BMaIjJydSrFw cwewQUF8R5HvQjPTdXP/ZAvRRGTvUi6I+XVMFpgO/PbIAo3bAkfwEEeHSe90Y/TinZps BZBgQZcDbI5rtEiHsGhAPjV/hAvHAIfD/dXi1+QHtzm49/StHWfIHZC5l+wc54u65SXN VYcUSMXZqpmblhvIGnlNYqoNm294zI0TGIFEEFMiVeB61h62Buys0vtdJPB000bAoB5+ pEdQ== 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 k1-20020a170902694100b001b025d26f35si2571245plt.491.2023.06.03.06.52.26; Sat, 03 Jun 2023 06:52:38 -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 S230170AbjFCMJW (ORCPT + 99 others); Sat, 3 Jun 2023 08:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjFCMJV (ORCPT ); Sat, 3 Jun 2023 08:09:21 -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 BB104F2 for ; Sat, 3 Jun 2023 05:09:20 -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 773e062a-0207-11ee-b3cf-005056bd6ce9; Sat, 03 Jun 2023 15:09:18 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 15:09:18 +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 2/7] iio: light: vcnl4000: Add proximity ps_it for vcnl4200 Message-ID: References: <20230530142405.1679146-1-astrid.rost@axis.com> <20230530142405.1679146-3-astrid.rost@axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230530142405.1679146-3-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:24:00PM +0200, Astrid Rost kirjoitti: > Add ps_it attributes for vcnl4200 (similar to vcnl4040). > Add read/write attribute for proximity integration time. > Read attribute for available proximity integration times. > Change sampling rate depending on integration time. ... > irqreturn_t (*irq_thread)(int irq, void *priv); > irqreturn_t (*trig_buffer_func)(int irq, void *priv); > u8 int_reg; + Blank line? > + const int(*ps_it_times)[][2]; > + const int num_ps_it_times; -- With Best Regards, Andy Shevchenko