1. 04 May, 2018 1 commit
  2. 06 Mar, 2018 9 commits
  3. 24 Jun, 2017 1 commit
    • Mauro Carvalho Chehab's avatar
      media: em28xx: add support for new of Terratec H6 · d6a64327
      Mauro Carvalho Chehab authored
      There's a new version of Terratec H6 with uses USB ID
      0ccd:10b2. This version is similar to the old one (with is
      supported via the HTC entry), except that this one has the
      eeprom on the second bus.
      
      On this board, one side of this board is labeled with:
      	dvbc v2.0
      The other side with:
      	94V-0, MO2, RK-4221 with huge digits: 1107
      
      With those patches, the board is properly detected:
      
          em28xx 1-1.5:1.0: New device TERRATEC TERRATCE H5 MKII @ 480 Mbps (0ccd:10b2, interface 0, class 0)
          em28xx 1-1.5:1.0: Audio interface 0 found (Vendor Class)
          em28xx 1-1.5:1.0: Video interface 0 found: isoc
          em28xx 1-1.5:1.0: DVB interface 0 found: isoc
          em28xx 1-1.5:1.0: chip ID is em2884
          em28xx eeprom 00000000: 26 00 00 00 02 0b 0f e5 f5 64 01 60 09 e5 f5 64  &........d.`...d
          em28xx eeprom 00000010: 09 60 03 c2 c6 22 e5 f7 b4 03 13 e5 f6 b4 87 03  .`..."..........
          em28xx eeprom 00000020: 02 0a b9 e5 f6 b4 93 03 02 09 46 c2 c6 22 c2 c6  ..........F.."..
          em28xx eeprom 00000030: 22 00 60 00 ef 70 08 85 3d 82 85 3c 83 93 ff ef  ".`..p..=..<....
          em28xx eeprom 00000040: 60 19 85 3d 82 85 3c 83 e4 93 12 07 a3 12 0a fe  `..=..<.........
          em28xx eeprom 00000050: 05 3d e5 3d 70 02 05 3c 1f 80 e4 22 12 0b 06 02  .=.=p..<..."....
          em28xx eeprom 00000060: 07 e2 01 00 1a eb 67 95 cd 0c b2 10 f0 13 6b 03  ......g.......k.
          em28xx eeprom 00000070: 98 22 6a 1c 86 12 27 57 4e 16 29 00 60 00 00 00  ."j...'WN.).`...
          em28xx eeprom 00000080: 02 00 00 00 5e 00 13 00 f0 10 44 82 82 00 00 00  ....^.....D.....
          em28xx eeprom 00000090: 5b 81 c0 00 00 00 20 40 20 80 02 20 10 01 00 00  [..... @ .. ....
          em28xx eeprom 000000a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
          em28xx eeprom 000000b0: c6 40 00 00 81 00 00 00 00 00 00 00 00 c4 00 00  .@..............
          em28xx eeprom 000000c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 1c 03  ................
          em28xx eeprom 000000d0: 31 00 32 00 33 00 34 00 35 00 36 00 37 00 38 00  1.2.3.4.5.6.7.8.
          em28xx eeprom 000000e0: 39 00 41 00 42 00 43 00 44 00 12 03 54 00 45 00  9.A.B.C.D...T.E.
          em28xx eeprom 000000f0: 52 00 52 00 41 00 54 00 45 00 43 00 22 03 54 00  R.R.A.T.E.C.".T.
          em28xx 1-1.5:1.0: eeprom 000100: ... (skipped)
          em28xx 1-1.5:1.0: EEPROM ID = 26 00 00 00, EEPROM hash = 0xbcd5a8cf
          em28xx 1-1.5:1.0: EEPROM info:
          em28xx 1-1.5:1.0:	microcode start address = 0x0004, boot configuration = 0x00
          em28xx 1-1.5:1.0:	I2S audio, 5 sample rates
          em28xx 1-1.5:1.0:	500mA max power
          em28xx 1-1.5:1.0:	Table at offset 0x27, strings=0x2298, 0x1c6a, 0x1286
          em28xx 1-1.5:1.0: Identified as Terratec Cinergy H6 rev. 2 (card=101)
          em28xx 1-1.5:1.0: Currently, V4L2 is not supported on this model
          em28xx 1-1.5:1.0: dvb set to isoc mode.
          usbcore: registered new interface driver em28xx
          em28xx 1-1.5:1.0: Binding audio extension
          em28xx 1-1.5:1.0: em28xx-audio.c: Copyright (C) 2006 Markus Rechberger
          em28xx 1-1.5:1.0: em28xx-audio.c: Copyright (C) 2007-2016 Mauro Carvalho Chehab
          em28xx 1-1.5:1.0: Endpoint 0x83 high-speed on intf 0 alt 7 interval = 8, size 196
          em28xx 1-1.5:1.0: Number of URBs: 1, with 64 packets and 192 size
          em28xx 1-1.5:1.0: Audio extension successfully initialized
          em28xx: Registered (Em28xx Audio Extension) extension
          em28xx 1-1.5:1.0: Binding DVB extension
          drxk: status = 0x639260d9
          drxk: detected a drx-3926k, spin A3, xtal 20.250 MHz
          drxk: DRXK driver version 0.9.4300
          drxk: frontend initialized.
          tda18271 4-0060: creating new instance
          tda18271: TDA18271HD/C2 detected @ 4-0060
          dvbdev: DVB: registering new adapter (1-1.5:1.0)
          em28xx 1-1.5:1.0: DVB: registering adapter 0 frontend 0 (DRXK DVB-C DVB-T)...
          dvbdev: dvb_create_media_entity: media entity 'DRXK DVB-C DVB-T' registered.
          dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
          em28xx 1-1.5:1.0: DVB extension successfully initialized
          em28xx: Registered (Em28xx dvb Extension) extension
          em28xx 1-1.5:1.0: Registering input extension
          rc rc0: 1-1.5:1.0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/rc/rc0
          Registered IR keymap rc-nec-terratec-cinergy-xs
          input: 1-1.5:1.0 IR as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.5/1-1.5:1.0/rc/rc0/input0
          em28xx 1-1.5:1.0: Input extension successfully initalized
          em28xx: Registered (Em28xx Input Extension) extension
          tda18271: performing RF tracking filter calibration
          tda18271: RF tracking filter calibration complete
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
      d6a64327
  4. 17 Apr, 2017 1 commit
  5. 03 Feb, 2017 1 commit
  6. 12 Dec, 2016 2 commits
  7. 18 Nov, 2016 1 commit
  8. 21 Oct, 2016 1 commit
  9. 09 May, 2016 1 commit
  10. 07 May, 2016 1 commit
    • Satoshi Nagahama's avatar
      [media] em28xx: add support for PLEX PX-BCUD (ISDB-S) · ab4d1452
      Satoshi Nagahama authored
      PX-BCUD has the following components:
         USB interface: Empia EM28178
         Demodulator: Toshiba TC90532 (works by code for TC90522)
         Tuner: Next version of Sharp QM1D1C0042
      
      em28xx_dvb_init(): add init code for PLEX PX-BCUD with calling
      px_bcud_init() that does things like pin configuration.
      
      qm1d1c0042_init(): support the next version of QM1D1C0042, change to
      choose an appropriate array of initial registers by reading chip id.
      
      [mchehab@osg.samsung.com: fold a fixup patch and fix checkpatch.pl
       errors/warnings, where applicable]
      Signed-off-by: default avatarSatoshi Nagahama <sattnag@aim.com>
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      ab4d1452
  11. 01 Feb, 2016 2 commits
  12. 17 Nov, 2015 1 commit
    • Mauro Carvalho Chehab's avatar
      [media] include/media: split I2C headers from V4L2 core · b5dcee22
      Mauro Carvalho Chehab authored
      Currently, include/media is messy, as it contains both the V4L2 core
      headers and some driver-specific headers on the same place. That makes
      harder to identify what core headers should be documented and what
      headers belong to I2C drivers that are included only by bridge/main
      drivers that would require the functions provided by them.
      
      Let's move those i2c specific files to its own subdirectory.
      
      The files to move were produced via the following script:
      	mkdir include/media/i2c
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	(cd include/media; for i in *.h; do n=`echo $i|sed s/.h$/.c/`; if [ -e ../../drivers/media/*/i2c/$n ]; then echo $i; git mv $i i2c/; fi; done)
      	for i in include/media/*.h; do n=`basename $i`;  (for j in $(git grep -l $n); do dirname $j; done)|sort|uniq|grep -ve '^.$' > list; num=$(wc -l list|cut -d' ' -f1); if [ $num == 1 ]; then if [ "`grep i2c list`" != "" ]; then git mv $i include/media/i2c; fi; fi; done
      
      And the references corrected via this script:
          MAIN_DIR="media/"
          PREV_DIR="media/"
          DIRS="i2c/"
      
          echo "Checking affected files" >&2
          for i in $DIRS; do
      	for j in $(find include/$MAIN_DIR/$i -type f -name '*.h'); do
      		 n=`basename $j`
      		git grep -l $n
      	done
          done|sort|uniq >files && (
      	echo "Handling files..." >&2;
      	echo "for i in \$(cat files|grep -v Documentation); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "perl -ne 's,(include [\\\"\\<])$PREV_DIR($i)([\\\"\\>]),\1$MAIN_DIR$j\2\3,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done";
      	);
      	echo "Handling documentation..." >&2;
      	echo "for i in MAINTAINERS \$(cat files); do cat \$i | \\";
      	(
      		cd include/$MAIN_DIR;
      		for j in $DIRS; do
      			for i in $(ls $j); do
      				echo "  perl -ne 's,include/$PREV_DIR($i)\b,include/$MAIN_DIR$j\1,; print \$_' |\\";
      			done;
      		done;
      		echo "cat > a && mv a \$i; done"
      	);
          ) >script && . ./script
      
      Merged Sakari Ailus patch that moves smiapp.h to include/media/i2c.
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
      Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
      b5dcee22
  13. 01 Oct, 2015 1 commit
  14. 08 Apr, 2015 1 commit
  15. 03 Mar, 2015 1 commit
  16. 04 Dec, 2014 1 commit
  17. 25 Nov, 2014 1 commit
  18. 03 Nov, 2014 1 commit
  19. 23 Sep, 2014 3 commits
  20. 22 Sep, 2014 1 commit
  21. 26 Jul, 2014 2 commits
  22. 23 May, 2014 6 commits