Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1804974rdh; Sat, 25 Nov 2023 03:57:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8d8v8VLuiPE6nR8wHjGMftZa9AmvUGNFD6y99Q2DbwMK1BSNyKOMLTc+A8L81zm383l69 X-Received: by 2002:a17:902:e54b:b0:1ce:6589:d1c0 with SMTP id n11-20020a170902e54b00b001ce6589d1c0mr8031495plf.46.1700913451658; Sat, 25 Nov 2023 03:57:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700913451; cv=none; d=google.com; s=arc-20160816; b=i8qwOnZrE8lu2QxDFfZ48WLhD3IYYtIlk4IpUIO/f0CHXyRUV4CYEJt8dOogTFqkoX aRCg8UEujtyv9mpcatNBF8VLcSnYYw3gEhNJoNxX3u1flPTcFVZpaGwaiCbP115DbeTS 4H3oXXWwUe+3D1m+uZDeJbIKsirN2a6oitk5IKpy/IbwB4WjRaYnoSdIi45hDygkr5MH 5W7BODWw7lIzBimW80hYa+5SGaf9h+5tkydfpiBSsyxX7jJf1R0tjnpIhQ07JXG3T3zb tgiZsssbiYswtmTrx4yJVCUpjFduncia5kyFSSqWe7lrmeBfRznFah8vAuL7D+gAAe/z CzkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=o1Ag/lZU/J4RpOQ38mivV2pu7u0AqFf+zI3E7pbs5ts=; fh=cyilhrgxa6JDfSzot+m1yYx9OB3agwAJlagEPIaMsw8=; b=t7Jgyah9ybnEFb4PUC45CIHnb/u4HPtZyP6kMpP7onbeSNFdZ8jdn1PwfGRsX3dD2B iq6R1kBsXSkVQcl6dkeXRltBdFzZpZ0f7TxlKt9c2zSGpri8HkyGL/M5nMa4hWgthzON LoypWT0FkCbFqQAUk6EL2foPErxAxhLL8w1xiy5OySYtvCYvX7E7rEISrqStlr14Gjfc p5uonYTYQPo/UV9PvueDf3241Qr50/9SNQtfvcRgjPXZHT2W8JAOMx8Z1LTN5qg0Rc8w 1zD+wUKzvD9nDyQK60dRZmnYNU3zOtCJ+SVv733oRnH5C05bWzHuwPHP5kmeGADs+1eA z4tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c9rz3NI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ay10-20020a1709028b8a00b001cfb84c9302si604746plb.401.2023.11.25.03.57.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 03:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=c9rz3NI5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id DE4158090799; Sat, 25 Nov 2023 03:57:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232002AbjKYL5C (ORCPT + 99 others); Sat, 25 Nov 2023 06:57:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231934AbjKYL45 (ORCPT ); Sat, 25 Nov 2023 06:56:57 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4689B10E2; Sat, 25 Nov 2023 03:57:03 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50baa3e5c00so407679e87.1; Sat, 25 Nov 2023 03:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700913421; x=1701518221; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=o1Ag/lZU/J4RpOQ38mivV2pu7u0AqFf+zI3E7pbs5ts=; b=c9rz3NI56yY9QpiA53qHopCAhUvMRWhAroLKDzArbe/BICgIwMcZxIVW91whZn+6fs CBbbgFGBsmTg7rKojo3Qgmn/hdemGwLhfOKaeUZEF2tLDKJIzlxvBYITBwa5ogVwzjlc +22HtUs6gK78EZ0cmqS8iKYNpZ2Sw7Jn8OOCiz3CFaCr3mVFbkh7B4HHkn1/XZ2E90d6 CSgnz5aOZ9MNoNoe5jgLEsJpVyAePHaDBlPzpACceNuNtH1p4SAZjViseT/lU6fRu+wq ueF5oGF9gwAstEWOgqtGYyAMkq/K9C9HFmIUzQ3zFcJz3r5EfnQCocuAR8FQIBohsoso sO+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700913421; x=1701518221; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o1Ag/lZU/J4RpOQ38mivV2pu7u0AqFf+zI3E7pbs5ts=; b=OWbwTJK8eA1CfsslKuTFj5hAWTNsKraeAezyvvKWEYx+qmAhXZu9RE621QrSPc22U3 /wI1/dEbAJ/6w//JDou9XDJHoG2KLVAVtvhwHIjExbZFJGrKKs2fDE7eGfjrJzYJyVJG zeBtCzY4eCDgclut813PaqWRQLjGXhciH1OBVYPDdPa8TPLrIl16NjT4pjLbLD3FFiB0 SwOMPQI0/bwAwOq2xDOx+1drI9GlmodTMe6D1Rf5if+IULoL3rEa+xupTbqTJDlEWA9M gAS5W86pljHTsRsCaEtO57Rioe4DRKKB3sObRAzD6TWviSEJy4EVz2RJnlpZwJ97dwY0 um6w== X-Gm-Message-State: AOJu0YzURF0n9EDRy7mzsgOuZiNZ+StxbbfabooXLB7qKp0bRIdK6EYO Q0vIQKxXP/C73PCGR0jYlazSIN6XCqIhAA== X-Received: by 2002:a19:ac47:0:b0:507:a766:ad27 with SMTP id r7-20020a19ac47000000b00507a766ad27mr4083693lfc.16.1700913420712; Sat, 25 Nov 2023 03:57:00 -0800 (PST) Received: from [127.0.1.1] (2a02-8389-41cf-e200-3176-084d-819d-12bf.cable.dynamic.v6.surfer.at. [2a02:8389:41cf:e200:3176:84d:819d:12bf]) by smtp.gmail.com with ESMTPSA id r17-20020a170906a21100b009ae57888718sm3344349ejy.207.2023.11.25.03.56.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 03:57:00 -0800 (PST) From: Javier Carrasco Date: Sat, 25 Nov 2023 12:56:56 +0100 Subject: [PATCH v2 2/3] dt-bindings: iio: light: add support for Vishay VEML6075 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231110-veml6075-v2-2-d04efbc8bf51@gmail.com> References: <20231110-veml6075-v2-0-d04efbc8bf51@gmail.com> In-Reply-To: <20231110-veml6075-v2-0-d04efbc8bf51@gmail.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, Javier Carrasco , Krzysztof Kozlowski X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1700913416; l=1496; i=javier.carrasco.cruz@gmail.com; s=20230509; h=from:subject:message-id; bh=GoptkDW+HIGQ2dT3QJEQVbxlzN3cg47vkmL+uaSlZDo=; b=0/4fX5SRgm9Bmpcl80znDWf3p5fWWCLbWbi4XRAk2/kXcQ99o1WeTTYN6ohLtxc61tQMcml9g ZBxbXLKLyvCA8z9XJyWATQI1SB+vPp7L6tJsAD/+dcqMOdklXIU8xIB X-Developer-Key: i=javier.carrasco.cruz@gmail.com; a=ed25519; pk=tIGJV7M+tCizagNijF0eGMBGcOsPD+0cWGfKjl4h6K8= X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 25 Nov 2023 03:57:29 -0800 (PST) The Vishay VEML6075 is a 16-bit digital UVA and UVB sensor with I2C interface. Add bindings and an example for the Vishay VEML6075. Signed-off-by: Javier Carrasco Reviewed-by: Krzysztof Kozlowski --- .../bindings/iio/light/vishay,veml6075.yaml | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml new file mode 100644 index 000000000000..abee04cd126e --- /dev/null +++ b/Documentation/devicetree/bindings/iio/light/vishay,veml6075.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/light/vishay,veml6075.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Vishay VEML6075 UVA and UVB sensor + +maintainers: + - Javier Carrasco + +properties: + compatible: + const: vishay,veml6075 + + reg: + maxItems: 1 + + vdd-supply: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + uv-sensor@10 { + compatible = "vishay,veml6075"; + reg = <0x10>; + vdd-supply = <&vdd_reg>; + }; + }; +... -- 2.39.2