Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driver

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21703 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-07-07 21:57:16 +00:00
parent 8d4d4610b6
commit 4e965b4b6c
5 changed files with 296 additions and 38 deletions

View file

@ -49,6 +49,16 @@ const unsigned char lv24020lp_region_data[TUNER_NUM_REGIONS] =
};
#endif /* (CONFIG_TUNER & LV24020LP) */
#if (CONFIG_TUNER & TEA5760)
const struct tea5760_region_data tea5760_region_data[TUNER_NUM_REGIONS] =
{
[REGION_EUROPE] = { 1, 0 }, /* 50uS, US/Europe band */
[REGION_US_CANADA] = { 0, 0 }, /* 75uS, US/Europe band */
[REGION_JAPAN] = { 1, 1 }, /* 50uS, Japanese band */
[REGION_KOREA] = { 1, 0 }, /* 50uS, US/Europe band */
};
#endif /* (CONFIG_TUNER & TEA5760) */
#if (CONFIG_TUNER & TEA5767)
const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS] =
{
@ -95,6 +105,12 @@ void tuner_init(void)
lv24020lp_get,
lv24020lp_init())
#endif
#if (CONFIG_TUNER & TEA5760)
TUNER_TYPE_CASE(TEA5760,
tea5760_set,
tea5760_get,
tea5760_init())
#endif
#if (CONFIG_TUNER & TEA5767)
TUNER_TYPE_CASE(TEA5767,
tea5767_set,