]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Feb 2013 23:12:17 +0000 (15:12 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 21 Feb 2013 23:12:18 +0000 (15:12 -0800)
Pull ARM SoC driver specific changes from Arnd Bergmann:

 - Updates to the ux500 cpufreq code

 - Moving the u300 DMA controller driver to drivers/dma

 - Moving versatile express drivers out of arch/arm for sharing with arch/arm64

 - Device tree bindings for the OMAP General Purpose Memory Controller

* tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (27 commits)
  ARM: OMAP2+: gpmc: Add device tree documentation for elm handle
  ARM: OMAP2+: gpmc: add DT bindings for OneNAND
  ARM: OMAP2+: gpmc-onenand: drop __init annotation
  mtd: omap-onenand: pass device_node in platform data
  ARM: OMAP2+: Prevent potential crash if GPMC probe fails
  ARM: OMAP2+: gpmc: Remove unneeded of_node_put()
  arm: Move sp810.h to include/linux/amba/
  ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND
  ARM: OMAP: gpmc: enable hwecc for AM33xx SoCs
  ARM: OMAP: gpmc-nand: drop __init annotation
  mtd: omap-nand: pass device_node in platform data
  ARM: OMAP: gpmc: don't create devices from initcall on DT
  dma: coh901318: cut down on platform data abstraction
  dma: coh901318: merge header files
  dma: coh901318: push definitions into driver
  dma: coh901318: push header down into the DMA subsystem
  dma: coh901318: skip hard-coded addresses
  dma: coh901318: remove hardcoded target addresses
  dma: coh901318: push platform data into driver
  dma: coh901318: create a proper platform data file
  ...

1  2 
arch/arm/mach-omap2/gpmc.c
drivers/clk/versatile/clk-vexpress.c
drivers/cpufreq/Makefile
drivers/cpufreq/dbx500-cpufreq.c
drivers/mfd/db8500-prcmu.c

Simple merge
Simple merge
Simple merge
index 48a1988149d8c4441dbfbb60344568f05563e847,9a623753dee234348bcdc5723eb9468adcecd4b5..72f0c3efa76e6b7d89114c463ccd7c5243ccb917
@@@ -151,23 -144,37 +141,34 @@@ static int dbx500_cpufreq_probe(struct 
                return -ENODEV;
        }
  
-       return cpufreq_register_driver(&db8500_cpufreq_driver);
+       armss_clk = clk_get(&pdev->dev, "armss");
+       if (IS_ERR(armss_clk)) {
+               pr_err("dbx500-cpufreq: Failed to get armss clk\n");
+               return PTR_ERR(armss_clk);
+       }
+       pr_info("dbx500-cpufreq: Available frequencies:\n");
+       while (freq_table[i].frequency != CPUFREQ_TABLE_END) {
+               pr_info("  %d Mhz\n", freq_table[i].frequency/1000);
+               i++;
+       }
+       return cpufreq_register_driver(&dbx500_cpufreq_driver);
  }
  
- static struct platform_driver db8500_cpufreq_plat_driver = {
+ static struct platform_driver dbx500_cpufreq_plat_driver = {
        .driver = {
-               .name = "cpufreq-u8500",
+               .name = "cpufreq-ux500",
                .owner = THIS_MODULE,
        },
-       .probe = db8500_cpufreq_probe,
+       .probe = dbx500_cpufreq_probe,
  };
  
- static int __init db8500_cpufreq_register(void)
+ static int __init dbx500_cpufreq_register(void)
  {
-       pr_info("cpufreq for DB8500 started\n");
-       return platform_driver_register(&db8500_cpufreq_plat_driver);
 -      if (!cpu_is_u8500_family())
 -              return -ENODEV;
 -
+       return platform_driver_register(&dbx500_cpufreq_plat_driver);
  }
- device_initcall(db8500_cpufreq_register);
+ device_initcall(dbx500_cpufreq_register);
  
  MODULE_LICENSE("GPL v2");
- MODULE_DESCRIPTION("cpufreq driver for DB8500");
+ MODULE_DESCRIPTION("cpufreq driver for DBX500");
Simple merge