David,

Agree. I had posted a query and the suggestion I got was to use the patch for 
i2c mux support to implement this cleanly. But I didn't hear any plan to add 
this patch to upstream. This patch is already merged to v4l-dvb. I will work on 
a separate patch to move this code to a daughter card specific code.

Murali Karicheri
Software Design Engineer
Texas Instruments Inc.
Germantown, MD 20874
new phone: 301-407-9583
Old Phone : 301-515-3736 (will be deprecated)
email: [email protected]

>-----Original Message-----
>From: David Brownell [mailto:[email protected]]
>Sent: Wednesday, August 19, 2009 5:04 PM
>To: [email protected]
>Cc: Karicheri, Muralidharan; [email protected]
>Subject: Re: [PATCH 3/5 - v3] DaVinci: platform changes to support vpfe
>camera capture
>
>On Monday 17 August 2009, [email protected] wrote:
>>  static struct i2c_board_info dm355evm_i2c_info[] = {
>>         {       I2C_BOARD_INFO("dm355evm_msp", 0x25),
>>                 .platform_data = dm355evm_mmcsd_gpios,
>>         },
>> +       {
>> +               I2C_BOARD_INFO("PCA9543A", 0x73),
>> +       },
>>         /* { plus irq  }, */
>>         /* { I2C_BOARD_INFO("tlv320aic3x", 0x1b), }, */
>>  };
>
>The DM355 EVM board has no PCA9543A I2C multiplexor
>chip, so this is not a good approach to use.  (*)
>
>If I understand correctly you are configuring some
>particular add-on board, which uses a chip like that.
>There are at least two such boards today, yes?  And
>potentially more.  Don't preclude (or complicate)
>use of different boards...
>
>The scalable approach is to have a file for each
>daughtercard, and Kconfig options to enable the
>support for those cards.  The EVM board init code
>might call a dm355evm_card_init() routine, and
>provide a weak binding for it which would be
>overridden by the
>
>- Dave
>
>(*) Separate issue:  there's ongoing work to get the
>    I2C stack to support such chips in generic ways;
>    you should plan to use that work, which ISTR wasn't
>    too far from being mergeable.
>

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to