Date:2011-10-02 18:41:49 (8 years 9 months ago)
Author:Maarten ter Huurne
Commit:fe72b55d5c8ae211b7618ba516799247ed073fa2
Message:MIPS: A320: Enabled RDA5807 support.

Enabled required drivers in kernel config and I2C configuration in the
board support.
Files: arch/mips/configs/a320_defconfig (2 diffs)
arch/mips/jz4740/board-a320.c (2 diffs)

Change Details

arch/mips/configs/a320_defconfig
840840# CONFIG_MFD_WL1273_CORE is not set
841841# CONFIG_MFD_TPS65910 is not set
842842# CONFIG_REGULATOR is not set
843# CONFIG_MEDIA_SUPPORT is not set
843CONFIG_MEDIA_SUPPORT=y
844
845#
846# Multimedia core support
847#
848# CONFIG_MEDIA_CONTROLLER is not set
849CONFIG_VIDEO_DEV=y
850CONFIG_VIDEO_V4L2_COMMON=y
851# CONFIG_DVB_CORE is not set
852CONFIG_VIDEO_MEDIA=y
853
854#
855# Multimedia drivers
856#
857# CONFIG_RC_CORE is not set
858CONFIG_MEDIA_TUNER=y
859CONFIG_MEDIA_TUNER_CUSTOMISE=y
860
861#
862# Customize TV tuners
863#
864# CONFIG_MEDIA_TUNER_SIMPLE is not set
865# CONFIG_MEDIA_TUNER_TDA8290 is not set
866# CONFIG_MEDIA_TUNER_TDA827X is not set
867# CONFIG_MEDIA_TUNER_TDA18271 is not set
868# CONFIG_MEDIA_TUNER_TDA9887 is not set
869# CONFIG_MEDIA_TUNER_TEA5761 is not set
870# CONFIG_MEDIA_TUNER_TEA5767 is not set
871# CONFIG_MEDIA_TUNER_MT20XX is not set
872# CONFIG_MEDIA_TUNER_MT2060 is not set
873# CONFIG_MEDIA_TUNER_MT2266 is not set
874# CONFIG_MEDIA_TUNER_MT2131 is not set
875# CONFIG_MEDIA_TUNER_QT1010 is not set
876# CONFIG_MEDIA_TUNER_XC2028 is not set
877# CONFIG_MEDIA_TUNER_XC5000 is not set
878# CONFIG_MEDIA_TUNER_MXL5005S is not set
879# CONFIG_MEDIA_TUNER_MXL5007T is not set
880# CONFIG_MEDIA_TUNER_MC44S803 is not set
881# CONFIG_MEDIA_TUNER_MAX2165 is not set
882# CONFIG_MEDIA_TUNER_TDA18218 is not set
883# CONFIG_MEDIA_TUNER_TDA18212 is not set
884CONFIG_VIDEO_V4L2=y
885# CONFIG_VIDEO_CAPTURE_DRIVERS is not set
886# CONFIG_V4L_MEM2MEM_DRIVERS is not set
887CONFIG_RADIO_ADAPTERS=y
888# CONFIG_I2C_SI4713 is not set
889# CONFIG_RADIO_SI4713 is not set
890# CONFIG_RADIO_SI470X is not set
891CONFIG_RADIO_RDA5807=y
892# CONFIG_RADIO_TEA5764 is not set
893# CONFIG_RADIO_SAA7706H is not set
894# CONFIG_RADIO_TEF6862 is not set
895# CONFIG_RADIO_WL1273 is not set
896
897#
898# Texas Instruments WL128x FM driver (ST based)
899#
844900
845901#
846902# Graphics support
...... 
9911047# CONFIG_USB_G_MULTI is not set
9921048# CONFIG_USB_G_HID is not set
9931049# CONFIG_USB_G_DBGP is not set
1050# CONFIG_USB_G_WEBCAM is not set
9941051
9951052#
9961053# OTG and related infrastructure
arch/mips/jz4740/board-a320.c
406406    .rtc_rate = 32768,
407407};
408408
409static struct i2c_board_info a320_i2c_info[] __initdata = {
410    {
411        .type = "radio-rda5807",
412        .addr = 0x11,
413    }
414};
415
409416static int __init a320_board_setup(void)
410417{
411418    printk(KERN_INFO "JZ4740 A320 board setup\n");
...... 
417424    if (a320_init_platform_devices())
418425        panic("Failed to initalize platform devices\n");
419426
427    i2c_register_board_info(0, a320_i2c_info, ARRAY_SIZE(a320_i2c_info));
428
420429    return 0;
421430}
422431

Archive Download the corresponding diff file



interactive