mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +00:00
Support 2.6 pcf8591 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2396 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
14
lib/chips.c
14
lib/chips.c
@@ -4081,19 +4081,19 @@ static sensors_chip_feature fscscy_features[] =
|
||||
static sensors_chip_feature pcf8591_features[] =
|
||||
{
|
||||
{ SENSORS_PCF8591_AIN_CONF, "ain_conf", NOMAP, NOMAP,
|
||||
RW, PCF8591_SYSCTL_AIN_CONF, VALUE(1), 0 },
|
||||
RW, PCF8591_SYSCTL_AIN_CONF, VALUE(1), 0 },
|
||||
{ SENSORS_PCF8591_CH0, "ch0", NOMAP, NOMAP,
|
||||
R, PCF8591_SYSCTL_CH0, VALUE(1), 0 },
|
||||
R, PCF8591_SYSCTL_CH0, VALUE(1), 0, "in0_input", 3 },
|
||||
{ SENSORS_PCF8591_CH1, "ch1", NOMAP, NOMAP,
|
||||
R, PCF8591_SYSCTL_CH1, VALUE(1), 0 },
|
||||
R, PCF8591_SYSCTL_CH1, VALUE(1), 0, "in1_input", 3 },
|
||||
{ SENSORS_PCF8591_CH2, "ch2", NOMAP, NOMAP,
|
||||
R, PCF8591_SYSCTL_CH2, VALUE(1), 0 },
|
||||
R, PCF8591_SYSCTL_CH2, VALUE(1), 0, "in2_input", 3 },
|
||||
{ SENSORS_PCF8591_CH3, "ch3", NOMAP, NOMAP,
|
||||
R, PCF8591_SYSCTL_CH3, VALUE(1), 0 },
|
||||
R, PCF8591_SYSCTL_CH3, VALUE(1), 0, "in3_input", 3 },
|
||||
{ SENSORS_PCF8591_AOUT_ENABLE, "aout_enable", NOMAP, NOMAP,
|
||||
RW, PCF8591_SYSCTL_AOUT_ENABLE, VALUE(1), 0 },
|
||||
RW, PCF8591_SYSCTL_AOUT_ENABLE, VALUE(1), 0, "out0_enable", 0 },
|
||||
{ SENSORS_PCF8591_AOUT, "aout", NOMAP, NOMAP,
|
||||
RW, PCF8591_SYSCTL_AOUT, VALUE(1), 0 },
|
||||
RW, PCF8591_SYSCTL_AOUT, VALUE(1), 0, "out0_output", 3 },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user