← Documents Documentation/hwmon/w83795.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver w83795

W83795G와 W83795ADG의 전체 물리 핀, 레지스터와 sysfs 속성 매핑을 제공합니다.

Source pathDocumentation/hwmon/w83795.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약·해설

w83795.rst:1-142

W83795 핀 표는 보드 제조사의 신호 정보를 전압·온도·팬·PWM·섀시 sysfs 속성과 libsensors 설정으로 변환하는 기준입니다.

문서 개요
항목
SourceDocumentation/hwmon/w83795.rst
분량142 source lines
W83795G 매핑52행
W83795ADG 매핑43행

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

동작 흐름
칩 변형 확인물리 핀과 신호 확인레지스터 대응 조회sysfs 채널 결정libsensors 구성에 반영

장치 탐지부터 센서와 팬 제어 제공까지의 순서입니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 Kernel driver w83795
2 ====================
3
4 Supported chips:
5
6 * Winbond/Nuvoton W83795G
7
8 Prefix: 'w83795g'
9
10 Addresses scanned: I2C 0x2c - 0x2f
11
12 Datasheet: Available for download on nuvoton.com
13
14 * Winbond/Nuvoton W83795ADG
15
16 Prefix: 'w83795adg'
17
18 Addresses scanned: I2C 0x2c - 0x2f
19
20 Datasheet: Available for download on nuvoton.com
21
22 Authors:
23 - Wei Song (Nuvoton)
24 - Jean Delvare <jdelvare@suse.de>
25
26
27 Pin mapping
28 -----------
29
30 Here is a summary of the pin mapping for the W83795G and W83795ADG.
31 This can be useful to convert data provided by board manufacturers
32 into working libsensors configuration statements.
33
34
35 - W83795G
36
37 ========= ======================= =============== ================
38 Pin Name Register Sysfs attribute
39 ========= ======================= =============== ================
40 13 VSEN1 (VCORE1) 10h in0
41 14 VSEN2 (VCORE2) 11h in1
42 15 VSEN3 (VCORE3) 12h in2
43 16 VSEN4 13h in3
44 17 VSEN5 14h in4
45 18 VSEN6 15h in5
46 19 VSEN7 16h in6
47 20 VSEN8 17h in7
48 21 VSEN9 18h in8
49 22 VSEN10 19h in9
50 23 VSEN11 1Ah in10
51 28 VTT 1Bh in11
52 24 3VDD 1Ch in12
53 25 3VSB 1Dh in13
54 26 VBAT 1Eh in14
55 3 VSEN12/TR5 1Fh in15/temp5
56 4 VSEN13/TR5 20h in16/temp6
57 5/ 6 VDSEN14/TR1/TD1 21h in17/temp1
58 7/ 8 VDSEN15/TR2/TD2 22h in18/temp2
59 9/ 10 VDSEN16/TR3/TD3 23h in19/temp3
60 11/ 12 VDSEN17/TR4/TD4 24h in20/temp4
61 40 FANIN1 2Eh fan1
62 42 FANIN2 2Fh fan2
63 44 FANIN3 30h fan3
64 46 FANIN4 31h fan4
65 48 FANIN5 32h fan5
66 50 FANIN6 33h fan6
67 52 FANIN7 34h fan7
68 54 FANIN8 35h fan8
69 57 FANIN9 36h fan9
70 58 FANIN10 37h fan10
71 59 FANIN11 38h fan11
72 60 FANIN12 39h fan12
73 31 FANIN13 3Ah fan13
74 35 FANIN14 3Bh fan14
75 41 FANCTL1 10h (bank 2) pwm1
76 43 FANCTL2 11h (bank 2) pwm2
77 45 FANCTL3 12h (bank 2) pwm3
78 47 FANCTL4 13h (bank 2) pwm4
79 49 FANCTL5 14h (bank 2) pwm5
80 51 FANCTL6 15h (bank 2) pwm6
81 53 FANCTL7 16h (bank 2) pwm7
82 55 FANCTL8 17h (bank 2) pwm8
83 29/ 30 PECI/TSI (DTS1) 26h temp7
84 29/ 30 PECI/TSI (DTS2) 27h temp8
85 29/ 30 PECI/TSI (DTS3) 28h temp9
86 29/ 30 PECI/TSI (DTS4) 29h temp10
87 29/ 30 PECI/TSI (DTS5) 2Ah temp11
88 29/ 30 PECI/TSI (DTS6) 2Bh temp12
89 29/ 30 PECI/TSI (DTS7) 2Ch temp13
90 29/ 30 PECI/TSI (DTS8) 2Dh temp14
91 27 CASEOPEN# 46h intrusion0
92 ========= ======================= =============== ================
93
94 - W83795ADG
95
96 ========= ======================= =============== ================
97 Pin Name Register Sysfs attribute
98 ========= ======================= =============== ================
99 10 VSEN1 (VCORE1) 10h in0
100 11 VSEN2 (VCORE2) 11h in1
101 12 VSEN3 (VCORE3) 12h in2
102 13 VSEN4 13h in3
103 14 VSEN5 14h in4
104 15 VSEN6 15h in5
105 16 VSEN7 16h in6
106 17 VSEN8 17h in7
107 22 VTT 1Bh in11
108 18 3VDD 1Ch in12
109 19 3VSB 1Dh in13
110 20 VBAT 1Eh in14
111 48 VSEN12/TR5 1Fh in15/temp5
112 1 VSEN13/TR5 20h in16/temp6
113 2/ 3 VDSEN14/TR1/TD1 21h in17/temp1
114 4/ 5 VDSEN15/TR2/TD2 22h in18/temp2
115 6/ 7 VDSEN16/TR3/TD3 23h in19/temp3
116 8/ 9 VDSEN17/TR4/TD4 24h in20/temp4
117 32 FANIN1 2Eh fan1
118 34 FANIN2 2Fh fan2
119 36 FANIN3 30h fan3
120 37 FANIN4 31h fan4
121 38 FANIN5 32h fan5
122 39 FANIN6 33h fan6
123 40 FANIN7 34h fan7
124 41 FANIN8 35h fan8
125 43 FANIN9 36h fan9
126 44 FANIN10 37h fan10
127 45 FANIN11 38h fan11
128 46 FANIN12 39h fan12
129 24 FANIN13 3Ah fan13
130 28 FANIN14 3Bh fan14
131 33 FANCTL1 10h (bank 2) pwm1
132 35 FANCTL2 11h (bank 2) pwm2
133 23 PECI (DTS1) 26h temp7
134 23 PECI (DTS2) 27h temp8
135 23 PECI (DTS3) 28h temp9
136 23 PECI (DTS4) 29h temp10
137 23 PECI (DTS5) 2Ah temp11
138 23 PECI (DTS6) 2Bh temp12
139 23 PECI (DTS7) 2Ch temp13
140 23 PECI (DTS8) 2Dh temp14
141 21 CASEOPEN# 46h intrusion0
142 ========= ======================= =============== ================
143

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 구성문으로 바꿀 때 이 표를 사용할 수 있습니다.

