Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2130766lqb; Mon, 27 May 2024 08:48:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWjzvGsTj4oAB9MsSpXq9t1o+mHST0maqdT9lhHAByPpcmdLfETbFaSEw2KDYyNHI9QGf/9s1HsKSxiUG8DGpWAVmTGej0QXjMfkAEMqA== X-Google-Smtp-Source: AGHT+IE1CL7Wdj3e5PQ8IC7Mnh9Kggrr5pc39riUmc10BAH3i2SOfmu/ay9FGz+ykuy0DHO2/ayy X-Received: by 2002:a17:90a:e7ce:b0:2bf:cf4f:d35d with SMTP id 98e67ed59e1d1-2bfcf4fd481mr2641536a91.32.1716824883075; Mon, 27 May 2024 08:48:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716824883; cv=pass; d=google.com; s=arc-20160816; b=IqvAQ2Zrmgg0hQop/XgDQQ7rFiWofZjhNYzPg368Vqx+Pf2lIApVbr6Dge0pTL3WcB CYLxMGK9ePY79OLK9aK7RQkTLe/EWUlvM65BzDtLIg+Yhsp7w3O5ioyx56P/dy+ChLyp tgO8G160larZZAq00jkdJFY9BZtNItxNFf3fWDaOs8VdqkwroNShqzVwxxScyZuBzjgA desRXgH6MpygczBX2AzXiQkhOjI+awBc40yWjP/4uqv2evoptdjBmZgGpTvLj+Cf9pT+ uQI+n0Musi/8tQYNO5CuPoso6nbBl/49enhk1UuYPrmVROJHQc8VPTwAruGkB7sO92BR XEow== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=/qL7ds6TPTDOqwgOF3TOtIR58e7jrv/FMc1WXB1AASw=; fh=4THy3k6oz4Hj9qb8IR+3/Quv13aFM6bR1PyE8VIYxnA=; b=QXf6zfZIZqfeLmDGX+zlwl6OTutgenD7MZEpRdFXN4hsqOAiFn4TGVNatBrbDRT/vd bwVGYV5oDlIhCfCPk9UgTn59/yOhjqMTymt8sX4lZOoZu2SWpfxRgNlRrLObdMJ4F2pD 8INVK0ZnGO5BNdtVLMMSilXzeMpfscMSFbHCLqIJjr9bilsNVBHVOTcpb9YE6zmX8OuQ Cdn4VV4jtEENQtiZe1nf/ktiAvcQ0Sp4hdw9DP215OgBa1E9kUIOMtKI03xz/v3rKC2O zVl382slA9kJo4ymRvzpBKrq0B8QBqkTEH+P3IcLcH/zWFbyNLDWmJg3XHMLHIN0VyOP iEBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=nWl5P62X; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-191085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191085-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bde2fc970dsi8072866a91.139.2024.05.27.08.48.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 08:48:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=nWl5P62X; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-191085-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191085-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 8E3FD286ED4 for ; Mon, 27 May 2024 15:41:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E93061FCC; Mon, 27 May 2024 15:41:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="nWl5P62X" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 809521E4A9; Mon, 27 May 2024 15:41:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824482; cv=none; b=S1f4UCvgI/1O2Ku7ADBLp6BTnKDOSXMJkYtz4xJNavMFnDNaEMHi6lFWCc06atIu3Z21sN7YwHBuhg+XRL7wjit/UQQrd9y0xwn/i1gQ9uY20d8WY7gzldX/EY1bJuGxCrY60yZeGP+LgCCMgb/T4GZaNLpLSMBlJj3lOOGqXoE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716824482; c=relaxed/simple; bh=xi95REYMNGRInm8QTlaIsBRCKucC1a/x692ZYbFHYpE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=pDO1e210jsMt5pyNPIxfg86Ctl1qT1lAGEijT8aHoTHip7KufcVYG0dEhsRhbHIHLMpFLGjHgP9m0FdXbftQSEbdezsSZfPmW4eTwbXGH138EigvZTWy4Sw4mQxOUdUBPclSi/qt+LSHOnsJX1SyF/3lrUhyO3R1ouMeMGxt8O8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=nWl5P62X; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 208A11FC11; Mon, 27 May 2024 17:41:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1716824469; bh=/qL7ds6TPTDOqwgOF3TOtIR58e7jrv/FMc1WXB1AASw=; h=From:To:Subject; b=nWl5P62XYKZ31HZHg54sxMgn8LeQnJnSyt33QM/wcS5uSHtYz/vubyXf+am5QLug4 6uo6QURAWDJw0D0lmGq4i+jLvj5CuqtegZLEXowwhcKYrsEUlbIz1KQc2OB8U05F0O K+EQHEelgo5CRr7AgSJG5+7w/EMdgu00rGYDY4zl6aEXZMvn/kG/I1G9PW7Sw3dwTs UDtiqv2CASd5+USSMZa1mAlD2nfJ8lErXp25u+oGiN6EJtmyo5xasnhlB6iObCVW7Z sDv00s6DQjl7GTah7Tq+wgD/eSuGVHQNaioMs9oR9aMxuHnqHGmYxEMPDC9ouqmPVh wPB19Y94EGRqA== From: Francesco Dolcini To: Francesco Dolcini , =?UTF-8?q?Jo=C3=A3o=20Paulo=20Gon=C3=A7alves?= , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown Cc: Francesco Dolcini , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] iio: adc: ti-ads1119: Add driver Date: Mon, 27 May 2024 17:40:48 +0200 Message-Id: <20240527154050.24975-1-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 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: 8bit From: Francesco Dolcini The ADS1119 is a precision, 16-bit, analog-to-digital converter (ADC) that features two differential or four single-ended inputs through a flexible input multiplexer (MUX), rail-to-rail input buffers, a programmable gain stage, a voltage reference, and an oscillator. Apart from normal single conversion, the driver also supports continuous conversion mode using a triggered buffer. However, in this mode only one channel can be scanned at a time, and it only uses the data ready interrupt as a trigger. This is because the device channels are multiplexed, and using its own data ready interrupt as a trigger guarantees the signal sampling frequency. João Paulo Gonçalves (2): dt-bindings: iio: adc: add ti,ads1119 iio: adc: ti-ads1119: Add driver .../bindings/iio/adc/ti,ads1119.yaml | 122 +++ MAINTAINERS | 8 + drivers/iio/adc/Kconfig | 13 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ti-ads1119.c | 815 ++++++++++++++++++ 5 files changed, 959 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads1119.yaml create mode 100644 drivers/iio/adc/ti-ads1119.c -- 2.39.2