Skip to contentSkip to conversation

OMAP4: clocks: add dummy clock for mailbox

PATCH New Hari Kanigeri 3 participants 4 messages Nov 18, 2010 – Dec 22, 2010

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

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
index e10db7a..bdd9b85 100644
@@ -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
#1 lore raw

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.

---
  arch/arm/mach-omap2/clock44xx_data.c |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-omap2/clock44xx_data.c +0 -0
index e10db7a..bdd9b85 100644

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

#2 lore raw

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

maintainer
#3 lore raw

PATCH 1/1 OMAP4: clocks: add dummy clock for mailbox

In reply to Hari Kanigeri
Quoted 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.

Thanks, queued for 2.6.38 as part of the "clk_b_2.6.38" branch on
git://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