aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cx23885.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cx23885.h')
-rw-r--r--drivers/media/video/cx23885/cx23885.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885/cx23885.h
index 48d0c87ddbc2..b957242dcd5e 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -100,6 +100,17 @@ typedef enum {
100struct cx23885_board { 100struct cx23885_board {
101 char *name; 101 char *name;
102 port_t portb, portc; 102 port_t portb, portc;
103
104 /* Vendors can and do run the PCIe bridge at different
105 * clock rates, driven physically by crystals on the PCBs.
106 * The core has to accomodate this. This allows the user
107 * to add new boards with new frequencys. The value is
108 * expressed in Hz.
109 *
110 * The core framework will default this value based on
111 * current designs, but it can vary.
112 */
113 u32 clk_freq;
103 struct cx23885_input input[MAX_CX23885_INPUT]; 114 struct cx23885_input input[MAX_CX23885_INPUT];
104}; 115};
105 116
@@ -193,6 +204,10 @@ struct cx23885_dev {
193 int pci_irqmask; 204 int pci_irqmask;
194 int hwrevision; 205 int hwrevision;
195 206
207 /* This valud is board specific and is used to configure the
208 * AV core so we see nice clean and stable video and audio. */
209 u32 clk_freq;
210
196 /* I2C adapters: Master 1 & 2 (External) & Master 3 (Internal only) */ 211 /* I2C adapters: Master 1 & 2 (External) & Master 3 (Internal only) */
197 struct cx23885_i2c i2c_bus[3]; 212 struct cx23885_i2c i2c_bus[3];
198 213