Message ID | cover.1700648164.git.cmo@melexis.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2b07:b0:403:3b70:6f57 with SMTP id io7csp1222961vqb; Wed, 22 Nov 2023 02:24:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGqCYtQfBrF//98NjYdI1EV3Ck+jN1p3gQ+S3MRn0BSyYeT+wDlZCUQcGpH3+wQoa64DPdc X-Received: by 2002:a17:902:eccd:b0:1bd:c7e2:462 with SMTP id a13-20020a170902eccd00b001bdc7e20462mr1901390plh.11.1700648644946; Wed, 22 Nov 2023 02:24:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700648644; cv=none; d=google.com; s=arc-20160816; b=XzJm1vZvqZ7h586fFYny/Z33Rb8Xk9p3MP8HWWqlSmipoQYRuEFNKWt4gm4tF/22sO VbDMOZ6gwtd5D4f+a3U3xjjt923sXBQLTGFTceu/hjTG1PaMf1ZZ0aMM3JB2//pa7eGO NveZ1nrgw3QOKe7/6JKEnlUbvrvGgJsBuL52tWZnL+0W4dNkzbc9vmMGTDNASAGcaGz/ VR8EQxlOXPlkr2aiGaKBC61CLdXntuPSiiAvAvCR8PTtN1Ys0ZmFGVyheD/jRvsmNsie pLHx9GtI5h1BdF0zSXlizEEeF2t2+ySJDNnjX9OsW3RHXHl96b8JTWNXd+tHaAz6Pq9R qqaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=24ax012WMEMM4FUonPPNS9MbOgLZBi9d6mGqyl9IrhI=; fh=B+IPMIUUreGZhzsEnOMCcV0+UcNpDtB/JxPc4z9Wstg=; b=j7bRtaTK3wHelZzq57Q4TM4BHXOo6ONSBTkKuAPgCfPcUu14lK24UjKZjQQuNsHPaZ B5NIr6i4VtJ1gsHUgVnENQBYat6goyNW1g9S/nY539+p2VQxubSSqYDLmnuPeHv6SzQX A7Jquw2VMdBqIMHArupaTbJbNhPMSMH35Pt7FepWISr7bqJgamvDglJRJ+QU3aA/GU44 ovfG75GJ5bIiysNepyvGmM+gI4TBZk3eK/DsiBD5/gP1ojXlKWixhW2DdfSqhkTf8JxF nXJnJcO+kwS87pibm/X/Kt2tIQ0So9hlRdksLlwzHroUtrmURFaG/72qtx/A4gTLOUl3 FMtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@melexis.com header.s=google header.b=BZ1nnaTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=melexis.com Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id h18-20020a170902f55200b001cf56ff2978si8863667plf.521.2023.11.22.02.24.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:24:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@melexis.com header.s=google header.b=BZ1nnaTS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=melexis.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 725D981BE809; Wed, 22 Nov 2023 02:23:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343856AbjKVKXc (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Wed, 22 Nov 2023 05:23:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343841AbjKVKXa (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Wed, 22 Nov 2023 05:23:30 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5805B197 for <linux-kernel@vger.kernel.org>; Wed, 22 Nov 2023 02:23:25 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-40b2979a74eso12441325e9.0 for <linux-kernel@vger.kernel.org>; Wed, 22 Nov 2023 02:23:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=melexis.com; s=google; t=1700648604; x=1701253404; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=24ax012WMEMM4FUonPPNS9MbOgLZBi9d6mGqyl9IrhI=; b=BZ1nnaTScFhP9Gw03T9ExH9f7p+9HZllkhs1lO+S7zr3IRjzmm2hV86241+xhEjO9y bROCHxQxx7uHBJYY59x757Z4rJgabfcVR2DvNaPaM9eELcsYNRKsWlR/gw/ru3Cn/LoA GYmxuJw7+FV59qB4DcvxJBJUkAswH33O6hnZ78iCSIYIuDlda5HaMDmsn4FZG3kz6CH4 aD2Oa4bMWu5FkHGPUWrlX1KveDwc4M1P1OCfm7bNPbiG7jTwP91a04VcX/mY4WJcgIFY i2sI2AOP4W8FiDbfacbOpjEtJSH0CibSx99YflORSssRi/gdsxaRahqkJUUDyy5U5Gwv iGwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700648604; x=1701253404; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=24ax012WMEMM4FUonPPNS9MbOgLZBi9d6mGqyl9IrhI=; b=XmphwTTkLbXiHuvDsnyU4X7bJ1Uv0h31y/Jzv72X3GnjTOYlFl0AMliJAXe1D9Nuks NDbRzRMcOfyFcSYlNwZLpIKY/vf088OzjtLwc1hXwOS6254cSLUdULSYhaIq3nCwY7PG hQmYcimiWlS/Xi4sbvC3F65CjnOqw2/24xJBuAKlp9qm0cCnRjhY0jBy+U4cDWgPB0+9 tWjhUO3XHYpfq6pzwpCVSXsGXq7t7oW3iR8/+twvfE/AVgAYqgGknWvBYlyFI6Gcwild UX325NXZ6CqT/dC/3qfl6BW16AtuRbsJsmcSrtPwjB3lojEach7VNMQbPij/sq9GqNbw lPog== X-Gm-Message-State: AOJu0YymePeisApKs2hJp3UvmsVOq7SfIYMRYXV3jReZZug/KaEsCnJx +NgaSEYagKkBa1xurCVfpF+btw== X-Received: by 2002:a05:600c:510b:b0:40b:32fa:d8a3 with SMTP id o11-20020a05600c510b00b0040b32fad8a3mr685774wms.18.1700648603635; Wed, 22 Nov 2023 02:23:23 -0800 (PST) Received: from localhost.localdomain (d54C3956F.access.telenet.be. [84.195.149.111]) by smtp.gmail.com with ESMTPSA id l8-20020a05600c4f0800b004060f0a0fd5sm1729282wmq.13.2023.11.22.02.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 02:23:23 -0800 (PST) From: Crt Mori <cmo@melexis.com> To: Jonathan Cameron <jic23@kernel.org>, Rob Herring <robh+dt@kernel.org> Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Crt Mori <cmo@melexis.com> Subject: [PATCH 0/2] iio: temperature: mlx90635 Driver for MLX90635 IR temperature sensor Date: Wed, 22 Nov 2023 11:20:39 +0100 Message-Id: <cover.1700648164.git.cmo@melexis.com> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 fry.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 22 Nov 2023 02:23:46 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783259353695618915 X-GMAIL-MSGID: 1783259353695618915 |
Series |
iio: temperature: mlx90635 Driver for MLX90635 IR temperature sensor
|
|
Message
Crt Mori
Nov. 22, 2023, 10:20 a.m. UTC
Hi everybody, There is a new contactless sensor in Melexis portfolio. MLX90635 is just 1.8x1.8mm in size, but with factory calibration offers instant usage in every project. It offers wide refresh rate range that is configurable between 100ms and 4s. Driver currently provides temperature calculations, power management and changes to the refresh rate. Since sensor is aimed towards the consumer market there is really low number of EEPROM write cycles available, so driver changes refresh rate only in run time registers to avoid writing to EEPROM. Reading EEPROM is not available in Sleep Step mode, so I am using caching at the driver initialization to ensure that measurements can still be taken in Sleep Step mode. Crt Mori (2): iio: temperature: mlx90635 MLX90635 IR Temperature sensor dt-bindings: iio: temperature: add MLX90635 device bindings .../iio/temperature/melexis,mlx90635.yaml | 60 + MAINTAINERS | 7 + drivers/iio/temperature/Kconfig | 12 + drivers/iio/temperature/Makefile | 1 + drivers/iio/temperature/mlx90635.c | 1099 +++++++++++++++++ 5 files changed, 1179 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/temperature/melexis,mlx90635.yaml create mode 100644 drivers/iio/temperature/mlx90635.c