From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f170.google.com (mail-oi1-f170.google.com [209.85.167.170]) (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 E7768C2D1 for ; Tue, 29 Apr 2025 15:40:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745941220; cv=none; b=B6DgXWO+aFwhB+4M+BtTg2O7QE6pC/scB348UPUQDoL9GuMUUclLII7mEoiRWQFPp+7mAv4qrXRUarKRejNAXXEGonIp8IKj6meiHl+BztfUk99iD/KZSmE1INv0t1/gftDrg0OHkVkxQ0eBhTiqgSKb1AyKx/x0N8PFYJaYYlI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745941220; c=relaxed/simple; bh=ZSlaSOOnAD2Cp1tBIlvme8AqpEDC6hlg0gqvRaVTa9g=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=r9hc4A/eEIfT06ClLehsI6/pdHXDHcyBFTOMbArcxut9dwPDhfYEcTe2MAO0oJ89BGzoJVSDLUV5j+ovdYwIqZsoeTYFNOi2bV5crJ483pfGM3ynn7w0EKnhXt1D6LQkMzpolktOZVsEx0v/UuUQFpFChNk8SvL6EGnzk2l8x7s= 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.170 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-f170.google.com with SMTP id 5614622812f47-401c43671ecso3334959b6e.0 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=FOwfky+wuVLiAdEISIh7dXLPhxKfyHdwaVEf42waMCBykqVwDYxbCoU10SEavR8tnH Vo3aNYAZYDB25xF3m99FnLF+pOCrxvOnsRBLwo5+BqIfyG55xPTPffYU7+rU3GzISZdh NrC/OHchn0Fp6x0DWuHqcKQ+Df0r3/vmS/ZSRceGRol6XoSf6j9LhP7j7nNO5Zu5QNFk 2snZ72aaHiZkJVTln5pY3W4bCDYYHmRynGJAD1IS2M1tzopFenfhLK2GgJqYU2sQtMsX rfQ/FJtY6mhjJcbhFyAmHeT3KQ94M0A+o3NNhQlmDsFyzejn2SEywkjfQPQK9wmwuSE4 f/DA== X-Forwarded-Encrypted: i=1; AJvYcCW5mfbwAuA6oPc/UgBA35njzOszc0qZFDXpi3+CswnjUr7PYHbYcC48EKqcTA0sIKJmVy0B5apE92w=@vger.kernel.org X-Gm-Message-State: AOJu0YytmZHJrtew5qiT/yRkKj4dgGYTdbYpPO9VSX7zr1LXPebVTYnW nC1xEhKOF3IRy8pChC3eTIEyrhWKeK/kn4eRcjUz62V2MXNZPcd78ATqx6bH72M= X-Gm-Gg: ASbGncsyHOAzIoaIC9Sg2WyadYJjrNvd1JSYWBC9VJTMqo2LcZ0XLd6RjjOjbM/DTVa BTLkQFZy+ZWXnZOyDYFOpp3bV3SoIy01Nx93XZIC0hYR3e41xepLX3qdlkiQ0ticQFAo3a5fLOJ YOqvhV21NEynfgaBxmg8wVf0actHNDvhGdUB6C3VkNG8P9yTKunbExww9pUgc5iGs10fv7mTOWV ZGNwb88DYOAfiCPwrOlW+siFtrlZ8IT4CLWqstBHhComsBxXnZfkf/6Rhhn8hYH1T5CU/7JfwG+ ArKtDXx/UnnhwBNBSRYMqYOjgarETw6ZHE4NCiZ5nXoVwsZRdHeS2gKWoekLHMyk5LefbLZXTxq so8oq0+dGTJH4CY/iXcpWIhHlqrwY 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: linux-iio@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.