From patchwork Tue Aug 6 13:10:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuno Sa via B4 Relay X-Patchwork-Id: 13754878 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 64B741D0DCB for ; Tue, 6 Aug 2024 13:10:43 +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=1722949843; cv=none; b=nXGw/lOFhtpbo62OJD+3K7Jhx8U3eS5Gwve8zbON7SRC6IGEzC4bi3guSPu1uAWCDkupZ+IafL4Wss/DeRWjTAasn9WG12GLrvyzo9Ug3Ww+Syys0mIc4oACBKq5YeR+uvChQRqHH5PHMMUFn0Nw2v1cjH6J7BIj+Z5COkVdQx8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722949843; c=relaxed/simple; bh=iw++Tw0yTPibuWJy8aCLmBVxJIQ0ExZhg41xhJEYIck=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=UbsaVDglMgyzjrWdpLHQ+fYZ4x9HfuIMc3R3kZPzFGchj+pF0BUcRvp8kEOSv9PYerm3RunME+9sgYIipi3b2G/OzveUltXSDDrjP+hzCAIWLgexaap5YaJWnSii9A+cqDpVVPUCZEmUk0AsqaUuVAWGg6s0dgW96NB4lwD6An0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ria0XFa0; 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="ria0XFa0" Received: by smtp.kernel.org (Postfix) with ESMTPS id 3A135C4AF0C; Tue, 6 Aug 2024 13:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722949843; bh=iw++Tw0yTPibuWJy8aCLmBVxJIQ0ExZhg41xhJEYIck=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=ria0XFa0WbPPZcRFnRMCRoy2JyjsBERVDCFwZZDFJldKopHs6H5jE+/Vz+ISINcuu FqhuQCmlMkst27Dsb0cMCDblxEuaOfTwfQU/qbOXB3NQRxsmybAqpXbjmK9oFwHBK9 sFgQsIFYOizoeYfgrcXUUobwd+aylnrxaEgZFOyzrZOW4QvYEmwqBJr/LLtz1hEP54 hNvcMRmXdoGFrmEIEG5g4mhkNuFHhWVmO1/yvHOSgFvBZ/zyFPdJDvAIMFZBD+kHuf JYNDgPRWkilhgIjWalKfaA2PyZGUIlAnZdYoFmIRYmYMXhuY6W4N+AWwmMPoXAyfHj eOYt/FVoX6e+g== 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 2A983C3DA64; Tue, 6 Aug 2024 13:10:43 +0000 (UTC) From: Nuno Sa via B4 Relay Date: Tue, 06 Aug 2024 15:10:39 +0200 Subject: [PATCH 1/2] MAINTAINERS: add entry for ad9467 Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240806-dev-ad-debugfs-doc-v1-1-153b882a3f01@analog.com> References: <20240806-dev-ad-debugfs-doc-v1-0-153b882a3f01@analog.com> In-Reply-To: <20240806-dev-ad-debugfs-doc-v1-0-153b882a3f01@analog.com> To: linux-iio@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1722949842; l=910; i=nuno.sa@analog.com; s=20231116; h=from:subject:message-id; bh=0ISwLenbTtN0B41a+pby8UWaWMuEWdaKv5v9O1GxGtU=; b=okf3f9JUB/Ef6s9yeST9Y9jgl9t5QHFk85dbdtiOy69+nywBPFvGxXDcf2RCRo6708Tkk03Tw Wcy93qK/QPeCKBuKnx8OXD1+z1q1skXjw/eCwwQDcv1wKYg/1FFNDFg X-Developer-Key: i=nuno.sa@analog.com; a=ed25519; pk=3NQwYA013OUYZsmDFBf8rmyyr5iQlxV/9H4/Df83o1E= X-Endpoint-Received: by B4 Relay for nuno.sa@analog.com/20231116 with auth_id=100 X-Original-From: Nuno Sa Reply-To: nuno.sa@analog.com From: Nuno Sa Document the maintainers for the IIO ad9467 high speed ADC. Signed-off-by: Nuno Sa --- MAINTAINERS | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2708a9e9fc95..ff62a4c2ce9e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1310,6 +1310,15 @@ W: https://ez.analog.com/linux-software-drivers F: Documentation/devicetree/bindings/iio/adc/adi,ad7780.yaml F: drivers/iio/adc/ad7780.c +ANALOG DEVICES INC AD9467 DRIVER +M: Michael Hennerich +M: Nuno Sa +L: linux-iio@vger.kernel.org +S: Supported +W: https://ez.analog.com/linux-software-drivers +F: Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml +F: drivers/iio/adc/ad9467.c + ANALOG DEVICES INC AD9739a DRIVER M: Nuno Sa M: Dragos Bogdan From patchwork Tue Aug 6 13:10:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuno Sa via B4 Relay X-Patchwork-Id: 13754879 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 8E1801D0DCE for ; Tue, 6 Aug 2024 13:10:43 +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=1722949843; cv=none; b=UWwsWPk7+ZowAoOUQx2vzRkWde2xgHXSYEmYnB08BL4UHa/7YozoZSHZADLy7qL4kl+z7F33Z3D569fZUWrgYn/wsvBg/xMQdPwBTPNZ1Tcj3Ehj+NK4lyx3jzhT09gqWvaP2U4ts8F+p1EmiIrW21VTeY54noQg4H99unFDQko= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722949843; c=relaxed/simple; bh=3A+fsnM2eA6XiRaYuuMCpWl/HZKVgh5Is1URSGtxg7I=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=gvLwTMfK3UADLez2ltgjLY+sNxjzbkSaBjE1dxOXrlD+RYhelso5gF75vrBlavPXrZFD0PI7xYz0+nRtj4747ZyzrO07vKI1p+wnI0qh/G5mJL51S50VgmRa4CkVtHtdKlk6WqUdDzMuh1ztrjZmgrSBoa79pFKVfUrrrAo7vtg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=di1llGDQ; 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="di1llGDQ" Received: by smtp.kernel.org (Postfix) with ESMTPS id 46F09C4AF09; Tue, 6 Aug 2024 13:10:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722949843; bh=3A+fsnM2eA6XiRaYuuMCpWl/HZKVgh5Is1URSGtxg7I=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=di1llGDQhh2I8kkU6pGuO7JKMiNU3wU8RMbeQ2gk0eWium+VtptaBAnpb6CEPNB+y 0G7fxFwAfdMRJezUQ9sh4HQb6L6s+hBMP7bR1oKwJo3Q883OGbNKlaVGOT1wB0X7OA qS9umgHiY2Qeo/sgMyJAI42GJTVev8G7ZpKdJmmbnoEgWNuFrt5Bv9+6VASFVJjZVS wWwuw6havqdc+uAUqB0HRN3MS+TWVe/xdUUazSSBRPCqIQORlzIvreuL/MSxYTzz5Y T6mMfMexSCNDqzC+2AnN9+IRnSh95H5Xiw0DsEZvWlplthP1PU0+lC+LORoEtislKN e11KSfKWncMCQ== 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 38C83C52D73; Tue, 6 Aug 2024 13:10:43 +0000 (UTC) From: Nuno Sa via B4 Relay Date: Tue, 06 Aug 2024 15:10:40 +0200 Subject: [PATCH 2/2] ABI: debugfs-iio-ad9467: document the debugfs interface Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240806-dev-ad-debugfs-doc-v1-2-153b882a3f01@analog.com> References: <20240806-dev-ad-debugfs-doc-v1-0-153b882a3f01@analog.com> In-Reply-To: <20240806-dev-ad-debugfs-doc-v1-0-153b882a3f01@analog.com> To: linux-iio@vger.kernel.org Cc: Michael Hennerich , Jonathan Cameron X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=ed25519-sha256; t=1722949842; l=2199; i=nuno.sa@analog.com; s=20231116; h=from:subject:message-id; bh=aJKe8f0BemREu/qLk6HbULLoyWom7koS7AvKrSH6W5s=; b=n8a62MGDGOgydg//SkXZSt9dVk+ZFTiotI05PbndAky6+X3cngiM0ztzIVmwL1L/0jIc7a8Li pD4NghPo1emCXtggD3Wa40NhWDQsI5r7QhMkpb/YHLFiRHPVqA0pK/I X-Developer-Key: i=nuno.sa@analog.com; a=ed25519; pk=3NQwYA013OUYZsmDFBf8rmyyr5iQlxV/9H4/Df83o1E= X-Endpoint-Received: by B4 Relay for nuno.sa@analog.com/20231116 with auth_id=100 X-Original-From: Nuno Sa Reply-To: nuno.sa@analog.com From: Nuno Sa Document the debugfs interface for the IIO ad9467 high speed ADC. Signed-off-by: Nuno Sa --- Documentation/ABI/testing/debugfs-iio-ad9467 | 39 ++++++++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 40 insertions(+) diff --git a/Documentation/ABI/testing/debugfs-iio-ad9467 b/Documentation/ABI/testing/debugfs-iio-ad9467 new file mode 100644 index 000000000000..0352fca1f7f2 --- /dev/null +++ b/Documentation/ABI/testing/debugfs-iio-ad9467 @@ -0,0 +1,39 @@ +What: /sys/kernel/debug/iio/iio:deviceX/calibration_table_dump +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + This dumps the calibration table that was filled during the + digital interface tuning process. + +What: /sys/kernel/debug/iio/iio:deviceX/in_voltage_test_mode_available +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + List all the available test tones: + - off + - midscale_short + - pos_fullscale + - neg_fullscale + - checkerboard + - prbs23 + - prbs9 + - one_zero_toggle + - user + - bit_toggle + - sync + - one_bit_high + - mixed_bit_frequency + - ramp + + Note that depending on the actual device being used, some of the + above might not be available (and they won't be listed when + reading the file). + +What: /sys/kernel/debug/iio/iio:deviceX/in_voltageY_test_mode +KernelVersion: 6.11 +Contact: linux-iio@vger.kernel.org +Description: + Writing to this file will initiate one of available test tone on + channel Y. Reading it, shows which test is running. In cases + where an IIO backend is available and supports the test tone, + additional information about the data correctness is given. diff --git a/MAINTAINERS b/MAINTAINERS index ff62a4c2ce9e..417c6751c0dc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1316,6 +1316,7 @@ M: Nuno Sa L: linux-iio@vger.kernel.org S: Supported W: https://ez.analog.com/linux-software-drivers +F: Documentation/ABI/testing/debugfs-iio-ad9467 F: Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml F: drivers/iio/adc/ad9467.c