mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 14:46:51 +07:00
e535376537
Alter the DaVinci GPIO recovery fetch to use descriptors all the way down into the board files. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Sekhar Nori <nsekhar@ti.com> Tested-by: Sekhar Nori <nsekhar@ti.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
27 lines
835 B
C
27 lines
835 B
C
/*
|
|
* DaVinci I2C controller platform_device info
|
|
*
|
|
* Author: Vladimir Barinov, MontaVista Software, Inc. <source@mvista.com>
|
|
*
|
|
* 2007 (c) MontaVista Software, Inc. This file is licensed under
|
|
* the terms of the GNU General Public License version 2. This program
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
* or implied.
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_I2C_H
|
|
#define __ASM_ARCH_I2C_H
|
|
|
|
/* All frequencies are expressed in kHz */
|
|
struct davinci_i2c_platform_data {
|
|
unsigned int bus_freq; /* standard bus frequency (kHz) */
|
|
unsigned int bus_delay; /* post-transaction delay (usec) */
|
|
bool gpio_recovery; /* Use GPIO recovery method */
|
|
bool has_pfunc; /* Chip has a ICPFUNC register */
|
|
};
|
|
|
|
/* for board setup code */
|
|
void davinci_init_i2c(struct davinci_i2c_platform_data *);
|
|
|
|
#endif /* __ASM_ARCH_I2C_H */
|