Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp3185196rdb; Tue, 6 Feb 2024 09:27:05 -0800 (PST) X-Google-Smtp-Source: AGHT+IGxw/BnfXA17nvGjAphgaWPZHwBztq/KTWE/OYGqV3MNrvsGW9V8RDPc1fWhkkNu8zK6/o1 X-Received: by 2002:a17:90b:3892:b0:296:a464:ee3a with SMTP id mu18-20020a17090b389200b00296a464ee3amr186031pjb.29.1707240425686; Tue, 06 Feb 2024 09:27:05 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707240425; cv=pass; d=google.com; s=arc-20160816; b=cIfJl1YdvTKsRrIZ99qhC4YhHuyzMBjLMr8MYkZef3MJykhKXrH/pXKBA7c5mqlDhK efa+9rg6v696P9A8OFwp5VtEXNcKpaS2E6jyPFZbokHl+SjG/TAEWsZXwdyXWyE2AI36 srMxwdVMIAM1mTPYpnp3KmKD05qooWZFOmxSfoMqL+NsYqoYcA42Za3PY+ftN6OE4c56 79G234CjAjwO+SRLNAF/zFj07zqydwbNXxOhQzEaoU4G/wk4jh30Z1jbWEMywml0LJ6j sQBbHD33PX+TmT+y7cghn9JbtL5b8H+bJOBf1gDxdTD4PQUjkMDfIKDh2bEqKbvqzsoI oFtg== 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=UwEVzMP+YuTarO+Ls6i1n9q9k3PZ5k4DiqvF9r8CPRo=; fh=UQG3fAQOvHQ9+lcwcjJv2cBRUmYMlYag0yopC7kyO1U=; b=R+XPc2F2gOj++gv3fPUvpOrdSZUXDjCUAHVKJ606jaFzrHkMjUBKmV8AlI9ED4WawG 5gBjtSL3sB3NHBTfLogi3WKBOZINxvxiwIOtk4jNXMZvI6rr45v+U6hIDeq0tiT6rZyY TSw6DNq21zZ+SAmBLNaXyGOqgGeLtUYYgaEwjao5a1miHili67tC2xXPYQZNz8ULYwg5 AS1PzwBH591H5/xHIX8s7YcG2ewTg3FjIIRt+whHJhDfs6OA0eY2RFh6a0cnn3LvkrGB Nth7Bilazmh6LMeoWTSLQzg4tPZhS9HO89gD5BruOWKsnHnJl830uHH0BgX90iJPKzPs RprA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=KmzThdhK; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55366-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCXiAEv66RQcb1IiOXxZwLZ0shhen3J7YSIXcljHeAJd6GK+3pzJhGU03kydsNN9nSqVJlZq739v/D8avvIG9dWAcbE5KTPAk1KUXTQMCw== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id lx12-20020a17090b4b0c00b002967fbbe555si1492743pjb.94.2024.02.06.09.27.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 09:27:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=KmzThdhK; arc=pass (i=1 spf=pass spfdomain=baylibre.com dkim=pass dkdomain=baylibre-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-55366-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55366-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E9718B226A2 for ; Tue, 6 Feb 2024 17:27:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B3D63C127; Tue, 6 Feb 2024 17:26:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="KmzThdhK" Received: from mail-oa1-f50.google.com (mail-oa1-f50.google.com [209.85.160.50]) (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 E62FF8F4E for ; Tue, 6 Feb 2024 17:26:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707240409; cv=none; b=unUQhiWweQNAaCleWy6vg+hNkYXcV6ZA6tvl4IFpy4977M2e/ZoUP29AsdkLcY8l3Gmvc3SKMRDBEtdMDBCVyOUByT3Ng/nvUZw0YalXuWWqgSdBj6zHQ4dqYX2tIlYPOnNrrZUs2TiidY7qXPdsiDUQkn+JyHNlMV53I6xFwDs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707240409; c=relaxed/simple; bh=BfTby594yomSr39OkR8dsB/m8qoJuIVVRgZTWAvJlSQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=fFcnC7AKr6dGSUwJ6GOdjhMrq07DVgDA24Q51j127qBb74gRjx4SzxxkclNGV4q9SxaUR2kgodyj54MXzV89NpEQ4sPNJQQDLFW+Kt/hkGjnzpS9USgrF3tibd6cIV+msQ/qPwViFg/yhraDoNagUYjWXqog/gD+7uf/ge0ctkg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=KmzThdhK; arc=none smtp.client-ip=209.85.160.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-oa1-f50.google.com with SMTP id 586e51a60fabf-219108b8e9cso3007300fac.2 for ; Tue, 06 Feb 2024 09:26:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1707240406; x=1707845206; 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=UwEVzMP+YuTarO+Ls6i1n9q9k3PZ5k4DiqvF9r8CPRo=; b=KmzThdhKj2D9ndQ5h53gO/d/PmP697u8A6u1ZBES7lAu7VyajiKIOGkjb7SYssEDcM dz/dG1EFs6yc02JfeyiaYe2fQkqXgaMnn7md1VpHC7w7U7HpjVu5Pv7rJGSAzgtgSxj8 uYHXEHxYViVbIHf1SN8s6ChAJJZpdVnjUXXVUXrD05PZ3sk99AEjWbuPXAXCYEif/WCU s1q16FABe+pWxhMWI9K2UFQwfQCaRBOXWHBT8EyuQZtDk4/omhiw3cnaggFJTPD7J+KQ XMyK2m2m6EL4hvQLRNY5S8PEIr4Tfa8qvWPz8gqBRuREGgdHWS4k4Evh0d7UENVRdxrT cFpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707240406; x=1707845206; 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=UwEVzMP+YuTarO+Ls6i1n9q9k3PZ5k4DiqvF9r8CPRo=; b=DE0Kt2bRS5VxsJtDaziA8Z4CJQ4WN918IUYKUzx75TYF/UaoZg701pVW8y3BRv7H6O ST1jvItexqkV9aOdGGqmlI0a+3uQebcCC9XWlPGuSGm8XA/OFcaSC3HXvTaAm0qKtJ5Y cy9Mjd/fo5ms3/SeZ8p5ZQBbyC6AzGkHvMsGcF1v5lY0H7qz6uY+hgkL2R5HmywP2tpT e8C+K7QctC/2Gndn0R9jfG6ty5GMh2ZcXKMsCpdwQmATr2+jYC0VfYfhGZJSU77fC7aX 46qIs09sI29jlumC2ahrzD7bhnT2SLkh47um4+Pg2ozpHpNjvXhIr5QIS8QMGXApKMDz vJwg== X-Gm-Message-State: AOJu0Yw1nAF+gtrr3WEIUJ0MEJyiz7lqbhfrailjruuIZVQ0mqSztFAI 3Brc6/MXPu9ioRM99QQpJHHrGrXvFql7n0uFqvRB8JUogkRTgySUogL2RKCvNKU= X-Received: by 2002:a05:6870:63aa:b0:219:7a41:348e with SMTP id t42-20020a05687063aa00b002197a41348emr3301185oap.49.1707240406000; Tue, 06 Feb 2024 09:26:46 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXtXXPYJ4MD7WbIZ1EpcypM+2l63YiDdlkdKTUzBJi1ByXZVaNhfcwJJI7+V4HCMKDi3yvE/KoS+Rd59HEWZ+HoeX+0jt7FBf2z4EzN9XJcNtvvveuX5AtZc+7x9G3bFiYFfv5I9TiZNemS9VQWO5VKwAxE2cvYh4ULMCo/lcB9cSdwsp4qM90/HAsqGd6Hsv3X4lmHetULIa+RC5t0W8QUU0uITQe8Qh6zBUx3fAWSx8Ykj1NKIKM6lM1SX7HQnQxtzN5mDnotfwZUDig/JlMi5oLiBGHxfexLzRAkhMo32JZjn67pIk9VrfIXd2K9Mw6YdFgsETR2zU+Geer6fg6eu58KEXlt7wN83bZKp1ksXFbGcq23bX5mj3Z40lTnMrLj Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id ea9-20020a056870070900b0021998dc2bf1sm510172oab.36.2024.02.06.09.26.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 09:26:45 -0800 (PST) From: David Lechner To: linux-iio@vger.kernel.org Cc: David Lechner , Michael Hennerich , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Nuno_S=C3=A1?= , Liam Girdwood , Mark Brown , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] iio: adc: ad7944: new driver Date: Tue, 6 Feb 2024 11:25:58 -0600 Message-ID: <20240206-ad7944-mainline-v1-0-bf115fa9474f@baylibre.com> X-Mailer: git-send-email 2.43.0 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" X-Mailer: b4 0.12.4 Content-Transfer-Encoding: 8bit This is a new driver for the Analog Devices AD7944/AD7985/AD7986 family of ADCs. These are fairly simple chips (e.g. no configuration registers). The initial driver is only supporting the 4-wire SPI mode. We plan to follow up with support for the 3-wire SPI mode. This work is done on behalf of Analog Devices, Inc., hence the MAINTAINERS are @analog.com folks. This has been tested using an EVAL-AD7985FMCZ evaluation board with a Xilinx ZedBoard. --- David Lechner (2): dt-bindings: iio: adc: add ad7944 ADCs iio: adc: ad7944: add driver for AD7944/AD7985/AD7986 .../devicetree/bindings/iio/adc/adi,ad7944.yaml | 231 ++++++++++++ MAINTAINERS | 9 + drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/ad7944.c | 397 +++++++++++++++++++++ 5 files changed, 648 insertions(+) --- base-commit: 81e8e40ea16329914f78ca1f454d04f570540ca8 change-id: 20240206-ad7944-mainline-17c968aa0967