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