← Documents Documentation/devicetree/bindings/hwmon/max6697.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Maxim MAX6697 Family

MAX6581/MAX669x temperature alert, mask와 compensation 바인딩입니다.

Source pathDocumentation/devicetree/bindings/hwmon/max6697.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

max6697.txt:1-64

Local/remote channel mask와 chip별 선택 기능을 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 max6697 properties
2
3 Required properties:
4 - compatible:
5 Should be one of
6 maxim,max6581
7 maxim,max6602
8 maxim,max6622
9 maxim,max6636
10 maxim,max6689
11 maxim,max6693
12 maxim,max6694
13 maxim,max6697
14 maxim,max6698
15 maxim,max6699
16 - reg: I2C address
17
18 Optional properties:
19
20 - smbus-timeout-disable
21 Set to disable SMBus timeout. If not specified, SMBus timeout will be
22 enabled.
23 - extended-range-enable
24 Only valid for MAX6581. Set to enable extended temperature range.
25 Extended temperature will be disabled if not specified.
26 - beta-compensation-enable
27 Only valid for MAX6693 and MX6694. Set to enable beta compensation on
28 remote temperature channel 1.
29 Beta compensation will be disabled if not specified.
30 - alert-mask
31 Alert bit mask. Alert disabled for bits set.
32 Select bit 0 for local temperature, bit 1..7 for remote temperatures.
33 If not specified, alert will be enabled for all channels.
34 - over-temperature-mask
35 Over-temperature bit mask. Over-temperature reporting disabled for
36 bits set.
37 Select bit 0 for local temperature, bit 1..7 for remote temperatures.
38 If not specified, over-temperature reporting will be enabled for all
39 channels.
40 - resistance-cancellation
41 Boolean for all chips other than MAX6581. Set to enable resistance
42 cancellation on remote temperature channel 1.
43 For MAX6581, resistance cancellation enabled for all channels if
44 specified as boolean, otherwise as per bit mask specified.
45 Only supported for remote temperatures (bit 1..7).
46 If not specified, resistance cancellation will be disabled for all
47 channels.
48 - transistor-ideality
49 For MAX6581 only. Two values; first is bit mask, second is ideality
50 select value as per MAX6581 data sheet. Select bit 1..7 for remote
51 channels.
52 Transistor ideality will be initialized to default (1.008) if not
53 specified.
54
55 Example:
56
57 temp-sensor@1a {
58 compatible = "maxim,max6697";
59 reg = <0x1a>;
60 smbus-timeout-disable;
61 resistance-cancellation;
62 alert-mask = <0x72>;
63 over-temperature-mask = <0x7f>;
64 };
65

3. 한국어 전문 번역

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

MAX6697 계열 속성

1-54

필수 `compatible`은 `maxim,max6581`, `maxim,max6602`, `maxim,max6622`, `maxim,max6636`, `maxim,max6689`, `maxim,max6693`, `maxim,max6694`, `maxim,max6697`, `maxim,max6698`, `maxim,max6699` 중 하나입니다. `reg`는 I2C address입니다.

선택 `smbus-timeout-disable`은 SMBus timeout을 끕니다. 생략하면 timeout이 활성화됩니다. MAX6581 전용 `extended-range-enable`은 확장 temperature range를 켜며 생략하면 꺼집니다. MAX6693/MAX6694 전용 `beta-compensation-enable`은 remote temperature channel 1의 beta compensation을 켜며 생략하면 꺼집니다.

`alert-mask`는 bit가 설정된 channel의 alert를 끕니다. `over-temperature-mask`는 bit가 설정된 channel의 over-temperature reporting을 끕니다. 두 mask 모두 bit 0이 local temperature, bit 1..7이 remote temperature입니다. 각 속성을 생략하면 모든 channel에서 해당 alert 또는 reporting이 활성화됩니다.

`resistance-cancellation`은 MAX6581 외 chip에서는 remote temperature channel 1의 resistance cancellation을 켜는 boolean입니다. MAX6581에서는 boolean이면 모든 channel에 활성화하고, 아니면 지정 bit mask를 따릅니다. Remote temperature bit 1..7만 지원하며 생략하면 모든 channel에서 꺼집니다.

MAX6581 전용 `transistor-ideality`는 두 값으로, 첫 번째는 remote channel bit 1..7의 mask이고 두 번째는 datasheet의 ideality select 값입니다. 생략하면 transistor ideality 기본값 `1.008`로 초기화합니다.

MAX6697 mask bit 의미
BitChannel적용 속성
0Local temperaturealert-mask, over-temperature-mask
1..7Remote temperatures모든 mask와 MAX6581 ideality

Alert, over-temperature, resistance cancellation과 ideality mask의 channel bit를 정리합니다.

MAX6697 예제

55-64

예제 `0x1a` sensor는 SMBus timeout을 끄고 resistance cancellation을 켭니다. Alert mask는 `0x72`, over-temperature mask는 `0x7f`입니다.

temp-sensor@1a {
        compatible = "maxim,max6697";
        reg = <0x1a>;
        smbus-timeout-disable;
        resistance-cancellation;
        alert-mask = <0x72>;
        over-temperature-mask = <0x7f>;
};