summaryrefslogtreecommitdiffstats
path: root/src/soc/rockchip/common/include/soc/i2c.h
blob: 8fe1e915bfdb3180003d99ee8538713cdce0a0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_I2C_H
#define __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_I2C_H

void i2c_init(unsigned int bus, unsigned int hz);
void software_i2c_attach(unsigned int bus);
void software_i2c_detach(unsigned int bus);

#endif  /* ! __COREBOOT_SRC_SOC_ROCKCHIP_COMMON_INCLUDE_SOC_I2C_H */