RE: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-09-02 Thread DebBarma, Tarun Kanti
: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration DebBarma, Tarun Kanti tarun.ka...@ti.com writes: [...] +static void omap2_dm_timer_enable(struct platform_device *pdev) +{ + if (!pdev) { + dev_err(pdev-dev, %s: invalid pdev\n, __func__); + return

RE: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-09-01 Thread DebBarma, Tarun Kanti
/13] dmtimer: hwmod: OMAP2PLUS: device registration Tarun Kanti DebBarma tarun.ka...@ti.com writes: +/** +* omap2_dm_timer_early_init - top level early timer initialization +* called in the last part of omap2_init_common_hw +* +* uses dedicated hwmod api to parse through hwmod database

RE: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-09-01 Thread DebBarma, Tarun Kanti
/13] dmtimer: hwmod: OMAP2PLUS: device registration Tarun Kanti DebBarma tarun.ka...@ti.com writes: From: Thara Gopinath th...@ti.com This patch converts dmtimers into platform devices using omap hwmod, omap device and runtime pm frameworks. It also allows GPTIMER1 and GPTIMER2

Re: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-09-01 Thread Kevin Hilman
DebBarma, Tarun Kanti tarun.ka...@ti.com writes: [...] +static void omap2_dm_timer_enable(struct platform_device *pdev) +{ + if (!pdev) { + dev_err(pdev-dev, %s: invalid pdev\n, __func__); + return; + } + pm_runtime_get_sync(pdev-dev); +} + +static

Re: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-08-23 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com writes: From: Thara Gopinath th...@ti.com This patch converts dmtimers into platform devices using omap hwmod, omap device and runtime pm frameworks. It also allows GPTIMER1 and GPTIMER2 and GPTIMER10 to be registered as early devices. This allows any

Re: [PATCHv2 6/13] dmtimer: hwmod: OMAP2PLUS: device registration

2010-08-23 Thread Kevin Hilman
Tarun Kanti DebBarma tarun.ka...@ti.com writes: +/** +* omap2_dm_timer_early_init - top level early timer initialization +* called in the last part of omap2_init_common_hw +* +* uses dedicated hwmod api to parse through hwmod database for +* given class name and then build and register the