Skip to content

Commit

Permalink
kamel: [AS5712-54X] PDDF support
Browse files Browse the repository at this point in the history
  • Loading branch information
bluecmd committed Dec 23, 2024
1 parent 4a25249 commit 1c3613e
Show file tree
Hide file tree
Showing 37 changed files with 7,249 additions and 5,516 deletions.
64 changes: 64 additions & 0 deletions device/accton/x86_64-accton_as5712_54x-r0/pddf/pd-plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{

"XCVR":
{
"xcvr_present":
{
"i2c":
{
"valmap-QSFP28": {"1":true, "0":false}
}
}
},
"PSU":
{
"psu_present":
{
"i2c":
{
"valmap": { "1":true, "0":false }
}
},

"psu_power_good":
{
"i2c":
{
"valmap": { "1": true, "0":false }
}
},

"psu_fan_dir":
{
"i2c":
{
"valmap": { "1":"EXHAUST", "0":"INTAKE" }
}
},

"PSU_FAN_MAX_SPEED":"18000"
},

"FAN":
{
"direction":
{
"i2c":
{
"valmap": {"1":"INTAKE", "0":"EXHAUST"}
}
},

"present":
{
"i2c":
{
"valmap": {"1":true, "0":false}
}
},

"duty_cycle_to_pwm": "lambda dc: (dc / 5)",
"pwm_to_duty_cycle": "lambda pwm: (pwm * 5)"
}

}
Loading

0 comments on commit 1c3613e

Please sign in to comment.