From nobody Tue Feb 10 01:30:57 2026 Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) (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 97778144307 for ; Wed, 7 Aug 2024 20:02:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.48 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723060941; cv=none; b=d6BeN/v2SL4jZ0/JSxWCA8S0A3sviSMeIbESEuh0iPzfrXGjdsuw/IAHoPf5LlqYkInMymzdl8zdFNj3kq5nO7WKW+fG9+HHPDyr22L+jE/BtHN0Ph0WTbGWDyO/bzq7i4A2d7PtN1uN0dzmgwO78JB1Kpu0rjBBbmBSxZ8bkgo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1723060941; c=relaxed/simple; bh=m5t8YOEq14DzpXxC9kxyMNMwCAST8cQieg2+aTW9klI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=o6avGpx8iDhFEdg8I6FaoHwymb05lQazHoQy/ynW2vISjX0z7b/VCiWUzAcpUEKQKuNfsnvo9gHjhDR/0c7/zyvWiwEqixj1db9t5Frowchop1JHBdF0IfiVXhbinnK7V+iI+Bu5AYyjjM39knKlNecuPMFgxBgGUabLCwg713w= 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=TPrg1VVv; arc=none smtp.client-ip=209.85.210.48 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="TPrg1VVv" Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-7093d565310so137165a34.2 for ; Wed, 07 Aug 2024 13:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1723060938; x=1723665738; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h2y1nEpEAN88fP/7CYpPbMEs5vEqFecEWNsSRdZjPkE=; b=TPrg1VVvonedIFxZZZSQzfpypwUPzXWiqY4F1uX+5orTMfdd+iiY9DnXWoFlxFD6Eg TVMsDFMsuY4H5E1VY3G5jCnNP8r2QhNsqHgcRi/7S+Aw8ilQhDs8gbevcCq/jieopdhr Q4UkEL+r1OJOYP33OpxMpF7t1VPlIqaKey9q4XUicbYc28+gJoKhSHgJpknelhWvZDDl iD7ybKcnHyuI9vX2H5oj9pBAP0yyN7PGkWjpLvkSH36Ip5cKJdBC6HBZANjGNXoj8MDo thEZCNm28bRlkLpGEx/JrcWtAFAC5UvYy0mdJhXipLuToSyyRHw0E2Eq4TlEAT7q5rol hhxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1723060938; x=1723665738; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h2y1nEpEAN88fP/7CYpPbMEs5vEqFecEWNsSRdZjPkE=; b=HSJ2689VonBkCZ4dftqAbQIwJva2J6tCT9ZoOgG1Q4X01ZmjTv+OhmxbqzXF3s4z1o sQd1yvz3WczVritETrIYFaszdAvQ7AS1lQ+3zCvjw75USt/8yUfVX3QDlYIFV+jpDNH3 DdEE34puroSStaoEezdVnL06DK+IeRLmlukgbUx9HBykYOXsoDysSljkhj58k7QtYg2n hF+8/ybtAjnw2ZVKvQWBUWYQQSYxlv3MHDiNtlHp+aHKW5ufyvgeIoaoX0ZX3v2Wv0P2 j/cGd6nG/G84Xk/rRQ0jqhv+/oh1b/j+tlZxqLeMYsV1xE+cVNJc6VJ5WIO5YRbluwD1 j6JQ== X-Forwarded-Encrypted: i=1; AJvYcCUzkYwOIQIfHsp7JYVSOvhwbteWW5LS/m1Of9Mz5EIDeNBv0obOe/aU1A6/J879McQJZQtluC4DSxOvJ1Zt26cbAYb6XcA+WSWm9p+9 X-Gm-Message-State: AOJu0YxeDc0xY/A9GCkNqapH8xUsCNDh2oc258CvwAzaonoREPzBqtN4 hAsL3DSgxIQDnLPDtsIM2DWpRNZJmnkhbs5yT47G0B0kAQ0PSrFYahDvs3JdQU8= X-Google-Smtp-Source: AGHT+IH8Nl0php+QRYheKFloGDFLC//hM73Q+fe7pdRaQE2K9PwYXuJqyTxUqUvBEQDhv5idA12HkQ== X-Received: by 2002:a05:6830:dc9:b0:703:7775:c6c2 with SMTP id 46e09a7af769-709b99724femr22842726a34.33.1723060937736; Wed, 07 Aug 2024 13:02:17 -0700 (PDT) Received: from freyr.lechnology.com (ip98-183-112-25.ok.ok.cox.net. [98.183.112.25]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-70a31eaf7b6sm4951003a34.24.2024.08.07.13.02.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Aug 2024 13:02:17 -0700 (PDT) From: David Lechner To: Jonathan Cameron Cc: David Lechner , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Jonathan Corbet , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org Subject: [PATCH 2/2] doc: iio: ad4695: document buffered read Date: Wed, 7 Aug 2024 15:02:11 -0500 Message-ID: <20240807-iio-adc-ad4695-buffered-read-v1-2-bdafc39b2283@baylibre.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240807-iio-adc-ad4695-buffered-read-v1-0-bdafc39b2283@baylibre.com> References: <20240807-iio-adc-ad4695-buffered-read-v1-0-bdafc39b2283@baylibre.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Mailer: b4 0.14.0 Content-Transfer-Encoding: quoted-printable The ad4695 driver has a quirk where the temperature channel can't be enabled on its own for buffered reads, so we should document this. Also, since there are 4 possible modes of reading conversion data, it is useful to know which one is actually being used, namely the advanced sequencer mode. Signed-off-by: David Lechner --- Documentation/iio/ad4695.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Documentation/iio/ad4695.rst b/Documentation/iio/ad4695.rst index a33e573d61d6..af76ce2d0702 100644 --- a/Documentation/iio/ad4695.rst +++ b/Documentation/iio/ad4695.rst @@ -147,9 +147,19 @@ Unimplemented features ---------------------- =20 - Additional wiring modes -- Buffered reads - Threshold events - Oversampling - Gain/offset calibration - GPIO support - CRC support + +Device buffers +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +This driver supports hardware triggered buffers. This uses the "advanced +sequencer" feature of the chip to trigger a burst of conversions. + +Due to hardware constraints, the temperature channel cannot be read on its= own +for buffered reads. At least one voltage channel must also be enabled. + +Also see :doc:`iio_devbuf` for more general information. --=20 2.43.0