1 /* SPDX-License-Identifier: GPL-2.0-only */
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
);