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.

EZSDK 5.02.02.60: support for I2C2 and I2C3 on DM8148?

Hello,

It looks like the current I2C driver currently only supports the ports I2C0 and I2C1. Looking at omap_hwmod_81xx_data.c only has structures for these two ports:

/* L4 SLOW -> I2C1 */
static struct omap_hwmod_addr_space ti816x_i2c1_addr_space[] = {
    {
        .pa_start    = 0x48028000,
        .pa_end        = 0x48028000 + SZ_4K - 1,
        .flags        = ADDR_MAP_ON_INIT | ADDR_TYPE_RT,
    },
};

...

/* L4 SLOW -> I2C2 */
static struct omap_hwmod_addr_space ti816x_i2c2_addr_space[] = {
    {
        .pa_start    = 0x4802A000,
        .pa_end        = 0x4802A000 + SZ_4K - 1,
        .flags        = ADDR_MAP_ON_INIT | ADDR_TYPE_RT,
    },
};

So I2C0 of the device is used as I2C1 in Linux, I2C1 of the device as I2C2. Will there be support for the two additional I2C ports of DM8148 (on DM8168 only 2 I2C are available) in the future? Whats needed beside omap_hwmod_81xx_data.c, clock setup and so on?

Thanks,
  Robert