mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Aaro Koskinen](/assets/img/avatar_default.png)
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Acked-by: Felipe Balbi <balbi@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
27 lines
790 B
C
27 lines
790 B
C
/*
|
|
* i2c-cbus-gpio.h - CBUS I2C platform_data definition
|
|
*
|
|
* Copyright (C) 2004-2009 Nokia Corporation
|
|
*
|
|
* Written by Felipe Balbi and Aaro Koskinen.
|
|
*
|
|
* This file is subject to the terms and conditions of the GNU General
|
|
* Public License. See the file "COPYING" in the main directory of this
|
|
* archive for more details.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#ifndef __INCLUDE_LINUX_I2C_CBUS_GPIO_H
|
|
#define __INCLUDE_LINUX_I2C_CBUS_GPIO_H
|
|
|
|
struct i2c_cbus_platform_data {
|
|
int dat_gpio;
|
|
int clk_gpio;
|
|
int sel_gpio;
|
|
};
|
|
|
|
#endif /* __INCLUDE_LINUX_I2C_CBUS_GPIO_H */
|