xref: /OK3568_Linux_fs/kernel/Documentation/hwmon/menf21bmc.rst (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunKernel driver menf21bmc_hwmon
2*4882a593Smuzhiyun=============================
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunSupported chips:
5*4882a593Smuzhiyun
6*4882a593Smuzhiyun	* MEN 14F021P00
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun	  Prefix: 'menf21bmc_hwmon'
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun	  Adresses scanned: -
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunAuthor: Andreas Werner <andreas.werner@men.de>
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunDescription
15*4882a593Smuzhiyun-----------
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunThe menf21bmc is a Board Management Controller (BMC) which provides an I2C
18*4882a593Smuzhiyuninterface to the host to access the features implemented in the BMC.
19*4882a593Smuzhiyun
20*4882a593SmuzhiyunThis driver gives access to the voltage monitoring feature of the main
21*4882a593Smuzhiyunvoltages of the board.
22*4882a593SmuzhiyunThe voltage sensors are connected to the ADC inputs of the BMC which is
23*4882a593Smuzhiyuna PIC16F917 Mikrocontroller.
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunUsage Notes
26*4882a593Smuzhiyun-----------
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunThis driver is part of the MFD driver named "menf21bmc" and does
29*4882a593Smuzhiyunnot auto-detect devices.
30*4882a593SmuzhiyunYou will have to instantiate the MFD driver explicitly.
31*4882a593SmuzhiyunPlease see Documentation/i2c/instantiating-devices.rst for
32*4882a593Smuzhiyundetails.
33*4882a593Smuzhiyun
34*4882a593SmuzhiyunSysfs entries
35*4882a593Smuzhiyun-------------
36*4882a593Smuzhiyun
37*4882a593SmuzhiyunThe following attributes are supported. All attributes are read only
38*4882a593SmuzhiyunThe Limits are read once by the driver.
39*4882a593Smuzhiyun
40*4882a593Smuzhiyun=============== ==========================
41*4882a593Smuzhiyunin0_input	+3.3V input voltage
42*4882a593Smuzhiyunin1_input	+5.0V input voltage
43*4882a593Smuzhiyunin2_input	+12.0V input voltage
44*4882a593Smuzhiyunin3_input	+5V Standby input voltage
45*4882a593Smuzhiyunin4_input	VBAT (on board battery)
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunin[0-4]_min	Minimum voltage limit
48*4882a593Smuzhiyunin[0-4]_max	Maximum voltage limit
49*4882a593Smuzhiyun
50*4882a593Smuzhiyunin0_label	"MON_3_3V"
51*4882a593Smuzhiyunin1_label	"MON_5V"
52*4882a593Smuzhiyunin2_label	"MON_12V"
53*4882a593Smuzhiyunin3_label	"5V_STANDBY"
54*4882a593Smuzhiyunin4_label	"VBAT"
55*4882a593Smuzhiyun=============== ==========================
56