OpenCloudOS-Kernel/drivers/media/pci/solo6x10
Anton Sviridenko 3361d54eec media: solo6x10: fix detection of TW2864B chips
This patch enables support for non-Bluecherry labeled solo6110
based PCI cards which have 3 x TW2864B chips and one TW2865.
These cards are displayed by lspci -nn as

"Softlogic Co., Ltd. SOLO6110 H.264 Video encoder/decoder [9413:6110]"

Bluecherry cards have 4 x TW2864A. According to datasheet register 0xFF
of TW2864B chips contains value 0x6A or 0x6B depending on revision
which being shifted 3 bits right gives value 0x0d.
Existing version of solo6x10 fails on these cards with

[276582.344942] solo6x10 0000:07:00.0: Probing Softlogic 6110
[276582.402151] solo6x10 0000:07:00.0: Could not initialize any techwell chips
[276582.402781] solo6x10: probe of 0000:07:00.0 failed with error -22

Signed-off-by: Anton Sviridenko <anton@corp.bluecherry.net>
Acked-by: Andrey Utkin <andrey_utkin@fastmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-20 06:53:34 -04:00
..
Kconfig [media] be sure that HAS_DMA is enabled for vb2-dma-contig 2014-08-26 18:52:19 -03:00
Makefile
solo6x10-core.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
solo6x10-disp.c [media] solo6x10: fix sparse warnings 2014-09-03 08:55:39 -03:00
solo6x10-eeprom.c [media] solo6x10: Fix solo_eeprom_read retval type 2015-01-27 10:03:00 -02:00
solo6x10-enc.c [media] solo6x10: s/unsigned char/u8/ 2015-01-27 10:02:07 -02:00
solo6x10-g723.c [media] solo6x10: Convert to the new PCM ops 2017-06-02 19:38:18 +02:00
solo6x10-gpio.c
solo6x10-i2c.c [media] media drivers: annotate fall-through 2017-05-19 07:10:03 -03:00
solo6x10-jpeg.h [media] solo6x10: s/unsigned char/u8/ 2015-01-27 10:02:07 -02:00
solo6x10-offsets.h
solo6x10-p2m.c
solo6x10-regs.h
solo6x10-tw28.c media: solo6x10: fix detection of TW2864B chips 2017-07-20 06:53:34 -04:00
solo6x10-tw28.h
solo6x10-v4l2-enc.c [media] solo6x10: improve subscribe event handling 2017-03-22 10:11:12 -03:00
solo6x10-v4l2.c [media] solo6x10: release vb2 buffers in solo_stop_streaming() 2017-03-22 11:57:31 -03:00
solo6x10.h [media] media: solo6x10: fix lockup by avoiding delayed register write 2016-11-16 13:23:04 -02:00