summaryrefslogtreecommitdiff
path: root/board/lantis/cbi_ssfc.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/lantis/cbi_ssfc.h')
-rw-r--r--board/lantis/cbi_ssfc.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/board/lantis/cbi_ssfc.h b/board/lantis/cbi_ssfc.h
index 448fa5a163..e6606e8b1b 100644
--- a/board/lantis/cbi_ssfc.h
+++ b/board/lantis/cbi_ssfc.h
@@ -1,4 +1,4 @@
-/* Copyright 2021 The Chromium OS Authors. All rights reserved.
+/* Copyright 2021 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -36,18 +36,18 @@ enum ec_ssfc_lid_sensor {
* Audio Codec Source(Bit 8-10)
*/
enum ec_ssfc_audio_codec_source {
- SSFC_AUDIO_CODEC_DEFAULT = 0,
- SSFC_AUDIO_CODEC_VD = 1,
- SSFC_ADUIO_CODEC_VS = 2,
+ SSFC_AUDIO_CODEC_DEFAULT = 0,
+ SSFC_AUDIO_CODEC_VD = 1,
+ SSFC_ADUIO_CODEC_VS = 2,
};
/*
* Touchscreen Driver Source(Bit 11-13)
*/
enum ec_ssfc_ts_driver_source {
- SSFC_TS_DRIVER_DEFAULT = 0,
- SSFC_TS_DRIVER_GENERIC = 1,
- SSFC_TS_DRIVER_HID = 2,
+ SSFC_TS_DRIVER_DEFAULT = 0,
+ SSFC_TS_DRIVER_GENERIC = 1,
+ SSFC_TS_DRIVER_HID = 2,
};
union dedede_cbi_ssfc {
@@ -56,7 +56,7 @@ union dedede_cbi_ssfc {
uint32_t lid_sensor : 3;
uint32_t reserved : 2;
uint32_t audio_codec_source : 3;
- uint32_t ts_driver_source: 3;
+ uint32_t ts_driver_source : 3;
uint32_t reserved_2 : 18;
};
uint32_t raw_value;
@@ -76,5 +76,4 @@ enum ec_ssfc_base_sensor get_cbi_ssfc_base_sensor(void);
*/
enum ec_ssfc_lid_sensor get_cbi_ssfc_lid_sensor(void);
-
#endif /* _DEDEDE_CBI_SSFC__H_ */