summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/omap_i2c.h
blob: a6975401dabd2b3aa5c937c19ee79c07d2805e3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */

#ifndef _OMAP_I2C_H
#define _OMAP_I2C_H

#ifdef CONFIG_DM_I2C

/* Information about a GPIO bank */
struct omap_i2c_platdata {
	ulong base;	/* address of registers in physical memory */
	int speed;
	int ip_rev;
};

#endif

enum {
	OMAP_I2C_REV_V1 = 0,
	OMAP_I2C_REV_V2 = 1,
};

#endif /* _OMAP_I2C_H */