Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 149015

Forum Post: RE: kernel: change LCD control from i2c 0 to i2c 2

$
0
0

Hello Jelliott, I found in the file board-am335xevm.c the structs:

static struct i2c_board_info am335x_i2c1_boardinfo[] 

static struct i2c_board_info am335x_i2c2_boardinfo[] 

The functions 

static void i2c1_init(int evm_id, int profile)

static void i2c2_init(int evm_id, int profile)

and the place where they are called.. in my case:

static struct evm_dev_cfg ind_auto_mtrl_evm_dev_cfg[]

I changed 

 {
        I2C_BOARD_INFO("tlc59108", 0x70), //0x40
 },

from am335x_i2c1_boardinfo to am335x_i2c2_boardinfo

I'm still working on. Maybe we have an hardware problem.


Viewing all articles
Browse latest Browse all 149015

Trending Articles