diff options
author | Jason Chen <b02280@freescale.com> | 2011-11-09 15:12:31 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-11-10 09:43:43 +0800 |
commit | bff78362968ad876fcf7d57bd4a1346728c80805 (patch) | |
tree | 5df9f461e2ffcd1bd05cbfe912f1019d8829bf58 | |
parent | 9f1225977f3a3c84759712dec19c6cbd96981790 (diff) |
ENGR00161757 imx: add i2c depends of some drivers
add i2c depends for mxc edid/dvi/hdmi driver.
add i2c depends for codec soc sgtl5000 and cs42888.
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r-- | drivers/video/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/mxc/Kconfig | 7 | ||||
-rw-r--r-- | drivers/video/mxc/Makefile | 2 | ||||
-rw-r--r-- | sound/soc/imx/Kconfig | 4 |
4 files changed, 10 insertions, 5 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 457628645392..42362277b241 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig @@ -2385,7 +2385,7 @@ source "drivers/video/mxc/Kconfig" endif config FB_MXC_HDMI - depends on FB_MXC_SYNC_PANEL + depends on FB_MXC_SYNC_PANEL && I2C tristate "MXC HDMI driver support" select MFD_MXC_HDMI help diff --git a/drivers/video/mxc/Kconfig b/drivers/video/mxc/Kconfig index 1c548d0d3b5f..fe9de7362544 100644 --- a/drivers/video/mxc/Kconfig +++ b/drivers/video/mxc/Kconfig @@ -14,6 +14,11 @@ config FB_MXC If you plan to use the LCD display with your MXC system, say Y here. +config FB_MXC_EDID + depends on FB_MXC && I2C + tristate "MXC EDID support" + default y + config FB_MXC_SYNC_PANEL depends on FB_MXC tristate "Synchronous Panel Framebuffer" @@ -52,7 +57,7 @@ config FB_MXC_SEIKO_WVGA_SYNC_PANEL tristate "SEIKO WVGA Panel" config FB_MXC_SII902X - depends on FB_MXC_SYNC_PANEL + depends on FB_MXC_SYNC_PANEL && I2C tristate "Si Image SII9022 DVI/HDMI Interface Chip" config FB_MXC_CH7026 diff --git a/drivers/video/mxc/Makefile b/drivers/video/mxc/Makefile index debae230bb25..084837c70929 100644 --- a/drivers/video/mxc/Makefile +++ b/drivers/video/mxc/Makefile @@ -3,7 +3,7 @@ obj-$(CONFIG_FB_MXC_SII902X) += mxcfb_sii902x.o obj-$(CONFIG_FB_MXC_LDB) += ldb.o obj-$(CONFIG_FB_MXC_MIPI_DSI) += mipi_dsi.o obj-$(CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL) += mxcfb_hx8369_wvga.o -obj-$(CONFIG_FB_MODE_HELPERS) += mxc_edid.o mxc_dvi.o +obj-$(CONFIG_FB_MXC_EDID) += mxc_edid.o mxc_dvi.o ifeq ($(CONFIG_ARCH_MX21)$(CONFIG_ARCH_MX27)$(CONFIG_ARCH_MX25),y) obj-$(CONFIG_FB_MXC_TVOUT) += fs453.o obj-$(CONFIG_FB_MXC_SYNC_PANEL) += mx2fb.o mxcfb_modedb.o diff --git a/sound/soc/imx/Kconfig b/sound/soc/imx/Kconfig index 0a2c2dadd2f9..f3788b5bc9fb 100644 --- a/sound/soc/imx/Kconfig +++ b/sound/soc/imx/Kconfig @@ -48,7 +48,7 @@ config SND_SOC_PHYCORE_AC97 config SND_SOC_IMX_SGTL5000 tristate "SoC Audio support for i.MX boards with sgtl5000" - depends on MACH_MX35_3DS || MACH_MX51_BABBAGE || MACH_MX6Q_SABRELITE + depends on I2C && (MACH_MX35_3DS || MACH_MX51_BABBAGE || MACH_MX6Q_SABRELITE) select SND_SOC_SGTL5000 select SND_MXC_SOC_MX2 help @@ -57,7 +57,7 @@ config SND_SOC_IMX_SGTL5000 config SND_SOC_IMX_CS42888 tristate "SoC Audio support for i.MX boards with cs42888" - depends on MACH_MX6Q_ARM2 || MACH_MX53_ARD + depends on I2C && (MACH_MX6Q_ARM2 || MACH_MX53_ARD) select SND_SOC_CS42888 select SND_MXC_SOC_MX2 help |