Rajendra Nayak <[email protected]> writes:
> From: Paul Walmsley <[email protected]>
>
> Add hwmod structures for I2C controllers on OMAP2420/2430.
>
> Signed-off-by: Paul Walmsley <[email protected]>
> Signed-off-by: Rajendra Nayak <[email protected]>
> Cc: Kevin Hilman <[email protected]>
> ---
> arch/arm/mach-omap2/omap_hwmod_2420_data.c | 134 ++++++++++++++++++++++++++-
> arch/arm/mach-omap2/omap_hwmod_2430_data.c | 140
> +++++++++++++++++++++++++++-
> 2 files changed, 270 insertions(+), 4 deletions(-)
>
[...]
> +static struct omap_hwmod omap2420_i2c1_hwmod = {
> + .name = "i2c1",
> + .mpu_irqs = i2c1_mpu_irqs,
> + .mpu_irqs_cnt = ARRAY_SIZE(i2c1_mpu_irqs),
> + .sdma_chs = i2c1_sdma_chs,
> + .sdma_chs_cnt = ARRAY_SIZE(i2c1_sdma_chs),
> + .main_clk = "i2c1_fck",
> + .prcm = {
> + .omap2 = {
> + .prcm_reg_id = 1,
> + .module_bit = OMAP2420_EN_I2C1_SHIFT,
> + },
> + },
This needs to be validated on OMAP2.
I think the enable will fail without the .idlest* fields filled out.
Kevin
> +
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html