2 * include/asm-arm/mach/i2c-gpio.h
4 * Several platforms use GPIO pins to implement bit-bang I2C
5 * controllers. This file defines a structure that can be passed
6 * via the device model to provide the gpio pins to the I2C drivers.
8 * Author: Deepak Saxena <dsaxena@mvista.com>
10 * Copyright 2003-2004 (c) MontaVista, Software, Inc.
12 * This file is licensed under the terms of the GNU General Public
13 * License version 2. This program is licensed "as is" without any
14 * warranty of any kind, whether express or implied.
16 #ifndef ASMARM_MACH_I2C_GPIO_H
17 #define ASMARM_MACH_I2C_GPIO_H
19 struct i2c_gpio_pins
{
20 unsigned long sda_pin
;
21 unsigned long scl_pin
;