xref: /aosp_15_r20/external/coreboot/src/ec/purism/librem-ec/librem_ec.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef LIBREM_EC_H
4 #define LIBREM_EC_H
5 
6 #include <stdbool.h>
7 
8 /*
9  * Check whether librem-ec has working jack detect.  This was fixed in librem-ec
10  * 1.13, so we only use the verbs with jack detect if the EC has been updated.
11  */
12 bool librem_ec_has_jack_detect(void);
13 
14 #endif
15