This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Enabling i2c based Touchscreen on custom based DM3730

Other Parts Discussed in Thread: DM3730

Hi all,

We are working on DM3730 based custom board on which we have connected an I2C based touch panel on I2C 1 .
Following are the changes we have done in Linux Kernel
File Name : arch/arm/mach-omap2/board-omap3evm.c
Change :
static struct i2c_board_info __initdata omap3evm_i2c_boardinfo[] = {
        {
                I2C_BOARD_INFO("twl4030", 0x48),
                .flags = I2C_CLIENT_WAKE,
                .irq = INT_34XX_SYS_NIRQ,
                .platform_data = &omap3evm_twldata,
        },
+        {
+               I2C_BOARD_INFO("ssd2351", 0x5C),
+                 .type = "ssd2351",
+       },

};

We are inserting the touchscreen driver as an module .
But we are not able to access any registers from the driver , neither probe function is showing any print messages.When we have tried i2cget utility to access the registers we got following error

i2cget -f 1 0x5c 0x23
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will read from device file /dev/i2c-1, chip address 0x5c, data address
0x23, using read byte data.
Continue? [Y/n] y
Error: Read failed

However at u-boot level touchscreen is getting detected using "i2c probe".

Can you tell us know the code changes, what i need to check.

Thanks,
lokesh