summaryrefslogtreecommitdiff
path: root/board/dewatt/board_fw_config.h
blob: 4477aca6fde81f196e97af45f6d1f8fbda977b7c (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
/* 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.
 */

#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_ */