| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0 */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * i2c-ocores.h - definitions for the i2c-ocores interface |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Peter Korsgaard <peter@korsgaard.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This file is licensed under the terms of the GNU General Public License |
|---|
| 7 | | - * version 2. This program is licensed "as is" without any warranty of any |
|---|
| 8 | | - * kind, whether express or implied. |
|---|
| 9 | 6 | */ |
|---|
| 10 | 7 | |
|---|
| 11 | 8 | #ifndef _LINUX_I2C_OCORES_H |
|---|
| .. | .. |
|---|
| 15 | 12 | u32 reg_shift; /* register offset shift value */ |
|---|
| 16 | 13 | u32 reg_io_width; /* register io read/write width */ |
|---|
| 17 | 14 | u32 clock_khz; /* input clock in kHz */ |
|---|
| 15 | + u32 bus_khz; /* bus clock in kHz */ |
|---|
| 18 | 16 | bool big_endian; /* registers are big endian */ |
|---|
| 19 | 17 | u8 num_devices; /* number of devices in the devices list */ |
|---|
| 20 | 18 | struct i2c_board_info const *devices; /* devices connected to the bus */ |
|---|