Files
Linux_Drivers/u-boot-2021.10/arch/arm/include/asm/omap_i2c.h
sam.xiang f8fc109960 [uboot] create uboot from github:
repo: https://github.com/u-boot/u-boot
	commit: d80bb749fab53da72c4a0e09b8c2d2aaa3103c91

Change-Id: Ie6434426e1ec15bc08bb1832798e371f3fd5fb29
2023-03-10 20:30:57 +08:00

23 lines
347 B
C

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _OMAP_I2C_H
#define _OMAP_I2C_H
#if CONFIG_IS_ENABLED(DM_I2C)
/* Information about a GPIO bank */
struct omap_i2c_plat {
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 */