Googler | 9398cc3 | 2022-12-02 17:21:52 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | /* |
| 3 | * i2c_pxa.h |
| 4 | * |
| 5 | * Copyright (C) 2002 Intrinsyc Software Inc. |
| 6 | */ |
| 7 | #ifndef _I2C_PXA_H_ |
| 8 | #define _I2C_PXA_H_ |
| 9 | |
Googler | 9398cc3 | 2022-12-02 17:21:52 +0800 | [diff] [blame] | 10 | struct i2c_slave_client; |
| 11 | |
| 12 | struct i2c_pxa_platform_data { |
| 13 | unsigned int slave_addr; |
| 14 | struct i2c_slave_client *slave; |
| 15 | unsigned int class; |
| 16 | unsigned int use_pio :1; |
| 17 | unsigned int fast_mode :1; |
| 18 | unsigned int high_mode:1; |
| 19 | unsigned char master_code; |
| 20 | unsigned long rate; |
| 21 | }; |
| 22 | #endif |