1 /* SPDX-License-Identifier: GPL-2.0-or-later * << 2 /* 1 /* >> 2 * This program is free software; you can redistribute it and/or modify it >> 3 * under the terms of the GNU General Public License as published by the >> 4 * Free Software Foundation; either version 2 of the License, or (at your >> 5 * option) any later version. 3 */ 6 */ 4 7 5 #ifndef _MV64XXX_I2C_H_ 8 #ifndef _MV64XXX_I2C_H_ 6 #define _MV64XXX_I2C_H_ 9 #define _MV64XXX_I2C_H_ 7 10 8 #include <linux/types.h> 11 #include <linux/types.h> 9 12 10 #define MV64XXX_I2C_CTLR_NAME "mv64xxx_i2c" 13 #define MV64XXX_I2C_CTLR_NAME "mv64xxx_i2c" 11 14 12 /* i2c Platform Device, Driver Data */ 15 /* i2c Platform Device, Driver Data */ 13 struct mv64xxx_i2c_pdata { 16 struct mv64xxx_i2c_pdata { 14 u32 freq_m; 17 u32 freq_m; 15 u32 freq_n; 18 u32 freq_n; 16 u32 timeout; /* In millisec 19 u32 timeout; /* In milliseconds */ 17 }; 20 }; 18 21 19 #endif /*_MV64XXX_I2C_H_*/ 22 #endif /*_MV64XXX_I2C_H_*/ 20 23
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.