mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
i2c/nuc900: add i2c driver support for nuc900
This patch is to add i2c driver support for nuc900. Signed-off-by: Wan ZongShun <mcuos.com@gmail.org> Reviewed-by: Marek Vasut <marek.vasut@gmail.com> Reviewed-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Ben Dooks <ben-linux@fluff.org>
This commit is contained in:
1 parent
45d7f32c7a
commit
ededad3e6f
4 files changed
+726
No files matched your search
@@ -0,0 +1,9 @@
|
||||
#ifndef __ASM_ARCH_NUC900_I2C_H
|
||||
#define __ASM_ARCH_NUC900_I2C_H
|
||||
|
||||
struct nuc900_platform_i2c {
|
||||
int bus_num;
|
||||
unsigned long bus_freq;
|
||||
};
|
||||
|
||||
#endif /* __ASM_ARCH_NUC900_I2C_H */
|
||||
@@ -448,6 +448,13 @@ config I2C_NOMADIK
|
||||
If you say yes to this option, support will be included for the
|
||||
I2C interface from ST-Ericsson's Nomadik and Ux500 architectures.
|
||||
|
||||
config I2C_NUC900
|
||||
tristate "NUC900 I2C Driver"
|
||||
depends on ARCH_W90X900
|
||||
help
|
||||
Say Y here to include support for I2C controller in the
|
||||
Winbond/Nuvoton NUC900 based System-on-Chip devices.
|
||||
|
||||
config I2C_OCORES
|
||||
tristate "OpenCores I2C Controller"
|
||||
depends on EXPERIMENTAL
|
||||
|
||||
@@ -43,6 +43,7 @@ obj-$(CONFIG_I2C_IXP2000) += i2c-ixp2000.o
|
||||
obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
|
||||
obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o
|
||||
obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o
|
||||
obj-$(CONFIG_I2C_NUC900) += i2c-nuc900.o
|
||||
obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o
|
||||
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
|
||||
obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user