Skip to content

cx25840: Add non-default crystal frequency support

Brad Love linux-media 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v1 Latest posting 2/24 patches 0 repliesNew
  2. v1 posting 1/24 patches 0 repliesSuperseded

Patches in v1 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cx25840: Use subdev host data for PLL overridedrivers/media/i2c/cx25840/cx25840-core.c+22 -60 replies
2/4cx23885: change 887/888 default to 888drivers/media/pci/cx23885/cx23885-core.c+3 -30 replies
3/4cx23885: Set subdev host data to clk_freq pointerdrivers/media/pci/cx23885/cx23885-cards.c+4 -00 replies
4/4cx23885: Override 888 ImpactVCBe crystal frequencydrivers/media/pci/cx23885/cx23885-core.c+10 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] [resend] cx25840: Add non-default crystal frequency support

Hauppauge produced a revision of ImpactVCBe using an 888, with a 25MHz crystal, instead of using the default third overtone 50Mhz crystal. Custom configuration of the cx25840 is required to load the firmware and properly decode video.

This patch set add an extra clocking option to the cx25840 driver. If a cx2388x board is produced using non-default crystal, then clk_freq can be set in the board profile and then used by the cx25840 to set up the PLL's. To pass frequency, the cx23885 driver sets the cx25840 v4l subdev host data to a pointer to clk_freq.

The only additional clock rate included is cx23888 with 25MHz crystal.

Brad Love (4):
cx25840: Use subdev host data for PLL override
cx23885: change 887/888 default to 888
cx23885: Set subdev host data to clk_freq pointer
cx23885: Override 888 ImpactVCBe crystal frequency

 drivers/media/i2c/cx25840/cx25840-core.c  | 28 ++++++++++++++++++++++------
 drivers/media/pci/cx23885/cx23885-cards.c |  4 ++++
 drivers/media/pci/cx23885/cx23885-core.c  | 16 +++++++++++++---
 3 files changed, 39 insertions(+), 9 deletions(-)
Signature · 1 line
2.7.4