Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+349 −526

File changed.

Preview size limit exceeded, changes collapsed.

+0 −10
Original line number Diff line number Diff line
@@ -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 */
+0 −4
Original line number Diff line number Diff line
@@ -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;