From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f54.google.com (mail-oo1-f54.google.com [209.85.161.54]) (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 45FBB3D984 for ; Sat, 22 Feb 2025 16:48:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740242941; cv=none; b=XKjyz829ZOk7HZEB/it+EiT5RhgEhOxLRmHHd3U1ZhKD7SFmBXhhXLdQNhwv/QSe3inM55cCrrowHxIU8Ry/udJv2mwZLqQzA0hkc7+s5wpGgc7hC0nGbXoCqjn+Ygs5DH1eYiU61LdQEzU9TYY0q88ocj5a7wCUBkQrPy3PgLo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740242941; c=relaxed/simple; bh=V9sIK9nN7xF6r05xVvkKJj0FTsVBne9Efnq8Hm+LXdI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=UmQAi2VojA2OQVXbewKf6HLOkDlP++qKtevuWVWNsb9Zr55Nntfv+4xueJk5Nfh5uU50SK29aQPIBhDJo2DJ8WfYzy36RRkpLK9q8Y5tkJVse3L/X+yaZp52xr1G2hGLIWQE6XKuuNgz7hqL4f2arQ+ei/1iPNt52AmRE8eWSzA= 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=JI1FFG2/; arc=none smtp.client-ip=209.85.161.54 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="JI1FFG2/" Received: by mail-oo1-f54.google.com with SMTP id 006d021491bc7-5fc01d3faefso853202eaf.1 for ; Sat, 22 Feb 2025 08:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1740242937; x=1740847737; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vMyJEwuWpazd/Z9urlp5ndDQadfQgcDXcxg9H5b+Om4=; b=JI1FFG2/E5SNPXEP+HoQwS39NJq8UqQ0mjcXsPGB1jo45F915lBkgCvXk38FLGrQUs MCxpS1H37dWboK1pdsu3/Gumgy2SmbN07qg6kjsjWn9xS8hKo3/QrMouV9KWh/OB+4zL Je6OcQJSMCIQkZyLKR82nWi4mRXVW9NVDK+GmC7kAFleTwqkWkinKSeRVQbrom02c981 IlQd9DTq91/+GSIFeio0r8b/XF4fzJrpymSGUq1eu/W9Od0GHB+Qp4SPg5hlb2AEdWyV 8JPxzTyZyqv5CvAVbjlospCbLQBMr0CYoAM6RrgbD5X56zojV3R6MsjTliA/7RpEAXfJ /R9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740242937; x=1740847737; h=content-transfer-encoding:in-reply-to:from:content-language :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=vMyJEwuWpazd/Z9urlp5ndDQadfQgcDXcxg9H5b+Om4=; b=joAi9n3s4By9Oq6FRAgJ0/bXl+1SQN5wQp8NLuH8G9IoQ257OHpZ3WNSvUXTXwg8Pn HvOy2kiKUj1vW+vnbQe62gfK3oU29IyC0+dYwinvgg3x3XDJih1FCsgAU5Yv2Uhhq/ax Lsija3hHpS80voYlVnO/vB0reX3O1MUSUvEszb7sLcUOqi2ilg95isbGFbeJTN22NvWU GsN3a8Vslrck9yREdQ1AvO/OHojnVY4lX5DR/PRLiYxxTsbkoTg3osfXbmQJC2pUZh8z UyI95+oiO7e+ZvSKiMZ9JT5gW1K6RusX59R/idlPA4FxodaMfCcVaeWmNPK5uv6HJ4xG Iz6Q== X-Forwarded-Encrypted: i=1; AJvYcCVxEUaN5AiwjsHvbYs3ZXf6Y3Lcgw1s2dOj6qxQ/LRGR1+uORusXnZ9mqS+UfmQoM9MSn7gmxRZ3eh5wSU=@vger.kernel.org X-Gm-Message-State: AOJu0Yx+7N17lnO8DoGiED1LUw6C3GdHnRUsQDR748ujmC5jfGZn2bXG MhESJOk4v/u0INjkYoSvVIiMZ0HsLqIVLD2iQZG3XXv1PL/9ITy/97LPjIVSmak= X-Gm-Gg: ASbGncsvTuzPSOLWJRryyySO9ijYTzZig3BpzvyH5Ztp6v3uRTks5H3DB/JW0U7tvYV ckXxD1XTtyGw9pglvBc2Wzu/P2KQKT2MoCWXIELR2Ooo3ThaozavuO7ZZycvqAKGE+/kgWvqVUF vpff9kKI8mmW4nFWoJoR4GsotWF+KQ/BDGju4z4yIZSB0ZTMf7ZG02Bn1eO4cAfMgv86GLpF04M 1+CHxIAb93uK5XNkCzvRz88dvGbrmpDj/LpCwWP+O33mMDehAftaLj+ltfWRM+T1RIu61pWZYSl aR9tqDScb4PDAvs+/v6/wUmIGDUVaHMUUp1pgjzMOZKcLvlKpqFWJhE3g/N5j0I= X-Google-Smtp-Source: AGHT+IHK0RqgTC6ib0kEaDmEH0Eseg0plSYmKizgmQl2o0SS2ejBy2EE0/ENmsD9a6VI8s1LOdR0WA== X-Received: by 2002:a05:6870:6b97:b0:2b8:ec17:66e9 with SMTP id 586e51a60fabf-2bd50cdbd64mr5924008fac.11.1740242937154; Sat, 22 Feb 2025 08:48:57 -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-2b9548878adsm7409873fac.17.2025.02.22.08.48.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 22 Feb 2025 08:48:55 -0800 (PST) Message-ID: <81edbe7d-d6a7-4df0-b27d-8f542e56450c@baylibre.com> Date: Sat, 22 Feb 2025 10:48:54 -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 v4 1/1] Documentation: iio: Add ADC documentation To: Marcelo Schmitt , linux-iio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: jic23@kernel.org, lars@metafoo.de, corbet@lwn.net, marcelo.schmitt1@gmail.com References: Content-Language: en-US From: David Lechner In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/19/25 3:00 PM, Marcelo Schmitt wrote: > ADC inputs can be classified into a few different types according to how > they measure the input signal, how restrained the signal is, and number of > input pins. Even though datasheets tend to provide many details about their > inputs and measurement procedures, it may not always be clear how to model > those inputs into IIO channels. > > For example, some differential ADCs can have their inputs configured into > pseudo-differential channels. In that configuration, only one input > connects to the signal of interest as opposed to using two inputs of a > differential input configuration. Datasheets sometimes also refer to > pseudo-differential inputs as single-ended inputs even though they have > distinct physical configuration and measurement procedure. > > Document consolidated ADC input types and how they are usually described > and supported in device tree and IIO, respectively. > > Signed-off-by: Marcelo Schmitt > --- Reviewed-by: David Lechner