blob: 6eab91ae46dc37fa2fdfa9dac979e6095599bc1d [file] [log] [blame]
ganesanb5502e3e2022-12-13 11:07:43 +00001#!/usr/bin/env python3
2
3r"""
4DCMI raw commands table:
5
6 - Define DCMI interface index, commands and expected output.
7
8"""
9
10DCMI_RAW_CMD = {
11 # Interface name
12 "DCMI": {
13 "MANAGEMENT_CONTROLLER_IDENTIFIER_STRING": {
14 "GET": "0x2c 0x09 0xdc 0x00 0x10",
15 "SET": "0x2c 0x0a 0xdc 0x00",
16 },
ganesanba016f3f2022-12-13 13:56:34 +000017 "GET_TEMPERATURE_READING": [
18 # raw command, inlet temp entity ID, CPU temp entity ID, Baseboard temp entity ID
19 "0x2c 0x10 0xdc 0x01",
20 "0x40",
21 "0x41",
22 "0x42",
23 ],
ganesanb5502e3e2022-12-13 11:07:43 +000024 },
25}