Re: [i2c] Question about i2c new style modle

2008-10-12 Thread Wolfram Sang
Hello Wen, On Sun, Oct 12, 2008 at 02:35:49PM +0800, Wen Wang wrote: >Can anyone please help to tell me if I have to upgrade my I2C client >driver from legacy binding model to new style binding model in 2.6.27 >kernel or not? It is not required yet, but it is always a good idea to mo

Re: [i2c] Question about i2c new style modle

2008-10-12 Thread Wen Wang
Hi Wolfram, Thank you for your quick response, really appreciate. You're saying "You supply i2c_board_info in your board init code and when the i2c adapter is initialized", but I'm quite sure there won't be a such static i2c_board_info in the board init code. And I'm just wonder if there is a d

Re: [i2c] Question about i2c new style modle

2008-10-12 Thread Wolfram Sang
Hello Wen, On Sun, Oct 12, 2008 at 07:52:08PM +0800, Wen Wang wrote: >i2c adapter is initialized", but I'm quite sure there won't be a such >static i2c_board_info in the board init code. Well, you could add one :) >And I'm just wonder if there is a dynamic detect method to go? Ther