Charulatha V <[email protected]> writes:
> Add hwmod structures for GPIO module on OMAP3
>
> Signed-off-by: Charulatha V <[email protected]>
> Signed-off-by: Rajendra Nayak <[email protected]>
[...]
> +/* GPIO1 */
> +
> +static struct omap_hwmod_irq_info gpio1_mpu_irqs[] = {
> + { .name = "gpio_mpu_irq", .irq = INT_34XX_GPIO_BANK1 },
> +};
> +
> +static struct omap_hwmod_opt_clk gpio1_opt_clks[] = {
> + { .role = "gpio1_dbclk", .clk = "gpio1_dbck", },
> +};
> +
> +static struct omap_hwmod_ocp_if *omap3xxx_gpio1_slaves[] = {
> + &omap3xxx_l4_wkup__gpio1,
> +};
> +
> +static struct omap_hwmod omap3xxx_gpio1_hwmod = {
> + .name = "gpio1_hwmod",
> + .mpu_irqs = gpio1_mpu_irqs,
> + .mpu_irqs_cnt = ARRAY_SIZE(gpio1_mpu_irqs),
> + .main_clk = NULL,
> + .opt_clks = gpio1_opt_clks,
> + .opt_clks_cnt = ARRAY_SIZE(gpio1_opt_clks),
> + .prcm = {
> + .omap2 = {
With the _wait_for_ready() cleanups/fixes introduced by Benoit (and
now in 2.6.35) you need to populate the .module_offs field here too.
I guess it will be WKUP_MOD for this one and OMAP3430_PER_MOD for the
rest.
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