Commit 62ef80a1 authored by Muralidharan Karicheri's avatar Muralidharan Karicheri Committed by Mauro Carvalho Chehab

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: default avatarBrijesh Jadav <brijesh.j@ti.com>
Signed-off-by: default avatarHardik Shah <hardik.shah@ti.com>
Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarMurali Karicheri <m-karicheri2@ti.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 6bcbc08f
This diff is collapsed.
...@@ -284,14 +284,4 @@ struct tvp514x_reg { ...@@ -284,14 +284,4 @@ struct tvp514x_reg {
u32 val; 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 */ #endif /* ifndef _TVP514X_REGS_H */
...@@ -104,10 +104,6 @@ enum tvp514x_output { ...@@ -104,10 +104,6 @@ enum tvp514x_output {
* @ vs_polarity: VSYNC Polarity configuration for current interface. * @ vs_polarity: VSYNC Polarity configuration for current interface.
*/ */
struct tvp514x_platform_data { 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 */ /* Interface control params */
bool clk_polarity; bool clk_polarity;
bool hs_polarity; bool hs_polarity;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment