]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: OMAP4: hwmod data: remove bandgap hwmod
authorPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:03:54 +0000 (04:03 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 19 Apr 2012 10:03:54 +0000 (04:03 -0600)
Commit 407a6888f7362cb3dabe69ea6d9dcf3c750dc56a ("OMAP4: hwmod data:
Add AESS, McPDM, bandgap, counter_32k, MMC, KBD, ISS & IPU") adds a
hwmod for the bandgap die temperature sensor IP block.  This IP block
has no interconnect port or firewall region, nor does it have an
independent register space or OCP control registers.  Its registers
are embedded in the System Control Module (SCM) IP block.  So it
appears that the bandgap device should be created by the SCM driver.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
arch/arm/mach-omap2/omap_hwmod_44xx_data.c

index dd2f733649df79833e81219cc5a100c938c7ae4e..a69d38da7cf6ed7d01dde39927d0bc697bc35709 100644 (file)
@@ -823,33 +823,6 @@ static struct omap_hwmod omap44xx_aess_hwmod = {
        .masters_cnt    = ARRAY_SIZE(omap44xx_aess_masters),
 };
 
-/*
- * 'bandgap' class
- * bangap reference for ldo regulators
- */
-
-static struct omap_hwmod_class omap44xx_bandgap_hwmod_class = {
-       .name   = "bandgap",
-};
-
-/* bandgap */
-static struct omap_hwmod_opt_clk bandgap_opt_clks[] = {
-       { .role = "fclk", .clk = "bandgap_fclk" },
-};
-
-static struct omap_hwmod omap44xx_bandgap_hwmod = {
-       .name           = "bandgap",
-       .class          = &omap44xx_bandgap_hwmod_class,
-       .clkdm_name     = "l4_wkup_clkdm",
-       .prcm = {
-               .omap4 = {
-                       .clkctrl_offs = OMAP4_CM_WKUP_BANDGAP_CLKCTRL_OFFSET,
-               },
-       },
-       .opt_clks       = bandgap_opt_clks,
-       .opt_clks_cnt   = ARRAY_SIZE(bandgap_opt_clks),
-};
-
 /*
  * 'counter' class
  * 32-bit ordinary counter, clocked by the falling edge of the 32 khz clock
@@ -5467,9 +5440,6 @@ static __initdata struct omap_hwmod *omap44xx_hwmods[] = {
        /* aess class */
 /*     &omap44xx_aess_hwmod, */
 
-       /* bandgap class */
-       &omap44xx_bandgap_hwmod,
-
        /* counter class */
 /*     &omap44xx_counter_32k_hwmod, */