From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com [209.85.161.46]) (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 6CFC818C01E for ; Tue, 7 Jan 2025 17:53:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736272432; cv=none; b=sEUM78Czh+oDJ0Qx8lvR7CFeb2UElOC32n9P749HgIdKNsxsCXEc5yCMD4TmwsvmGfKZafqK+Vw51OgrrZhCKM3GVX2k9UX3k2MOZU5+m2GjVCQFBNKUydUrS3mD4wmYyDyeNJsPc8HgvAg9EwWtxK/HYCrvnEyQvZ/r8blAlVI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736272432; c=relaxed/simple; bh=u8nsA61EEEaA+VjazlacQE02Cdojo7AxBySM3vO83uQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nkJqasJJ9HWMQ4VxYFOahx9hoXachXHO8EEUAcjZHE/7b8zzw1LuZHXtWvj5lQdlVzbAOl0F0pOBIqNxBBNBIt8To/MD4xrISPFFbm1jct5ErhHjqFroSMLIfU0D58x1scM+DpiPVJc++ZDGb7dB7A2XmT8KKTs0oK+eiB9miTo= 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=lZ+qKcEg; arc=none smtp.client-ip=209.85.161.46 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="lZ+qKcEg" Received: by mail-oo1-f46.google.com with SMTP id 006d021491bc7-5f31f8f4062so7316016eaf.3 for ; Tue, 07 Jan 2025 09:53:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1736272427; x=1736877227; 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=U1vcM6LSLehum7WvU7nPNuSYD9DiBJIRpD/D402kjpQ=; b=lZ+qKcEgGJhQ2L0O8NWWMD4S8EPrX+LQp0hBtw6fesKmj8lUQZkc0T6eU7/2S0RqIC 42R1r/Yl+wkHNXuo1qQsFc2Mg+U4+W+Cx6FxjpNaq4QTDHHyLGxjRTCCbzhlOfIJedtk /Cc+UzdoEhP5sA0maIV/p/POjMbDy1jNd6WqUfw3U3anGhHlhmKmyyy5oHuXNpDhnatq kVcmSRheNS7T+zyANp/hIVtrF+kKmXS8JYp7ynZ7qLwytpWBrOckLMkJG5c32DBHHMFb Cuk1XrYWEdkuOzE3rdE0xBy5opXnwNjDFXC5n9iv+Dx6g9+yTRztjSZSBUdGNkBACpAu rThw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736272427; x=1736877227; 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=U1vcM6LSLehum7WvU7nPNuSYD9DiBJIRpD/D402kjpQ=; b=RgB8KP9wcpOSu6aX9p49KxOjArhgZCDPC9EnklUTiufYlU/LMyhw+j+zbxtTZuzGHX XPOjf+QBRE+/BFWHjSX+4UmSrgJylKVrGbjveRVExA1Z7/PhKfPM9DhdI7fs1R9QfdLv F5ozBZ9onqfTFh+1E/ct+Da45WC8qERiX1tAOr6a1YNVndnrrUTGRUnj7pEjHHZZYlFw 5BzVaEzD0OU5vlSdhXyziGsqETRRClugEKlm26S+Sy9BN6geuHdlwX1l/J12N7wJfbYf cQOX4DdR3odNAxt7bOjNegihJO8W4GC7Y72mTFllBkvaEi1UNskAJ7KoGGpwlpzSNcSL 5tzg== X-Forwarded-Encrypted: i=1; AJvYcCWLlng98Aw2/RzlGznFE8W/J0SicK3fMBSDRVGur0wgI5x03rt21SC2bBXeW9GhabZx2fY8iipQooSjfYA=@vger.kernel.org X-Gm-Message-State: AOJu0YwH1bGkaaDiZobQjDGtKuTkYc7ss4F4k3moFLbZaL2soazK1ETd Eexv3fhnwQGDN9WfaPOfeCrXHd7k1hf7VGj9RJItYzFw4suqmEKyQX9Xcu+DCtg= X-Gm-Gg: ASbGncuNuV4t1+w5RSkscmyztifWekVsPEmrPfRjduWZ7rmkqa3XrybxmUYSFBOGc++ z/S8LQPpag4Eni5Cds5pg7Dj8PML9ZLCz/JkCtUN+h/+tGjwFpeZowK0Imf0EFKJ227dX2+H0SC T4U4lTOPwXP9jHD7kXlD3ldJ65ywJLIAEYtn1K6FNAHPgAFVZo+OTBkkaohTNiOrDtb69NqeeWu lOVGaChpFl0mXP3djD5cqXhbugclz1OGRtVqYpHSHsqfXmN9Md8qCR65Nl7RCGF7UdjIahIuZ8n CBBLX8P4xzChXmBjLA== X-Google-Smtp-Source: AGHT+IHCsyDybfsK+AGfxaFPK5zXBU/gtB1zzrxqheDXeKQ0buppHcs0++kYVhsa/WNwDa35ZdcIgA== X-Received: by 2002:a05:6871:2313:b0:2a3:8280:c23e with SMTP id 586e51a60fabf-2a7fb557d1cmr32089891fac.39.1736272427504; Tue, 07 Jan 2025 09:53:47 -0800 (PST) Received: from [192.168.0.142] (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2a7d74540f7sm12344505fac.11.2025.01.07.09.53.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jan 2025 09:53:46 -0800 (PST) Message-ID: <1684bc1a-c983-4baf-8b4d-0c6ff0f1640a@baylibre.com> Date: Tue, 7 Jan 2025 11:53:44 -0600 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/3] Documentation: ABI: IIO: Drop AD4130 specific filter_type_available options To: Marcelo Schmitt , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: cosmin.tanislav@analog.com, jic23@kernel.org, lars@metafoo.de, granquet@baylibre.com, u.kleine-koenig@baylibre.com, marcelo.schmitt1@gmail.com References: <5b86acb56fd2aa337223a6467c1caf2a06682fcd.1736261048.git.marcelo.schmitt@analog.com> From: David Lechner Content-Language: en-US In-Reply-To: <5b86acb56fd2aa337223a6467c1caf2a06682fcd.1736261048.git.marcelo.schmitt@analog.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 1/7/25 9:13 AM, Marcelo Schmitt wrote: > The only driver exporting filter_type_available attribute is ad7779 and it > only supports sinc3 and sinc5 filters. Remove options that are not > presented through filter_type_available attribute. > > Signed-off-by: Marcelo Schmitt > --- > Maybe this is not worth it (or desirable?) since the options may come back in > the future if new drivers happen to need them. I would be tempted to add filter_type{,_available} attributes to the ad4130 driver that mirrors the existing filter_mode{,_available} attributes. We can't remove filter_mode since that would break things, but having filter_type in addition to that would mean than userspace tools could standardize on filter_type and not have to make a special exception for the different naming on ad4130. Then we wouldn't need to delete the extra items here and we wouldn't have to repeat the docs for sysfs-bus-iio-adc-ad4130. Those docs can just have the deprecation paragraph and mention that it returns values identical to the filter_type attributes for backwards compatibility.