OMAP4: clocks: add dummy clock for mailbox
PATCH 1/1 OMAP4: clocks: add dummy clock for mailbox
In omap4, there is no explicit configuration register to enable mailbox clocks. Defining dummy clock for mailbox clock module to keep the mailbox driver backward compatible with previous omaps.
--- arch/arm/mach-omap2/clock44xx_data.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/clock44xx_data.c +1 -0
@@ -2687,6 +2687,7 @@ static struct omap_clk omap44xx_clks[] = {CLK (NULL ,"uart3_ick" , &dummy_ck,CK_443X ),CLK (NULL ,"uart4_ick" , &dummy_ck,CK_443X ),CLK ("omap_wdt" ,"ick" , &dummy_ck,CK_443X ), + CLK(NULL, "mailboxes_ick", &dummy_ck, CK_443X), };int __init omap4xxx_clk_init (void )
Signature · 1 line
1.7.0
PATCH 1/1 OMAP4: clocks: add dummy clock for mailbox
Hi Hari,
Quoted 14 lines · Hari
In omap4, there is no explicit configuration register to enable mailbox clocks. Defining dummy clock for mailbox clock module to keep the mailbox driver backward compatible with previous omaps.
Signed-off-by Hari Kanigeri<[email protected]>--- arch/arm/mach-omap2/clock44xx_data.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/mach-omap2/clock44xx_data.c +0
-0
arch/arm/mach-omap2/clock44xx_data.c static struct omap_clk omap44xx_clks[] = { · line 2693
Quoted 7 lines
arch/arm/mach-omap2/clock44xx_data.c +1
-0@@ -2687,6 +2687,7 @@ static struct omap_clk omap44xx_clks[] = {CLK (NULL ,"uart3_ick" , &dummy_ck,CK_443X ),CLK (NULL ,"uart4_ick" , &dummy_ck,CK_443X ),CLK ("omap_wdt" ,"ick" , &dummy_ck,CK_443X ), + CLK(NULL, "mailboxes_ick", &dummy_ck, CK_443X), };int __init omap4xxx_clk_init (void )
OK, that one is easy but... I will still have to update the script to generate it, so:
Regards,
Benoit
PATCH 1/1 OMAP4: clocks: add dummy clock for mailbox
Benoit,
Quoted 3 lines
OK, that one is easy but... I will still have to update the script to generate it, so:
Sure, thank you.
Best regards,
Hari Kanigeri
Paul Walmsley
maintainerPATCH 1/1 OMAP4: clocks: add dummy clock for mailbox
In reply to Hari KanigeriQuoted 5 lines · Hari Kanigeri
In omap4, there is no explicit configuration register to enable mailbox clocks. Defining dummy clock for mailbox clock module to keep the mailbox driver backward compatible with previous omaps.
Signed-off-by Hari Kanigeri <[email protected]>
Thanks, queued for 2.6.38 as part of the "clk_b_2.6.38" branch ongit://git.pwsan.com/linux-2.6
This patch appears in the integration tree as part of tag 'integration-2.6.38-20101221-011' at git://git.pwsan.com/linux-integration
- Paul