Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1235124rdb; Sun, 7 Jan 2024 09:34:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGH95QZbge8ECFdOrwc9gc/yKLEUo081hTrLwGSGCnK1efWLZ8TBtrm8eNvroYGytvbdRN1 X-Received: by 2002:a05:6870:cd95:b0:203:ea4e:38a7 with SMTP id xb21-20020a056870cd9500b00203ea4e38a7mr4150800oab.31.1704648894985; Sun, 07 Jan 2024 09:34:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704648894; cv=none; d=google.com; s=arc-20160816; b=aUVpGyL3/2chIR/NhSTv8TUKCV1UiJUq+/Bpvy7jWZJaccmfkn2V9rvfR6e6vMMRG4 dbMeGusP/Qj0orTnDPlI+V4j6+u3m/btJ+PUHJN9fzfR3BBXm+6P/iS5OnQ8CcJbh6ZI QVtm3+z0wywQSRrWnceteOqchyMFs3NEPdpa0Q1k246mEcbFtW9qgEr5jz7xsjqTCP9h Qmiwe0+ufM2OU1Xoew3/92hngbGuTk2d077SqBOlCNmylxuE0IQTt/ENUFtzheQ1YQnk 5sXnW5PM4akYX6ZZjFZnu4d5pRXe4Ha/2pkHqKSHMZMK3wySL2ebzqDeC25DfZ+g0reh BwKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=WCTsJarysC77v3ACP/NKhPe2RrrA50cxy1q5t9LuTHM=; fh=s0gWh1SMMpadnfLoZXPF8bTZZkAF7Zr3PEbXc0gGFPg=; b=spJsGTMzVki6e5kARwAE/8acBpnX/IX55WaaBx2aczcKfWUXhI8OyHKCObbH6qZJ92 UJrZ1cufQm9hjuSzKJAfENbK57jiufThpve91pkYvv8ciA3FZkPtVbT7UhQd4JH/ylW5 qf1X11OxoMUyVbsoorgSJLCT7gXWp1Vj8kea16NsvHaZiqhzYD1LFKtaCxxB59oiWlY2 lAWEu5UzjPabPQR877xNpPdXODoxMT6F8PIBKt7rf+wmXoT9wgCDRyOJdRwtF7O5WX29 XxcWKgAYBL8JzipYYPx+nWMoup8n+2Ct9ZQ4/qkklfxJcUlOFxI0HgX8nLVqIQPpWYyJ Nqhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ltEK5H1/"; spf=pass (google.com: domain of linux-kernel+bounces-18929-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c16-20020a656750000000b005b21d089aa7si5130792pgu.788.2024.01.07.09.34.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Jan 2024 09:34:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-18929-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="ltEK5H1/"; spf=pass (google.com: domain of linux-kernel+bounces-18929-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-18929-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id EB9C7B212E8 for ; Sun, 7 Jan 2024 17:34:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EDE8813ACD; Sun, 7 Jan 2024 17:34:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ltEK5H1/" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3F9213ADF; Sun, 7 Jan 2024 17:34:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-40d89446895so6143025e9.0; Sun, 07 Jan 2024 09:34:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704648876; x=1705253676; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WCTsJarysC77v3ACP/NKhPe2RrrA50cxy1q5t9LuTHM=; b=ltEK5H1/IjDbTtHUZ13LZ5ojhcEVgW/pRxXnaXyCD3rMS3o90i4z46Wb+l/YSmvh+n eRbSJ1UyRbo8xcIA+/mNu3bj+JjjIF3W3SUfIvAFOsnTbdQyldQQSW9FDRJMftP3I1Mx ctCEFymtlmURbCKtPcoFOe4qewj/1rG+YXF2DoR0kzFdt9sjM9rw5CPWvn7EsMk61M85 1dyJ8fnQ0zSlRcYLFjU1IMJfWBu6hqHwC0WoCJK1qFuvs0RT2gP+wAwuQ6p/XmPMP0B+ fnClryBDaJs+mvyZzHK4Y+vJ+MQmjc9mvqatTIraa88SH4QHVzx1mJhI9dpkiYAp9x8I 5aDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704648876; x=1705253676; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=WCTsJarysC77v3ACP/NKhPe2RrrA50cxy1q5t9LuTHM=; b=JN5RTj4bGs1poT6OF2iGby/gbN7Waf80YvA2Eq4ViXf1fbcmLz40v2/FFxJjDK/7/l KFBxQNdE9eFyqVVXqgbDC9gjkw5mBZmvz6gBE/vbMO4eLSehB7SUqot7p/ejvvLfhcyo 5dlWKv3Zd8s4FCn/PDGBRIK5biKFbaDmcKGoec7bVLKd2zC5otQw5VFMiQ0NHTy7nOHW Msb/lfEfZu4a1J1JcGcD4+BE7CScUkbe1/wj7g6oaWr4Hj9HQm+u32ycpZof02ZRLOzD wPf8rJ6S1AKt6rmfb8HiF0WVjoiTfLpRh5RZX6fsDs3mrropfB76fxJ4bXwt2kggUhzz vyBQ== X-Gm-Message-State: AOJu0YzFXPqEazqOU7o6M4ldPTbUqKeDVZP5IQon88QvG0OnC8dlM9ek j9x9wb05RoKDgUYIA5JMwmQ= X-Received: by 2002:a05:600c:310f:b0:40e:4134:236b with SMTP id g15-20020a05600c310f00b0040e4134236bmr1024379wmo.117.1704648875474; Sun, 07 Jan 2024 09:34:35 -0800 (PST) Received: from ?IPV6:2a02:8389:41cf:e200:f579:21c9:7f03:46a? (2a02-8389-41cf-e200-f579-21c9-7f03-046a.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:f579:21c9:7f03:46a]) by smtp.gmail.com with ESMTPSA id u2-20020a7bc042000000b0040d79997731sm4484033wmc.0.2024.01.07.09.34.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Jan 2024 09:34:35 -0800 (PST) Message-ID: Date: Sun, 7 Jan 2024 18:34:32 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/3] iio: light: add support for AMS AS7331 To: Jonathan Cameron Cc: Christian Eggers , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Conor Dooley References: <20240103-as7331-v2-0-6f0ad05e0482@gmail.com> <20240107155838.376bdd1e@jic23-huawei> Content-Language: en-US From: Javier Carrasco In-Reply-To: <20240107155838.376bdd1e@jic23-huawei> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07.01.24 16:58, Jonathan Cameron wrote: > On Wed, 03 Jan 2024 13:08:50 +0100 > Javier Carrasco wrote: > >> The AMS AS7331 UV light sensor measures three ultraviolet bands (UVA, >> UVB and UVC, also known as deep UV or DUV) as well as temperature. >> >> This device is practically identical to the AMS AS73211 XYZ True Color >> sensor that is already supported by the iio subsystem, except for the >> photodiodes used to aquire the desired light wavelengths. >> >> In order to reuse code and reduce maintenance load, this series extends >> the AS73211 driver to support the AS7331 as well. >> >> Note that the UVA and UVB light modifiers have not been merged into the >> mainline kernel yet, but they are already available in Greg's char-misc >> git tree which can be found at >> git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git >> in the char-misc-next branch. >> >> The original device AS73211 supported by the driver could only be tested >> briefly due to the lack of hardware. Instead, the i2c-stub module has >> been used to make sure that the driver registers the iio device properly >> and the attributes exported to sysfs are correct. Some basic register >> assignments reported the expected intensity scales and in principle >> nothing else should have been affected by the modifications in the code. >> >> Signed-off-by: Javier Carrasco > Hi Javier, > > Series applied - but given timing I'll only push this out as testing for > now as I'll want to rebase the IIO tree on rc1 once available in a couple of > weeks time. > > Thanks, > > Jonathan > Hi Jonathan, I am happy with that approach. Some extra time to catch issues before going live is a good thing anyway. Thank you and best regards, Javier Carrasco