From nobody Mon Nov 25 23:35:58 2024 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 8C9C01C07DD for ; Thu, 24 Oct 2024 08:17:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729757855; cv=none; b=I4BvnHU+iFUXGAvzgX3YCwQfY+btvk10EEc97hpUHbrjew60D3tmXm6mK9TgY658fRZQBiDxHMc4T0qlYuGN4ptvUj4FUkrFd/pzDJFxSDWSulo7zftW6NZ0A7doU27W+oGhq22toIkOowSYxYEPUiXkNwVAA7k3+R/2AARssqo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729757855; c=relaxed/simple; bh=ur2xrohuXdp+XK2W9kNkEGxeD+PeEi9hqLfcXSWTqkM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=iPeto4RKkFNPF5EIvOkajIwf+StwRmSVLF0+Q2zlVPy8oican9PuPhhBqI4KW+T3/tKfOjwcLyWLk0CwOJXzHl18kHfC4hBVAgoQcVNyac+bQFTbKlaE1Hhc1F6YIRE3Itcj08tbeva0eRXJ49ZY9yOSQSV30vPGtdqjObPjO0o= 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=JkfL4EYl; arc=none smtp.client-ip=209.85.221.52 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="JkfL4EYl" Received: by mail-wr1-f52.google.com with SMTP id ffacd0b85a97d-37d43a9bc03so417865f8f.2 for ; Thu, 24 Oct 2024 01:17:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729757847; x=1730362647; 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=jrgH1600uHhvBk1qPJnNVTmvv8RgMwdXL0zxz051j4c=; b=JkfL4EYlRRrUGUmLnXv/rW261P7hoNXLMIEzWUhHOapRCtDyGEsdTehDSksU2CL0fY B/gkBtl7JzAtgUwEN2NDxr9iBiUgeotJwuLgZkvaWDqdEbkl8F3kpwR/qxU6EXo0tk+v lOjWsywZ9eCHclADFT9LyQGORTYjPZEfflLZUIR/B3el3FvVw6eBWd5L21tBB/bZ+N0c EtgXGjZj+Vv+tyaXJg1SXnZ73Wag3HY+ZeUDJme8TJMfv/Vh5iKZpWtxVbWPoRg4Jo9E y38ainG89s8yHsMpEl6i8DwvWI5LcOPIZWYpDj+jpSwx5T/wi6fxscnnmQfHQ/9xxCxn 3NZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729757847; x=1730362647; 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=jrgH1600uHhvBk1qPJnNVTmvv8RgMwdXL0zxz051j4c=; b=TchC1FALT/CdId6SVqZSM6zuD9SCHAleyOpIRze1MJHB/RUdTeyPZtoididH74Isxw gzQ2biVNGCEqO4TB9SVozN4Ny4K04itjS6Q+zN/3t6ZWEupNT66I0Eap3sr9aSOHsbQ8 Lo16GJhc6YB/xHbHgVQISm+5REOo02pAHK6VfcZulhGKonWDy0WK4jixnFroxySJ8RU1 PmZe701tgjIZ2ff42Xzewp+s4k7Ehn+U56P//8CBxh8vGk4EaE6KH3A1nCtggY5LDQ/I RYYyPau4rb4oydUIVrmX5xvHAsSkF8x6kk8ttJF3gFAJFd94i1ocdRSizxmYYQIucECP H01g== X-Forwarded-Encrypted: i=1; AJvYcCXYloiDI6EKbj/NA1lnL91Qg6L4iMfIEfQWkSwVDltMjsJHA66FRMKrCGez15ap3pw9+9fjAzOor+rIAkQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxTkGnRtHnbmMMAELHBG5uZD6lbD4l3/KCtrmNxyzv2898DRmB5 4FXyC1Ve5UfOIvlfO7XbPt5DCns4D6K3Nm6oss5m3rNif14s/1aDlY+6xMoxNLa099WocxrFN0/ +f+A= X-Google-Smtp-Source: AGHT+IEzhsRwOJgh3fbdbOlKC8iU7HLBw8UwXvWJmchuXs8faxJKCHdJuHR/Twx0nsTKecCdTDVCeQ== X-Received: by 2002:adf:f8d2:0:b0:37d:4ebe:1646 with SMTP id ffacd0b85a97d-37efcf8e433mr3207284f8f.48.1729757846760; Thu, 24 Oct 2024 01:17:26 -0700 (PDT) Received: from [192.168.1.64] (2a02-842a-d52e-6101-6fd0-06c4-5d68-f0a5.rev.sfr.net. [2a02:842a:d52e:6101:6fd0:6c4:5d68:f0a5]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0b93d53sm10828922f8f.70.2024.10.24.01.17.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2024 01:17:26 -0700 (PDT) From: Julien Stephan Date: Thu, 24 Oct 2024 10:16:59 +0200 Subject: [PATCH v3 4/4] docs: iio: ad7380: add adaq4370-4 and adaq4380-4 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: <20241024-ad7380-add-adaq4380-4-support-v3-4-6a29bd0f79da@baylibre.com> References: <20241024-ad7380-add-adaq4380-4-support-v3-0-6a29bd0f79da@baylibre.com> In-Reply-To: <20241024-ad7380-add-adaq4380-4-support-v3-0-6a29bd0f79da@baylibre.com> To: Lars-Peter Clausen , Michael Hennerich , =?utf-8?q?Nuno_S=C3=A1?= , David Lechner , Jonathan Cameron , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet Cc: linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, Julien Stephan X-Mailer: b4 0.14.2 Adding documentation for adaq4370-4 and adaq4380-4 supported devices. In particular, document the reference voltage mechanism and the gain parameter that are specific to adaq devices. Signed-off-by: Julien Stephan --- Documentation/iio/ad7380.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/iio/ad7380.rst b/Documentation/iio/ad7380.rst index 6f70b49b9ef27c1ac32acaefecd1146e5c8bd6cc..ae408ff2fa9c97427a9fef57020= fb54203d2d33e 100644 --- a/Documentation/iio/ad7380.rst +++ b/Documentation/iio/ad7380.rst @@ -27,6 +27,8 @@ The following chips are supported by this driver: * `AD7386-4 `_ * `AD7387-4 `_ * `AD7388-4 `_ +* `ADAQ4370-4 `_ +* `ADAQ4380-4 `_ =20 =20 Supported features @@ -47,6 +49,12 @@ ad7380-4 ad7380-4 supports only an external reference voltage (2.5V to 3.3V). It mu= st be declared in the device tree as ``refin-supply``. =20 +adaq devices +~~~~~~~~~~~~ + +adaq4370-4 and adaq4380-4 don't have an external reference, but use a 3V +internal reference derived from one of its supplies (``refin-supply``) + All other devices from ad738x family ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ =20 @@ -121,6 +129,16 @@ Example for AD7386/7/8 (2 channels parts): =20 When enabling sequencer mode, the effective sampling rate is divided by tw= o. =20 + +Gain (adaq devices only) +~~~~~~~~~~~~~~~~~~~~~~~~ + +adaq devices have a pin selectable gain in front of each adc. The appropri= ate +gain is selectable from device tree using the ``adi,gain-milli`` property. +Refer to the typical connection diagrams section of the datasheet for pin +wiring. + + Unimplemented features ---------------------- =20 --=20 2.47.0