요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
max6697 properties
Required properties:
- compatible:
Should be one of
maxim,max6581
maxim,max6602
maxim,max6622
maxim,max6636
maxim,max6689
maxim,max6693
maxim,max6694
maxim,max6697
maxim,max6698
maxim,max6699
- reg: I2C address
Optional properties:
- smbus-timeout-disable
Set to disable SMBus timeout. If not specified, SMBus timeout will be
enabled.
- extended-range-enable
Only valid for MAX6581. Set to enable extended temperature range.
Extended temperature will be disabled if not specified.
- beta-compensation-enable
Only valid for MAX6693 and MX6694. Set to enable beta compensation on
remote temperature channel 1.
Beta compensation will be disabled if not specified.
- alert-mask
Alert bit mask. Alert disabled for bits set.
Select bit 0 for local temperature, bit 1..7 for remote temperatures.
If not specified, alert will be enabled for all channels.
- over-temperature-mask
Over-temperature bit mask. Over-temperature reporting disabled for
bits set.
Select bit 0 for local temperature, bit 1..7 for remote temperatures.
If not specified, over-temperature reporting will be enabled for all
channels.
- resistance-cancellation
Boolean for all chips other than MAX6581. Set to enable resistance
cancellation on remote temperature channel 1.
For MAX6581, resistance cancellation enabled for all channels if
specified as boolean, otherwise as per bit mask specified.
Only supported for remote temperatures (bit 1..7).
If not specified, resistance cancellation will be disabled for all
channels.
- transistor-ideality
For MAX6581 only. Two values; first is bit mask, second is ideality
select value as per MAX6581 data sheet. Select bit 1..7 for remote
channels.
Transistor ideality will be initialized to default (1.008) if not
specified.
Example:
temp-sensor@1a {
compatible = "maxim,max6697";
reg = <0x1a>;
smbus-timeout-disable;
resistance-cancellation;
alert-mask = <0x72>;
over-temperature-mask = <0x7f>;
};
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`로 초기화합니다.
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>;
};
요약과 해설
max6697.txt:1-64Local/remote channel mask와 chip별 선택 기능을 설명합니다.