← Documents Documentation/w1/masters/ds2482.rst GitHub 원문 ↗

Linux 6.18.37 · 1-Wire / Master

Kernel driver ds2482

DS2482 I2C bridge의 model·주소와 명시적 등록 절차를 설명합니다.

Source pathDocumentation/w1/masters/ds2482.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

ds2482.rst:1-39

DS2482 I2C bridge의 model·주소와 명시적 등록 절차를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 ====================
2 Kernel driver ds2482
3 ====================
4
5 Supported chips:
6
7 * Maxim DS2482-100, Maxim DS2482-800
8
9 Prefix: 'ds2482'
10
11 Addresses scanned: None
12
13 Datasheets:
14
15 - http://datasheets.maxim-ic.com/en/ds/DS2482-100.pdf
16 - http://datasheets.maxim-ic.com/en/ds/DS2482-800.pdf
17
18 Author: Ben Gardner <[email protected]>
19
20
21 Description
22 -----------
23
24 The Maxim/Dallas Semiconductor DS2482 is a I2C device that provides
25 one (DS2482-100) or eight (DS2482-800) 1-wire buses.
26
27
28 General Remarks
29 ---------------
30
31 Valid addresses are 0x18, 0x19, 0x1a, and 0x1b.
32
33 However, the device cannot be detected without writing to the i2c bus, so no
34 detection is done. You should instantiate the device explicitly.
35
36 ::
37
38 $ modprobe ds2482
39 $ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device
40

3. 한국어 전문 번역

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

지원 chip과 식별 정보

1-17

이 kernel driver는 Maxim DS2482-100과 DS2482-800을 지원하며 driver prefix는 `ds2482`입니다.

자동 scan address는 없습니다. Datasheet는 두 chip의 Maxim 문서를 참조하며 원 저자는 Ben Gardner입니다.

DS2482 지원
항목내용
ModelDS2482-100, DS2482-800
Prefixds2482
Scanned addresses없음
AuthorBen Gardner <[email protected]>

모델과 driver discovery 정보를 정리합니다.

====================
Kernel driver ds2482
====================

Supported chips:

  * Maxim DS2482-100, Maxim DS2482-800

    Prefix: 'ds2482'

    Addresses scanned: None

    Datasheets:

        - http://datasheets.maxim-ic.com/en/ds/DS2482-100.pdf
        - http://datasheets.maxim-ic.com/en/ds/DS2482-800.pdf

I2C-to-1-Wire bridge

18-26

Maxim/Dallas Semiconductor DS2482는 I2C device에서 1-Wire bus를 제공하는 bridge입니다.

DS2482-100은 1개, DS2482-800은 8개의 1-Wire bus를 제공합니다.

모델별 bus 수
Model1-Wire buses
DS2482-1001
DS2482-8008

두 variant의 channel 수 차이입니다.

Author: Ben Gardner <[email protected]>


Description
-----------

The Maxim/Dallas Semiconductor DS2482 is a I2C device that provides
one (DS2482-100) or eight (DS2482-800) 1-wire buses.

유효 주소와 명시적 생성

27-39

유효한 I2C address는 `0x18`, `0x19`, `0x1a`, `0x1b`입니다.

장치를 detect하려면 I2C bus에 write해야 하므로 driver는 자동 detection을 수행하지 않습니다. Board 정보 또는 sysfs로 device를 명시적으로 instantiate해야 합니다.

예제는 `modprobe ds2482`로 module을 load하고 `echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device`로 bus 0의 address 0x18에 device를 생성합니다.

DS2482 address
주소동작
0x18유효
0x19유효
0x1a유효
0x1b유효

자동 scan 대신 사용자가 지정하는 값입니다.

DS2482 등록
DS2482 wiring address 확인modprobe ds2482대상 i2c-N bus 확인new_device에 ds2482와 address 기록1-Wire master bus 생성 확인

Module load와 I2C sysfs instantiate 순서입니다.


General Remarks
---------------

Valid addresses are 0x18, 0x19, 0x1a, and 0x1b.

However, the device cannot be detected without writing to the i2c bus, so no
detection is done. You should instantiate the device explicitly.

::

  $ modprobe ds2482
  $ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device