OpenNetworkLinux
OpenNetworkLinux copied to clipboard
[Edgecore][as4630_54te] Support YM-1151F power supply
Modify driver and onlp to support YM-1151F The airflow direction is front to back
The output of onlpdump is as follows: psu @ 1 = { Description: PSU-1 Model: YM-1151F-A01R SN: SA03A1442209007283 Status: 0x00000001 [ PRESENT ] Caps: 0x00000151 [ AC,VOUT,IOUT,POUT ] Vin: 0 Vout: 12015 Iin: 0 Iout: 2113 Pin: 0 Pout: 25000 fan @ 4 = { Description: PSU 1 - Fan 1 Status: 0x00000009 [ PRESENT,F2B ] Caps: 0x00000038 [ SET_PERCENTAGE,GET_RPM,GET_PERCENTAGE ] RPM: 9600 Per: 37 Model: NULL SN: NULL } thermal @ 5 = { Description: PSU-1 Thermal Sensor 1 Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 36000 thresholds = { Warning: 45000 Error: 50000 Shutdown: 55000 } } }
Signed-off-by: Brandon Chuang [email protected]