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