From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-180.mta0.migadu.com (out-180.mta0.migadu.com [91.218.175.180]) (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 73A3714A0B5 for ; Tue, 26 Aug 2025 00:10:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756167016; cv=none; b=sWOMGnpq2zm1hzhNmg9tq78Ak/AHZDnmnOYvkSQ2GeGmjgDC8KvHV6zpXamEKA9wdK/bflMuo+dNDb1reYFYT02Bhu1V8prhbBljbawPODx5bdlazPeDqtS0kXX29n15SFGADr9b7q5VrzKWyB24pJWf8dffnl6Kz1U1pN4Alrw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756167016; c=relaxed/simple; bh=RBP2bAVNx5seH1yUO0VlfPQUrADaOVCOGVTtcjc/7aM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=uhZ3S7ENJA5XBfb0Bgff2hW/pRTReq2Jxx+XAbTX3R6fytRsbBfWd5igUcciJ7+YvsnkDp85BjrJbd5w7SjCsOdQaDrbx/IxJtRton21DVZIAWfi26bWSQCAAUouD1mBkC5+CeArZBV7OT1qRH/5D1/lEQrNwB2b7V7sPKoGhfs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=linux.dev; arc=none smtp.client-ip=91.218.175.180 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ben Collins Date: Mon, 25 Aug 2025 20:10:05 -0400 Subject: [PATCH v7 3/5] ABI: sysfs-bus-iio: Document "ema" filter_type 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: <20250825-mcp9600-iir-v7-3-2ba676a52589@kernel.org> References: <20250825-mcp9600-iir-v7-0-2ba676a52589@kernel.org> In-Reply-To: <20250825-mcp9600-iir-v7-0-2ba676a52589@kernel.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Antoniu Miclaus , Lars-Peter Clausen , Michael Hennerich Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Ben Collins X-Migadu-Flow: FLOW_OUT Exponential Moving Average (EMA) is a first-order IIR filter. This is a common IIR algorithm used in mcp9600 and others. Signed-off-by: Ben Collins --- Documentation/ABI/testing/sysfs-bus-iio | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Documentation/ABI/testing/sysfs-bus-iio index df42a4040530ee96096b998bebc8a08b4fb2d78f..4e30f1db0a930f021cf07e5553d35a3feffddcc2 100644 --- a/Documentation/ABI/testing/sysfs-bus-iio +++ b/Documentation/ABI/testing/sysfs-bus-iio @@ -2281,6 +2281,8 @@ Description: when reading sampling and frequency related attributes of this filter, and return -EINVAL when trying to write these attributes. + * "ema" - Exponential Moving Average (EMA) is a first-order + Infinite Impulse Response (IIR) filter. * "sinc1" - The digital sinc1 filter. Fast 1st conversion time. Poor noise performance. * "sinc3" - The digital sinc3 filter. Moderate 1st -- 2.39.5