V4L/DVB: af9013: add support for MaxLinear MxL5007T tuner
authorAntti Palosaari <crope@iki.fi>
Thu, 9 Sep 2010 17:53:59 +0000 (14:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:05:51 +0000 (01:05 -0200)
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/af9013.c
drivers/media/dvb/frontends/af9013.h
drivers/media/dvb/frontends/af9013_priv.h

index a780c32ebce4ca674eefc5a2a034c2ce42f89d53..59fe5450a53e953729a070e0e57917d5bad15392 100644 (file)
@@ -1381,6 +1381,7 @@ static int af9013_init(struct dvb_frontend *fe)
                break;
        case AF9013_TUNER_MXL5005D:
        case AF9013_TUNER_MXL5005R:
+       case AF9013_TUNER_MXL5007T:
                len = ARRAY_SIZE(tuner_init_mxl5005);
                init = tuner_init_mxl5005;
                break;
index 72c71bb5d117a9a254e52c004b6220f8c90b03dd..e53d873f75557e273735179be49e968ad2fc44c9 100644 (file)
@@ -44,6 +44,7 @@ enum af9013_tuner {
        AF9013_TUNER_MT2060_2   = 147, /* Microtune */
        AF9013_TUNER_TDA18271   = 156, /* NXP */
        AF9013_TUNER_QT1010A    = 162, /* Quantek */
+       AF9013_TUNER_MXL5007T   = 177, /* MaxLinear */
        AF9013_TUNER_TDA18218   = 179, /* NXP */
 };
 
index 0dcca60f0668f86cfff80b31f6fc31005b9fd031..54ebf87551a27e5970739bbbcc7931429baade2f 100644 (file)
@@ -480,9 +480,10 @@ static struct regdesc tuner_init_mxl5003d[] = {
        { 0x9bd9, 0, 8, 0x08 },
 };
 
-/* MaxLinear MXL5005 tuner init
+/* MaxLinear MXL5005S & MXL5007T tuner init
    AF9013_TUNER_MXL5005D   =  13
-   AF9013_TUNER_MXL5005R   =  30 */
+   AF9013_TUNER_MXL5005R   =  30
+   AF9013_TUNER_MXL5007T   = 177 */
 static struct regdesc tuner_init_mxl5005[] = {
        { 0x9bd5, 0, 8, 0x01 },
        { 0x9bd6, 0, 8, 0x07 },