MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / include / asm-arm / mach / i2c-gpio.h
blob8a47ec45335c036300739e80b34a46f376f994aa
1 /*
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;
24 #endif