提交 a9dbe5dc 编写于 作者: M Markus Rechberger 提交者: Mauro Carvalho Chehab

V4L/DVB (9362): zl10353: add new register configuration for zl10353/especially 6mhz taiwan.

Signed-off-by: NMarkus Rechberger <mrechberger@sundtek.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 5dd3f307
...@@ -220,15 +220,18 @@ static int zl10353_set_parameters(struct dvb_frontend *fe, ...@@ -220,15 +220,18 @@ static int zl10353_set_parameters(struct dvb_frontend *fe,
/* These are extrapolated from the 7 and 8MHz values */ /* These are extrapolated from the 7 and 8MHz values */
zl10353_single_write(fe, MCLK_RATIO, 0x97); zl10353_single_write(fe, MCLK_RATIO, 0x97);
zl10353_single_write(fe, 0x64, 0x34); zl10353_single_write(fe, 0x64, 0x34);
zl10353_single_write(fe, 0xcc, 0xdd);
break; break;
case BANDWIDTH_7_MHZ: case BANDWIDTH_7_MHZ:
zl10353_single_write(fe, MCLK_RATIO, 0x86); zl10353_single_write(fe, MCLK_RATIO, 0x86);
zl10353_single_write(fe, 0x64, 0x35); zl10353_single_write(fe, 0x64, 0x35);
zl10353_single_write(fe, 0xcc, 0x73);
break; break;
case BANDWIDTH_8_MHZ: case BANDWIDTH_8_MHZ:
default: default:
zl10353_single_write(fe, MCLK_RATIO, 0x75); zl10353_single_write(fe, MCLK_RATIO, 0x75);
zl10353_single_write(fe, 0x64, 0x36); zl10353_single_write(fe, 0x64, 0x36);
zl10353_single_write(fe, 0xcc, 0x73);
} }
zl10353_calc_nominal_rate(fe, op->bandwidth, &nominal_rate); zl10353_calc_nominal_rate(fe, op->bandwidth, &nominal_rate);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册