From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oa1-f47.google.com (mail-oa1-f47.google.com [209.85.160.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C698F221DA3 for ; Fri, 25 Apr 2025 21:16:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745615785; cv=none; b=TqIZ+UiEAWLvM1mbwwAGAcPjXfNNKelhabeQxyahVflycOo71Xb0ySkksfr6P/lY0obVV/QRdNIIrVzQ7k+D/xRgQrhKrD+PYHH+aR76AX+uXPDMW3EgCIVTTlTwu5P/kCwbb6ffGAffI2zd6BGAXNokkn22vAoYhsAMbhM0PvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745615785; c=relaxed/simple; bh=gfFhdTGxHbl/LD37YDzvdKH+lTSppcTv0j9nC41MXw8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=TYIXE+bRoR+RAJ/izgh/ClpzTes4PgTUrs3VmMlR4iSZZ4qSWx6m3kmfc3bQY6b/sLzHQypLZ3RgRTo+PY/a3adLTD7UzRFWRr72gv6xilZRuTByU0baed9Xnh1D/a1U206tb4FLgASamvPkzCvwl5qciDRtNL05YEzcU8LhcD4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=AwwVQTCP; arc=none smtp.client-ip=209.85.160.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="AwwVQTCP" Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-2cc89c59cc0so2514194fac.0 for ; Fri, 25 Apr 2025 14:16:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1745615782; x=1746220582; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dTz9I5enTaJxLVBqLDZUEqU3il7OBimu59UQoHiVNMA=; b=AwwVQTCP2K9CKA4fyIHrFrdBnoSQuw+MGhcGYT6karBo24u81I/NgHboYE4KWjBdQZ 2jQ355Uf85ipswqalfYQOcnB16PMRY6/0n7RE6yggkwGwkWUYKylHYzst8PqwPW7gYLa LuCp1pVUCBENWqDqqZli/UnyZCr9rgILrG8I70DDHpcgV6uawgL5yOTmD9eOvdN6+LUC x6v7v/W1/OTZ5h5Op2bhbChw+s938Q4jp6xsXc4xotwC0QZ0FETfq/4faR2AkUYg8GrO iIraHhbsryGCdQU9NCNKo635EYhf7DzZ4ruUihysiBC2+a/89G2X+9D7yPNc2E3UkAFo e/Vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745615782; x=1746220582; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dTz9I5enTaJxLVBqLDZUEqU3il7OBimu59UQoHiVNMA=; b=BcvC9SUDKCCeM7fZ2sRqparmqueL8TYVu0o+DoOM9dtKNY3X3C+Rzc/mBoaUpFAjAW 99vZxY9tpSxZqrWZl5xCzW5DlbSgBUiQkloirD2OBkptOZdVGQAwzpPCviljr1da3nUY qdfvBZd0z9GceuwCQrF+aZYvr/Rv6xKMkqsx4tYT4RvQ7W4rsgFE1bm6cQrmpEKO0S6M 27NGqVTi1bJVJM88IzVpC5whePVJBP4eHsmAfVs7cCYaM6DJobaD5yC9VCnovpKNp8bz pqhfKeD8ccAxKAnMQL5qvqYPgEXpIkzpAKYLV7Ea3YJDhxGKd8yFQeukTw17oqygP5Et uJqg== X-Forwarded-Encrypted: i=1; AJvYcCWp0yb1UOtzEINdqNRaHflUuUOx0QC4ArONq2Z7zKUosPV+gdyIbUqCBGKd7fSqAUEtb5RM86DM7QM=@vger.kernel.org X-Gm-Message-State: AOJu0YzfeBMiBMCqyH2igLy8KhFfCwc8tOJ39l1DOlrPlXwSItgCMkvo 5sDkU7nz9sq+JwfaWj79WiqcEo2HYerFY3c0c+P6BVXhuSnQMnRDBAMJlxpSTFk= X-Gm-Gg: ASbGncuLrjTWemOozfZ3flkJscfMdzmfQ0jN4xaUD1jNR69KyZafHxAelMkSfcQeQJn gqluBbG+cEXpPSE/N1Jo9+O/HAoZBnHCb1KhLnEPhQ9V6EDNqq86FOpbC8p6u0F4P2m01D5Ym0d A18DDhN/s1NseVXGg/yOcujh2e/36yatQsOY4I1SGh7bWhOFdB43BBB+61Dq/T1m9mffXz1UZ/K ApcP9tb1UzB06flqRuxqQQA+PS2k0t8kUIrLzFwnc5Lr656on1oCWVw9UrmBRmsqQUE0nKJwndC NtrvYtNx7xAZr8GSkf/z4h7Tx5CpHBlaB0EFja5NY2EJObt/BNLWFTMGvlyDJ8B1AxpF7nOQ8QQ UtbZv2uSbhqdt X-Google-Smtp-Source: AGHT+IFP6Q8OseGcSbnqWqVTrZCG0R7+HN99jIze+0SssGMO+saUY5k74kZJ24hu1RttCmiKMZvjBQ== X-Received: by 2002:a05:6870:611e:b0:2d4:e8ce:7bcc with SMTP id 586e51a60fabf-2d97317915cmr4604390fac.8.1745615781776; Fri, 25 Apr 2025 14:16:21 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:1d00:96a3:e28:3f6:dbac? ([2600:8803:e7e4:1d00:96a3:e28:3f6:dbac]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7304f37b12fsm848940a34.43.2025.04.25.14.16.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 25 Apr 2025 14:16:21 -0700 (PDT) Message-ID: <143ffe9b-b32e-41ea-b5c7-855c680b48d4@baylibre.com> Date: Fri, 25 Apr 2025 16:16:20 -0500 Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/5] Documentation: ABI: add oversampling frequency in sysfs-bus-iio To: Jorge Marques , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , =?UTF-8?Q?Nuno_S=C3=A1?= , Andy Shevchenko , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org References: <20250422-iio-driver-ad4052-v2-0-638af47e9eb3@analog.com> <20250422-iio-driver-ad4052-v2-1-638af47e9eb3@analog.com> From: David Lechner Content-Language: en-US In-Reply-To: <20250422-iio-driver-ad4052-v2-1-638af47e9eb3@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/22/25 6:34 AM, Jorge Marques wrote: ... > Devices with this feature are max1363, ad7606, ad799x, and ad4052. > The max1363 driver included the events/sampling_frequency in > commit 168c9d95a940 ("iio:adc:max1363 move from staging.") > and ad799x in > commit ba1d79613df3 ("staging:iio:ad799x: Use event spec for threshold > hysteresis") > but went undocumented so far. It looks like this part was copied from a different commit and isn't related to this one. > > Signed-off-by: Jorge Marques > --- > 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 33c09c4ac60a4feec82308461643134f5ba84b66..129061befb21b82a51142a01a94d96fcf1b60072 100644 > --- a/Documentation/ABI/testing/sysfs-bus-iio > +++ b/Documentation/ABI/testing/sysfs-bus-iio > @@ -139,6 +139,23 @@ Contact: linux-iio@vger.kernel.org > Description: > Hardware dependent values supported by the oversampling filter. > > +What: /sys/bus/iio/devices/iio:deviceX/oversampling_frequency > +KernelVersion: 6.15 > +Contact: linux-iio@vger.kernel.org > +Description: > + Some devices have internal clocks for oversampling. > + Sets the resulting frequency in Hz to trigger a conversion used by > + the oversampling filter. > + If the device has a fixed internal clock or is computed based on > + the sampling frequency parameter, the parameter is read only. Don't need a newline after every period. > + > +What: /sys/bus/iio/devices/iio:deviceX/oversampling_frequency_available > +KernelVersion: 6.15 > +Contact: linux-iio@vger.kernel.org > +Description: > + Hardware dependent values supported by the oversampling > + frequency. oversampling_frequency attribute. > + > What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_raw > What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_supply_raw > What: /sys/bus/iio/devices/iio:deviceX/in_voltageY_i_raw >