From nobody Sat Nov 30 16:40:00 2024 Received: from mail-qk1-f171.google.com (mail-qk1-f171.google.com [209.85.222.171]) (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 AEC891BA898 for ; Mon, 9 Sep 2024 14:30:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725892261; cv=none; b=G073YVJTmJdnaPb9U6m4w+tHocKy/ZhpQIlCfKrD1jvGBTz5eq2ZnG4wn8rAlHz/9rxVrkg5AHOtCUvUwRItwkRD+LZ1xnhWjmvpVLxTITISN0KgPKmd1y0Suc2Bedi/+3AGDAuXg80FbDfgbB8ivFC9WqxVk2tWb7bkRgR4Xao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725892261; c=relaxed/simple; bh=CGZ9TfH82xYtf2SZDvwZlx08DxnCJf+sySQ8GbSU7/o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JDo/ULjE49r8kQPCkOsNmh3eoYRGKZD3ZzE8fOGBDNLYdEs+vvNwzLI4zNgaz+7vLACTzQeBBslT7vsFTnc9wdejELczycI6lj/SPmXlbfB0krj6PH5xf+V2wbNl1pz0QtYOmQU82ca+zXeIwVDW7H/nEoNEeGEx28fOLR2kzyI= 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=zu4Y9joY; arc=none smtp.client-ip=209.85.222.171 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="zu4Y9joY" Received: by mail-qk1-f171.google.com with SMTP id af79cd13be357-7a9b72749bcso70161185a.0 for ; Mon, 09 Sep 2024 07:30:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1725892258; x=1726497058; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=zSvZYoHybDPnZClgnrcppHDQUUEDcvsxsQCuR8Zqm6s=; b=zu4Y9joYkzRKzbuKVmefHn3O4DAFciU3F3WsUfkfS10QtIZaLRWyXkHO/bkP8ZyW+V lreH187mhNf2qjgrw3V35ma0ziMYVxeDJMgv+u4BLVFljqGG4giVD1LJpVqlI4tC/eDQ wleX2on14ZcPTD2AUipisYQG/TBnrXhUkRGsQrq1InsBXkvGt4V6df+bcpJ0MPI33H3o fFv5ahZmPw2jToUnY4pL+0C+ASi1dDGVBlL7yTG1mbvwSd6/eH2fGj292Ysec5c/J1lc k2XNvLmv6idSL68O0hUyzfxYytk5U7owficf168hz7Brrc0sdZ44ztTCS+7EpV5dYW9Y NmKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725892258; x=1726497058; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zSvZYoHybDPnZClgnrcppHDQUUEDcvsxsQCuR8Zqm6s=; b=HDwYLE240894y/DN99ip/Tb66dKNnPqJxnK+YHm/nfoJoBoU1n7wzGwOmlhemsjn8V 9lsmCi4Ye/HDtf9qOXp4RC4eXcRBbAJO9L+rwrJ1jBPwMRKTYPxBnJfmvMjyV3A8jYah thnU5VBaezM1T9d5xlzpCxDK8Je9gaFH3WGLZLfCopgD9eweuWRBJTe+/P3Zf5KDyRA6 xolr7q/JPeHPKkzC3OEhVabR4QyhsVtJDIjID515qr8pnhWzN1BLU30ZW6ST60ZEFTsY 4wkvWKORWIjU41mDI1bgszrluqNqLLX+ZAchQSe9/tWm2Mk0bkmzcBdXC6xSu1L1MbHk vO2Q== X-Forwarded-Encrypted: i=1; AJvYcCWawXX3m3ksgZwCx1Oay/DxDj8s6eywqCDJxZSfx3HURUEp2ORYUviOs9rrpILNL/DKUCnL6M9oh6ZaHHg=@vger.kernel.org X-Gm-Message-State: AOJu0YwTFzZLSl3bDpm6k9EJVAgzwHJ8bqa/9nOhMvsu4lvolfzx2N8F AkX/oVAb2SZIMs4rBwfmQf5Mq/m8P5D3KeMvuN4l7FOr7kAB6A+VLVcfTpgGh5o= X-Google-Smtp-Source: AGHT+IE9s+h7eQ73OlzDaUPfjnMJSs4SCkCUbkX9mCxshmoQMht4TxOAQYngSL2nMfbSjb0fHZeUQw== X-Received: by 2002:a05:6214:3a89:b0:6c3:8362:796f with SMTP id 6a1803df08f44-6c5285113f5mr202022116d6.37.1725892257631; Mon, 09 Sep 2024 07:30:57 -0700 (PDT) Received: from [127.0.1.1] (d24-150-219-207.home.cgocable.net. [24.150.219.207]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c534339987sm21385406d6.33.2024.09.09.07.30.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2024 07:30:57 -0700 (PDT) From: Trevor Gamblin Date: Mon, 09 Sep 2024 10:30:49 -0400 Subject: [PATCH v5 3/3] docs: iio: new docs for ad7625 driver 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" Content-Transfer-Encoding: quoted-printable Message-Id: <20240909-ad7625_r1-v5-3-60a397768b25@baylibre.com> References: <20240909-ad7625_r1-v5-0-60a397768b25@baylibre.com> In-Reply-To: <20240909-ad7625_r1-v5-0-60a397768b25@baylibre.com> To: Lars-Peter Clausen , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet , David Lechner , Uwe Kleine-Konig Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Trevor Gamblin X-Mailer: b4 0.14.1 Add documentation for the AD7625/AD7626/AD7960/AD7961 ADCs. Signed-off-by: Trevor Gamblin --- Documentation/iio/ad7625.rst | 91 ++++++++++++++++++++++++++++++++++++++++= ++++ MAINTAINERS | 1 + 2 files changed, 92 insertions(+) diff --git a/Documentation/iio/ad7625.rst b/Documentation/iio/ad7625.rst new file mode 100644 index 000000000000..61761e3b75c3 --- /dev/null +++ b/Documentation/iio/ad7625.rst @@ -0,0 +1,91 @@ +.. SPDX-License-Identifier: GPL-2.0-only + +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +AD7625 driver +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +ADC driver for Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961 +devices. The module name is ``ad7625``. + +Supported devices +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +The following chips are supported by this driver: + +* `AD7625 `_ +* `AD7626 `_ +* `AD7960 `_ +* `AD7961 `_ + +The driver requires use of the Pulsar LVDS HDL project: + +* `Pulsar LVDS HDL `_ + +To trigger conversions and enable subsequent data transfer, the devices +require coupled PWM signals with a phase offset. + +Supported features +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +Conversion control modes +------------------------ + +The driver currently supports one of two possible LVDS conversion control = methods. + +Echoed-Clock interface mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. code-block:: + + +----------------+ + +xxxxxxxxxxxxxxxxxxxxxxxxxx| CNV | + X | | + v | HOST | + +----------------------------+ | | + | CNV+/CNV- DCO+/DCO- |xxxxxxx>| CLK_IN | + | | | | + | | | | + | AD7625 D+/D- |xxxxxxx>| DATA_IN | + | | | | + | | | | + | CLK+/CLK- |