| edition = "2023"; |
| |
| package milotic_tlbmc; |
| |
| import "entity_common_config.proto"; |
| import "hal_common_config.proto"; |
| import "sensor_instance_properties.proto"; |
| |
| enum HwmonTempSensorType { |
| HWMON_TEMP_SENSOR_TYPE0_UNKNOWN = 0; |
| HWMON_TEMP_SENSOR_TYPE1_MAX31725 = 1; |
| HWMON_TEMP_SENSOR_TYPE2_TMP75 = 2; |
| HWMON_TEMP_SENSOR_TYPE3_MAX31732 = 3; |
| HWMON_TEMP_SENSOR_TYPE4_SA56004 = 4; |
| HWMON_TEMP_SENSOR_TYPE5_TMP461 = 5; |
| HWMON_TEMP_SENSOR_TYPE6_TMP431 = 6; |
| HWMON_TEMP_SENSOR_TYPE7_TMP421 = 7; |
| } |
| |
| // Config for an HWMon temporature device. |
| // A single device config might generate multiple sensors. |
| message HwmonTempSensorConfig { |
| // Specifies the type of the hardware monitor temperature sensor. This is used |
| // to determine the sensor's driver when creating the device. |
| HwmonTempSensorType type = 1; |
| // Specifies the bus/address information of the sensor so that libraries know |
| // where and how to refresh the telemtry. |
| HalCommonConfig hal_common_config = 2; |
| EntityCommonConfig entity_common_config = 3; |
| map<string, SensorInstanceProperties> label_to_sensor_instance_properties = 4; |
| } |