Message ID | 20230917211143.7094-1-fr0st61te@gmail.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp2333410vqi; Sun, 17 Sep 2023 16:00:08 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrLs+xsBP6NSLV1838E0BYjVOgq3p+bWd4KkQqgIMMBe7mNEBZJn2hz3Vp/+JaxxoMVEqY X-Received: by 2002:a05:6a20:948d:b0:133:d17d:193a with SMTP id hs13-20020a056a20948d00b00133d17d193amr6793775pzb.59.1694991607946; Sun, 17 Sep 2023 16:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694991607; cv=none; d=google.com; s=arc-20160816; b=KdEp0E6HGl2hmLDJ1aaWhL6miF/YT5RgfZjWf3CNKh/ROBO3zaarYvC4Uw1/yQ0z51 K1daEzWTIGROuHzAs4ZjIRHhxHuCAwTXhCt/d6UuFTkETEGhL02RPZOmW1L60A1AqYE8 l3H6JK4btVj4sgQbl4seN49RLl4k4LA2ErdryXeKKTFk9L5atULayiyfutzBnqXxq01O tDl2ekf1AaxuJzO3NlyjHNL22LtfzggmWozpshaktlSJhevXvoZm24iyb4MafCftXKMS RC9PkpW13HDhja0lIUBLCdfro4wynDBal+2uVNbRNiph/ScKrhpq4WIFJP9NnBHb8c34 pzRg== 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=XbEVMpv7/YnbMGIp0/EmGv+3NIx0ZzAIlj2g9uMKIzw=; fh=gXdKdTzXVpCzUn5wRwZJ/NCMvVwA1kGKWl4i6uq6pzM=; b=AU7B/YkoxIhVSwUl6Q8Bs+wmZj6yExAzgDRwzRs0goRkzt5O0GrYi6Or6dQcwXMtoo vufmwgyb1CXmxOIxJpXQf0TLT9Hzbkwmh1Fy5LlwHbbc31yZZ2j4xQx4rWmxZWf6vk6Y iaDl9qIVdy2xw2MLvUQL/6CdotfDmzwQYjotXkI8wzysHlbsOtNk1nOoT1pvrK96FxIf FgBfkUZQ0AtVg+spi1o+1YmSfeanGR+tdEIA6t8j8YFhVyUJARuWlxXr0umU8TXX4GUP ojedLtoehfM20nudkgyJ8GMIzAOYBgHRl5RyFvPiLgeIav8I0pB2qnL3P9J7ZCOwCOPO P9Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XNZ8gJHY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a39-20020a056a001d2700b0068fc2cbf489si7100577pfx.247.2023.09.17.16.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 16:00:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XNZ8gJHY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 7647C822898F; Sun, 17 Sep 2023 14:12:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233565AbjIQVMM (ORCPT <rfc822;kernel.ruili@gmail.com> + 28 others); Sun, 17 Sep 2023 17:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238963AbjIQVL6 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sun, 17 Sep 2023 17:11:58 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DC2B12A; Sun, 17 Sep 2023 14:11:52 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b962c226ceso63381861fa.3; Sun, 17 Sep 2023 14:11:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694985110; x=1695589910; 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=XbEVMpv7/YnbMGIp0/EmGv+3NIx0ZzAIlj2g9uMKIzw=; b=XNZ8gJHYbdi33zKhS2AjOYNEZJQrUqo2Nyv7Q2uduMa95ENAfwX+EB8ZWFNgmFxqEg 8FE6py2p3Jrx57YPRqA1VqEROYN5BnFhDuAFOUv3vA20btVcnQnyFDWoa/n+PwjPPKqq m7nVgyVyNqZalF3qWuM8fBchfH8yov/LWbgwhnpBUA1250G3cd+Au1b52CyqDTr2SShZ cSGztab0vtyxY9MH9x/yjttIPej0us9lV56jc02Iv4/oeDBkB61CPAloiZJws+xAKhfK NcOGOLK5eAc1wOomnnppY6Tl78nhux84/7MvlVkhGUZmUdIzKUx0086x2eDgWabeAYMQ BNRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694985110; x=1695589910; 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=XbEVMpv7/YnbMGIp0/EmGv+3NIx0ZzAIlj2g9uMKIzw=; b=maqbjd9trfmk4U+nwt41+StV9onj9VGVfuIs59CraSg4gWOSVOnmmYf9sdyc1EED/k tHFj7WnGCfRPNMJ29Sn3VYkMiaNUpLsj5oeBK1WoF3LvkjwtBKnSLUlf4d4HGpWUeMd6 aqhQUQYQ2I/gWpje1Sg+8lSqBFdCvdSqbybM6YsV94KyeQZRtFyKjWlh28IYtis492Xe mcJ3dgl2AumFKZnPy2urA3+dLVhCnJKw/nKbLyGZos3qhZq58SOrjmI8ipR/FwHx6wFK 4zWa7cEnpgFZUxNTYLDaspX2GWPAj3cDYRx5RSylGXVBytragIW+BBjLCBeKnCSBEFqM TQdQ== X-Gm-Message-State: AOJu0YxtNiiIvklOBZU+VoLAye96wUCc2+WF5x8jUQ0BneUgZW7s9xFJ MGVGn07iid2G1s0LKmeYlR0= X-Received: by 2002:a2e:be28:0:b0:2c0:cd8:2bdc with SMTP id z40-20020a2ebe28000000b002c00cd82bdcmr1002933ljq.24.1694985110305; Sun, 17 Sep 2023 14:11:50 -0700 (PDT) Received: from fr.lan ([46.31.31.48]) by smtp.googlemail.com with ESMTPSA id p15-20020a2e740f000000b002bce3123639sm1766309ljc.98.2023.09.17.14.11.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 14:11:49 -0700 (PDT) From: Ivan Mikhaylov <fr0st61te@gmail.com> To: Jonathan Cameron <jic23@kernel.org>, Lars-Peter Clausen <lars@metafoo.de>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ivan Mikhaylov <fr0st61te@gmail.com> Subject: [PATCH 0/2] Add maxim max34408/34409 ADC driver and dts Date: Mon, 18 Sep 2023 00:11:41 +0300 Message-ID: <20230917211143.7094-1-fr0st61te@gmail.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 (howler.vger.email [0.0.0.0]); Sun, 17 Sep 2023 14:12:46 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777327520555057916 X-GMAIL-MSGID: 1777327520555057916 |
Series |
Add maxim max34408/34409 ADC driver and dts
|
|
Message
Ivan Mikhaylov
Sept. 17, 2023, 9:11 p.m. UTC
Add Maxim max34408/34409 ADC driver and dts for it. Until now it supports only current monitioring function without overcurrent threshold/delay, shutdown delay configuration, alert interrupt. Ivan Mikhaylov (2): dt-bindings: adc: provide max34408/9 device tree binding document iio: adc: Add driver support for MAX34408/9 .../bindings/iio/adc/maxim,max34408.yaml | 63 ++++ drivers/iio/adc/Kconfig | 11 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/max34408.c | 334 ++++++++++++++++++ 4 files changed, 409 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/maxim,max34408.yaml create mode 100644 drivers/iio/adc/max34408.c