W83795 계열 개요
항목W83795GW83795ADG
접두사`w83795g``w83795adg`
I2C 검색`0x2c`~`0x2f``0x2c`~`0x2f`
전압·온도 겸용 입력`in15/temp5`~`in20/temp4`동일한 sysfs 채널
팬 입력`fan1`~`fan14``fan1`~`fan14`
PWM 출력`pwm1`~`pwm8``pwm1`~`pwm2`
디지털 온도`temp7`~`temp14` PECI/TSI`temp7`~`temp14` PECI

두 변형의 접두사, 검색 주소와 핀 기능 규모를 비교합니다.

보드 핀을 libsensors로 변환
W83795G 또는 W83795ADG 변형 확인보드 문서에서 핀 번호와 신호 이름 확인표에서 대응 레지스터 조회sysfs 전압·온도·팬·PWM 속성 결정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-93

W83795G는 `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`에 대응합니다.

W83795G 핀 매핑
이름레지스터sysfs 속성
13VSEN1 (VCORE1)10hin0
14VSEN2 (VCORE2)11hin1
15VSEN3 (VCORE3)12hin2
16VSEN413hin3
17VSEN514hin4
18VSEN615hin5
19VSEN716hin6
20VSEN817hin7
21VSEN918hin8
22VSEN1019hin9
23VSEN111Ahin10
28VTT1Bhin11
243VDD1Chin12
253VSB1Dhin13
26VBAT1Ehin14
3VSEN12/TR51Fhin15/temp5
4VSEN13/TR520hin16/temp6
5/6VDSEN14/TR1/TD121hin17/temp1
7/8VDSEN15/TR2/TD222hin18/temp2
9/10VDSEN16/TR3/TD323hin19/temp3
11/12VDSEN17/TR4/TD424hin20/temp4
40FANIN12Ehfan1
42FANIN22Fhfan2
44FANIN330hfan3
46FANIN431hfan4
48FANIN532hfan5
50FANIN633hfan6
52FANIN734hfan7
54FANIN835hfan8
57FANIN936hfan9
58FANIN1037hfan10
59FANIN1138hfan11
60FANIN1239hfan12
31FANIN133Ahfan13
35FANIN143Bhfan14
41FANCTL110h (bank 2)pwm1
43FANCTL211h (bank 2)pwm2
45FANCTL312h (bank 2)pwm3
47FANCTL413h (bank 2)pwm4
49FANCTL514h (bank 2)pwm5
51FANCTL615h (bank 2)pwm6
53FANCTL716h (bank 2)pwm7
55FANCTL817h (bank 2)pwm8
29/30PECI/TSI (DTS1)26htemp7
29/30PECI/TSI (DTS2)27htemp8
29/30PECI/TSI (DTS3)28htemp9
29/30PECI/TSI (DTS4)29htemp10
29/30PECI/TSI (DTS5)2Ahtemp11
29/30PECI/TSI (DTS6)2Bhtemp12
29/30PECI/TSI (DTS7)2Chtemp13
29/30PECI/TSI (DTS8)2Dhtemp14
27CASEOPEN#46hintrusion0

