Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967013Ab3E2Uik (ORCPT ); Wed, 29 May 2013 16:38:40 -0400 Received: from cm-84.215.157.11.getinternet.no ([84.215.157.11]:32910 "EHLO server.arpanet.local" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966865Ab3E2Uia (ORCPT ); Wed, 29 May 2013 16:38:30 -0400 From: =?UTF-8?q?Jon=20Arne=20J=C3=B8rgensen?= To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, mchehab@redhat.com, hans.verkuil@cisco.com, prabhakar.csengg@gmail.com, g.liakhovetski@gmx.de, ezequiel.garcia@free-electrons.com, timo.teras@iki.fi Subject: [RFC 0/3] saa7115: Implement i2c_board_info.platform_data Date: Wed, 29 May 2013 22:41:15 +0200 Message-Id: <1369860078-10334-1-git-send-email-jonarne@jonarne.no> X-Mailer: git-send-email 1.8.2.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1274 Lines: 30 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. The first patch in the series sets the saa7113 init table to the defaults according to the datasheet. Maybe it's better to add a new initialization table for the gm7113c chip to avoid breaking devices that depend on the settings as they are now? That would introduce some unneeded code duplication. Jon Arne Jørgensen (3): saa7115: Set saa7113 init to values from datasheet saa7115: [gm7113c] Remove unneeded register change saa7115: Implement i2c_board_info.platform data drivers/media/i2c/saa7115.c | 91 ++++++++++++++++++++++++------------ include/media/saa7115.h | 109 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 170 insertions(+), 30 deletions(-) -- 1.8.2.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/