diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 15:10:49 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 04:13:43 +0000 |
commit | 1d66ab8a46b221091b3aa08cbe26dad00b31a187 (patch) | |
tree | 007f991380755d63b58ccf21249d1d6c8e52247d /include/driver | |
parent | 66d15cbf0eb798f1e4aaab91544b314516f33133 (diff) | |
download | chrome-ec-1d66ab8a46b221091b3aa08cbe26dad00b31a187.tar.gz |
include/driver/temp_sensor/sb_tsi.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: If9f64b38886c24399fd2cfdb64b4dbefe1cad01e
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730256
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/driver')
-rw-r--r-- | include/driver/temp_sensor/sb_tsi.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/include/driver/temp_sensor/sb_tsi.h b/include/driver/temp_sensor/sb_tsi.h index b7113dbc70..ba045affa9 100644 --- a/include/driver/temp_sensor/sb_tsi.h +++ b/include/driver/temp_sensor/sb_tsi.h @@ -11,27 +11,27 @@ #ifndef __CROS_EC_SB_TSI_H #define __CROS_EC_SB_TSI_H -#define SB_TSI_I2C_ADDR_FLAGS 0x4C +#define SB_TSI_I2C_ADDR_FLAGS 0x4C /* G781 register */ -#define SB_TSI_TEMP_H 0x01 -#define SB_TSI_STATUS 0x02 -#define SB_TSI_CONFIG_1 0x03 -#define SB_TSI_UPDATE_RATE 0x04 -#define SB_TSI_HIGH_TEMP_THRESHOLD_H 0x07 -#define SB_TSI_LOW_TEMP_THRESHOLD_H 0x08 -#define SB_TSI_CONFIG_2 0x09 -#define SB_TSI_TEMP_L 0x10 -#define SB_TSI_TEMP_OFFSET_H 0x11 -#define SB_TSI_TEMP_OFFSET_L 0x12 -#define SB_TSI_HIGH_TEMP_THRESHOLD_L 0x13 -#define SB_TSI_LOW_TEMP_THRESHOLD_L 0x14 -#define SB_TSI_TIMEOUT_CONFIG 0x22 -#define SB_TSI_PSTATE_LIMIT_CONFIG 0x2F -#define SB_TSI_ALERT_THRESHOLD 0x32 -#define SB_TSI_ALERT_CONFIG 0xBF -#define SB_TSI_MANUFACTURE_ID 0xFE -#define SB_TSI_REVISION 0xFF +#define SB_TSI_TEMP_H 0x01 +#define SB_TSI_STATUS 0x02 +#define SB_TSI_CONFIG_1 0x03 +#define SB_TSI_UPDATE_RATE 0x04 +#define SB_TSI_HIGH_TEMP_THRESHOLD_H 0x07 +#define SB_TSI_LOW_TEMP_THRESHOLD_H 0x08 +#define SB_TSI_CONFIG_2 0x09 +#define SB_TSI_TEMP_L 0x10 +#define SB_TSI_TEMP_OFFSET_H 0x11 +#define SB_TSI_TEMP_OFFSET_L 0x12 +#define SB_TSI_HIGH_TEMP_THRESHOLD_L 0x13 +#define SB_TSI_LOW_TEMP_THRESHOLD_L 0x14 +#define SB_TSI_TIMEOUT_CONFIG 0x22 +#define SB_TSI_PSTATE_LIMIT_CONFIG 0x2F +#define SB_TSI_ALERT_THRESHOLD 0x32 +#define SB_TSI_ALERT_CONFIG 0xBF +#define SB_TSI_MANUFACTURE_ID 0xFE +#define SB_TSI_REVISION 0xFF /** * Get the value of a sensor in K. @@ -43,4 +43,4 @@ */ int sb_tsi_get_val(int idx, int *temp_ptr); -#endif /* __CROS_EC_SB_TSI_H */ +#endif /* __CROS_EC_SB_TSI_H */ |