diff options
59 files changed, 2322 insertions, 489 deletions
diff --git a/Documentation/video4linux/CARDLIST.cx88 b/Documentation/video4linux/CARDLIST.cx88 index 89093f531727..0736518b2f88 100644 --- a/Documentation/video4linux/CARDLIST.cx88 +++ b/Documentation/video4linux/CARDLIST.cx88 | |||
| @@ -6,8 +6,8 @@ | |||
| 6 | 5 -> Leadtek Winfast 2000XP Expert [107d:6611,107d:6613] | 6 | 5 -> Leadtek Winfast 2000XP Expert [107d:6611,107d:6613] |
| 7 | 6 -> AverTV Studio 303 (M126) [1461:000b] | 7 | 6 -> AverTV Studio 303 (M126) [1461:000b] |
| 8 | 7 -> MSI TV-@nywhere Master [1462:8606] | 8 | 7 -> MSI TV-@nywhere Master [1462:8606] |
| 9 | 8 -> Leadtek Winfast DV2000 [107d:6620] | 9 | 8 -> Leadtek Winfast DV2000 [107d:6620,107d:6621] |
| 10 | 9 -> Leadtek PVR 2000 [107d:663b,107d:663c,107d:6632] | 10 | 9 -> Leadtek PVR 2000 [107d:663b,107d:663c,107d:6632,107d:6630,107d:6638,107d:6631,107d:6637,107d:663d] |
| 11 | 10 -> IODATA GV-VCP3/PCI [10fc:d003] | 11 | 10 -> IODATA GV-VCP3/PCI [10fc:d003] |
| 12 | 11 -> Prolink PlayTV PVR | 12 | 11 -> Prolink PlayTV PVR |
| 13 | 12 -> ASUS PVR-416 [1043:4823,1461:c111] | 13 | 12 -> ASUS PVR-416 [1043:4823,1461:c111] |
| @@ -59,7 +59,7 @@ | |||
| 59 | 58 -> Pinnacle PCTV HD 800i [11bd:0051] | 59 | 58 -> Pinnacle PCTV HD 800i [11bd:0051] |
| 60 | 59 -> DViCO FusionHDTV 5 PCI nano [18ac:d530] | 60 | 59 -> DViCO FusionHDTV 5 PCI nano [18ac:d530] |
| 61 | 60 -> Pinnacle Hybrid PCTV [12ab:1788] | 61 | 60 -> Pinnacle Hybrid PCTV [12ab:1788] |
| 62 | 61 -> Winfast TV2000 XP Global [107d:6f18] | 62 | 61 -> Leadtek TV2000 XP Global [107d:6f18,107d:6618] |
| 63 | 62 -> PowerColor RA330 [14f1:ea3d] | 63 | 62 -> PowerColor RA330 [14f1:ea3d] |
| 64 | 63 -> Geniatech X8000-MT DVBT [14f1:8852] | 64 | 63 -> Geniatech X8000-MT DVBT [14f1:8852] |
| 65 | 64 -> DViCO FusionHDTV DVB-T PRO [18ac:db30] | 65 | 64 -> DViCO FusionHDTV DVB-T PRO [18ac:db30] |
diff --git a/Documentation/video4linux/CARDLIST.em28xx b/Documentation/video4linux/CARDLIST.em28xx index a98a688c11b8..873630e7e53e 100644 --- a/Documentation/video4linux/CARDLIST.em28xx +++ b/Documentation/video4linux/CARDLIST.em28xx | |||
| @@ -65,3 +65,4 @@ | |||
| 65 | 67 -> Terratec Grabby (em2860) [0ccd:0096] | 65 | 67 -> Terratec Grabby (em2860) [0ccd:0096] |
| 66 | 68 -> Terratec AV350 (em2860) [0ccd:0084] | 66 | 68 -> Terratec AV350 (em2860) [0ccd:0084] |
| 67 | 69 -> KWorld ATSC 315U HDTV TV Box (em2882) [eb1a:a313] | 67 | 69 -> KWorld ATSC 315U HDTV TV Box (em2882) [eb1a:a313] |
| 68 | 70 -> Evga inDtube (em2882) | ||
diff --git a/Documentation/video4linux/v4l2-framework.txt b/Documentation/video4linux/v4l2-framework.txt index d54c1e4c6a9c..ba4706afc5fb 100644 --- a/Documentation/video4linux/v4l2-framework.txt +++ b/Documentation/video4linux/v4l2-framework.txt | |||
| @@ -390,6 +390,30 @@ later date. It differs between i2c drivers and as such can be confusing. | |||
| 390 | To see which chip variants are supported you can look in the i2c driver code | 390 | To see which chip variants are supported you can look in the i2c driver code |
| 391 | for the i2c_device_id table. This lists all the possibilities. | 391 | for the i2c_device_id table. This lists all the possibilities. |
| 392 | 392 | ||
| 393 | There are two more helper functions: | ||
| 394 | |||
| 395 | v4l2_i2c_new_subdev_cfg: this function adds new irq and platform_data | ||
| 396 | arguments and has both 'addr' and 'probed_addrs' arguments: if addr is not | ||
| 397 | 0 then that will be used (non-probing variant), otherwise the probed_addrs | ||
| 398 | are probed. | ||
| 399 | |||
| 400 | For example: this will probe for address 0x10: | ||
| 401 | |||
| 402 | struct v4l2_subdev *sd = v4l2_i2c_new_subdev_cfg(v4l2_dev, adapter, | ||
| 403 | "module_foo", "chipid", 0, NULL, 0, I2C_ADDRS(0x10)); | ||
| 404 | |||
| 405 | v4l2_i2c_new_subdev_board uses an i2c_board_info struct which is passed | ||
| 406 | to the i2c driver and replaces the irq, platform_data and addr arguments. | ||
| 407 | |||
| 408 | If the subdev supports the s_config core ops, then that op is called with | ||
| 409 | the irq and platform_data arguments after the subdev was setup. The older | ||
| 410 | v4l2_i2c_new_(probed_)subdev functions will call s_config as well, but with | ||
| 411 | irq set to 0 and platform_data set to NULL. | ||
| 412 | |||
| 413 | Note that in the next kernel release the functions v4l2_i2c_new_subdev, | ||
| 414 | v4l2_i2c_new_probed_subdev and v4l2_i2c_new_probed_subdev_addr will all be | ||
| 415 | replaced by a single v4l2_i2c_new_subdev that is identical to | ||
| 416 | v4l2_i2c_new_subdev_cfg but without the irq and platform_data arguments. | ||
| 393 | 417 | ||
| 394 | struct video_device | 418 | struct video_device |
| 395 | ------------------- | 419 | ------------------- |
diff --git a/drivers/media/common/ir-keymaps.c b/drivers/media/common/ir-keymaps.c index 3fe158ac7bbf..4216328552f6 100644 --- a/drivers/media/common/ir-keymaps.c +++ b/drivers/media/common/ir-keymaps.c | |||
| @@ -2750,3 +2750,26 @@ IR_KEYTAB_TYPE ir_codes_dm1105_nec[IR_KEYTAB_SIZE] = { | |||
| 2750 | [0x1b] = KEY_B, /*recall*/ | 2750 | [0x1b] = KEY_B, /*recall*/ |
| 2751 | }; | 2751 | }; |
| 2752 | EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec); | 2752 | EXPORT_SYMBOL_GPL(ir_codes_dm1105_nec); |
| 2753 | |||
| 2754 | /* EVGA inDtube | ||
| 2755 | Devin Heitmueller <devin.heitmueller@gmail.com> | ||
| 2756 | */ | ||
| 2757 | IR_KEYTAB_TYPE ir_codes_evga_indtube[IR_KEYTAB_SIZE] = { | ||
| 2758 | [0x12] = KEY_POWER, | ||
| 2759 | [0x02] = KEY_MODE, /* TV */ | ||
| 2760 | [0x14] = KEY_MUTE, | ||
| 2761 | [0x1a] = KEY_CHANNELUP, | ||
| 2762 | [0x16] = KEY_TV2, /* PIP */ | ||
| 2763 | [0x1d] = KEY_VOLUMEUP, | ||
| 2764 | [0x05] = KEY_CHANNELDOWN, | ||
| 2765 | [0x0f] = KEY_PLAYPAUSE, | ||
| 2766 | [0x19] = KEY_VOLUMEDOWN, | ||
