Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5934061rdb; Sun, 17 Sep 2023 20:39:40 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVvlRtCgE5k/LDdhhOgLTuJGP+pLYxUw87a6HtTgkJiV0QWhTgpquU0w4lWqjOYzzS2Kdn X-Received: by 2002:a05:6870:9688:b0:1bb:eb37:1d69 with SMTP id o8-20020a056870968800b001bbeb371d69mr7304312oaq.14.1695008380096; Sun, 17 Sep 2023 20:39:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695008380; cv=none; d=google.com; s=arc-20160816; b=QEQE3uup6DzOnk558ejf0/YZnuUIu9vHYDsCBvAsWhIrp6YW+yLjppAML5lL7mj56b FY+6WZBvT+V0R8iKvv50G13UKyFG/9As1Cv6ScUkY5+udBslOuyFj/T3ZR7df1k8albI n4x6zfCWLibJV8fAn9PE8HR6pYU0LLei142LjFIbQwalHtZYWXCgv18GFBm4pfszvO7G jsV387fP2M2dyEh8BSjc33oPgEVmRAy0HHoM0cRYtlBdhyjOzHwsgu5bOFwY9qK9lUTf PBVDG7gkc/071peMI0Ft0n2+cBITJFFNMdP7Kx+GhMHnaf/iAX6O9hy5xUzZAwExOpm2 U7UQ== 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 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id j2-20020a17090a588200b00263d0beafafsi9187966pji.181.2023.09.17.20.39.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 20:39:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; 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 2620:137:e000::3:4 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 20A55822D550; Sun, 17 Sep 2023 14:12:48 -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 S233072AbjIQVML (ORCPT + 99 others); Sun, 17 Sep 2023 17:12:11 -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 ); 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 To: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Ivan Mikhaylov 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: 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:48 -0700 (PDT) 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 -- 2.42.0