Back to home page

OSCL-LXR

 
 

    


0001 Kernel driver emc2103
0002 ======================
0003 
0004 Supported chips:
0005 
0006   * SMSC EMC2103
0007 
0008     Addresses scanned: I2C 0x2e
0009 
0010     Prefix: 'emc2103'
0011 
0012     Datasheet: Not public
0013 
0014 Authors:
0015         Steve Glendinning <steve.glendinning@smsc.com>
0016 
0017 Description
0018 -----------
0019 
0020 The Standard Microsystems Corporation (SMSC) EMC2103 chips
0021 contain up to 4 temperature sensors and a single fan controller.
0022 
0023 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is
0024 triggered if the rotation speed has dropped below a programmable limit. Fan
0025 readings can be divided by a programmable divider (1, 2, 4 or 8) to give
0026 the readings more range or accuracy. Not all RPM values can accurately be
0027 represented, so some rounding is done. With a divider of 1, the lowest
0028 representable value is 480 RPM.
0029 
0030 This driver supports RPM based control, to use this a fan target
0031 should be written to fan1_target and pwm1_enable should be set to 3.
0032 
0033 The 2103-2 and 2103-4 variants have a third temperature sensor, which can
0034 be connected to two anti-parallel diodes.  These values can be read
0035 as temp3 and temp4.  If only one diode is attached to this channel, temp4
0036 will show as "fault".  The module parameter "apd=0" can be used to suppress
0037 this 4th channel when anti-parallel diodes are not fitted.