mb/ocp/tiogapass: Fix GPIOs
[coreboot2.git] / src / mainboard / acer / aspire_vn7_572g / include / ec.h
blob49651decfbe0341f5961d0d5bd086fef7471b9f5
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef MAINBOARD_EC_H
4 #define MAINBOARD_EC_H
6 uint8_t ec_cmd_90_read(uint8_t addr);
7 void ec_cmd_91_write(uint8_t addr, uint8_t data);
8 uint8_t ec_cmd_94_query(void);
9 uint8_t ec_idx_read(uint16_t addr);
10 void ec_idx_write(uint16_t addr, uint8_t data);
11 /* TODO: Check if ADC is valid. */
12 uint16_t read_ec_adc_converter(uint8_t adc);
14 #endif