Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2216868/?format=api
{ "id": 2216868, "url": "http://patchwork.ozlabs.org/api/patches/2216868/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260327-ad4692-multichannel-sar-adc-driver-v5-1-11f789de47b8@analog.com/", "project": { "id": 38, "url": "http://patchwork.ozlabs.org/api/projects/38/?format=api", "name": "Linux PWM development", "link_name": "linux-pwm", "list_id": "linux-pwm.vger.kernel.org", "list_email": "linux-pwm@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260327-ad4692-multichannel-sar-adc-driver-v5-1-11f789de47b8@analog.com>", "list_archive_url": null, "date": "2026-03-27T11:07:57", "name": "[v5,1/4] dt-bindings: iio: adc: add AD4691 family", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "1559957ca02f70d44f7b35b47c7276a64ac22363", "submitter": { "id": 92791, "url": "http://patchwork.ozlabs.org/api/people/92791/?format=api", "name": "Radu Sabau via B4 Relay", "email": "devnull+radu.sabau.analog.com@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pwm/patch/20260327-ad4692-multichannel-sar-adc-driver-v5-1-11f789de47b8@analog.com/mbox/", "series": [ { "id": 497746, "url": "http://patchwork.ozlabs.org/api/series/497746/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pwm/list/?series=497746", "date": "2026-03-27T11:07:56", "name": "iio: adc: ad4691: add driver for AD4691 multichannel SAR ADC family", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/497746/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2216868/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2216868/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-pwm+bounces-8383-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pwm@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=EScwca3l;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.105.105.114; helo=tor.lore.kernel.org;\n envelope-from=linux-pwm+bounces-8383-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"EScwca3l\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fhymZ3Pkgz1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 22:17:50 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 1E5F530A1DC4\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 27 Mar 2026 11:08:30 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 8CC6C3E95A9;\n\tFri, 27 Mar 2026 11:08:09 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id E844B3E5596;\n\tFri, 27 Mar 2026 11:08:07 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id 4ECD5C19423;\n\tFri, 27 Mar 2026 11:08:07 +0000 (UTC)", "from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n\tby smtp.lore.kernel.org (Postfix) with ESMTP id 3599410ED65E;\n\tFri, 27 Mar 2026 11:08:07 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774609688; cv=none;\n b=XAUjkC6K7r/wZOqur99PpvUGvvZN4Ha7All7cwRxOpOfveA72c+q4tRkf2Tzc6roVbepfs89Y4hR1ZpKO2iDMHaXRXdl5MfGH441nH86q5/fpJDnfwgfVOhwgQuITgYNK+wQuJc5dGXZmWu08AMmhXWUaiO6zwb1n7ySyzXDeFY=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774609688; c=relaxed/simple;\n\tbh=QBAlX/8xfvy1JTozf9D2BanvnPZ5h9O/HJLH0PkEZa8=;\n\th=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References:\n\t In-Reply-To:To:Cc;\n b=BIMVubRCsjbj0Pv+yFl4x/G2RugMfL6MC7NZ3q4C67VabgH0Dqc9RKceDhB7d0kX1Y5SX2zWdU702U6jAwaFmWLYNru9NqBWrGcyofpPS6Z45AzDXr1hmNmu8iD2p+I/Kctp+PDsxWjFl3gsvhXmXUCv/UCrnOVM/Apn/7sY6zg=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=EScwca3l; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1774609687;\n\tbh=QBAlX/8xfvy1JTozf9D2BanvnPZ5h9O/HJLH0PkEZa8=;\n\th=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n\tb=EScwca3l3E+9lxPo42VM+GVCHgcIALlRWwl6bwsa+jCgcanOmq2P5ecSCHf/uz+cf\n\t OIU7ndUt3ii0SlxfqmUC86IB9ISZ7kRV2i9xOjukI68EgAZN3b5Ga43iedbsUaWJJm\n\t 6Vc1+ZbZ7K14h+q2Wh2fToX5nzL2r25FWjyHNJrUA338mET0zFxbDjrnqhhumTzbmx\n\t uwl7j07QWuQzsz4okdRP28BSeomW1VgdRTJ+rpdNOXTB+CCN3KHPnTuKZevlugBXoW\n\t h27nlhebhpyzel5bnfpU5kV9vYLUHWgKVxaq6ObtJWMoLNuZeb1cZEAEn9T91x2J47\n\t YCZxkLWeTOKLQ==", "From": "Radu Sabau via B4 Relay <devnull+radu.sabau.analog.com@kernel.org>", "Date": "Fri, 27 Mar 2026 13:07:57 +0200", "Subject": "[PATCH v5 1/4] dt-bindings: iio: adc: add AD4691 family", "Precedence": "bulk", "X-Mailing-List": "linux-pwm@vger.kernel.org", "List-Id": "<linux-pwm.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pwm+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pwm+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "8bit", "Message-Id": "\n <20260327-ad4692-multichannel-sar-adc-driver-v5-1-11f789de47b8@analog.com>", "References": "\n <20260327-ad4692-multichannel-sar-adc-driver-v5-0-11f789de47b8@analog.com>", "In-Reply-To": "\n <20260327-ad4692-multichannel-sar-adc-driver-v5-0-11f789de47b8@analog.com>", "To": "Lars-Peter Clausen <lars@metafoo.de>,\n Michael Hennerich <Michael.Hennerich@analog.com>,\n Jonathan Cameron <jic23@kernel.org>, David Lechner <dlechner@baylibre.com>,\n\t=?utf-8?q?Nuno_S=C3=A1?= <nuno.sa@analog.com>,\n Andy Shevchenko <andy@kernel.org>, Rob Herring <robh@kernel.org>,\n Krzysztof Kozlowski <krzk+dt@kernel.org>,\n Conor Dooley <conor+dt@kernel.org>,\n =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <ukleinek@kernel.org>,\n Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>,\n Linus Walleij <linusw@kernel.org>, Bartosz Golaszewski <brgl@kernel.org>,\n Philipp Zabel <p.zabel@pengutronix.de>, Jonathan Corbet <corbet@lwn.net>,\n Shuah Khan <skhan@linuxfoundation.org>", "Cc": "linux-iio@vger.kernel.org, devicetree@vger.kernel.org,\n linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org,\n linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org,\n Radu Sabau <radu.sabau@analog.com>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1774609685; l=6575;\n i=radu.sabau@analog.com; s=20260220; h=from:subject:message-id;\n bh=8WQtXGwAJMX9LKjokE7g+NNdM3YBj5DyijsdwhSVWu8=;\n b=nTrNVkiKWzBmMuz762oQjw3q2GER0wboRbdVWSbk02gKG4NkI4GGG0zS+pxBRRVfHPvQZKMZ1\n l3WP3h4d31TAhjdU1BhVWurEHYyF8lrlyUNsJvGemEsYWwjLZ8VySag", "X-Developer-Key": "i=radu.sabau@analog.com; a=ed25519;\n pk=lDPQHgn9jTdt0vo58Na9lLxLaE2mb330if71Cn+EvFU=", "X-Endpoint-Received": "by B4 Relay for radu.sabau@analog.com/20260220 with\n auth_id=642", "X-Original-From": "Radu Sabau <radu.sabau@analog.com>", "Reply-To": "radu.sabau@analog.com" }, "content": "From: Radu Sabau <radu.sabau@analog.com>\n\nAdd DT bindings for the Analog Devices AD4691 family of multichannel\nSAR ADCs (AD4691, AD4692, AD4693, AD4694).\n\nThe binding describes the hardware connections:\n\n- Power domains: avdd-supply (required), vio-supply, ref-supply or\n refin-supply (external reference; the REFIN path enables the\n internal reference buffer), and an optional ldo-in-supply, that if\n absent, means the on-chip internal LDO will be used.\n\n- Optional PWM on the CNV pin selects CNV Burst Mode; when absent,\n Manual Mode is assumed with CNV tied to SPI CS.\n\n- An optional reset GPIO (reset-gpios) for hardware reset.\n\n- Up to four GP pins (gp0..gp3) usable as interrupt sources,\n identified in firmware via interrupt-names \"gp0\"..\"gp3\".\n\n- gpio-controller with #gpio-cells = <2> for GP pin GPIO usage.\n\n- #trigger-source-cells = <1>: one cell selecting the GP pin number\n (0-3) used as the SPI offload trigger source.\n\nTwo binding examples are provided: CNV Burst Mode with SPI offload\n(DMA data acquisition driven by DATA_READY on a GP pin), and Manual\nMode for CPU-driven triggered-buffer or single-shot capture.\n\nSigned-off-by: Radu Sabau <radu.sabau@analog.com>\n---\n .../devicetree/bindings/iio/adc/adi,ad4691.yaml | 162 +++++++++++++++++++++\n MAINTAINERS | 7 +\n 2 files changed, 169 insertions(+)", "diff": "diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml\nnew file mode 100644\nindex 000000000000..81d2ca4e0e22\n--- /dev/null\n+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad4691.yaml\n@@ -0,0 +1,162 @@\n+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)\n+%YAML 1.2\n+---\n+$id: http://devicetree.org/schemas/iio/adc/adi,ad4691.yaml#\n+$schema: http://devicetree.org/meta-schemas/core.yaml#\n+\n+title: Analog Devices AD4691 Family Multichannel SAR ADCs\n+\n+maintainers:\n+ - Radu Sabau <radu.sabau@analog.com>\n+\n+description: |\n+ The AD4691 family are high-speed, low-power, multichannel successive\n+ approximation register (SAR) analog-to-digital converters (ADCs) with\n+ an SPI-compatible serial interface. The ADC supports CNV Burst Mode,\n+ where an external PWM drives the CNV pin, and Manual Mode, where CNV\n+ is directly tied to the SPI chip-select.\n+\n+ Datasheets:\n+ * https://www.analog.com/en/products/ad4691.html\n+ * https://www.analog.com/en/products/ad4692.html\n+ * https://www.analog.com/en/products/ad4693.html\n+ * https://www.analog.com/en/products/ad4694.html\n+\n+$ref: /schemas/spi/spi-peripheral-props.yaml#\n+\n+properties:\n+ compatible:\n+ enum:\n+ - adi,ad4691\n+ - adi,ad4692\n+ - adi,ad4693\n+ - adi,ad4694\n+\n+ reg:\n+ maxItems: 1\n+\n+ spi-max-frequency:\n+ maximum: 40000000\n+\n+ spi-cpol: true\n+ spi-cpha: true\n+\n+ avdd-supply:\n+ description: Analog power supply (4.5V to 5.5V).\n+\n+ ldo-in-supply:\n+ description: LDO input supply. When absent, the internal LDO is used.\n+\n+ vio-supply:\n+ description: I/O voltage supply (1.71V to 1.89V or VDD).\n+\n+ ref-supply:\n+ description: External reference voltage supply (2.4V to 5.25V).\n+\n+ refin-supply:\n+ description: Internal reference buffer input supply.\n+\n+ reset-gpios:\n+ description:\n+ GPIO line controlling the hardware reset pin (active-low).\n+ maxItems: 1\n+\n+ pwms:\n+ description:\n+ PWM connected to the CNV pin. When present, selects CNV Burst Mode where\n+ the PWM drives the conversion rate. When absent, Manual Mode is used\n+ (CNV tied to SPI CS).\n+ maxItems: 1\n+\n+ interrupts:\n+ description:\n+ Interrupt lines connected to the ADC GP pins. Each GP pin can be\n+ physically wired to an interrupt-capable input on the SoC.\n+ maxItems: 4\n+\n+ interrupt-names:\n+ description: Names of the interrupt lines, matching the GP pin names.\n+ minItems: 1\n+ maxItems: 4\n+ items:\n+ enum:\n+ - gp0\n+ - gp1\n+ - gp2\n+ - gp3\n+\n+ gpio-controller: true\n+\n+ '#gpio-cells':\n+ const: 2\n+\n+ '#trigger-source-cells':\n+ description:\n+ This node can act as a trigger source. The single cell in a consumer\n+ reference specifies the GP pin number (0-3) used as the trigger output.\n+ const: 1\n+\n+required:\n+ - compatible\n+ - reg\n+ - avdd-supply\n+ - vio-supply\n+\n+allOf:\n+ # ref-supply and refin-supply are mutually exclusive, one is required\n+ - oneOf:\n+ - required:\n+ - ref-supply\n+ - required:\n+ - refin-supply\n+\n+unevaluatedProperties: false\n+\n+examples:\n+ - |\n+ #include <dt-bindings/gpio/gpio.h>\n+ /* AD4692 in CNV Burst Mode with SPI offload */\n+ spi {\n+ #address-cells = <1>;\n+ #size-cells = <0>;\n+\n+ adc@0 {\n+ compatible = \"adi,ad4692\";\n+ reg = <0>;\n+ spi-cpol;\n+ spi-cpha;\n+ spi-max-frequency = <40000000>;\n+\n+ avdd-supply = <&avdd_supply>;\n+ vio-supply = <&vio_supply>;\n+ ref-supply = <&ref_5v>;\n+\n+ reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;\n+\n+ pwms = <&pwm_gen 0 0>;\n+\n+ #trigger-source-cells = <1>;\n+ };\n+ };\n+\n+ - |\n+ #include <dt-bindings/gpio/gpio.h>\n+ /* AD4692 in Manual Mode (CNV tied to SPI CS) */\n+ spi {\n+ #address-cells = <1>;\n+ #size-cells = <0>;\n+\n+ adc@0 {\n+ compatible = \"adi,ad4692\";\n+ reg = <0>;\n+ spi-cpol;\n+ spi-cpha;\n+ spi-max-frequency = <31250000>;\n+\n+ avdd-supply = <&avdd_supply>;\n+ vio-supply = <&vio_supply>;\n+ refin-supply = <&refin_supply>;\n+\n+ reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;\n+ };\n+ };\ndiff --git a/MAINTAINERS b/MAINTAINERS\nindex 61bf550fd37c..438ca850fa1c 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -1484,6 +1484,13 @@ W:\thttps://ez.analog.com/linux-software-drivers\n F:\tDocumentation/devicetree/bindings/iio/adc/adi,ad4170-4.yaml\n F:\tdrivers/iio/adc/ad4170-4.c\n \n+ANALOG DEVICES INC AD4691 DRIVER\n+M:\tRadu Sabau <radu.sabau@analog.com>\n+L:\tlinux-iio@vger.kernel.org\n+S:\tSupported\n+W:\thttps://ez.analog.com/linux-software-drivers\n+F:\tDocumentation/devicetree/bindings/iio/adc/adi,ad4691.yaml\n+\n ANALOG DEVICES INC AD4695 DRIVER\n M:\tMichael Hennerich <michael.hennerich@analog.com>\n M:\tNuno Sá <nuno.sa@analog.com>\n", "prefixes": [ "v5", "1/4" ] }