Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2117066lqb; Mon, 27 May 2024 08:21:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWlV5Amlko4BcGW/pPkROHEGlcclFzsM9Wy9BU1DSHFTmekPuzDzZcqQ3TDzKsHcCBPtAYhilr7UoWwh5o6tYiw86zhPyLmQswtbaqTXw== X-Google-Smtp-Source: AGHT+IHsYkdxxmwvVXId3ROF/jcNDpzRZblCZfcI14aRPii3Bti1BvM3jJk+HJ0Nc3RMChPTH7w6 X-Received: by 2002:a50:cccb:0:b0:572:6249:96bc with SMTP id 4fb4d7f45d1cf-578519bdc7amr6505792a12.32.1716823296081; Mon, 27 May 2024 08:21:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716823296; cv=pass; d=google.com; s=arc-20160816; b=kLoc6v6hGhRCYHceQ7mw4A1D6rMaIApD7KhdpbMSstmQfVO8XwaWnK4GjiTv4XH89n CTxX7w5Inqk95DfsPtrXQYxbx3r8W6Dgu2n47oLmKfksuTRCE92QkosK1ZKt0CP90SDp ot8V2a3vzaYY8Z7pKTU7c8gyc3FPaX387aLCHal3c65WRXHqHnUqZVe9i4Lr7UPPwQqL qqiwzSNv/4vwuPtpy5kAhxu7FA2eBGCbtRUcTgykBMpm5arheVW61/amUBM3gwNzU/ui s3UlRPHGVpKOirMe8HYo4jI/X8My8QVtuaZ61RC/JEgWagBbt6/ywkSzKDbf8r4Vs9Ae TrHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=reply-to:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:subject:date:from:dkim-signature; bh=v/BRHnJUtuXkPt/19NzIk/p4N29c1tkCwtV56ToyK5E=; fh=p6dkNM7PnKQLZsr+q2TMWaCLZxsY5sqdILc63UOhXnA=; b=RR2LPiVL3FBa9Arl+5duP5hXPor0DiHhtklLDWE8OY3UMn7Ad/Zew6onUZP297g584 1BQYwfnqQUOZi3Zxikdh1O+WBCgJrch9p2Y4rghos4T/Gt40/iozkMJEjDTOMwQwV6OS lGXSXXsL18GZWpEtTeTCrGxTpbPWdm6G7PRjhHyfc5MMwOvvK+NYNI3acxsePIw7n4Sl x2V4oX7YHq0V7u4dyLdjFQiXoHvIh0sn+dYHx8XQnUWdzU7edZIabGQCayJNGTA7Ohlu KnuubzX27ozA3SHe/Ev3mcRsSZjDHnwycYWKfqHBvM35u3KAh0wCqMZHs3xYFocxMrLw ph7A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r5sLHUNo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191046-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57856e06af9si3912943a12.30.2024.05.27.08.21.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:21:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=r5sLHUNo; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191046-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191046-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 9FC8A1F22080 for ; Mon, 27 May 2024 15:21:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9045415F415; Mon, 27 May 2024 15:12:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="r5sLHUNo" 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 AD36115A874; Mon, 27 May 2024 15:12:10 +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=1716822730; cv=none; b=JqmTyxapiMbuGJBSiv7rgrozu0QyISv6kHiYucEEbRS+kFkQCiaUCdRU8QUsLAsj6B+D9uHApAzaQisIm/ZMWW4043A5etwXmHz4RIKiuddlrlZdRy4TsdUV8qDSjZ4r+Ylo3Ug8dD/zi0LyxXqj2TYM1NYKu8/zNpYi5aPZQDI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716822730; c=relaxed/simple; bh=GC9XwJrAOyXHE+HoaYDJfgAuuuYZrjvZbTpFwyHEE3g=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=s8N/ut7L4oDT8fFVzQpcRKEaCOHVnOdVKlzb4+2m1vjaykrITyp3RkBx3YqALOxG/szo84qECmG15vCKDSClMejeRUpr3LB6uyBPToMw/VBd0mIV4jgm1rieV6fLlNc6p1w188gmKQBcYPx8+QiYRKMsIKk/a9C3ZGFMPjpHXzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=r5sLHUNo; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 4E821C32789; Mon, 27 May 2024 15:12:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716822730; bh=GC9XwJrAOyXHE+HoaYDJfgAuuuYZrjvZbTpFwyHEE3g=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=r5sLHUNo2y0BWPiPJp+UKv7TZYhiWWQUaWa3UY1uMsYIIt0XQDRUVN05nirFTKcKi AGooTeABUWelhtPGEsg6ZlWJDvp4wF+QaqKeOq6eCV0ykun99OBFsQaL5fiHVhac5B bQe8JbfWFhJvtcgMjr20pgZ53VW6vPl/g7DtatoYprAii/PMFqbaP/NbstPidqWDUL 7iBe9qDiw+l5T4nsTqNo64Ssa9c1+IxyOEuMm5f4Rbmcdk5J8PAfYCW3XKs2ZQVaba Mr5c+VcAlHoK0gh1zW2Ysq60xM0yT4BoBaJSKf90Fd8TLHDT1IJkBvh3O1rOc15E7l XYRDicSnFiN+A== 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 3BA47C27C42; Mon, 27 May 2024 15:12:10 +0000 (UTC) From: Arthur Becker via B4 Relay Date: Mon, 27 May 2024 17:12:09 +0200 Subject: [PATCH v3 2/2] dt-bindings: iio: light: add VEML6040 RGBW-LS bindings 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 Message-Id: <20240527-veml6040-v3-2-6f3bbfd42960@sentec.com> References: <20240527-veml6040-v3-0-6f3bbfd42960@sentec.com> In-Reply-To: <20240527-veml6040-v3-0-6f3bbfd42960@sentec.com> To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley 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=1716822728; l=1571; i=arthur.becker@sentec.com; s=20240521; h=from:subject:message-id; bh=u0p4w65fUlznIRwbLv+oCbf01W5aOcq+erfwbBRKE9w=; b=zCjYc68+a0u7/fUR6r+IMPoQXLqxz9nMLelPqjfSZeibSwRIsayNYpLVecj3SxZ04uGnDNdds xHdNaM8x2ouCb9AywBmXkiBFbEgqbcvrUAYlYgiCst0uUGksoXqr+92 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 From: Arthur Becker Device tree bindings for the vishay VEML6040 RGBW light sensor iio driver Signed-off-by: Arthur Becker --- V1 -> V3: Addressed review comments (v1 of the dt-bindings was sent along with v2 of the driver but not in a set) --- .../bindings/iio/light/vishay,veml6040.yaml | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6040.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6040.yaml new file mode 100644 index 000000000000..101c2cc6506e --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6040.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/vishay,veml6040.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: VEML6040 RGBW Light Sensor + +maintainers: + - Arthur Becker + +description: + Datasheet at https://www.vishay.com/docs/84276/veml6040.pdf + +properties: + compatible: + const: vishay,veml6040 + + reg: + enum: + - 0x10 + + vdd-supply: true + +required: + - compatible + - reg + - vdd-supply + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + light-sensor@10 { + compatible = "vishay,veml6040"; + reg = <0x10>; + vdd-supply = <&vdd_reg>; + }; + }; +... -- 2.34.1