[RFC v2 0/2] saa7115: Implement i2c_board_info.platform_data

From: Jon Arne JÃrgensen
Date: Fri May 31 2013 - 07:37:45 EST


This patch set adds handling of the i2c_board_info struct to the saa7115 driver.
The main goal of this patch is to give the different devices with the gm7113c
chip an opportunity to configure the chip to their needs.

I've only implemented the overrides I know are necessary to get the stk1160
and the smi2021 drivers to work.

This is the second version of this patch series.
The first version of the RFC can be found here:
https://lkml.org/lkml/2013/5/29/558

In this version I've added a new init table for saa7113 chips.
This new table is only used by drivers that set the i2c_board_info.platform data.
I've also tried to give the different overrides some less obscure names.

Jon Arne JÃrgensen (2):
saa7115: Implement i2c_board_info.platform_data
saa7115: Remove gm7113c video_std register change

drivers/media/i2c/saa7115.c | 127 ++++++++++++++++++++++++++++++---------
drivers/media/i2c/saa711x_regs.h | 8 +++
include/media/saa7115.h | 39 ++++++++++++
3 files changed, 145 insertions(+), 29 deletions(-)

--
1.8.2.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/