summaryrefslogtreecommitdiff
path: root/include/mkbp_info.h
blob: 64daa52dce5b0c7eb2325c8e675bab715f5a41fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* Copyright 2022 The ChromiumOS Authors.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* MKBP info host command for Chrome EC */

#ifndef __CROS_EC_MKBP_INFO_H
#define __CROS_EC_MKBP_INFO_H

/**
 * Board specific function to set support volume buttons.
 *
 * Although we're able to define CONFIG_VOLUME_BUTTONS for ec volume buttons,
 * some boards might need to configure this settings at run time by several
 * cases such as sharing the firmware with different designs.
 *
 * @return 1 if volume buttons supported else 0
 */
__override_proto int mkbp_support_volume_buttons(void);

#endif /* __CROS_EC_MKBP_INFO_H */