Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5523949rwl; Tue, 11 Apr 2023 06:43:17 -0700 (PDT) X-Google-Smtp-Source: AKy350ZIeL0qg9M44obCG2XOXCMiXxWvYOF0UiOrZU0pGzyCIplaLH3SOjdrhzG9nOEMrknUKNgn X-Received: by 2002:aa7:cad9:0:b0:4fd:1cf1:b7b0 with SMTP id l25-20020aa7cad9000000b004fd1cf1b7b0mr12384915edt.7.1681220511681; Tue, 11 Apr 2023 06:41:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681220511; cv=none; d=google.com; s=arc-20160816; b=zAFTnHBTqG9JXQ4+ToQtwbYR1nAiKSahENCB5qsVKulrGnJKYyWS1E7mVjY2DWXZTv 0UrIdZCQ4BjbePYWqAp3ltV57zAOnB1fGHxCbuwxYQnrp+EvD7dU4qTfNL6UIaUsJ3ob g1UGEkz9BDmywK7V4iDKqUw9r516eOP/zLJMhzwi5ILzaZH9OhD6JuVNrVQR7qjAI0g+ VWzUXjMzznTys4cj5BVDxAtQvn2zFaLacnnL3vlexURVaV9ZMSQSdxj7o8+ZaZarfla/ WCeNQjpXYSbFAW+qotxOml5YTaJvi5cswihTUMSZBAnHxeeJjL0Tr8mJhX8pyD/uxe2Z AVfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=8+0NJ3X2EsMxKAEH/1Onmw1zuOookBT4T6iQjXHnGjM=; b=osInBJwZ07ecnK6hac1MqcOKRvdOKn2+HfKXzEW6/goMDofWHllQTeWkXOp405xfF7 Hgw6a5z8yrw5MyIu62C7S2sRlZ5dT7B7VvtFpjOgmpVsphGyg7hOpTr50s6HgNHCnXDK dl0vDF85kVNDb8TxArDvwCBarebb8qpZAvncdtyewI1C+2Tvb14QdKAQa7e2nw8Vwwuh nLscRdKqbC/DLMvWFSr/1MxxwnH3tjliMQDB3I4NfXgarmqDBVavD3LcA7FdUnPcVR6A /aGnY6BgWtfpmCrL/iEAGgPdUJCfwXrFpLUl7IkxfA/EDhltw7cBjLEqSlvHHoxwd0fv nbbw== 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a50ee0b000000b0050499e27724si6246632eds.343.2023.04.11.06.41.26; Tue, 11 Apr 2023 06:41:51 -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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbjDKNku (ORCPT + 99 others); Tue, 11 Apr 2023 09:40:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229883AbjDKNkp (ORCPT ); Tue, 11 Apr 2023 09:40:45 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49DC05244; Tue, 11 Apr 2023 06:40:37 -0700 (PDT) Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.200]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Pwn1C1jJtz67gjn; Tue, 11 Apr 2023 21:36:15 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Tue, 11 Apr 2023 14:40:33 +0100 Date: Tue, 11 Apr 2023 14:40:31 +0100 From: Jonathan Cameron To: Subhajit Ghosh CC: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , , , , Andy Shevchenko , Shreeya Patel , Paul Gazzillo , Zhigang Shi , Dmitry Osipenko Subject: Re: [RFC PATCH 0/2] Support for Avago APDS9306 Ambient Light Sensor Message-ID: <20230411144031.000077c7@Huawei.com> In-Reply-To: <20230411011203.5013-1-subhajit.ghosh@tweaklogic.com> References: <20230411011203.5013-1-subhajit.ghosh@tweaklogic.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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 On Tue, 11 Apr 2023 09:12:01 +0800 Subhajit Ghosh wrote: > This series adds support for Avago (Broadcom) APDS9306 Ambient Light > Sensor. > > Datasheet: https://docs.broadcom.com/doc/AV02-4755EN > > Following features are supported: > - I2C interface > - 2 channels - als and clear > - Up to 20 bit resolution > - 20 bit data register for each channel > - Common Configurable items for both channels > - Integration Time > - Measurement Frequency > - Scale > - High and Low threshold interrupts for each channel > > - Selection of interrupt channel - als or clear > - Selection of interrupt mode - threshold or adaptive > - Level selection for adaptive threshold interrupts > - Persistence (Period) level selection for interrupts > > Signed-off-by: Subhajit Ghosh Hi Subhajit, No need to sign off a cover letter. The content isn't captured in the git tree anyway. For an RFC, I'd expect to see a clear statement in the cover letter of why it is an RFC rather than a formal patch submission. What specifically are you looking for comments on? Point us in the right direction and we might answer the questions quicker. Thanks, Jonathan > > Subhajit Ghosh (2): > dt-bindings: Document APDS9306 Light Sensor bindings > iio: light: Add support for APDS9306 Light Sensor > > .../bindings/iio/light/avago,apds9306.yaml | 47 + > drivers/iio/light/Kconfig | 11 + > drivers/iio/light/Makefile | 1 + > drivers/iio/light/apds9306.c | 1146 +++++++++++++++++ > 4 files changed, 1205 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/light/avago,apds9306.yaml > create mode 100644 drivers/iio/light/apds9306.c > > > base-commit: 0d3eb744aed40ffce820cded61d7eac515199165