원문의 52개 핀·레지스터·sysfs 대응을 모두 구조화했습니다.

W83795G 신호 경로
핀 번호와 VSEN·VDSEN·FANIN·FANCTL 신호 확인전압·온도 겸용 핀이면 보드 연결 용도 판별해당 레지스터와 뱅크 선택PECI/TSI DTS 또는 팬 채널 번호 유지대응 `in`·`temp`·`fan`·`pwm`·`intrusion` 사용

물리 핀에서 센서 또는 팬 속성으로 연결되는 경로입니다.

- 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-142

W83795ADG는 `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`에 연결됩니다.

W83795ADG 핀 매핑
이름레지스터sysfs 속성
10VSEN1 (VCORE1)10hin0
11VSEN2 (VCORE2)11hin1
12VSEN3 (VCORE3)12hin2
13VSEN413hin3
14VSEN514hin4
15VSEN615hin5
16VSEN716hin6
17VSEN817hin7
22VTT1Bhin11
183VDD1Chin12
193VSB1Dhin13
20VBAT1Ehin14
48VSEN12/TR51Fhin15/temp5
1VSEN13/TR520hin16/temp6
2/3VDSEN14/TR1/TD121hin17/temp1
4/5VDSEN15/TR2/TD222hin18/temp2
6/7VDSEN16/TR3/TD323hin19/temp3
8/9VDSEN17/TR4/TD424hin20/temp4
32FANIN12Ehfan1
34FANIN22Fhfan2
36FANIN330hfan3
37FANIN431hfan4
38FANIN532hfan5
39FANIN633hfan6
40FANIN734hfan7
41FANIN835hfan8
43FANIN936hfan9
44FANIN1037hfan10
45FANIN1138hfan11
46FANIN1239hfan12
24FANIN133Ahfan13
28FANIN143Bhfan14
33FANCTL110h (bank 2)pwm1
35FANCTL211h (bank 2)pwm2
23PECI (DTS1)26htemp7
23PECI (DTS2)27htemp8
23PECI (DTS3)28htemp9
23PECI (DTS4)29htemp10
23PECI (DTS5)2Ahtemp11
23PECI (DTS6)2Bhtemp12
23PECI (DTS7)2Chtemp13
23PECI (DTS8)2Dhtemp14
21CASEOPEN#46hintrusion0

원문의 43개 핀·레지스터·sysfs 대응을 모두 구조화했습니다.

W83795ADG 신호 경로
ADG 변형과 물리 핀 번호 확인VSEN·VDSEN 겸용 입력의 보드 용도 판별14개 FANIN과 2개 FANCTL 매핑단일 PECI 핀에서 DTS1~DTS8 선택CASEOPEN을 `intrusion0`으로 연결

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
========= ======================= =============== ================