Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1439405lqj; Tue, 4 Jun 2024 01:14:14 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxVTq7qkyOSNnzdlWCvBpFi8GBvvKh9C5LMu/L3kKGgZwwIZIbZtk6WDCM8cwTP1VyP3jJPxL9sLFEZtb6PYbmqfCTu1+2xK4A7LxzBA== X-Google-Smtp-Source: AGHT+IHux6JBkdXNIcaqMr3axZ1DX6t5IrNEe8IfTWaH7FPtz5nwVSHcuqee4wQqn8MT7LrK3o8u X-Received: by 2002:a17:907:e88:b0:a68:cc34:da50 with SMTP id a640c23a62f3a-a68cc34dc6cmr567393766b.45.1717488853834; Tue, 04 Jun 2024 01:14:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717488853; cv=pass; d=google.com; s=arc-20160816; b=cp6UsAeSCW42zoude/4kt+vlR62AZRdBR+WANDnhC4H1uXn2sSgTbYI1xxprCktKy2 5N/zWgK5Uy72QyBzmgt+MOMKwoqFXvOycM2KfJiNvZPZwQgf15tp0+SyxB/5oRHdrj/Z HFxiIVTQmSV23hlPQUsMvqa6yXSytjouIhMGN8wih5wDxWI483BHPad+3HHBDd8bRc7y f9QjZVI/lp9af5A2er08EVVF8rrsu8mMFNRr46pxqHSyTpCEax/5aSbwId+I+IWyAT/y qRYGA4VI0lpJGRoYhNkBrs3UZLgQ31SRzw9WdkRa3H64Rzg3/Hci+zt6jk4Xu6OVdtxA AB2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:content-transfer-encoding:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:message-id:date :subject:from:dkim-signature; bh=70g3cra1Y2h23218/K3LVNBlrCV7RDtpX0MlAoavc2s=; fh=ag91k+Uh4r5mqGJZ3QVe63nLTG9EslH8VzWDmp0vK8o=; b=FBHFFN5LQm5jYhQbVglEpuBZ1+ezGTpCmQcXtyMOOXy7YknWN2Q1k0f/3oRD4SiToY OlOMcVbzHAk2Z2+WKdKqfMN0/DIKt1W4y7ojyyWXkAQ0tWLs8NJMfX0aI5guqkGtNlN8 oqerXe2BvnFNmqJKlbpGy21B/q4rnRZCflpHhJV6OozfyiJn425ka/iRCSJpJUx8hc61 U7QKvqvgsfdbA0N28HmDZc+7k14+mcg9bbXXkCgZja4crx54Z8eVS9f4gtLNTwPWW0k8 QKaAXJY8AJdnwYMXEH6TbAjGvYGDyA5lLsV/jaiKdz3ba/ZipX4oB4i0JSBHXTa8VpOy RRBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Utx2TM9Z; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a690e0052d0si175636366b.544.2024.06.04.01.14.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:14:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Utx2TM9Z; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-200212-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200212-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 1B6AE1F2196B for ; Tue, 4 Jun 2024 08:02:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9D82142635; Tue, 4 Jun 2024 08:02:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Utx2TM9Z" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D1B5478283; Tue, 4 Jun 2024 08:02:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717488156; cv=none; b=udKzwlVHLyVGA/WJDi0v7m+uYS3VUQ4YqHbbcZgAFF4F2Q3JXPGl+oF6WGpBET0MOZJ7D8HrxTuhCQeRApwKcHUgqV+WAI6Wwbr2IPRoSS6CMtndUWa0rMbkuIubY+pZ0ip4V+d8cV47dDfDLBEoIEso3KSAJX9i+muYvtQVx8Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717488156; c=relaxed/simple; bh=uHvOv9aK9XOoj9fYBdiwGn2AO8p3JyKaBsQ+U6DRHZU=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=ISF9vnjh21UX3dhp2uoXvATR+hK8W98wvXMRuejuKszM4GmjGOQPGvBEk6k2yXvfDekecILDiL6psWzeKzmoOHNWZfwLNwgpKRKe/QCLrx0WKTDR5L+pBYBs/uMBVa2wynKomihLt9LVXdLhqCeULFOKxjMAHjK7JGug52urzfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Utx2TM9Z; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 68C41C2BBFC; Tue, 4 Jun 2024 08:02:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717488156; bh=uHvOv9aK9XOoj9fYBdiwGn2AO8p3JyKaBsQ+U6DRHZU=; h=From:Subject:Date:To:Cc:Reply-To:From; b=Utx2TM9Z4QUgwaYuHdYo4i0oAeVLfaVT+eS4hSXjrX6jb9eZ45FQKQiuY/hN/qmJl hDMfVdUFmFvxjtJUIntDVNa80V9JDpn+GE3bc4qlGaJgbld1U/1zFRfYFdXNkS21T+ XTdsGVr5WBYhN3+KnyH9Rkz1Vdv51pbVaRT19LoJeu0kF9H+gSkV1Usf9XenKAz9Pf k/UWipFy3qUEwbfYQSix9c00Zr0yqgr/ELY9yznNuXS9sUlEliUGHhEttPUcUT57Qa azICEJJjVPORuLRwPcHeEBDq4glgBxqvn1/5hyYzzVMPKNhKYgVRyg/fTzObs+/3vm YuHzz5NlHpJkg== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4C2CAC27C52; Tue, 4 Jun 2024 08:02:36 +0000 (UTC) From: Arthur Becker via B4 Relay Subject: [PATCH v4 0/2] Add driver for Vishay VEML6040 Date: Tue, 04 Jun 2024 10:01:47 +0200 Message-Id: <20240604-veml6040-v4-0-5a4d59597874@sentec.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAOvJXmYC/23MQQrCMBCF4auUWRsZM9MUXXkP6cKmExuwqSQlK CV3N3bt8n88vg2SRC8JLs0GUbJPfgk1+NCAne7hIcqPtUGjZmx1p7LMT4OMCunEzmLLRB3U+yu K8++duvW1J5/WJX52OdNv/YNkUqiMo2FwI+uzwWuSsIo92mWGvpTyBaIWJLKhAAAA To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Javier Carrasco Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Arthur Becker X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1717488152; l=1495; i=arthur.becker@sentec.com; s=20240521; h=from:subject:message-id; bh=uHvOv9aK9XOoj9fYBdiwGn2AO8p3JyKaBsQ+U6DRHZU=; b=e/8TVxIokVEEUaj0I6HWTrOfYy+gzUjubml8W4SUO62Y3Zmho2fHunG2eTyV1OO1tqQ60TjCB ddSwCdykvITAltsCXDcGDuN6e8By9eL+H9IFEnw7tXh62kv8pnca5vM X-Developer-Key: i=arthur.becker@sentec.com; a=ed25519; pk=1GLsDBF6GZKt9oNFsvdnAB6sHyKKrSISlwM3AyWbx/k= X-Endpoint-Received: by B4 Relay for arthur.becker@sentec.com/20240521 with auth_id=163 X-Original-From: Arthur Becker Reply-To: arthur.becker@sentec.com The driver allows to turn the module on/off, set the integration time (in MS) for the sensors, and read the raw measurements of the Red, Green, Blue and White sensors. Thank you Jonathan, Krzysztof, Conor and Rob for your comments on the driver, dt-bindings and my workflow! To: Jonathan Cameron To: Lars-Peter Clausen To: Rob Herring To: Krzysztof Kozlowski To: Conor Dooley To: Javier Carrasco Cc: linux-kernel@vger.kernel.org Cc: linux-iio@vger.kernel.org Cc: devicetree@vger.kernel.org Signed-off-by: Arthur Becker Changes in v4: - Minor adjustments to the driver - Merged dt-bindings with veml6075 - Link to v3: https://lore.kernel.org/r/20240527-veml6040-v3-0-6f3bbfd42960@sentec.com --- Arthur Becker (2): iio: light: driver for Vishay VEML6040 dt-bindings: iio: light: add VEML6040 RGBW-LS bindings .../bindings/iio/light/vishay,veml6075.yaml | 9 +- drivers/iio/light/Kconfig | 11 + drivers/iio/light/Makefile | 1 + drivers/iio/light/veml6040.c | 281 +++++++++++++++++++++ 4 files changed, 300 insertions(+), 2 deletions(-) --- base-commit: 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 change-id: 20240527-veml6040-0314fc054337 Best regards, -- Arthur Becker