mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 15:13:55 +08:00
88da0183eb
The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds V4L2_IDENT_THS7353 for the THS7353 chip and appropriate changes to Kconfig file for building. Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Martin Bugge <marbugge@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
/*
|
|
* Copyright (C) 2013 Texas Instruments Inc
|
|
*
|
|
* Copyright 2013 Cisco Systems, Inc. and/or its affiliates.
|
|
*
|
|
* Contributors:
|
|
* Hans Verkuil <hans.verkuil@cisco.com>
|
|
* Lad, Prabhakar <prabhakar.lad@ti.com>
|
|
* Martin Bugge <marbugge@cisco.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation version 2.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
|
|
#ifndef THS7353_H
|
|
#define THS7353_H
|
|
|
|
/**
|
|
* struct ths7303_platform_data - Platform dependent data
|
|
* @ch_1: Bias value for channel one.
|
|
* @ch_2: Bias value for channel two.
|
|
* @ch_3: Bias value for channel three.
|
|
* @init_enable: initalize on init.
|
|
*/
|
|
struct ths7303_platform_data {
|
|
u8 ch_1;
|
|
u8 ch_2;
|
|
u8 ch_3;
|
|
u8 init_enable;
|
|
};
|
|
|
|
#endif
|