xref: /openbmc/linux/drivers/i2c/busses/i2c-stm32.h (revision feac8c8b)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * i2c-stm32.h
4  *
5  * Copyright (C) M'boumba Cedric Madianga 2017
6  * Copyright (C) STMicroelectronics 2017
7  * Author: M'boumba Cedric Madianga <cedric.madianga@gmail.com>
8  *
9  */
10 
11 #ifndef _I2C_STM32_H
12 #define _I2C_STM32_H
13 
14 enum stm32_i2c_speed {
15 	STM32_I2C_SPEED_STANDARD, /* 100 kHz */
16 	STM32_I2C_SPEED_FAST, /* 400 kHz */
17 	STM32_I2C_SPEED_FAST_PLUS, /* 1 MHz */
18 	STM32_I2C_SPEED_END,
19 };
20 
21 #endif /* _I2C_STM32_H */
22