From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f180.google.com (mail-oi1-f180.google.com [209.85.167.180]) (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 EAF55227E9E for ; Tue, 29 Apr 2025 15:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745941219; cv=none; b=HSOcimGzQ+1dNV20Hrqf+SJBc5rMeD9lMQ0mnftpwcyO6I3DSv0viOxAczgskMKhtC2Ec803c25D7foQOazBrymtdCGeu+2+uVkPuoHsqAdjs4ynb7Ptjly4K2biA1zmxZTM9AoWr32uL46IVvRzm0o3i6Gle/A9PNhIUHb4qaM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745941219; c=relaxed/simple; bh=ZSlaSOOnAD2Cp1tBIlvme8AqpEDC6hlg0gqvRaVTa9g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=SMBemEw7Bff9rfnXSUvyvjXR+0dN5rv8OI5MTzfRjeyDZsX6rn56Q710xq1SrxfC4CjDnGexVOPlzFWoWzmawNw7l50jal6MsGzXGX3pgyoJWtYHVNa4vbDTet5Igl0vQ9RsFT/xT04b0L+TPc0elQ0CQ5tUUzdZ17F52f/Gmjw= 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=YcjTq8pj; arc=none smtp.client-ip=209.85.167.180 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="YcjTq8pj" Received: by mail-oi1-f180.google.com with SMTP id 5614622812f47-3fea0363284so4130327b6e.1 for ; Tue, 29 Apr 2025 08:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1745941217; x=1746546017; 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=IKHZLFnrfagn8Gc44g2MZTpXJ9t5oidezhlrUDWVs0Y=; b=YcjTq8pjS1P3iyQIQa+y+f0PTT18kC5URqpqC9eSdoczJ6mSQCMKAsI7zZbclH4vdV HqaQfHUEd7ZmdewTEWlob4/Yo7EF5XyM8iH2A4SKgdq/Der4dxzrXCW3zsXwDofH2gHj 3+gBjYxeR3a2bCKBoKBdhdY+hU++Cvw32RsEZ/x6ZmbGygg1VyCTEyNzKp0r+EDN6drJ jjYYPGdxTvwkPHX6c5FAZ0D7+2jhC9wQLn1z5mw0SJTVzYcyzXmGZm7e1QEMOf/IIPkj CTcD37u/Qmw9ggMLLHLLW7v41et1kE4yrw33wtRjv7LA17ZtgYwBPY6G5jJ9WdrBg74H pSeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1745941217; x=1746546017; 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=IKHZLFnrfagn8Gc44g2MZTpXJ9t5oidezhlrUDWVs0Y=; b=eqhoA41XbC8KBF+1nQouN0TLdkTLe6PwoCYvAbU4kWQry99diPahqonupok6aMFgVF buKDf922f8l689GqCBE8FAKNqee/FVXWCfQpITeo3egkpg27hdU7ZVo69C2WNVScE6a3 +UdE1kl2oPZG1adEJJg/F3dID9uO0pF0U1GvwM+CLNX1zqNDIcSWV9dgXeaP8p358iab Ea9weDowZxxbv0M1pdaqPxpMEvxZN/2x2iugtMoRxYx0Ho1O/UNmQQCOHWG8Jt5sim4R KCh6d8OD7HV3G0au5bSLctDd/Nc9zd2eeYcqlKxB5WDWSGbt84KFWBS0/APM7BomDUzU eK0w== X-Forwarded-Encrypted: i=1; AJvYcCULzNJFyys7/xqPh0vkkjTACuxSKpSyUljY9F0p2DrTTrSMz8ETcK2jjVG2Toq5LRL4CVR2Hqc1hHiv@vger.kernel.org X-Gm-Message-State: AOJu0YwmB1eEFdwDL7nqRboUHwZvl28H48n7u1Z+cDVVVudd2RvrS5O2 QA0+R0UaipzJWPKQqhf/LgWkg49tJjr7DThW6pMFQhw8E8iM2vmHijmTiJKX6CM= X-Gm-Gg: ASbGncsKgOK1RfApPyAa5yAF30E3O7Bbru257AStzVIG08HxCYAnLMEJfHTSfiFwrgM bwbZqu8f+OAHAmzEQbC+GzYCVJd3vZceuY4hsTSwde2vKMn2Au3dWnUjxBS6SG4mbfAOUmq1ln0 YK4xyr6OsdK8GcGp+h5wdfJTycbK9U88v1Xpg3Tke0Hjanxb4zYJNfw3/2WhJphdaijoSgu9v30 RwHYgnI2yHBPVGj78DfHE2bb8GsfitiU3K2A9GV9LIb988CWTk1cQTVSnY3e67odM9QP78BFXh6 ZO9Qrdcf2YpLQjXVwNSd6rBodT7ASv+X4t5glbXs99ShMmWXSy4JBQtN2G+ps+iDZFBjUeIkvZn LkFfpfUTkkyrrfdPx+eTHxI4cMKWa X-Google-Smtp-Source: AGHT+IEoUSoJwOEaMAzGJzx8g+iEjy8VILrk9/hm7FHFKGMS1oJnNn7zWdRkCw1+SUiqaiAkTKDS6w== X-Received: by 2002:a05:6808:2214:b0:400:7dd3:2dbe with SMTP id 5614622812f47-402110303f0mr1770338b6e.14.1745941216954; Tue, 29 Apr 2025 08:40:16 -0700 (PDT) Received: from ?IPV6:2600:8803:e7e4:1d00:dc17:157d:e8b2:3ad6? ([2600:8803:e7e4:1d00:dc17:157d:e8b2:3ad6]) by smtp.gmail.com with ESMTPSA id 5614622812f47-40212c4d567sm293636b6e.43.2025.04.29.08.40.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 29 Apr 2025 08:40:16 -0700 (PDT) Message-ID: <5aa4d76f-6f16-40ae-9dbf-767c63aa0a3d@baylibre.com> Date: Tue, 29 Apr 2025 10:40:14 -0500 Precedence: bulk X-Mailing-List: devicetree@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 , Andy Shevchenko Cc: Jorge Marques , Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , =?UTF-8?Q?Nuno_S=C3=A1?= , =?UTF-8?Q?Uwe_Kleine-K=C3=B6nig?= , 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: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 4/29/25 8:47 AM, Jorge Marques wrote: > > Hi Andy, > > I agree with your suggestion, and in this case the appropriate kernel > version is 3.10. > >> >>> +What: /sys/bus/iio/devices/iio:deviceX/oversampling_frequency >>> +KernelVersion: 6.15 >> >> Then why don't you put the real version of the first release that has it? >> >>> +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. >>> + >>> +What: /sys/bus/iio/devices/iio:deviceX/oversampling_frequency_available >>> +KernelVersion: 6.15 >> >> Ditto. >> >>> +Contact: linux-iio@vger.kernel.org >>> +Description: >>> + Hardware dependent values supported by the oversampling >>> + frequency. I don't see oversampling_frequency used in any existing driver, so how could it be introduced in kernel 3.10? I think you confuse it with events/sampling_frequency. oversampling_frequency is new and so 6.16 should be correct if Jonathan picks this up in the next few weeks, otherwise it will be 6.17.