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 B3540545D85; Thu, 15 Oct 2026 16:49:55 +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=1792082995; cv=none; b=Z8SO2S0JbsL4xr7VzEoM3Nrsu8vdc8zNIa6N37XD1ECvJ4FLzyKchB30IIoZPb5dP4ROMQNrHql490snH5mM1Mf76054SgcbPQgg2HyUNss99D+XEyiKXOng9iknx7N57AJyCLIlQI7tiRmZAYLW475eSjsUi8y1YkPrnfEnQ1s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792082995; c=relaxed/simple; bh=SnU0DT/RjXLJbopdxpaOnyfW6SnaewFBaST4OCO0iI0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=A9qh9VlS2zkN3C5z8edC7JqwyXuovhYT0+YK8jWkQiRdf67fJbVsb2itz3ExwT+I6Fe+vuXAH469vgjTdOMKbtvJApHZDUlcaU2DjK+yLknmZ5aiwCZ5GfjzTtxTPtJQK9Jn4WpcejHB8dZvgguGT1fSaq1UvcetoMj+zXk1UXM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=L5fU8/zX; 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="L5fU8/zX" Received: by smtp.kernel.org (Postfix) with ESMTPS id 4D87DC4AF0D; Thu, 15 Oct 2026 16:49:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1792082995; bh=SnU0DT/RjXLJbopdxpaOnyfW6SnaewFBaST4OCO0iI0=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=L5fU8/zXG/IqJMo5mOaCvxXFGgGyPxtLwiloB2UvqqRDEji8kCw+B9aQ+YS2e6OSL USqj+hY+1pUE+WUnPynjHi/wB7k6UiCB2M8sU2xogZe17H+DrMFQ/oq6XuJw/ggbaq GpCkvMi9MDkAO75/oF+JhXJSFOKTllG0D+5UyT8mr4oab27ffeujFCugF86wsXX08o sfDPTC82WnflgmsGZM/sy8O8GZdh+ed2K0J+Sho2d082P5KOqnZTXihkz8W0a7ssUK Tg/jZsc9d/7OwHp1nRia3ScMegtm9xTdQjZ9/Yw49aVXlCmiOPF7eaviukL6xiYFMz veF3ogCG7khIA== 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 3A8A0CC6B38; Thu, 15 Oct 2026 16:49:55 +0000 (UTC) From: Rodrigo Alencar via B4 Relay Date: Thu, 15 Oct 2026 13:49:49 -0300 Subject: [PATCH 09/10] iio: ABI: add integration_time for output channels 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 Message-Id: <20261015-ad9910-backend-support-v1-9-3c21648c8e26@analog.com> References: <20261015-ad9910-backend-support-v1-0-3c21648c8e26@analog.com> In-Reply-To: <20261015-ad9910-backend-support-v1-0-3c21648c8e26@analog.com> To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux@analog.com, devicetree@vger.kernel.org, linux-pwm@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Cameron Cc: Olivier Moysan , Jonathan Cameron , David Lechner , Andy Shevchenko , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Jonathan Corbet , Shuah Khan , Randy Dunlap , Rodrigo Alencar X-Mailer: b4 0.16.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1792082993; l=1995; i=rodrigo.alencar@analog.com; s=default; h=from:subject:message-id; bh=IoK+rS/AZpKcfckFDfvILHdHeYT/QobUUWmOhvEtSTA=; b=Mr5vQFQlwKKy+y9gy8vISksfEGtOjpmByK+zUfotprSp5IkhDdmGDFnwNYqLDX2gnY6yRr/v5 Jp1ZhkCb/kxCKImrY+JD9r0PACi3QKTqLic3rPsXD5I0ZXx0EIEP0t3 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 From: Rodrigo Alencar Document the integration_time attribute for output channels, which is the time interval during which the output is generated by integrating a quantity, such as its rate of change. It is the output counterpart of the integration_time already defined for input channels. Add entries for the altcurrent, frequency and phase channel types, which are going to be used by the AD9910 DDS driver. Signed-off-by: Rodrigo Alencar --- Documentation/ABI/testing/sysfs-bus-iio | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index 2b6f57041763..a41a96935cfb 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -1744,6 +1744,23 @@ Description: seconds. If shared across all channels of a given type, _integration_time is used. +What: /sys/bus/iio/devices/iio:deviceX/out_altcurrentY_integration_time +What: /sys/bus/iio/devices/iio:deviceX/out_frequencyY_integration_time +What: /sys/bus/iio/devices/iio:deviceX/out_phaseY_integration_time +KernelVersion: 7.4 +Contact: linux-iio@vger.kernel.org +Description: + This attribute is used to get/set the integration time in + seconds of an output channel, i.e., the time interval during + which the output is generated by integrating (accumulating) a + quantity over time, such as the rate of change (roc) of the + channel. The output variation over this interval corresponds to + the integral of that quantity, which may be bounded by limits + configured through other channel attributes. The written value + may be adjusted to the nearest interval supported by the + hardware. If shared across all channels of a given type, + _integration_time is used. + What: /sys/.../iio:deviceX/in_velocity_sqrt(x^2+y^2+z^2)_integration_time KernelVersion: 4.0 Contact: linux-iio@vger.kernel.org -- 2.43.0