diff options
author | Antti Palosaari <crope@iki.fi> | 2013-03-07 19:47:20 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-21 18:04:25 -0400 |
commit | dc4a2c40f87327c5859edc20a5b6b2afa6071d49 (patch) | |
tree | af3fdcaebf6a5cda530c3b0c4f3d850c402bf538 | |
parent | 85211323fa61d1eb9171e0cb6a9ca48490d03aaf (diff) |
[media] af9033: add IT9135 tuner config "62" init table
Dumped out from the Windows driver version 12.07.06.1
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/dvb-frontends/af9033.c | 3 | ||||
-rw-r--r-- | drivers/media/dvb-frontends/af9033_priv.h | 215 |
2 files changed, 217 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/af9033.c b/drivers/media/dvb-frontends/af9033.c index c3c3a6d38a25..847a9b6d3dcf 100644 --- a/drivers/media/dvb-frontends/af9033.c +++ b/drivers/media/dvb-frontends/af9033.c | |||
@@ -367,7 +367,8 @@ static int af9033_init(struct dvb_frontend *fe) | |||
367 | init = tuner_init_it9135_61; | 367 | init = tuner_init_it9135_61; |
368 | break; | 368 | break; |
369 | case AF9033_TUNER_IT9135_62: | 369 | case AF9033_TUNER_IT9135_62: |
370 | len = 0; | 370 | len = ARRAY_SIZE(tuner_init_it9135_62); |
371 | init = tuner_init_it9135_62; | ||
371 | break; | 372 | break; |
372 | default: | 373 | default: |
373 | dev_dbg(&state->i2c->dev, "%s: unsupported tuner ID=%d\n", | 374 | dev_dbg(&state->i2c->dev, "%s: unsupported tuner ID=%d\n", |
diff --git a/drivers/media/dvb-frontends/af9033_priv.h b/drivers/media/dvb-frontends/af9033_priv.h index 4a78b66b03dc..fc2ad581e302 100644 --- a/drivers/media/dvb-frontends/af9033_priv.h +++ b/drivers/media/dvb-frontends/af9033_priv.h | |||
@@ -1837,4 +1837,219 @@ static const struct reg_val tuner_init_it9135_61[] = { | |||
1837 | { 0x80fd8b, 0x00 }, | 1837 | { 0x80fd8b, 0x00 }, |
1838 | }; | 1838 | }; |
1839 | 1839 | ||
1840 | /* ITE Tech IT9135 Omega v2 LNA config 2 tuner init | ||
1841 | AF9033_TUNER_IT9135_62 = 0x62 */ | ||
1842 | static const struct reg_val tuner_init_it9135_62[] = { | ||
1843 | { 0x800043, 0x00 }, | ||
1844 | { 0x800046, 0x62 }, | ||
1845 | { 0x800051, 0x01 }, | ||
1846 | { 0x80005f, 0x00 }, | ||
1847 | { 0x800060, 0x00 }, | ||
1848 | { 0x800068, 0x0a }, | ||
1849 | { 0x80006a, 0x03 }, | ||
1850 | { 0x800070, 0x0a }, | ||
1851 | { 0x800071, 0x05 }, | ||
1852 | { 0x800072, 0x02 }, | ||
1853 | { 0x800075, 0x8c }, | ||
1854 | { 0x800076, 0x8c }, | ||
1855 | { 0x800077, 0x8c }, | ||
1856 | { 0x800078, 0x8c }, | ||
1857 | { 0x800079, 0x01 }, | ||
1858 | { 0x80007e, 0x04 }, | ||
1859 | { 0x800081, 0x0a }, | ||
1860 | { 0x800082, 0x12 }, | ||
1861 | { 0x800084, 0x0a }, | ||
1862 | { 0x800085, 0x33 }, | ||
1863 | { 0x800086, 0xb8 }, | ||
1864 | { 0x800087, 0x9c }, | ||
1865 | { 0x800088, 0xb2 }, | ||
1866 | { 0x800089, 0xa6 }, | ||
1867 | { 0x80008a, 0x01 }, | ||
1868 | { 0x80008e, 0x01 }, | ||
1869 | { 0x800092, 0x06 }, | ||
1870 | { 0x800093, 0x00 }, | ||
1871 | { 0x800094, 0x00 }, | ||
1872 | { 0x800095, 0x00 }, | ||
1873 | { 0x800096, 0x00 }, | ||
1874 | { 0x800099, 0x01 }, | ||
1875 | { 0x80009b, 0x3c }, | ||
1876 | { 0x80009c, 0x28 }, | ||
1877 | { 0x80009f, 0xe1 }, | ||
1878 | { 0x8000a0, 0xcf }, | ||
1879 | { 0x8000a3, 0x01 }, | ||
1880 | { 0x8000a4, 0x5a }, | ||
1881 | { 0x8000a5, 0x01 }, | ||
1882 | { 0x8000a6, 0x01 }, | ||
1883 | { 0x8000a9, 0x00 }, | ||
1884 | { 0x8000aa, 0x01 }, | ||
1885 | { 0x8000b0, 0x01 }, | ||
1886 | { 0x8000b3, 0x02 }, | ||
1887 | { 0x8000b4, 0x3a }, | ||
1888 | { 0x8000b6, 0x14 }, | ||
1889 | { 0x8000c0, 0x11 }, | ||
1890 | { 0x8000c1, 0x00 }, | ||
1891 | { 0x8000c2, 0x05 }, | ||
1892 | { 0x8000c3, 0x01 }, | ||
1893 | { 0x8000c4, 0x00 }, | ||
1894 | { 0x8000c6, 0x19 }, | ||
1895 | { 0x8000c7, 0x00 }, | ||
1896 | { 0x8000cb, 0x32 }, | ||
1897 | { 0x8000cc, 0x2c }, | ||
1898 | { 0x8000cd, 0x4f }, | ||
1899 | { 0x8000ce, 0x30 }, | ||
1900 | { 0x8000f3, 0x05 }, | ||
1901 | { 0x8000f4, 0x8c }, | ||
1902 | { 0x8000f5, 0x8c }, | ||
1903 | { 0x8000f8, 0x03 }, | ||
1904 | { 0x8000f9, 0x06 }, | ||
1905 | { 0x8000fa, 0x06 }, | ||
1906 | { 0x8000fc, 0x02 }, | ||
1907 | { 0x8000fd, 0x03 }, | ||
1908 | { 0x8000fe, 0x02 }, | ||
1909 | { 0x8000ff, 0x09 }, | ||
1910 | { 0x800100, 0x50 }, | ||
1911 | { 0x800101, 0x6e }, | ||
1912 | { 0x800102, 0x8c }, | ||
1913 | { 0x800103, 0x02 }, | ||
1914 | { 0x800104, 0x02 }, | ||
1915 | { 0x800105, 0xc2 }, | ||
1916 | { 0x800106, 0x00 }, | ||
1917 | { 0x800109, 0x02 }, | ||
1918 | { 0x800115, 0x0a }, | ||
1919 | { 0x800116, 0x03 }, | ||
1920 | { 0x80011a, 0xb8 }, | ||
1921 | { 0x800124, 0xa8 }, | ||
1922 | { 0x800127, 0x00 }, | ||
1923 | { 0x80012a, 0x53 }, | ||
1924 | { 0x80012b, 0x51 }, | ||
1925 | { 0x80012c, 0x4e }, | ||
1926 | { 0x80012d, 0x43 }, | ||
1927 | { 0x800137, 0x00 }, | ||
1928 | { 0x80013b, 0x05 }, | ||
1929 | { 0x80013f, 0x5b }, | ||
1930 | { 0x800141, 0x59 }, | ||
1931 | { 0x800142, 0xf9 }, | ||
1932 | { 0x800143, 0x59 }, | ||
1933 | { 0x800144, 0x00 }, | ||
1934 | { 0x800145, 0x8c }, | ||
1935 | { 0x800146, 0x8c }, | ||
1936 | { 0x800147, 0x8c }, | ||
1937 | { 0x800148, 0x7b }, | ||
1938 | { 0x800149, 0x8c }, | ||
1939 | { 0x80014a, 0x50 }, | ||
1940 | { 0x80014b, 0x70 }, | ||
1941 | { 0x80014d, 0x96 }, | ||
1942 | { 0x80014e, 0xd0 }, | ||
1943 | { 0x80014f, 0x03 }, | ||
1944 | { 0x800151, 0x28 }, | ||
1945 | { 0x800153, 0xb2 }, | ||
1946 | { 0x800178, 0x09 }, | ||
1947 | { 0x800181, 0x9c }, | ||
1948 | { 0x800182, 0x6e }, | ||
1949 | { 0x800185, 0x24 }, | ||
1950 | { 0x800189, 0xb8 }, | ||
1951 | { 0x80018c, 0x03 }, | ||
1952 | { 0x80018d, 0x5f }, | ||
1953 | { 0x80018f, 0xfb }, | ||
1954 | { 0x800190, 0x5a }, | ||
1955 | { 0x80ed02, 0xff }, | ||
1956 | { 0x80ee42, 0xff }, | ||
1957 | { 0x80ee82, 0xff }, | ||
1958 | { 0x80f000, 0x0f }, | ||
1959 | { 0x80f01f, 0x8c }, | ||
1960 | { 0x80f020, 0x00 }, | ||
1961 | { 0x80f029, 0x8c }, | ||
1962 | { 0x80f02a, 0x00 }, | ||
1963 | { 0x80f02b, 0x00 }, | ||
1964 | { 0x80f064, 0x03 }, | ||
1965 | { 0x80f065, 0xf9 }, | ||
1966 | { 0x80f066, 0x03 }, | ||
1967 | { 0x80f067, 0x01 }, | ||
1968 | { 0x80f06f, 0xe0 }, | ||
1969 | { 0x80f070, 0x03 }, | ||
1970 | { 0x80f072, 0x0f }, | ||
1971 | { 0x80f073, 0x03 }, | ||
1972 | { 0x80f077, 0x01 }, | ||
1973 | { 0x80f078, 0x00 }, | ||
1974 | { 0x80f087, 0x00 }, | ||
1975 | { 0x80f09b, 0x3f }, | ||
1976 | { 0x80f09c, 0x00 }, | ||
1977 | { 0x80f09d, 0x20 }, | ||
1978 | { 0x80f09e, 0x00 }, | ||
1979 | { 0x80f09f, 0x0c }, | ||
1980 | { 0x80f0a0, 0x00 }, | ||
1981 | { 0x80f130, 0x04 }, | ||
1982 | { 0x80f132, 0x04 }, | ||
1983 | { 0x80f144, 0x1a }, | ||
1984 | { 0x80f146, 0x00 }, | ||
1985 | { 0x80f14a, 0x01 }, | ||
1986 | { 0x80f14c, 0x00 }, | ||
1987 | { 0x80f14d, 0x00 }, | ||
1988 | { 0x80f14f, 0x04 }, | ||
1989 | { 0x80f158, 0x7f }, | ||
1990 | { 0x80f15a, 0x00 }, | ||
1991 | { 0x80f15b, 0x08 }, | ||
1992 | { 0x80f15d, 0x03 }, | ||
1993 | { 0x80f15e, 0x05 }, | ||
1994 | { 0x80f163, 0x05 }, | ||
1995 | { 0x80f166, 0x01 }, | ||
1996 | { 0x80f167, 0x40 }, | ||
1997 | { 0x80f168, 0x0f }, | ||
1998 | { 0x80f17a, 0x00 }, | ||
1999 | { 0x80f17b, 0x00 }, | ||
2000 | { 0x80f183, 0x01 }, | ||
2001 | { 0x80f19d, 0x40 }, | ||
2002 | { 0x80f1bc, 0x36 }, | ||
2003 | { 0x80f1bd, 0x00 }, | ||
2004 | { 0x80f1cb, 0xa0 }, | ||
2005 | { 0x80f1cc, 0x01 }, | ||
2006 | { 0x80f204, 0x10 }, | ||
2007 | { 0x80f214, 0x00 }, | ||
2008 | { 0x80f24c, 0x88 }, | ||
2009 | { 0x80f24d, 0x95 }, | ||
2010 | { 0x80f24e, 0x9a }, | ||
2011 | { 0x80f24f, 0x90 }, | ||
2012 | { 0x80f25a, 0x07 }, | ||
2013 | { 0x80f25b, 0xe8 }, | ||
2014 | { 0x80f25c, 0x03 }, | ||
2015 | { 0x80f25d, 0xb0 }, | ||
2016 | { 0x80f25e, 0x04 }, | ||
2017 | { 0x80f270, 0x01 }, | ||
2018 | { 0x80f271, 0x02 }, | ||
2019 | { 0x80f272, 0x01 }, | ||
2020 | { 0x80f273, 0x02 }, | ||
2021 | { 0x80f40e, 0x0a }, | ||
2022 | { 0x80f40f, 0x40 }, | ||
2023 | { 0x80f410, 0x08 }, | ||
2024 | { 0x80f55f, 0x0a }, | ||
2025 | { 0x80f561, 0x15 }, | ||
2026 | { 0x80f562, 0x20 }, | ||
2027 | { 0x80f5e3, 0x09 }, | ||
2028 | { 0x80f5e4, 0x01 }, | ||
2029 | { 0x80f5e5, 0x01 }, | ||
2030 | { 0x80f600, 0x05 }, | ||
2031 | { 0x80f601, 0x08 }, | ||
2032 | { 0x80f602, 0x0b }, | ||
2033 | { 0x80f603, 0x0e }, | ||
2034 | { 0x80f604, 0x11 }, | ||
2035 | { 0x80f605, 0x14 }, | ||
2036 | { 0x80f606, 0x17 }, | ||
2037 | { 0x80f607, 0x1f }, | ||
2038 | { 0x80f60e, 0x00 }, | ||
2039 | { 0x80f60f, 0x04 }, | ||
2040 | { 0x80f610, 0x32 }, | ||
2041 | { 0x80f611, 0x10 }, | ||
2042 | { 0x80f707, 0xfc }, | ||
2043 | { 0x80f708, 0x00 }, | ||
2044 | { 0x80f709, 0x37 }, | ||
2045 | { 0x80f70a, 0x00 }, | ||
2046 | { 0x80f78b, 0x01 }, | ||
2047 | { 0x80f80f, 0x40 }, | ||
2048 | { 0x80f810, 0x54 }, | ||
2049 | { 0x80f811, 0x5a }, | ||
2050 | { 0x80f905, 0x01 }, | ||
2051 | { 0x80fb06, 0x03 }, | ||
2052 | { 0x80fd8b, 0x00 }, | ||
2053 | }; | ||
2054 | |||
1840 | #endif /* AF9033_PRIV_H */ | 2055 | #endif /* AF9033_PRIV_H */ |