diff options
Diffstat (limited to 'driver/temp_sensor/amd_r19me4070.h')
-rw-r--r-- | driver/temp_sensor/amd_r19me4070.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/driver/temp_sensor/amd_r19me4070.h b/driver/temp_sensor/amd_r19me4070.h new file mode 100644 index 0000000000..d3c7977ba5 --- /dev/null +++ b/driver/temp_sensor/amd_r19me4070.h @@ -0,0 +1,20 @@ +/* Copyright 2020 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* GPU R19ME4070 configuration */ + +#ifndef __CROS_EC_R19ME4070_H +#define __CROS_EC_R19ME4070_H + +/* GPU features */ +#define R19ME4070_LOCAL 0 + +/* + * get GPU temperature value and move to *tem_ptr + * One second trigger ,Use I2C read GPU's Die temperature. + */ +int get_temp_R19ME4070(int idx, int *temp_ptr); + +#endif /* __CROS_EC_AMD_R19ME4070_H */ |