summaryrefslogtreecommitdiff
path: root/board/guybrush/board_fw_config.h
blob: 1de417d77adedeed48c4491b9155cb9439eb52d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/* Copyright 2021 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.
 */

#ifndef _GUYBRUSH_BOARD_FW_CONFIG__H_
#define _GUYBRUSH_BOARD_FW_CONFIG__H_

/****************************************************************************
 * Guybrush CBI FW Configuration
 */

/*
 * USB Daughter Board (2 bits)
 */
#define FW_CONFIG_USB_DB_OFFSET			0
#define FW_CONFIG_USB_DB_WIDTH			2
#define FW_CONFIG_USB_DB_A1_PS8811_C1_PS8818	0
#define FW_CONFIG_USB_DB_A1_ANX7491_C1_ANX7451	1

/*
 * Form Factor (1 bits)
 */
#define FW_CONFIG_FORM_FACTOR_OFFSET		2
#define FW_CONFIG_FORM_FACTOR_WIDTH		1
#define FW_CONFIG_FORM_FACTOR_CLAMSHELL		0
#define FW_CONFIG_FORM_FACTOR_CONVERTIBLE	1

/*
 * Keyboard Backlight (1 bit)
 */
#define FW_CONFIG_KBLIGHT_OFFSET		3
#define FW_CONFIG_KBLIGHT_WIDTH			1
#define FW_CONFIG_KBLIGHT_NO			0
#define FW_CONFIG_KBLIGHT_YES			1


#endif /* _GUYBRUSH_CBI_FW_CONFIG__H_ */