← Documents Documentation/iio/ad7625.rst GitHub 원문 ↗

Linux 6.18.37 · IIO

AD7625 driver

AD7625 계열의 Pulsar LVDS, Echoed-Clock 배선, 기준 전압과 IIO 버퍼를 설명합니다.

Source pathDocumentation/iio/ad7625.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

ad7625.rst:1-91

AD7625 드라이버는 Pulsar LVDS HDL과 위상차 PWM을 사용해 변환을 제어하며, 현재 Echoed-Clock 방식만 지원합니다. 기준 전압은 Device Tree 공급 속성으로 선택하고 결과는 IIO triggered buffer로 수집합니다.

문서 개요
항목
SourceDocumentation/iio/ad7625.rst
분량91 source lines
지원 장치AD7625, AD7626, AD7960, AD7961
미구현Self-clocked mode

원문 분량과 핵심 검토 지점을 요약합니다.

통합 흐름
HDL과 결합 PWM 구성Echoed-Clock 배선 연결기준 전압 선택LVDS 변환 데이터 수신IIO buffer에서 결과 읽기

설정에서 데이터 수집까지의 순서를 압축해 보여 줍니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-only
2
3 ====================
4 AD7625 driver
5 ====================
6
7 ADC driver for Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961
8 devices. The module name is ``ad7625``.
9
10 Supported devices
11 =================
12
13 The following chips are supported by this driver:
14
15 * `AD7625 <https://www.analog.com/AD7625>`_
16 * `AD7626 <https://www.analog.com/AD7626>`_
17 * `AD7960 <https://www.analog.com/AD7960>`_
18 * `AD7961 <https://www.analog.com/AD7961>`_
19
20 The driver requires use of the Pulsar LVDS HDL project:
21
22 * `Pulsar LVDS HDL <http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html>`_
23
24 To trigger conversions and enable subsequent data transfer, the devices
25 require coupled PWM signals with a phase offset.
26
27 Supported features
28 ==================
29
30 Conversion control modes
31 ------------------------
32
33 The driver currently supports one of two possible LVDS conversion control methods.
34
35 Echoed-Clock interface mode
36 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
37
38 .. code-block::
39
40 +----------------+
41 +xxxxxxxxxxxxxxxxxxxxxxxxxx| CNV |
42 X | |
43 v | HOST |
44 +----------------------------+ | |
45 | CNV+/CNV- DCO+/DCO- |xxxxxxx>| CLK_IN |
46 | | | |
47 | | | |
48 | AD7625 D+/D- |xxxxxxx>| DATA_IN |
49 | | | |
50 | | | |
51 | CLK+/CLK- |<xxxxxxx| CLK & CLK_GATE |
52 +----------------------------+ | |
53 +----------------+
54
55 Reference voltage
56 -----------------
57
58 Three possible reference voltage sources are supported:
59
60 - Internal reference (only available on AD7625 and AD7626)
61 - External reference and internal buffer
62 - External reference
63
64 The source is determined by the device tree. If ``ref-supply`` is present, then
65 the external reference is used. If ``refin-supply`` is present, then the internal
66 buffer is used. If neither is present, then the internal reference is used.
67
68 Unimplemented features
69 ----------------------
70
71 - Self-clocked mode
72
73
74 Device attributes
75 =================
76
77 The AD762x is a fully-differential ADC and has the following attributes:
78
79 +---------------------------------------+--------------------------------------------------------------+
80 | Attribute | Description |
81 +=======================================+==============================================================+
82 | ``scale`` | Scale factor to convert raw value from buffered reads to mV. |
83 +---------------------------------------+--------------------------------------------------------------+
84
85
86 Device buffers
87 ==============
88
89 This driver supports IIO triggered buffers.
90
91 See :doc:`iio_devbuf` for more information.
92

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

드라이버 개요와 지원 장치

1-25

이 문서는 Analog Devices Inc.의 AD7625, AD7626, AD7960, AD7961 ADC용 드라이버를 설명합니다. 커널 모듈 이름은 `ad7625`입니다.

이 드라이버가 지원하는 칩은 AD7625, AD7626, AD7960, AD7961입니다. 각 모델명에 연결된 원문 링크는 해당 제품의 Analog Devices 제품 페이지를 가리킵니다.

AD7625 드라이버 지원 장치
장치드라이버인터페이스 계열
AD7625`ad7625`Pulsar LVDS
AD7626`ad7625`Pulsar LVDS
AD7960`ad7625`Pulsar LVDS
AD7961`ad7625`Pulsar LVDS

동일한 `ad7625` 모듈에서 다루는 네 가지 ADC를 정리합니다.

드라이버를 사용하려면 Pulsar LVDS HDL 프로젝트가 필요합니다. 변환을 시작하고 그 뒤의 데이터 전송을 활성화하려면 위상 오프셋을 둔 서로 결합된 PWM 신호를 장치에 공급해야 합니다.

