Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp436252rwl; Tue, 11 Apr 2023 21:51:10 -0700 (PDT) X-Google-Smtp-Source: AKy350a9qCtI5dLEqCwjgv3whRl74EjRWr6f8s8s8pOXBZrAx8jiLe1rMSU4r04th7jdjC5jW6Hn X-Received: by 2002:a62:1d4d:0:b0:625:fe95:f120 with SMTP id d74-20020a621d4d000000b00625fe95f120mr14433882pfd.8.1681275070370; Tue, 11 Apr 2023 21:51:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681275070; cv=none; d=google.com; s=arc-20160816; b=PwQJ2uxjW24603mMxDrVCmLvOkwImZAkvsmw2LQ3oWptgnmcz0wKiXDwUx89Enqakq OParHtLtcz9ipPRIf/X+j+kZtuqaLBJBqq+w24lE+koZPNm+olegXhvTpT25NdQ2o6zi Rd0Ep1ibGGowG3CD6/RSyJ1A91Bn+u9uXRbQY/0zEqCZXZD6KyIsQckgCMtXMPtxgHz9 bO3c5P06lcmDA69O2Ieqrl2TvlDmVVGcqNA/yfQzfhIVPegQT5Y8Tl3gdzImrYaasSSE +vNWQdyzbQDFKkVabC4s4uFL3PAGY2gMNF5ZE6v8aZgyRt67ZiVeTO/GpjDAYUGM4d7E pzMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=+bx1peOWUY+EguIhN3+HEV80l+NpcfNfRNogKL9pYa8=; b=uPVvlrlAfDeviisD/JIP3+fWYa/1/rUPSsh9KB8e55BJ4TFAFWPDhpKTEZabqZB4x2 VXrXM64+kF/b/lRC1QnZgBOv8lN4xSFp9lIEYBd+qefhz+pcoh94jnJOR6GmU49wma05 mxF73KngZ+ol2xc+6x2DzAv7FseK6ZnU5zpo3rDOcOdcEN1jKLfm1m8p+xVEgcs5gVpw VcFxtvNdnW6XhPgGpWVCozZlu1qlK3i4qkzgx8yBlBuOM0XwAcLb0ylPMtg3vIP3fHE+ vGF/lGAV2RLJGzX2L4aA83vAHmPGpfFbCK8XOLg680AUGt3vfglOvTTIXcAOovykN0/D 85KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tweaklogic.com header.s=google header.b=TYD6k5Tk; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v10-20020aa799ca000000b005a0c57eac92si14793729pfi.232.2023.04.11.21.50.57; Tue, 11 Apr 2023 21:51:10 -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; dkim=pass header.i=@tweaklogic.com header.s=google header.b=TYD6k5Tk; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229531AbjDLErI (ORCPT + 99 others); Wed, 12 Apr 2023 00:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbjDLErF (ORCPT ); Wed, 12 Apr 2023 00:47:05 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E805D469D for ; Tue, 11 Apr 2023 21:46:56 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id 60-20020a17090a09c200b0023fcc8ce113so13298562pjo.4 for ; Tue, 11 Apr 2023 21:46:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tweaklogic.com; s=google; t=1681274816; x=1683866816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=+bx1peOWUY+EguIhN3+HEV80l+NpcfNfRNogKL9pYa8=; b=TYD6k5TkH0f+f2VcgwjIMuLUw5PF7L9qlFK7nKXfGEzzYqg5yocLOj1NQcTK3AlAX8 7L49b8EJyccPPe9AEmNfHPbpp9gwhlxoNTDCh0SE1hZc6MyxITgRVf7vXAHMExP+UADL dlSuONYrS5XVbWrjQ2wBV/vTEO137v89cT9dkfhh4QNwnjBK2IgJHRgEo+sMqHdnQIXb J01mLe7aZYR537STAD/H0nm6pewLefxODOua1AMHGwSXynhqlckI5SFYTlRwMFWzpF+s DjYo6pyAbx8fB4OIo6s1D7zEEreKB/Urtle6rqgWkKeAbOMUehI2F1eh3X8b6ZrwliIr s5ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681274816; x=1683866816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+bx1peOWUY+EguIhN3+HEV80l+NpcfNfRNogKL9pYa8=; b=r5rEhpaJfpclr8pBBRDlpSRnVEYmHTgS63JSJ00kKL3kcbn4dyEyRuGdIduyGyVCnp yE9cTu8GYPhNR6LHpPsxAz3MqKTcAuOOeMTueu+80ySFjUyY6e4Xr1twNqZRZc3arll6 vaDjymz13j49f3cbAGZ0HKDrxmA3NhtzqSVAww0FvDhNSlyZR87LVqcIJ18CPFoto7FO QrlUDj3e8YV7cer3/e1wlKTJQCSkt9KpMfQe1zP/LoVvyBOrBL0JJJQ3m/fl1O/FPopM AN6ykki9n/8yKqXM7J16mnQoDTtgrKZUVC6uDefn/Ax1gHrVj4nipIQwIni9hHFrT+XF 6i1g== X-Gm-Message-State: AAQBX9eQLfAppd04LQQSi82lMb8IVHcOtlR6zNi87HUB1FyNkGlVM/2q ZhPorw9jMLn9j0kCOr3nfqciiA== X-Received: by 2002:a17:903:2943:b0:1a4:f156:a1e3 with SMTP id li3-20020a170903294300b001a4f156a1e3mr12911958plb.58.1681274816319; Tue, 11 Apr 2023 21:46:56 -0700 (PDT) Received: from [10.240.2.163] ([124.148.245.238]) by smtp.gmail.com with ESMTPSA id f2-20020a170902860200b001a258041049sm5509039plo.32.2023.04.11.21.46.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Apr 2023 21:46:55 -0700 (PDT) Message-ID: Date: Wed, 12 Apr 2023 12:46:49 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [RFC PATCH 0/2] Support for Avago APDS9306 Ambient Light Sensor Content-Language: en-US To: Jonathan Cameron Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Andy Shevchenko , Shreeya Patel , Paul Gazzillo , Zhigang Shi , Dmitry Osipenko References: <20230411011203.5013-1-subhajit.ghosh@tweaklogic.com> <20230411144031.000077c7@Huawei.com> From: Subhajit Ghosh In-Reply-To: <20230411144031.000077c7@Huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 Hi Jonathan, Thank you for getting back. > 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 Thank you for clearing it up. Next version of RFC I will put specific reasons. Before submitting a formal patch I wanted to check if my implementation of single reads of ALS data raw values from userspace when interrupts are enabled is the right thing to do or not. Also wanted to check if my event related userspace ABI implementation is in line with IIO subsystem. I will put it into better words in the next cover letter. Can you also help me out with the git tree I should use to format the patches? As per my understanding it is the subsystem maintainer tree and the main branch but the macros and functions which you have suggested in other reviews are available in Linux mainline. Regards, Subhajit Ghosh