1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef DDK750_HWI2C_H__ 3 #define DDK750_HWI2C_H__ 4 5 /* hwi2c functions */ 6 int sm750_hw_i2c_init(unsigned char bus_speed_mode); 7 void sm750_hw_i2c_close(void); 8 9 unsigned char sm750_hw_i2c_read_reg(unsigned char addr, unsigned char reg); 10 int sm750_hw_i2c_write_reg(unsigned char addr, unsigned char reg, 11 unsigned char data); 12 #endif