mirror of https://gitee.com/openkylin/linux.git
V4L/DVB (12246): tvp514x: Migration to sub-device framework
This patch converts TVP514x driver to sub-device framework from V4L2-int framework. [hverkuil@xs4all.nl: remove inline from the dump_reg function] Signed-off-by: Brijesh Jadav <brijesh.j@ti.com> Signed-off-by: Hardik Shah <hardik.shah@ti.com> Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
6bcbc08faa
commit
62ef80a1f3
File diff suppressed because it is too large
Load Diff
|
@ -284,14 +284,4 @@ struct tvp514x_reg {
|
|||
u32 val;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct tvp514x_init_seq - Structure for TVP5146/47/46M2/47M1 power up
|
||||
* Sequence.
|
||||
* @ no_regs - Number of registers to write for power up sequence.
|
||||
* @ init_reg_seq - Array of registers and respective value to write.
|
||||
*/
|
||||
struct tvp514x_init_seq {
|
||||
unsigned int no_regs;
|
||||
const struct tvp514x_reg *init_reg_seq;
|
||||
};
|
||||
#endif /* ifndef _TVP514X_REGS_H */
|
||||
|
|
|
@ -104,10 +104,6 @@ enum tvp514x_output {
|
|||
* @ vs_polarity: VSYNC Polarity configuration for current interface.
|
||||
*/
|
||||
struct tvp514x_platform_data {
|
||||
char *master;
|
||||
int (*power_set) (enum v4l2_power on);
|
||||
int (*ifparm) (struct v4l2_ifparm *p);
|
||||
int (*priv_data_set) (void *);
|
||||
/* Interface control params */
|
||||
bool clk_polarity;
|
||||
bool hs_polarity;
|
||||
|
|
Loading…
Reference in New Issue