Root/target/linux/lantiq/patches-3.3/0011-i2c-support.patch

1From 5a39e76b3ea2f7dbf04f7dd2210536068583eaf6 Mon Sep 17 00:00:00 2001
2From: John Crispin <blogic@openwrt.org>
3Date: Fri, 3 Aug 2012 09:54:22 +0200
4Subject: [PATCH 11/25] i2c support
5
6---
7 drivers/i2c/busses/Kconfig | 10 ++++++++++
8 drivers/i2c/busses/Makefile | 1 +
9 2 files changed, 11 insertions(+), 0 deletions(-)
10
11diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
12index 3101dd5..e8d149d 100644
13--- a/drivers/i2c/busses/Kconfig
14+++ b/drivers/i2c/busses/Kconfig
15@@ -369,6 +369,16 @@ config I2C_DESIGNWARE_PCI
16       This driver can also be built as a module. If so, the module
17       will be called i2c-designware-pci.
18 
19+config I2C_FALCON
20+ tristate "Falcon I2C interface"
21+ depends on SOC_FALCON
22+ help
23+ If you say yes to this option, support will be included for the
24+ Lantiq FALC-ON I2C core.
25+
26+ This driver can also be built as a module. If so, the module
27+ will be called i2c-falcon.
28+
29 config I2C_GPIO
30     tristate "GPIO-based bitbanging I2C"
31     depends on GENERIC_GPIO
32diff --git a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
33index fba6da6..36239c8 100644
34--- a/drivers/i2c/busses/Makefile
35+++ b/drivers/i2c/busses/Makefile
36@@ -37,6 +37,7 @@ obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += i2c-designware-platform.o
37 i2c-designware-platform-objs := i2c-designware-platdrv.o i2c-designware-core.o
38 obj-$(CONFIG_I2C_DESIGNWARE_PCI) += i2c-designware-pci.o
39 i2c-designware-pci-objs := i2c-designware-pcidrv.o i2c-designware-core.o
40+obj-$(CONFIG_I2C_FALCON) += i2c-falcon.o
41 obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
42 obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o
43 obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
44--
451.7.9.1
46
47

Archive Download this file



interactive