← Documents Documentation/i2c/busses/i2c-taos-evm.rst GitHub 원문 ↗

Linux 6.18.37 · I2C Buses

Kernel driver i2c-taos-evm

TAOS 평가 모듈의 직렬 연결, inputattach 사용법, 제한된 SMBus 전송을 설명합니다.

Source pathDocumentation/i2c/busses/i2c-taos-evm.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

i2c-taos-evm.rst:1-48

TAOS EVM은 1200bps 텍스트 프로토콜로 네 가지 SMBus 전송만 제공하며 `serport`와 `inputattach`로 첫 직렬 포트에 연결합니다.

문서 개요
항목
SourceDocumentation/i2c/busses/i2c-taos-evm.rst
분량48 source lines
현재 장치TSL2550 EVM
전송 유형4

원문 분량과 핵심 기능을 요약합니다.

동작 흐름
serport 로드inputattach 연결텍스트 명령 생성SMBus 전송칩 드라이버 처리

장치 인식부터 기능 제공까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 ==========================
2 Kernel driver i2c-taos-evm
3 ==========================
4
5 Author: Jean Delvare <jdelvare@suse.de>
6
7 This is a driver for the evaluation modules for TAOS I2C/SMBus chips.
8 The modules include an SMBus master with limited capabilities, which can
9 be controlled over the serial port. Virtually all evaluation modules
10 are supported, but a few lines of code need to be added for each new
11 module to instantiate the right I2C chip on the bus. Obviously, a driver
12 for the chip in question is also needed.
13
14 Currently supported devices are:
15
16 * TAOS TSL2550 EVM
17
18 For additional information on TAOS products, please see
19 http://www.taosinc.com/
20
21
22 Using this driver
23 -----------------
24
25 In order to use this driver, you'll need the serport driver, and the
26 inputattach tool, which is part of the input-utils package. The following
27 commands will tell the kernel that you have a TAOS EVM on the first
28 serial port::
29
30 # modprobe serport
31 # inputattach --taos-evm /dev/ttyS0
32
33
34 Technical details
35 -----------------
36
37 Only 4 SMBus transaction types are supported by the TAOS evaluation
38 modules:
39 * Receive Byte
40 * Send Byte
41 * Read Byte
42 * Write Byte
43
44 The communication protocol is text-based and pretty simple. It is
45 described in a PDF document on the CD which comes with the evaluation
46 module. The communication is rather slow, because the serial port has
47 to operate at 1200 bps. However, I don't think this is a big concern in
48 practice, as these modules are meant for evaluation and testing only.
49

3. 한국어 전문 번역

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

TAOS 평가 모듈 지원

1-20

작성자는 Jean Delvare <jdelvare@suse.de>입니다. 이 드라이버는 TAOS I2C/SMBus 칩용 평가 모듈을 지원합니다.

평가 모듈에는 직렬 포트로 제어하는 제한된 기능의 SMBus 마스터가 들어 있습니다. 사실상 모든 평가 모듈을 지원할 수 있지만, 새 모듈마다 버스에서 올바른 I2C 칩을 인스턴스화하는 코드 몇 줄을 추가해야 합니다. 해당 칩용 드라이버도 필요합니다.

현재 지원 장치는 TAOS TSL2550 EVM입니다. TAOS 제품 정보는 `http://www.taosinc.com/`을 참조하십시오.

TAOS EVM 지원 구조
항목내용
현재 지원TAOS TSL2550 EVM
버스 마스터평가 모듈 내 제한형 SMBus master
호스트 연결직렬 포트
새 모듈 지원I2C 칩 인스턴스 코드 추가
추가 요구해당 칩 드라이버
제품 정보`http://www.taosinc.com/`

평가 모듈과 필요한 소프트웨어 계층입니다.

TAOS 평가 모듈 계층
호스트 직렬 포트`serport``i2c-taos-evm`평가 모듈 SMBus masterTAOS I2C/SMBus 칩과 칩 드라이버

직렬 포트가 제한형 SMBus 마스터를 거쳐 센서 칩에 연결됩니다.

==========================
Kernel driver i2c-taos-evm
==========================

Author: Jean Delvare <jdelvare@suse.de>

This is a driver for the evaluation modules for TAOS I2C/SMBus chips.
The modules include an SMBus master with limited capabilities, which can
be controlled over the serial port. Virtually all evaluation modules
are supported, but a few lines of code need to be added for each new
module to instantiate the right I2C chip on the bus. Obviously, a driver
for the chip in question is also needed.

Currently supported devices are:

* TAOS TSL2550 EVM

For additional information on TAOS products, please see
  http://www.taosinc.com/

serport와 inputattach 사용

21-33

드라이버를 사용하려면 `serport` 드라이버와 input-utils 패키지의 `inputattach` 도구가 필요합니다.

첫 번째 직렬 포트에 TAOS EVM이 있다고 커널에 알리려면 `modprobe serport`를 실행한 뒤 `inputattach --taos-evm /dev/ttyS0`을 실행합니다.

TAOS EVM 시작 명령
순서명령·구성
1`serport` 드라이버 준비
2input-utils의 `inputattach` 설치
3`modprobe serport`
4`inputattach --taos-evm /dev/ttyS0`

필수 구성 요소와 명령 순서를 정리합니다.

TAOS EVM 연결
`serport` 모듈 로드`/dev/ttyS0` 직렬 포트 선택`inputattach --taos-evm` 실행TAOS EVM 프로토콜 연결I2C 칩 인스턴스 생성

직렬 장치를 커널 I2C 어댑터로 연결하는 절차입니다.


Using this driver
-----------------

In order to use this driver, you'll need the serport driver, and the
inputattach tool, which is part of the input-utils package. The following
commands will tell the kernel that you have a TAOS EVM on the first
serial port::

  # modprobe serport
  # inputattach --taos-evm /dev/ttyS0

지원 전송과 1200bps 프로토콜

34-48

TAOS 평가 모듈은 네 가지 SMBus 트랜잭션만 지원합니다. Receive Byte, Send Byte, Read Byte, Write Byte입니다.

통신 프로토콜은 텍스트 기반이며 매우 단순합니다. 평가 모듈과 함께 제공되는 CD의 PDF 문서에 설명되어 있습니다.

직렬 포트가 1200bps로 동작해야 하므로 통신은 상당히 느립니다. 그러나 이 모듈은 평가와 시험 전용이므로 실제로 큰 문제는 아닙니다.

TAOS EVM SMBus 기능
항목상태
Receive Byte지원
Send Byte지원
Read Byte지원
Write Byte지원
프로토콜텍스트 기반
직렬 속도1200bps
용도평가·시험

지원되는 네 전송과 통신 제약을 보존합니다.

TAOS EVM 전송
네 전송 유형 중 하나 선택텍스트 프로토콜 명령 작성1200bps 직렬 포트로 전송평가 모듈이 SMBus 실행텍스트 응답 수신

텍스트 명령이 직렬 링크를 거쳐 SMBus 트랜잭션이 됩니다.

Technical details
-----------------

Only 4 SMBus transaction types are supported by the TAOS evaluation
modules:
* Receive Byte
* Send Byte
* Read Byte
* Write Byte

The communication protocol is text-based and pretty simple. It is
described in a PDF document on the CD which comes with the evaluation
module. The communication is rather slow, because the serial port has
to operate at 1200 bps. However, I don't think this is a big concern in
practice, as these modules are meant for evaluation and testing only.