요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Kernel driver w83795
====================
Supported chips:
* Winbond/Nuvoton W83795G
Prefix: 'w83795g'
Addresses scanned: I2C 0x2c - 0x2f
Datasheet: Available for download on nuvoton.com
* Winbond/Nuvoton W83795ADG
Prefix: 'w83795adg'
Addresses scanned: I2C 0x2c - 0x2f
Datasheet: Available for download on nuvoton.com
Authors:
- Wei Song (Nuvoton)
- Jean Delvare <jdelvare@suse.de>
Pin mapping
-----------
Here is a summary of the pin mapping for the W83795G and W83795ADG.
This can be useful to convert data provided by board manufacturers
into working libsensors configuration statements.
- W83795G
========= ======================= =============== ================
Pin Name Register Sysfs attribute
========= ======================= =============== ================
13 VSEN1 (VCORE1) 10h in0
14 VSEN2 (VCORE2) 11h in1
15 VSEN3 (VCORE3) 12h in2
16 VSEN4 13h in3
17 VSEN5 14h in4
18 VSEN6 15h in5
19 VSEN7 16h in6
20 VSEN8 17h in7
21 VSEN9 18h in8
22 VSEN10 19h in9
23 VSEN11 1Ah in10
28 VTT 1Bh in11
24 3VDD 1Ch in12
25 3VSB 1Dh in13
26 VBAT 1Eh in14
3 VSEN12/TR5 1Fh in15/temp5
4 VSEN13/TR5 20h in16/temp6
5/ 6 VDSEN14/TR1/TD1 21h in17/temp1
7/ 8 VDSEN15/TR2/TD2 22h in18/temp2
9/ 10 VDSEN16/TR3/TD3 23h in19/temp3
11/ 12 VDSEN17/TR4/TD4 24h in20/temp4
40 FANIN1 2Eh fan1
42 FANIN2 2Fh fan2
44 FANIN3 30h fan3
46 FANIN4 31h fan4
48 FANIN5 32h fan5
50 FANIN6 33h fan6
52 FANIN7 34h fan7
54 FANIN8 35h fan8
57 FANIN9 36h fan9
58 FANIN10 37h fan10
59 FANIN11 38h fan11
60 FANIN12 39h fan12
31 FANIN13 3Ah fan13
35 FANIN14 3Bh fan14
41 FANCTL1 10h (bank 2) pwm1
43 FANCTL2 11h (bank 2) pwm2
45 FANCTL3 12h (bank 2) pwm3
47 FANCTL4 13h (bank 2) pwm4
49 FANCTL5 14h (bank 2) pwm5
51 FANCTL6 15h (bank 2) pwm6
53 FANCTL7 16h (bank 2) pwm7
55 FANCTL8 17h (bank 2) pwm8
29/ 30 PECI/TSI (DTS1) 26h temp7
29/ 30 PECI/TSI (DTS2) 27h temp8
29/ 30 PECI/TSI (DTS3) 28h temp9
29/ 30 PECI/TSI (DTS4) 29h temp10
29/ 30 PECI/TSI (DTS5) 2Ah temp11
29/ 30 PECI/TSI (DTS6) 2Bh temp12
29/ 30 PECI/TSI (DTS7) 2Ch temp13
29/ 30 PECI/TSI (DTS8) 2Dh temp14
27 CASEOPEN# 46h intrusion0
========= ======================= =============== ================
- W83795ADG
========= ======================= =============== ================
Pin Name Register Sysfs attribute
========= ======================= =============== ================
10 VSEN1 (VCORE1) 10h in0
11 VSEN2 (VCORE2) 11h in1
12 VSEN3 (VCORE3) 12h in2
13 VSEN4 13h in3
14 VSEN5 14h in4
15 VSEN6 15h in5
16 VSEN7 16h in6
17 VSEN8 17h in7
22 VTT 1Bh in11
18 3VDD 1Ch in12
19 3VSB 1Dh in13
20 VBAT 1Eh in14
48 VSEN12/TR5 1Fh in15/temp5
1 VSEN13/TR5 20h in16/temp6
2/ 3 VDSEN14/TR1/TD1 21h in17/temp1
4/ 5 VDSEN15/TR2/TD2 22h in18/temp2
6/ 7 VDSEN16/TR3/TD3 23h in19/temp3
8/ 9 VDSEN17/TR4/TD4 24h in20/temp4
32 FANIN1 2Eh fan1
34 FANIN2 2Fh fan2
36 FANIN3 30h fan3
37 FANIN4 31h fan4
38 FANIN5 32h fan5
39 FANIN6 33h fan6
40 FANIN7 34h fan7
41 FANIN8 35h fan8
43 FANIN9 36h fan9
44 FANIN10 37h fan10
45 FANIN11 38h fan11
46 FANIN12 39h fan12
24 FANIN13 3Ah fan13
28 FANIN14 3Bh fan14
33 FANCTL1 10h (bank 2) pwm1
35 FANCTL2 11h (bank 2) pwm2
23 PECI (DTS1) 26h temp7
23 PECI (DTS2) 27h temp8
23 PECI (DTS3) 28h temp9
23 PECI (DTS4) 29h temp10
23 PECI (DTS5) 2Ah temp11
23 PECI (DTS6) 2Bh temp12
23 PECI (DTS7) 2Ch temp13
23 PECI (DTS8) 2Dh temp14
21 CASEOPEN# 46h intrusion0
========= ======================= =============== ================
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
지원 칩과 핀 매핑의 목적
1-34이 드라이버는 Winbond/Nuvoton W83795G와 W83795ADG를 지원합니다. W83795G의 접두사는 `w83795g`, W83795ADG의 접두사는 `w83795adg`이며 두 칩 모두 I2C `0x2c`부터 `0x2f`까지 검색합니다. 데이터시트는 nuvoton.com에서 받을 수 있습니다.
작성자는 Nuvoton의 Wei Song과 Jean Delvare입니다.
이 문서는 W83795G와 W83795ADG의 핀 매핑을 요약합니다. 보드 제조사가 제공한 핀·신호 정보를 실제로 동작하는 libsensors 구성문으로 바꿀 때 이 표를 사용할 수 있습니다.
두 변형의 접두사, 검색 주소와 핀 기능 규모를 비교합니다.
보드 자료의 핀 번호에서 sysfs 속성까지 추적합니다.
Kernel driver w83795
====================
Supported chips:
* Winbond/Nuvoton W83795G
Prefix: 'w83795g'
Addresses scanned: I2C 0x2c - 0x2f
Datasheet: Available for download on nuvoton.com
* Winbond/Nuvoton W83795ADG
Prefix: 'w83795adg'
Addresses scanned: I2C 0x2c - 0x2f
Datasheet: Available for download on nuvoton.com
Authors:
- Wei Song (Nuvoton)
- Jean Delvare <jdelvare@suse.de>
Pin mapping
-----------
Here is a summary of the pin mapping for the W83795G and W83795ADG.
This can be useful to convert data provided by board manufacturers
into working libsensors configuration statements.
W83795G 전체 핀 매핑
35-93W83795G는 `VSEN1`~`VSEN11`, VTT, 3VDD, 3VSB, VBAT를 `in0`~`in14`로 연결합니다. VSEN12~17은 전압 입력과 온도 입력을 핀에서 공유해 `in15/temp5`부터 `in20/temp4`까지 대응합니다.
팬 회전계 입력 14개는 `FANIN1`~`FANIN14`, 레지스터 `2Eh`~`3Bh`, sysfs `fan1`~`fan14`로 순서대로 연결됩니다. PWM 제어 8개는 `FANCTL1`~`FANCTL8`, 뱅크 2의 `10h`~`17h`, `pwm1`~`pwm8`에 대응합니다.
핀 29/30의 PECI/TSI 입력은 DTS1~DTS8을 레지스터 `26h`~`2Dh`에서 읽어 `temp7`~`temp14`로 제공합니다. 핀 27의 `CASEOPEN#`은 레지스터 `46h`, sysfs `intrusion0`에 대응합니다.
원문의 52개 핀·레지스터·sysfs 대응을 모두 구조화했습니다.
물리 핀에서 센서 또는 팬 속성으로 연결되는 경로입니다.
- W83795G
========= ======================= =============== ================
Pin Name Register Sysfs attribute
========= ======================= =============== ================
13 VSEN1 (VCORE1) 10h in0
14 VSEN2 (VCORE2) 11h in1
15 VSEN3 (VCORE3) 12h in2
16 VSEN4 13h in3
17 VSEN5 14h in4
18 VSEN6 15h in5
19 VSEN7 16h in6
20 VSEN8 17h in7
21 VSEN9 18h in8
22 VSEN10 19h in9
23 VSEN11 1Ah in10
28 VTT 1Bh in11
24 3VDD 1Ch in12
25 3VSB 1Dh in13
26 VBAT 1Eh in14
3 VSEN12/TR5 1Fh in15/temp5
4 VSEN13/TR5 20h in16/temp6
5/ 6 VDSEN14/TR1/TD1 21h in17/temp1
7/ 8 VDSEN15/TR2/TD2 22h in18/temp2
9/ 10 VDSEN16/TR3/TD3 23h in19/temp3
11/ 12 VDSEN17/TR4/TD4 24h in20/temp4
40 FANIN1 2Eh fan1
42 FANIN2 2Fh fan2
44 FANIN3 30h fan3
46 FANIN4 31h fan4
48 FANIN5 32h fan5
50 FANIN6 33h fan6
52 FANIN7 34h fan7
54 FANIN8 35h fan8
57 FANIN9 36h fan9
58 FANIN10 37h fan10
59 FANIN11 38h fan11
60 FANIN12 39h fan12
31 FANIN13 3Ah fan13
35 FANIN14 3Bh fan14
41 FANCTL1 10h (bank 2) pwm1
43 FANCTL2 11h (bank 2) pwm2
45 FANCTL3 12h (bank 2) pwm3
47 FANCTL4 13h (bank 2) pwm4
49 FANCTL5 14h (bank 2) pwm5
51 FANCTL6 15h (bank 2) pwm6
53 FANCTL7 16h (bank 2) pwm7
55 FANCTL8 17h (bank 2) pwm8
29/ 30 PECI/TSI (DTS1) 26h temp7
29/ 30 PECI/TSI (DTS2) 27h temp8
29/ 30 PECI/TSI (DTS3) 28h temp9
29/ 30 PECI/TSI (DTS4) 29h temp10
29/ 30 PECI/TSI (DTS5) 2Ah temp11
29/ 30 PECI/TSI (DTS6) 2Bh temp12
29/ 30 PECI/TSI (DTS7) 2Ch temp13
29/ 30 PECI/TSI (DTS8) 2Dh temp14
27 CASEOPEN# 46h intrusion0
========= ======================= =============== ================
W83795ADG 전체 핀 매핑
94-142W83795ADG는 `VSEN1`~`VSEN8`을 `in0`~`in7`에 연결하고 VTT, 3VDD, 3VSB, VBAT를 각각 `in11`~`in14`에 연결합니다. VSEN12~17은 W83795G와 같은 sysfs 전압·온도 겸용 채널을 사용하지만 물리 핀 번호가 다릅니다.
팬 회전계 입력은 W83795G와 마찬가지로 14개이며 레지스터 `2Eh`~`3Bh`와 `fan1`~`fan14`를 사용합니다. 그러나 PWM 출력은 핀 33의 `FANCTL1`과 핀 35의 `FANCTL2`, 즉 뱅크 2의 `10h`·`11h`와 `pwm1`·`pwm2` 두 개만 표에 있습니다.
핀 23의 PECI 입력 하나가 DTS1~DTS8 레지스터 `26h`~`2Dh`와 `temp7`~`temp14`에 공통으로 대응합니다. 핀 21의 `CASEOPEN#`은 레지스터 `46h`, `intrusion0`에 연결됩니다.
원문의 43개 핀·레지스터·sysfs 대응을 모두 구조화했습니다.
ADG의 더 적은 PWM 핀과 공통 PECI 핀을 반영합니다.
- W83795ADG
========= ======================= =============== ================
Pin Name Register Sysfs attribute
========= ======================= =============== ================
10 VSEN1 (VCORE1) 10h in0
11 VSEN2 (VCORE2) 11h in1
12 VSEN3 (VCORE3) 12h in2
13 VSEN4 13h in3
14 VSEN5 14h in4
15 VSEN6 15h in5
16 VSEN7 16h in6
17 VSEN8 17h in7
22 VTT 1Bh in11
18 3VDD 1Ch in12
19 3VSB 1Dh in13
20 VBAT 1Eh in14
48 VSEN12/TR5 1Fh in15/temp5
1 VSEN13/TR5 20h in16/temp6
2/ 3 VDSEN14/TR1/TD1 21h in17/temp1
4/ 5 VDSEN15/TR2/TD2 22h in18/temp2
6/ 7 VDSEN16/TR3/TD3 23h in19/temp3
8/ 9 VDSEN17/TR4/TD4 24h in20/temp4
32 FANIN1 2Eh fan1
34 FANIN2 2Fh fan2
36 FANIN3 30h fan3
37 FANIN4 31h fan4
38 FANIN5 32h fan5
39 FANIN6 33h fan6
40 FANIN7 34h fan7
41 FANIN8 35h fan8
43 FANIN9 36h fan9
44 FANIN10 37h fan10
45 FANIN11 38h fan11
46 FANIN12 39h fan12
24 FANIN13 3Ah fan13
28 FANIN14 3Bh fan14
33 FANCTL1 10h (bank 2) pwm1
35 FANCTL2 11h (bank 2) pwm2
23 PECI (DTS1) 26h temp7
23 PECI (DTS2) 27h temp8
23 PECI (DTS3) 28h temp9
23 PECI (DTS4) 29h temp10
23 PECI (DTS5) 2Ah temp11
23 PECI (DTS6) 2Bh temp12
23 PECI (DTS7) 2Ch temp13
23 PECI (DTS8) 2Dh temp14
21 CASEOPEN# 46h intrusion0
========= ======================= =============== ================
요약·해설
w83795.rst:1-142W83795 핀 표는 보드 제조사의 신호 정보를 전압·온도·팬·PWM·섀시 sysfs 속성과 libsensors 설정으로 변환하는 기준입니다.
원문 분량과 핵심 기능을 요약합니다.
장치 탐지부터 센서와 팬 제어 제공까지의 순서입니다.