summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/s3c24x0_i2c.h
blob: b4a337a57bd81624b5e780fd29a48e74648d5c90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (C) 2012 Samsung Electronics
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#ifndef _S3C24X0_I2C_H
#define _S3C24X0_I2C_H

struct s3c24x0_i2c {
	u32	iiccon;
	u32	iicstat;
	u32	iicadd;
	u32	iicds;
	u32	iiclc;
};

struct s3c24x0_i2c_bus {
	int node;	/* device tree node */
	int bus_num;	/* i2c bus number */
	struct s3c24x0_i2c *regs;
	int id;
};
#endif /* _S3C24X0_I2C_H */
OpenPOWER on IntegriCloud