Rajeshwari Shinde | 8df7431 | 2012-07-23 21:23:52 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012 Samsung Electronics |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Rajeshwari Shinde | 8df7431 | 2012-07-23 21:23:52 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef _S3C24X0_I2C_H |
| 8 | #define _S3C24X0_I2C_H |
| 9 | |
| 10 | struct s3c24x0_i2c { |
| 11 | u32 iiccon; |
| 12 | u32 iicstat; |
| 13 | u32 iicadd; |
| 14 | u32 iicds; |
| 15 | u32 iiclc; |
| 16 | }; |
Rajeshwari Shinde | 53cfac5 | 2012-12-26 20:03:12 +0000 | [diff] [blame] | 17 | |
| 18 | struct s3c24x0_i2c_bus { |
| 19 | int node; /* device tree node */ |
| 20 | int bus_num; /* i2c bus number */ |
| 21 | struct s3c24x0_i2c *regs; |
Rajeshwari Shinde | 9a611f6 | 2013-01-13 19:49:36 +0000 | [diff] [blame] | 22 | int id; |
Rajeshwari Shinde | 53cfac5 | 2012-12-26 20:03:12 +0000 | [diff] [blame] | 23 | }; |
Rajeshwari Shinde | 8df7431 | 2012-07-23 21:23:52 +0000 | [diff] [blame] | 24 | #endif /* _S3C24X0_I2C_H */ |