mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2026-01-10 17:21:46 +00:00
[as5916_54xm]Move LM75 from 0x48 to 0x4C for R0B board or later
This commit is contained in:
@@ -38,7 +38,7 @@ static char* devfiles__[] = /* must map with onlp_thermal_id */
|
||||
{
|
||||
NULL,
|
||||
NULL, /* CPU_CORE files */
|
||||
"/sys/bus/i2c/devices/10-0048*temp1_input",
|
||||
"/sys/bus/i2c/devices/10-004c*temp1_input",
|
||||
"/sys/bus/i2c/devices/10-0049*temp1_input",
|
||||
"/sys/bus/i2c/devices/10-004a*temp1_input",
|
||||
"/sys/bus/i2c/devices/10-004b*temp1_input",
|
||||
@@ -62,7 +62,7 @@ static onlp_thermal_info_t linfo[] = {
|
||||
ONLP_THERMAL_STATUS_PRESENT,
|
||||
ONLP_THERMAL_CAPS_ALL, 0, ONLP_THERMAL_THRESHOLD_INIT_DEFAULTS
|
||||
},
|
||||
{ { ONLP_THERMAL_ID_CREATE(THERMAL_1_ON_MAIN_BROAD), "LM75-1-48", 0},
|
||||
{ { ONLP_THERMAL_ID_CREATE(THERMAL_1_ON_MAIN_BROAD), "LM75-1-4C", 0},
|
||||
ONLP_THERMAL_STATUS_PRESENT,
|
||||
ONLP_THERMAL_CAPS_ALL, 0, ONLP_THERMAL_THRESHOLD_INIT_DEFAULTS
|
||||
},
|
||||
|
||||
@@ -27,7 +27,7 @@ class OnlPlatform_x86_64_accton_as5916_54xm_r0(OnlPlatformAccton,
|
||||
('as5916_54xm_fan', 0x66, 9),
|
||||
|
||||
# inititate LM75
|
||||
('lm75', 0x48, 10),
|
||||
('lm75', 0x4c, 10),
|
||||
('lm75', 0x49, 10),
|
||||
('lm75', 0x4a, 10),
|
||||
('lm75', 0x4b, 10),
|
||||
|
||||
Reference in New Issue
Block a user