2012-07-23 21:23:52 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2012 Samsung Electronics
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-07-23 21:23:52 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _S3C24X0_I2C_H
|
|
|
|
#define _S3C24X0_I2C_H
|
|
|
|
|
|
|
|
struct s3c24x0_i2c {
|
|
|
|
u32 iiccon;
|
|
|
|
u32 iicstat;
|
|
|
|
u32 iicadd;
|
|
|
|
u32 iicds;
|
|
|
|
u32 iiclc;
|
|
|
|
};
|
2012-12-26 20:03:12 +00:00
|
|
|
|
|
|
|
struct s3c24x0_i2c_bus {
|
|
|
|
int node; /* device tree node */
|
|
|
|
int bus_num; /* i2c bus number */
|
|
|
|
struct s3c24x0_i2c *regs;
|
2013-01-13 19:49:36 +00:00
|
|
|
int id;
|
2012-12-26 20:03:12 +00:00
|
|
|
};
|
2012-07-23 21:23:52 +00:00
|
|
|
#endif /* _S3C24X0_I2C_H */
|