From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A1E2F2D7398; Mon, 16 Feb 2026 17:10:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771261853; cv=none; b=ayxdQI86oIQW7C+n6PekAGVszDlaq8BgCLuYyRfpBmvCwbTsuyfhaQbkoWSKziQA4ukxJ8h0V8P73+JFf7+nM2yd1vhI/Ga65E0ut/R43K9lCSG0A3He9KglhTD8hjmU8p1djYKQ5e4inMf5wmagyLutSzrOshuEGfgOQUfoANo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771261853; c=relaxed/simple; bh=Olf/VDLJhhSeV5DTXf2NCG4rihN5dnjKW9gQCyqFtKE=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=Qfi5/UhUcYwAHFLtIo44iAgX2fZpa3/zkIfuWDt0+rfa/LwFpqKZb5eicw/3UL+G6+jJ8qW8MRRg6evtlCfNeJcAfe0ryuoJHYkyIrFJopOvZRz5tme25CcnKKE7JlzcbGF5ToASG3zXK2nx8AUEBh2w84qs/JduoNZaJDolrYc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VPzeoVEi; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VPzeoVEi" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3F9A0C116C6; Mon, 16 Feb 2026 17:10:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1771261853; bh=Olf/VDLJhhSeV5DTXf2NCG4rihN5dnjKW9gQCyqFtKE=; h=From:Subject:Date:To:Cc:Reply-To:From; b=VPzeoVEiwTfrgO0aFiOyEvgb99Ocve0kZlk3h216XHFJLE8hcfWcoSXda5JKt2Ype 9W7Yq3vFpgIkSYU8X8gdZNP6nIJq/bUGEnouYGdEVF7KcjtcDrWURpcoJRViVX5Gl4 hGv1aG2llhu/YALHe0DcEo7hMb2D8w5jwXW0pD+mwAhKBmPPqonHiaqs9i/qmIaWLz EW/42+jwxqauxR3ERN5HuFL0qdPCULRz1T9xpTokK21n1xBZgBnQqrxFuYS3KMa+k/ prHIvWeBKJI0oEW8/hyuk76rrDcWcooyTPWoQfHPqTVBq+jBCzUx+xyPwFpCLc26CV tD65YvhbSvX0g== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DEC8E81A32; Mon, 16 Feb 2026 17:10:53 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Subject: [PATCH v5 00/11] iio: amplifiers: ad8366: driver update and dt support Date: Mon, 16 Feb 2026 17:10:44 +0000 Message-Id: <20260216-iio-ad8366-update-v5-0-7e6091357d02@analog.com> 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: 7bit X-B4-Tracking: v=1; b=H4sIAJRPk2kC/23OwQ7CIAyA4VcxnMVQoLh58j2MhwJVSXQsmy4as 3eXeVHjjn+Tfu1T9Nwl7sVm8RQdD6lPuSmBy4UIJ2qOLFMsLbTSCKBBppQlxco4J29tpCtLdOQ pYOV9IFH22o4P6f42d/vSp9Rfc/d4nxhgmk6aUwD1jDaAVLJS1rI2XDtLW2ronI+rkC9i4gb9R Wg3R+hChJpsNEDsFfwR5kNoZeYIUwiM6IzzCBX8f2G/CFBzhC0EICo8rD2gtz/EOI4vLD4wrnw BAAA= X-Change-ID: 20251121-iio-ad8366-update-56abac58bbca To: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org Cc: Michael Hennerich , Lars-Peter Clausen , Jonathan Cameron , David Lechner , Andy Shevchenko , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Rodrigo Alencar , Conor Dooley , Alexandru Ardelean , Andy Shevchenko X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1771261851; l=3134; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=Olf/VDLJhhSeV5DTXf2NCG4rihN5dnjKW9gQCyqFtKE=; b=zObDgaAqkiIy1SlDAA4FyA8zRvq9fngqhETRkt/rlUoIe2rqGQBDefLIyw5AJizLonVYCxSfC sc2PF6SuiprDpN87QHjtbKpADT/CliivU/aZhNVds9TsYSb1AFEyYU1 X-Developer-Key: i=rodrigo.alencar@analog.com; a=ed25519; pk=ULeHbgU/OYh/PG/4anHDfLgldFItQHAhOktYRVLMFRo= X-Endpoint-Received: by B4 Relay for rodrigo.alencar@analog.com/default with auth_id=561 X-Original-From: Rodrigo Alencar Reply-To: rodrigo.alencar@analog.com This patch series updates the AD8366 amplifier/attenuator driver with modern device resource management, including support for additional device variants. Adds support for multiple digital step attenuators: - ADRF5720: 0.5 dB LSB, 6-Bit, Digital Attenuator, 9 kHz to 40 GHz - ADRF5730: 0.5 dB LSB, 6-Bit, Digital Attenuator, 100 MHz to 40 GHz - ADRF5731: 2 dB LSB, 4-Bit, Digital Attenuator, 100 MHz to 40 GHz - HMC271A: 1 dB LSB, 5-bit, Digital Attenuator, 0.7 - 3.7 GHz - HMC1018A: 1.0 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz - HMC1019A: 0.5 dB LSB GaAs MMIC 5-BIT DIGITAL ATTENUATOR, 0.1 - 30 GHz Device Tree Support: - Adds device tree binding documentation - Adds device tree compatible strings for all supported devices - Favor chip info tables over device type. Signed-off-by: Rodrigo Alencar --- Changes in v5: - Another review of include headers. - Reset changes going before regulator changes - Chip info table adjustments. - Consume enable gpio before the reset. - Link to v4: https://lore.kernel.org/r/20260210-iio-ad8366-update-v4-0-15505f7b15b4@analog.com Changes in v4: - Review of included headers. - Split of device-tree support patch. - Consume reset controller rather than gpio. - Link to v3: https://lore.kernel.org/r/20260203-iio-ad8366-update-v3-0-5d5636b5181a@analog.com Changes in v3: - Add compatible checks for dt-binding gpio properties. - Remove reset and enable gpio from device state struct. - Split refactoring commits. - Drop part of the refactoring in favor of a cleaner diff. - Get included header files sorted. - Link to v2: https://lore.kernel.org/r/20260126-iio-ad8366-update-v2-0-c9a4d31aeb01@analog.com Changes in v2: - Reorganize commits with cleanups before features. - Link to v1: https://lore.kernel.org/r/20260119-iio-ad8366-update-v1-0-8044e23e964a@analog.com --- Rodrigo Alencar (11): MAINTAINERS: Add missing maintainer entry for AD8366 driver dt-bindings: iio: amplifiers: Add AD8366 support iio: amplifiers: ad8366: refactor include headers iio: amplifiers: ad8366: add local dev pointer to the probe function iio: amplifiers: ad8366: use devm_mutex_init() and drop mutex_init() iio: amplifiers: ad8366: refactor device resource management iio: amplifiers: ad8366: replace reset-gpio with reset controller iio: amplifiers: ad8366: prepare for device-tree support iio: amplifiers: ad8366: add device tree support iio: amplifiers: ad8366: consume enable gpio iio: amplifiers: ad8366: update device support .../bindings/iio/amplifiers/adi,ad8366.yaml | 97 ++++++ MAINTAINERS | 9 + drivers/iio/amplifiers/Kconfig | 6 + drivers/iio/amplifiers/ad8366.c | 387 +++++++++++---------- 4 files changed, 321 insertions(+), 178 deletions(-) --- base-commit: cce8de7f9744a210a4441ca8a667a9950515eea7 change-id: 20251121-iio-ad8366-update-56abac58bbca Best regards, -- Rodrigo Alencar