Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2181068ybp; Sat, 5 Oct 2019 07:11:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwE+E7svhZZKc9tcWCiXiJnoJF7ffqeDijsf/oemPKhT6SFt1bEWiMsOMGfBMv4gykeACf0 X-Received: by 2002:a17:907:2126:: with SMTP id qo6mr17125456ejb.256.1570284665320; Sat, 05 Oct 2019 07:11:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570284665; cv=none; d=google.com; s=arc-20160816; b=ijeD9Hf/YzW72XuXcGvr5hE+t938ZsM3BoSMifefFySocdQ1/f2dqS0jaH6m5Ui7MB +gDMP8+lUY3BrpYvBKrOdxy+AhhT65D/KxKmSZJRFbPzL753NHTeWi7vin3PmcRbYuOb pupu7BuqB901yQahUt/mfHT6DTW1c5ujixNfOZ21M2lnGUDZ0Vr8hOWEge/KLPD4l4Th c9vqw6HtGa+XOBZPNsOevRJkbJnsWmSqx13rtlbsKKFsi6Vrnrev4lKnrQoQ9X3BltCl 5AVkWvBErw8cQNZGFq5XoDITbo+2Sr56EQGwDzwpAOELGwei8gOJIj8cRrLfigKJVxoI ZJlw== 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=Bi9MLvGIllRMJJ9nH/zq5AUZVvpamIrMOTHbkPmWk/I=; b=UqKHgwEdooA6ilJbHhq3KCnqRT60ad3MWz/9YqMJ+xnKHQMlnEHbUNrM3x2StiMRXa w4I1EiHFtzMk8oVvcccV/bhg89xahEZhzW8Rr9LMhduPn6G0DtaxebraOch+iQniJ7C6 zwd+hhPMGv86VZSK/+CTnt5uf0kEyBcTSxeLiVO7mIuPigZHE36kPBlt0WefR7s5K4jJ js6Fjjr4kwC9dOK79RHRUO4605CPrtZWOHkpaXyYHjLCIKCte/e2tHPdpTyj93X2vvxi pFoyuA7naTq2yA1TEr+GNkzz0dT1HZjt8tNroB+QQW3JkujSIxOarxVYRzFRiBX9emWb oOtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AQdB61Wp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id v17si4563089ejq.5.2019.10.05.07.10.41; Sat, 05 Oct 2019 07:11:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AQdB61Wp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727983AbfJEOIo (ORCPT + 99 others); Sat, 5 Oct 2019 10:08:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:57888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726076AbfJEOIo (ORCPT ); Sat, 5 Oct 2019 10:08:44 -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 38E57222C0; Sat, 5 Oct 2019 14:08:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570284523; bh=yghtZ33VamNed3/8u3AM2n8e7DSzzKkd0Ffg7fuXAGw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=AQdB61WpznqXsV6wpEEpk4zxk3Zpdo0luZ0qnM5FAzgWuhmO/igJP/S1FIO1kUb/H xNSGscaXvoH4UNv5ZQSx0/6p7pKaQUhSf1cIocBf+CsPLuomX2ZxGoOYJiIf1WVJ5X GDHjdNMfZjidMGGACaKyHhsSovXK0SkhzLOXpM70= Date: Sat, 5 Oct 2019 15:08:38 +0100 From: Jonathan Cameron To: Rishi Gupta Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, gregkh@linuxfoundation.org, tglx@linutronix.de, allison@lohutok.net, alexios.zavras@intel.com, angus@akkea.ca, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, hslester96@gmail.com, wsa+renesas@sang-engineering.com Subject: Re: [RESEND PATCH v2 0/3] Add driver for veml6030 ambient light sensor Message-ID: <20191005150838.542b0219@archlinux> In-Reply-To: References: X-Mailer: Claws Mail 3.17.4 (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, 24 Sep 2019 16:21:55 +0530 Rishi Gupta wrote: When doing a RESEND as opposed to a new version, please say why. > The veml6030 is an ambient light sensor from vishay and > is a different hardware from an existing hardware for which > driver currently exist, therefore this driver submission. > > * All features; ALS, white channel & power management is > supported. > > * All configurable parameters are supported through standard > iio sysfs entries. User space can get valid values of any > parameter (xx_available) and then can write to appropriate > sysfs entry. > > * User space can get ALS & White channel readings through RAW > IIO interface. > > * IIO events are used to notify application whenever threshold > is crossed. This uses IRQ pin of veml6030. > > * Some registers in veml6030 are read only. For these registers > read callback returns error to user space. > > There are 3 patches for this submission: > [PATCH 1/3] iio: light: add driver for veml6030 ambient light sensor > [PATCH 2/3] dt-bindings: iio: light: add veml6030 ALS bindings > [PATCH 3/3] iio: documentation: light: Add veml6030 sysfs documentation > > Rishi Gupta (3): > iio: light: add driver for veml6030 ambient light sensor > dt-bindings: iio: light: add veml6030 ALS bindings > iio: documentation: light: Add veml6030 sysfs documentation > > .../ABI/testing/sysfs-bus-iio-light-veml6030 | 49 ++ > .../devicetree/bindings/iio/light/veml6030.yaml | 62 ++ > drivers/iio/light/Kconfig | 11 + > drivers/iio/light/Makefile | 1 + > drivers/iio/light/veml6030.c | 633 +++++++++++++++++++++ > 5 files changed, 756 insertions(+) > create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-light-veml6030 > create mode 100644 Documentation/devicetree/bindings/iio/light/veml6030.yaml > create mode 100644 drivers/iio/light/veml6030.c >