| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
|---|---|
| 2 | /* |
| 3 | * timb_video.h Platform struct for the Timberdale video driver |
| 4 | * Copyright (c) 2009-2010 Intel Corporation |
| 5 | */ |
| 6 | |
| 7 | #ifndef _TIMB_VIDEO_ |
| 8 | #define _TIMB_VIDEO_ 1 |
| 9 | |
| 10 | #include <linux/i2c.h> |
| 11 | |
| 12 | struct timb_video_platform_data { |
| 13 | int dma_channel; |
| 14 | int i2c_adapter; /* The I2C adapter where the encoder is attached */ |
| 15 | struct { |
| 16 | const char *module_name; |
| 17 | struct i2c_board_info *info; |
| 18 | } encoder; |
| 19 | }; |
| 20 | |
| 21 | #endif |
| 22 |
