CX23885 Support

Since 2006, a new family of PCI-Express bridge chips has been available in the form of the CX23885 family. From a programming standpoint, the core DMA logic and at least the MPEG transport stream control logic for these cards is very similar to the CX23880/1/2/3. There are some notable differences with the CX23885, however:

The CX23885 family actually has two distinct sub-families with different PCI hardware IDs: the CX23885 and the CX23887/8. The main differences are that the CX23887/8 has more onboard SRAM and enables more DMA channels.

As of version 1.2.0, CX23885/7/8 support has been added to the cx88 kernel drivers. Datasheets for the CX23885 family are not publicly available, but this support was made possible by the hard work of Konstantin Dimitrov. He did a great deal of clean-room research into the register-level programming interfaces for the CX23885/7/8, and was ultimately able to determine their SRAM layout and much of the required I2C and MPEG transport stream control logic. We were able to fill in all the remaining gaps based on our existing knowledge of the CX23880 family and correlation of observed behavior with the Linux CX23885 driver source code.

The net result of this effort is a very clean driver enhancement--All of the fundamental DMA and I2C logic is integrated into the common code base with leverage of existing cx88 infrastructure and relatively little added code. Common MPEG routines have been moved to cx88mpegcore.ko, which also exposes the /dev/cx88mpeg* device nodes, so the nodes are ioctl(2)-compatible. cx88mpeg.ko is now a thin CX23880-specific wrapper around cx88mpegcore, while cx23885.ko is a thin CX23885-family wrapper for all device interfaces that may be used with CX23885/7/8 devices (currently only cx88mpegcore).

This support is currently MPEG-only. We will consider adding support for other streams (analog, MPEG encoders, etc.) as need arises.

Overview/CX23885 (last edited 2009-06-23 15:21:12 by client-79-61)