hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/platform_data/i2c-ocores.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0 */
12 /*
23 * i2c-ocores.h - definitions for the i2c-ocores interface
34 *
45 * 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.
96 */
107
118 #ifndef _LINUX_I2C_OCORES_H
....@@ -15,6 +12,7 @@
1512 u32 reg_shift; /* register offset shift value */
1613 u32 reg_io_width; /* register io read/write width */
1714 u32 clock_khz; /* input clock in kHz */
15
+ u32 bus_khz; /* bus clock in kHz */
1816 bool big_endian; /* registers are big endian */
1917 u8 num_devices; /* number of devices in the devices list */
2018 struct i2c_board_info const *devices; /* devices connected to the bus */