From: luowei Date: Wed, 27 Apr 2011 08:16:29 +0000 (+0800) Subject: add FM580X driver support for A22 X-Git-Tag: firefly_0821_release~10392 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5a42c704dc70624e0ab142aac7e1cd8bc91d9ec4;p=firefly-linux-kernel-4.4.55.git add FM580X driver support for A22 --- diff --git a/arch/arm/mach-rk29/board-rk29-a22.c b/arch/arm/mach-rk29/board-rk29-a22.c index cab9995ceaec..6696512cdbd9 100755 --- a/arch/arm/mach-rk29/board-rk29-a22.c +++ b/arch/arm/mach-rk29/board-rk29-a22.c @@ -1520,6 +1520,14 @@ static struct i2c_board_info __initdata board_i2c0_devices[] = { // #endif }, #endif +#if defined (CONFIG_FM580X) + { + .type = "fm580x", + .addr = 0x10, + .flags = 0, + }, +#endif + #if defined (CONFIG_BATTERY_STC3100) { .type = "stc3100", diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig old mode 100644 new mode 100755 index 82d8929dc132..f4310a51125c --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -291,6 +291,10 @@ config STE config MTK23D bool "MTK6223D modem control driver" default n + +config FM580X + bool "FM rda580x driver" + default n source "drivers/misc/c2port/Kconfig" source "drivers/misc/eeprom/Kconfig" diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile old mode 100644 new mode 100755 index 986eb9a5f1cf..7a05b09c5fb1 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -29,6 +29,7 @@ obj-y += cb710/ obj-$(CONFIG_WL127X_RFKILL) += wl127x-rfkill.o obj-$(CONFIG_APANIC) += apanic.o obj-$(CONFIG_MTK23D) += mtk23d.o +obj-$(CONFIG_FM580X) += fm580x.o obj-$(CONFIG_STE) += ste.o obj-$(CONFIG_RK29_SUPPORT_MODEM) += rk29_modem/ obj-$(CONFIG_GPS_GNS7560) += gps/