AnsweredAssumed Answered

Help with ad7747 capacitance -to digital converter

Question asked by OleHansen on Aug 8, 2012
Latest reply on Jan 17, 2013 by seanbrown

Hi all,


I am having an evaluation board from analog devices It is an 24-bit capatcitance -to digital converter with temperature sensor,. I am trying to setup the board in Linux (ubuntu).


In the Documentation the following lines should be defined in the board support file by adding an appropriate entry to i2c_board_info.


static struct i2c_board_info __initdata board_i2c_board_info[] = {

#if defined(CONFIG_AD7746) || defined(CONFIG_AD7746_MODULE)


                I2C_BOARD_INFO("ad7746", 0x48),




static int __init board_init(void)



        i2c_register_board_info(0, board_i2c_board_info,



        return 0;






Could anyone please tell me where (filename) the code should be placed.