diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2009-12-27 16:58:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:52:33 -0400 |
commit | 62956cedb5e6932c021d52b80bfbcf8add014be4 (patch) | |
tree | e0eee9ef5ef2d90e335504f883866da7bc75dc42 /drivers/media/dvb/dvb-usb/dib0700_devices.c | |
parent | b6cdb5bea31c86645782950d84745bb2f95ec9ca (diff) |
[media] dib0700: remove notes from bringup of PCTV 340e
Remove some inline comments I had written from when I was computing the proper
dib7000p configuration to work with the xc4000.
Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Cc: Patrick Boettcher <pboettcher@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dib0700_devices.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/dib0700_devices.c | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/drivers/media/dvb/dvb-usb/dib0700_devices.c b/drivers/media/dvb/dvb-usb/dib0700_devices.c index cc962892fd1e..a5212a5c2b48 100644 --- a/drivers/media/dvb/dvb-usb/dib0700_devices.c +++ b/drivers/media/dvb/dvb-usb/dib0700_devices.c | |||
@@ -2674,37 +2674,6 @@ static int dib0700_xc4000_tuner_callback(void *priv, int component, | |||
2674 | return 0; | 2674 | return 0; |
2675 | } | 2675 | } |
2676 | 2676 | ||
2677 | /* validation: | ||
2678 | band | ||
2679 | setup 0x4b=0x64 | ||
2680 | inv_gain 0x4c=0x02c8 | ||
2681 | time_stabaliz 0x4d=0x0015 | ||
2682 | alpha_level 0 (0x64=0x0076) | ||
2683 | thlock 0x76 (0x64=0x0076) | ||
2684 | wbd_inv 0x01 (0x69=0x1b33) | ||
2685 | wbd_ref 0x0b33 (0x69=1b33) | ||
2686 | wbd_sel 0x00 (0x6a=0400) | ||
2687 | wbd_alpha 0x02 (0x6a=0x400) | ||
2688 | agc1_max 0x00 (0x6b=0x0000) | ||
2689 | agc1_min 0x00 (0x6c=0x0000) | ||
2690 | agc2_max 0x9b26 (0x6d=0x9b26) | ||
2691 | agc2_min 0x26ca (0x6e=0x26ca) | ||
2692 | agc1_pt1 0x00 (0x6f=0x0000) | ||
2693 | agc1_pt2 0x00 (0x6f=0x0000) | ||
2694 | agc1_pt3 0x00 (0x70=0x0000) | ||
2695 | agc1_slope1 0x00 (0x71=0x0000) | ||
2696 | agc1_slope2 0x00 (0x71=0x0000) | ||
2697 | agc2_pt1 0x00 (0x72=0x0080) | ||
2698 | agc2_pt2 0x80 (0x72=0x0080) | ||
2699 | agc2_slope1 0x1d (0x73=0x1d1d) | ||
2700 | agc2_slope2 0x1d (0x73=0x1d1d) | ||
2701 | alpha_mant 0x11 (0x65=023b) | ||
2702 | alpha_exp 0x1b (0x65=023b) | ||
2703 | beta_mant 0x17 (0x66=05f3) | ||
2704 | beta_exp 0x33 (0x66=05f3) | ||
2705 | perform_agc_softsplit 0x00 (0x6a=0x400) | ||
2706 | |||
2707 | */ | ||
2708 | static struct dibx000_agc_config stk7700p_7000p_xc4000_agc_config = { | 2677 | static struct dibx000_agc_config stk7700p_7000p_xc4000_agc_config = { |
2709 | .band_caps = BAND_UHF | BAND_VHF, | 2678 | .band_caps = BAND_UHF | BAND_VHF, |
2710 | .setup = 0x64, | 2679 | .setup = 0x64, |
@@ -2736,36 +2705,6 @@ static struct dibx000_agc_config stk7700p_7000p_xc4000_agc_config = { | |||
2736 | .perform_agc_softsplit = 0x00, | 2705 | .perform_agc_softsplit = 0x00, |
2737 | }; | 2706 | }; |
2738 | 2707 | ||
2739 | /* validation: | ||
2740 | reg 900 (0x0384) = 0x0e60 | ||
2741 | reg 903 (0x0387) = 0x0027 | ||
2742 | reg 18 (0x0012) = 0x0321 (0393) | ||
2743 | reg 19 (0x0013) = 0x1620 (8700) | ||
2744 | reg 21 (0x0015) = 0x0265 (0258) | ||
2745 | reg 22 (0x0016) = 0x6cbd (bf26) | ||
2746 | reg 23 (0x0017) = 0x0138 | ||
2747 | reg 24 (0x0018) = 0x1381 | ||
2748 | reg 72 (0x0048) = 0xd257 | ||
2749 | internal = 52500 | ||
2750 | sampling = never seems to be used? | ||
2751 | pll_prediv = 1 | ||
2752 | pll_ratio = 7 | ||
2753 | pll_range = 3 | ||
2754 | pll_reset = 1 | ||
2755 | pll_bypass = 0 | ||
2756 | enable_refdiv = 0 | ||
2757 | bypclk_div = 0 | ||
2758 | IO_CLK_en_core = 1 | ||
2759 | ADClkSrc = 1 | ||
2760 | modulo = 0 | ||
2761 | sad_cfg: = 0xd257 | ||
2762 | refsel = (3 << 14) | ||
2763 | sel = (1 << 12) | ||
2764 | freq_15k = (599 << 0) | ||
2765 | ifreq = 40201405 | ||
2766 | timf = ? (need lock to compute) | ||
2767 | xtal_hz = ? (val dependent on exact tuning freq) | ||
2768 | */ | ||
2769 | static struct dibx000_bandwidth_config stk7700p_xc4000_pll_config = { | 2708 | static struct dibx000_bandwidth_config stk7700p_xc4000_pll_config = { |
2770 | 60000, 30000, // internal, sampling | 2709 | 60000, 30000, // internal, sampling |
2771 | 1, 8, 3, 1, 0, // pll_cfg: prediv, ratio, range, reset, bypass | 2710 | 1, 8, 3, 1, 0, // pll_cfg: prediv, ratio, range, reset, bypass |
@@ -2778,7 +2717,7 @@ static struct dibx000_bandwidth_config stk7700p_xc4000_pll_config = { | |||
2778 | 2717 | ||
2779 | /* FIXME: none of these inputs are validated yet */ | 2718 | /* FIXME: none of these inputs are validated yet */ |
2780 | static struct dib7000p_config pctv_340e_config = { | 2719 | static struct dib7000p_config pctv_340e_config = { |
2781 | .output_mpeg2_in_188_bytes = 1, // validated L3317: 0x00eb=0x0066 | 2720 | .output_mpeg2_in_188_bytes = 1, |
2782 | 2721 | ||
2783 | .agc_config_count = 1, | 2722 | .agc_config_count = 1, |
2784 | .agc = &stk7700p_7000p_xc4000_agc_config, | 2723 | .agc = &stk7700p_7000p_xc4000_agc_config, |