From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 A1C46215161 for ; Mon, 10 Aug 2026 23:06:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786403208; cv=none; b=dV6qptfeIPFnzjMb/QlkK6Mli9zpiVbukb/nby1xcV+ce6oDctVFCwOSAMcYLUGShzZj39COjtmdTEJMuHqvMeymk6mr+QlKBHC1nR715CWj+CtE5kzI6wyn2WmHGF+1bqZPZE91l0/2S1Kvo6CexZhtDExTVLmiZrXHWCWhfTg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786403208; c=relaxed/simple; bh=ZVxOG33XzzMNHk1oqzzwmRCKYAbGR9wBVWiGeldsiuc=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:Cc:To:From: References:In-Reply-To; b=fsDqFs3K7rHYTOvK7oZuw4p+aa1qcTO2HjO2FWy6/zzf4L3w+QNZcGskjVXZIAq0Ufg40KXSShnGYbBLy/8rta64mKxkzw/v2vcNOhWpUo05OG1XImOxrNHnBhonDF90WwtSsTgJIMIljDDhDIqfXfQglffi1heJfgqE4QqGe38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=sGalDDki; arc=none smtp.client-ip=209.85.128.53 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="sGalDDki" Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-4956242332dso23430415e9.2 for ; Mon, 10 Aug 2026 16:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786403205; x=1787008005; darn=vger.kernel.org; h=in-reply-to:references:from:to:cc:subject:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=ZVxOG33XzzMNHk1oqzzwmRCKYAbGR9wBVWiGeldsiuc=; b=sGalDDkisHjzznQRso9u30bOhTQHWp8Mt+cyHbB7HCMXmaoy8NH7V49J4edu+6WAfz tUmWD1iResKN/nsMsPyJ7teSQj+A4JKp/jnSOhjYuSz3uhQcl7pkSK3mM4EtHVg/GqEX xLtPcsZON4CMzJEgI0KqbUSFKWWhLySKmpngxTg2lyRqgjosO+XfnaVnFx5TDG3DCxc0 u3Pndkinvc7uyOS5Z+LH1GLtvIOBGqn+qhOm8AizktMbXdlYrxV3d9Fe8QqLkey5HRfG Evvfwm8OK9NUXUZu911zyJPrHnmwaZbaOlov6NgAShcwNuDrgmzjK4aShe9sEUYplQoN jPzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786403205; x=1787008005; h=in-reply-to:references:from:to:cc:subject:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ZVxOG33XzzMNHk1oqzzwmRCKYAbGR9wBVWiGeldsiuc=; b=Xh7Zu5Sas9sCZF+KWj+Jdqd1dyEDVeHGUab7yDceW1/Bk8U4AYV5+PkZOgz7kYHsFK MtmeeCz/5sqE6vtB5XzHah5pOLKqqyOLFBwHYWGRiyQ+I4qUZ31oYz0fwD8I0ivWWcFH qS2eI8L/y3Cxy894/rDgSjTu8kl6+lZ9XEtvmcJdTJHoPFhWdMOhlVhXnM3zpdMj87oL jN/6ZFVdSFxobtS4MMvhzTYu8gZIlKZLUxWo2rGyCgRNUrFpjUYTAw1fWw/cA/aoISwm HpxWPNH8e4H1c/WXAM1jY19/ahzOiyoR4jQ3q3nF4pV5ulGOTO/TBQQ+qceqc5MMQ8zS CU5Q== X-Forwarded-Encrypted: i=1; AHgh+RoZ/zNf0Vvo1CS+YzkrKPAZi1jjeBrfVwSuSYTNxebH/sVDO3YYafMysJe8gJrYkGH8ARuRAyxKcTU=@vger.kernel.org X-Gm-Message-State: AOJu0YyGXlj6eYF4vBF1WpGm4NyHnps0S+8QxUE2D5WwMSNCWvdmoCpG KTURO9NEJe5TyZbh45HZtESf45nGl7MZaZPlATMYSAIHPQglADzV78ru X-Gm-Gg: AR+sD11+8c5scW9dQ6An3/YJfnM51hsXxxuegsRaK7p2NOwGvcOrUC0M6xLrxu06huk 5T+uo+40TMjwjHZkcX7Sg3aW9jZj5mL4XVeqwsIUlvoBOFCMYejGqRTmSh5T0+7XLpqLTqKHeC8 15OkZ6/MBe4aLLjDUcU2XJ72J5d08vJXA+3+M3OvLOaJNv5M3wagOKcPCu0qeeJVSzbF6oE5za1 6iUbkqMgEm3QbBinrA/XOkFS0Kw5BDVRZdsAuaQkaveCaHleMnGHt7LElfnUGUEuhmYfOA0s8uV MDLWPC/Ka7whs/1KJvCWxtH0glNEQtqJjiOvyiJdGHbtliowiIkq76C7CkFlTYUA9wQkXldt2fr vAwVfl5oFTVsiSj6t03a/UCk61ujhfkPUqCzlnJ2MrwqvyxLmaBD8UmGLOfZo80R7BFR5eca4PA Br7fd796Ihsmw8Y9poLM5nmT7E7qve12gl+Ij61OqMtFVrIWzhgDE1kG8ZOVtigzbPEkZtq/GAQ isRmpYxdK3lbg== X-Received: by 2002:a05:600c:a42:b0:496:c378:6420 with SMTP id 5b1f17b1804b1-49961964937mr272065215e9.8.1786403204676; Mon, 10 Aug 2026 16:06:44 -0700 (PDT) Received: from localhost ([2001:4bb8:16f:15e0:67a4:d119:6328:800e]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-480021e8c5asm40104966f8f.18.2026.08.10.16.06.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Aug 2026 16:06:44 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 11 Aug 2026 01:06:42 +0200 Message-Id: Subject: Re: [PATCH v5 2/4] iio: light: add support for veml6031x00 ALS series Cc: "Jonathan Cameron" , "Lars-Peter Clausen" , "Rob Herring" , "Krzysztof Kozlowski" , "Conor Dooley" , "David Lechner" , =?utf-8?q?Nuno_S=C3=A1?= , "Andy Shevchenko" , , , To: "Andy Shevchenko" , "Javier Carrasco" From: "Javier Carrasco" X-Mailer: aerc 0.21.0-143-g2f3a2e260c09 References: <20260807-veml6031x00-v5-0-e60876fb3640@gmail.com> <20260807-veml6031x00-v5-2-e60876fb3640@gmail.com> In-Reply-To: On Mon Aug 10, 2026 at 3:38 PM CEST, Andy Shevchenko wrote: > On Fri, Aug 07, 2026 at 03:51:53PM +0200, Javier Carrasco wrote: >> These sensors provide two light channels (ALS and IR), I2C communication >> and a multiplexed interrupt line to signal data ready and configurable >> threshold alarms. >> >> This first implementation provides basic functionality (measurement >> configuration, raw reads and ID validation) and defines the different >> register regions in preparation for extended features in the subsequent >> patches of the series. > > Since it's going to be a new version, my comments below. > Hi Andy, thank you for your review. I agree with most of your comments and I will apply your suggestions for V6. > ... > > + array_size.h // ARRAY_SIZE() > >> +#include > > Is this in use? > This one is in use for FIELD_PREP() > + bits.h // BIT() > >> +#include >> +#include > >> +#include > > Oh, the whole headers hell is loaded just due to dev_get_drvdata() it see= ms... > I will rely on instead, which is also what I am going to do to get rid of as Uwe suggested. >> +#include >> +#include >> +#include > > I missed probably it, but is it used? > This one is used for U16_MAX. >> +#include >> +#include >> +#include > >> +#include > The rest of your comments need no reply from my side. Best regards, Javier