Hi All,
We are writing a V4L2 decoder driver for adv7842. the controller is DM368, using DVSDK 4.02
all the decoders like tvp7002, tvp5146 etc have only one slave chip address like (0x5C for TVP7002, 0x5D for TVP5146). but what if the decoder has multiple slave address like adv7842?
this decoder has 11 banks of registers, so each bank has a slave address, so parallel access has to be provided in driver. how to proceed? please don't get confused with internal register address offset. this is a situation where a single decoder driver has to access 11 different ICs.
/*************************************************/
static struct vpfe_subdev_info vpfe_sub_devs[] = {
{
.module_name = "tvp5146",
.grp_id = VPFE_SUBDEV_TVP5146,
.num_inputs = ARRAY_SIZE(tvp5146_inputs),
.inputs = tvp5146_inputs,
.routes = tvp5146_routes,
.can_route = 1,
.ccdc_if_params = {
.if_type = VPFE_BT656,
.hdpol = VPFE_PINPOL_POSITIVE,
.vdpol = VPFE_PINPOL_POSITIVE,
},
.board_info = {
I2C_BOARD_INFO("tvp5146", 0x5d), <<-- How can I send multiple addresses.?
.platform_data = &tvp5146_pdata,
},
},
{.....
/******************************************************/
Please suggest me a way?
Thanks in advance.
Sandy