blob: b4a337a57bd81624b5e780fd29a48e74648d5c90 [file] [log] [blame]
Rajeshwari Shinde8df74312012-07-23 21:23:52 +00001/*
2 * Copyright (C) 2012 Samsung Electronics
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Rajeshwari Shinde8df74312012-07-23 21:23:52 +00005 */
6
7#ifndef _S3C24X0_I2C_H
8#define _S3C24X0_I2C_H
9
10struct s3c24x0_i2c {
11 u32 iiccon;
12 u32 iicstat;
13 u32 iicadd;
14 u32 iicds;
15 u32 iiclc;
16};
Rajeshwari Shinde53cfac52012-12-26 20:03:12 +000017
18struct s3c24x0_i2c_bus {
19 int node; /* device tree node */
20 int bus_num; /* i2c bus number */
21 struct s3c24x0_i2c *regs;
Rajeshwari Shinde9a611f62013-01-13 19:49:36 +000022 int id;
Rajeshwari Shinde53cfac52012-12-26 20:03:12 +000023};
Rajeshwari Shinde8df74312012-07-23 21:23:52 +000024#endif /* _S3C24X0_I2C_H */