summaryrefslogtreecommitdiff
path: root/src/ec/clevo/it5570e/i2ec.h
blob: 8b8b0f62d7cd9556c9cc3570ba393b8630a80500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef EC_CLEVO_IT5570E_I2EC_H
#define EC_CLEVO_IT5570E_I2EC_H

/*
 * Read/write I2EC registers through SIO "depth 2" address space
 */

uint8_t ec_d2i2ec_read(uint16_t addr);
void ec_d2i2ec_write(uint16_t addr, uint8_t val);

#endif /* EC_CLEVO_IT5570E_I2EC_H */