AD7625 변환 준비
Pulsar LVDS HDL 프로젝트 구성위상 오프셋이 있는 결합 PWM 신호 생성ADC 변환 트리거후속 LVDS 데이터 전송 활성화

HDL과 위상차 PWM이 변환 시작부터 데이터 전송까지 이어지는 관계입니다.

.. SPDX-License-Identifier: GPL-2.0-only

====================
AD7625 driver
====================

ADC driver for Analog Devices Inc. AD7625, AD7626, AD7960, and AD7961
devices. The module name is ``ad7625``.

Supported devices
=================

The following chips are supported by this driver:

* `AD7625 <https://www.analog.com/AD7625>`_
* `AD7626 <https://www.analog.com/AD7626>`_
* `AD7960 <https://www.analog.com/AD7960>`_
* `AD7961 <https://www.analog.com/AD7961>`_

The driver requires use of the Pulsar LVDS HDL project:

* `Pulsar LVDS HDL <http://analogdevicesinc.github.io/hdl/projects/pulsar_lvds/index.html>`_

To trigger conversions and enable subsequent data transfer, the devices
require coupled PWM signals with a phase offset.

Echoed-Clock 제어와 기준 전압

26-72

가능한 두 LVDS 변환 제어 방식 가운데 현재 드라이버가 지원하는 것은 Echoed-Clock 인터페이스 모드 하나입니다.

Echoed-Clock 배선 구조
출발점신호도착점역할
HOSTCNVADC `CNV+/CNV-`변환 시작
ADC`DCO+/DCO-`HOST `CLK_IN`ADC가 되돌려 주는 데이터 클록
ADC`D+/D-`HOST `DATA_IN`차동 변환 데이터
HOST`CLK & CLK_GATE`ADC `CLK+/CLK-`ADC 입력 클록과 게이트

원문의 ASCII 배선도를 같은 신호 방향과 역할을 유지한 표로 다시 구성했습니다.

Echoed-Clock 데이터 흐름
HOST가 CNV를 통해 변환을 시작HOST가 CLK와 CLK_GATE를 ADC에 공급ADC가 DCO 차동 클록을 HOST CLK_IN으로 반환ADC가 D 차동 데이터를 HOST DATA_IN으로 전송

호스트의 변환 명령과 ADC가 되돌리는 클록·데이터의 순서를 나타냅니다.

기준 전압 소스는 세 가지입니다. 내부 기준 전압은 AD7625와 AD7626에서만 사용할 수 있고, 나머지 선택지는 외부 기준 전압과 내부 버퍼의 조합 또는 외부 기준 전압의 직접 사용입니다.

AD7625 계열 기준 전압 선택
Device Tree 설정선택되는 기준 전압비고
`ref-supply` 있음외부 기준 전압외부 reference 직접 사용
`refin-supply` 있음외부 입력 + 내부 버퍼내부 buffer 사용
둘 다 없음내부 기준 전압AD7625와 AD7626에서만 가능

Device Tree 공급 전원 속성의 존재 여부가 기준 전압 경로를 결정합니다.

아직 구현되지 않은 기능은 Self-clocked 모드입니다.


Supported features
==================

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- |<xxxxxxx| CLK & CLK_GATE |
          +----------------------------+        |                |
                                                +----------------+

Reference voltage
-----------------

Three possible reference voltage sources are supported:

- Internal reference (only available on AD7625 and AD7626)
- External reference and internal buffer
- External reference

The source is determined by the device tree. If ``ref-supply`` is present, then
the external reference is used. If ``refin-supply`` is present, then the internal
buffer is used. If neither is present, then the internal reference is used.

Unimplemented features
----------------------

- Self-clocked mode

장치 속성과 IIO 버퍼

73-91

AD762x는 완전 차동 ADC입니다. 제공되는 `scale` 속성은 버퍼 읽기에서 얻은 원시 값을 mV 단위로 변환하는 배율입니다.

AD762x 장치 속성
속성설명
`scale`버퍼의 원시 값을 mV로 변환하는 배율

완전 차동 변환 결과에 적용되는 IIO 속성입니다.

이 드라이버는 IIO triggered buffer를 지원합니다. IIO 장치 버퍼에 관한 일반적인 설명은 `iio_devbuf` 문서를 참고합니다.

AD7625 IIO 버퍼 경로
결합 PWM으로 변환 시작Echoed-Clock LVDS로 원시 데이터 수신IIO triggered buffer에 샘플 저장`scale`을 적용해 mV 값으로 해석

변환 결과가 사용자 공간의 전압 값으로 전달되는 흐름입니다.


Device attributes
=================

The AD762x is a fully-differential ADC and has the following attributes:

+---------------------------------------+--------------------------------------------------------------+
| Attribute                             | Description                                                  |
+=======================================+==============================================================+
| ``scale``                             | Scale factor to convert raw value from buffered reads to mV. |
+---------------------------------------+--------------------------------------------------------------+


Device buffers
==============

This driver supports IIO triggered buffers.

See :doc:`iio_devbuf` for more information.