]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Merge remote-tracking branch 'arm-soc/for-next'
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 04:49:37 +0000 (14:49 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 04:49:37 +0000 (14:49 +1000)
Conflicts:
arch/arm/mach-imx/clk-imx51-imx53.c
arch/arm/mach-ux500/cpu-db8500.c
drivers/i2c/busses/i2c-omap.c
drivers/input/keyboard/omap-keypad.c
drivers/mmc/host/omap.c
drivers/mtd/nand/Kconfig
drivers/staging/tidspbridge/core/wdt.c
drivers/usb/host/Kconfig
drivers/video/omap2/dss/dispc.c
drivers/w1/masters/omap_hdq.c

78 files changed:
1  2 
MAINTAINERS
arch/arm/Kconfig
arch/arm/Kconfig.debug
arch/arm/Makefile
arch/arm/boot/dts/imx51.dtsi
arch/arm/boot/dts/imx53.dtsi
arch/arm/boot/dts/imx6q.dtsi
arch/arm/configs/kzm9g_defconfig
arch/arm/include/asm/io.h
arch/arm/kernel/Makefile
arch/arm/mach-at91/at91rm9200_devices.c
arch/arm/mach-at91/at91sam9260_devices.c
arch/arm/mach-at91/at91sam9261_devices.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9263_devices.c
arch/arm/mach-at91/at91sam9rl_devices.c
arch/arm/mach-imx/Kconfig
arch/arm/mach-imx/clk-imx51-imx53.c
arch/arm/mach-imx/mach-imx6q.c
arch/arm/mach-integrator/core.c
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap2/board-4430sdp.c
arch/arm/mach-omap2/board-am3517evm.c
arch/arm/mach-omap2/board-cm-t35.c
arch/arm/mach-omap2/board-devkit8000.c
arch/arm/mach-omap2/board-igep0020.c
arch/arm/mach-omap2/board-omap3beagle.c
arch/arm/mach-omap2/board-omap3evm.c
arch/arm/mach-omap2/board-omap4panda.c
arch/arm/mach-omap2/board-overo.c
arch/arm/mach-omap2/board-rx51-peripherals.c
arch/arm/mach-omap2/mcbsp.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
arch/arm/mach-omap2/omap_phy_internal.c
arch/arm/mach-omap2/twl-common.c
arch/arm/mach-omap2/twl-common.h
arch/arm/mach-omap2/usb-musb.c
arch/arm/mach-shmobile/board-armadillo800eva.c
arch/arm/mach-shmobile/board-kzm9g.c
arch/arm/mach-tegra/Makefile
arch/arm/mach-tegra/pcie.c
arch/arm/mach-u300/i2c.c
arch/arm/mm/cache-l2x0.c
arch/arm/mm/mmu.c
arch/powerpc/sysdev/fsl_msi.c
drivers/Makefile
drivers/clk/Makefile
drivers/dma/tegra20-apb-dma.c
drivers/gpio/gpio-pxa.c
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-omap.c
drivers/input/keyboard/omap-keypad.c
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/media/platform/omap/omap_vout.c
drivers/media/platform/omap3isp/isp.c
drivers/mfd/db8500-prcmu.c
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/sdhci-tegra.c
drivers/mtd/nand/ams-delta.c
drivers/mtd/nand/bcm_umi_nand.c
drivers/mtd/nand/omap2.c
drivers/mtd/nand/pxa3xx_nand.c
drivers/spi/spi-omap2-mcspi.c
drivers/staging/tidspbridge/core/wdt.c
drivers/usb/Kconfig
drivers/usb/host/Kconfig
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-nxp.c
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/omapfb/omapfb-main.c
include/linux/leds.h
include/linux/mod_devicetable.h
sound/soc/omap/mcbsp.c
sound/soc/omap/omap-abe-twl6040.c
sound/soc/omap/omap-mcbsp.c
sound/soc/omap/omap-mcpdm.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 52ed4d1ff4edfd284d49766f19261eeab035fbdd,e45476dc6d32a61599054de95b44eca66e433ec8..5fb3e9341a2e07f47b4775a5d618b64e63cebc01
                                compatible = "fsl,imx6q-ccm";
                                reg = <0x020c4000 0x4000>;
                                interrupts = <0 87 0x04 0 88 0x04>;
+                               #clock-cells = <1>;
                        };
  
 -                      anatop@020c8000 {
 -                              compatible = "fsl,imx6q-anatop";
 +                      anatop: anatop@020c8000 {
 +                              compatible = "fsl,imx6q-anatop", "syscon", "simple-bus";
                                reg = <0x020c8000 0x1000>;
                                interrupts = <0 49 0x04 0 54 0x04 0 127 0x04>;
  
Simple merge
Simple merge
index 3319aca0e0a34c0c9326e23929dcb1a6d1d1d533,d81f3a6d9ad84df7917d2a1edefb68b0dcae6ac9..5dfef9d97ed92b960d8d359997a20108759d60c8
@@@ -19,11 -19,8 +19,10 @@@ obj-y               := elf.o entry-armv.o entry-comm
                   process.o ptrace.o return_address.o sched_clock.o \
                   setup.o signal.o stacktrace.o sys_arm.o time.o traps.o
  
 -obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += compat.o
 +obj-$(CONFIG_ATAGS)           += atags_parse.o
 +obj-$(CONFIG_ATAGS_PROC)      += atags_proc.o
 +obj-$(CONFIG_DEPRECATED_PARAM_STRUCT) += atags_compat.o
  
- obj-$(CONFIG_LEDS)            += leds.o
  obj-$(CONFIG_OC_ETM)          += etm.o
  obj-$(CONFIG_CPU_IDLE)                += cpuidle.o
  obj-$(CONFIG_ISA_DMA_API)     += dma.o
Simple merge
Simple merge
index e81f17a70f0092574410c731454c09f9bce84c84,e5165a84f93f7ff8467f5b7c981a083518fffff4..a0bf84803eacee45978fc1b1deef41076db17f19
@@@ -456,7 -461,10 +462,11 @@@ int __init mx53_clocks_init(unsigned lo
        clk_register_clkdev(clk[ssi1_ipg_gate], NULL, "63fcc000.ssi");
        clk_register_clkdev(clk[ssi2_ipg_gate], NULL, "50014000.ssi");
        clk_register_clkdev(clk[ssi3_ipg_gate], NULL, "63fd0000.ssi");
 +      clk_register_clkdev(clk[nfc_gate], NULL, "63fdb000.nand");
+       clk_register_clkdev(clk[can1_ipg_gate], "ipg", "53fc8000.can");
+       clk_register_clkdev(clk[can1_serial_gate], "per", "53fc8000.can");
+       clk_register_clkdev(clk[can2_ipg_gate], "ipg", "53fcc000.can");
+       clk_register_clkdev(clk[can2_serial_gate], "per", "53fcc000.can");
  
        /* set SDHC root clock to 200MHZ*/
        clk_set_rate(clk[esdhc_a_podf], 200000000);
index eaf56b4f71f2a8e2c5c17ba5fdee30dad21f5e64,692b4b143bb18d4c82cb753d8aebcd9060ce0e2a..44b192026ce784e50752331b6e6ac1b8f5e7d41c
  #include <linux/of_address.h>
  #include <linux/of_irq.h>
  #include <linux/of_platform.h>
- #include <linux/pinctrl/machine.h>
  #include <linux/phy.h>
 +#include <linux/regmap.h>
  #include <linux/micrel_phy.h>
 -#include <linux/mfd/anatop.h>
 +#include <linux/mfd/syscon.h>
  #include <asm/cpuidle.h>
  #include <asm/smp_twd.h>
  #include <asm/hardware/cache-l2x0.h>
Simple merge
index ff1255ae712151fb0df7331f7f68a07870cf099d,fd3ef28d2c1af6044b1fecb8ba75e27c6980763b..dbb00811119cddc07cf442d72a61077cd7988ac5
@@@ -162,8 -155,26 +158,9 @@@ static void __init ap_map_io(void
  {
        iotable_init(ap_io_desc, ARRAY_SIZE(ap_io_desc));
        vga_base = PCI_MEMORY_VADDR;
+       pci_map_io_early(__phys_to_pfn(PHYS_PCI_IO_BASE));
  }
  
 -#define INTEGRATOR_SC_VALID_INT       0x003fffff
 -
 -static void __init ap_init_irq(void)
 -{
 -      /* Disable all interrupts initially. */
 -      /* Do the core module ones */
 -      writel(-1, VA_CMIC_BASE + IRQ_ENABLE_CLEAR);
 -
 -      /* do the header card stuff next */
 -      writel(-1, VA_IC_BASE + IRQ_ENABLE_CLEAR);
 -      writel(-1, VA_IC_BASE + FIQ_ENABLE_CLEAR);
 -
 -      fpga_irq_init(VA_IC_BASE, "SC", IRQ_PIC_START,
 -              -1, INTEGRATOR_SC_VALID_INT, NULL);
 -      integrator_clk_init(false);
 -}
 -
  #ifdef CONFIG_PM
  static unsigned long ic_irq_enable;
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 874aecc0facab5fe4e6384eeee30801e3a699967,593eaea35cecc66effd7559e11fdcf3f0f1d2413..d992db8ff0b07481fe21f24b410f9771dd3cda83
  #include <linux/usb.h>
  
  #include <plat/usb.h>
+ #include "soc.h"
  #include "control.h"
  
 -/* OMAP control module register for UTMI PHY */
 -#define CONTROL_DEV_CONF              0x300
 -#define PHY_PD                                0x1
 -
 -#define USBOTGHS_CONTROL              0x33c
 -#define       AVALID                          BIT(0)
 -#define       BVALID                          BIT(1)
 -#define       VBUSVALID                       BIT(2)
 -#define       SESSEND                         BIT(3)
 -#define       IDDIG                           BIT(4)
 -
 -static struct clk *phyclk, *clk48m, *clk32k;
 -static void __iomem *ctrl_base;
 -static int usbotghs_control;
 -
 -int omap4430_phy_init(struct device *dev)
 -{
 -      ctrl_base = ioremap(OMAP443X_SCM_BASE, SZ_1K);
 -      if (!ctrl_base) {
 -              pr_err("control module ioremap failed\n");
 -              return -ENOMEM;
 -      }
 -      /* Power down the phy */
 -      __raw_writel(PHY_PD, ctrl_base + CONTROL_DEV_CONF);
 -
 -      if (!dev) {
 -              iounmap(ctrl_base);
 -              return 0;
 -      }
 -
 -      phyclk = clk_get(dev, "ocp2scp_usb_phy_ick");
 -      if (IS_ERR(phyclk)) {
 -              dev_err(dev, "cannot clk_get ocp2scp_usb_phy_ick\n");
 -              iounmap(ctrl_base);
 -              return PTR_ERR(phyclk);
 -      }
 -
 -      clk48m = clk_get(dev, "ocp2scp_usb_phy_phy_48m");
 -      if (IS_ERR(clk48m)) {
 -              dev_err(dev, "cannot clk_get ocp2scp_usb_phy_phy_48m\n");
 -              clk_put(phyclk);
 -              iounmap(ctrl_base);
 -              return PTR_ERR(clk48m);
 -      }
 -
 -      clk32k = clk_get(dev, "usb_phy_cm_clk32k");
 -      if (IS_ERR(clk32k)) {
 -              dev_err(dev, "cannot clk_get usb_phy_cm_clk32k\n");
 -              clk_put(phyclk);
 -              clk_put(clk48m);
 -              iounmap(ctrl_base);
 -              return PTR_ERR(clk32k);
 -      }
 -      return 0;
 -}
 -
 -int omap4430_phy_set_clk(struct device *dev, int on)
 -{
 -      static int state;
 -
 -      if (on && !state) {
 -              /* Enable the phy clocks */
 -              clk_enable(phyclk);
 -              clk_enable(clk48m);
 -              clk_enable(clk32k);
 -              state = 1;
 -      } else if (state) {
 -              /* Disable the phy clocks */
 -              clk_disable(phyclk);
 -              clk_disable(clk48m);
 -              clk_disable(clk32k);
 -              state = 0;
 -      }
 -      return 0;
 -}
 -
 -int omap4430_phy_power(struct device *dev, int ID, int on)
 -{
 -      if (on) {
 -              if (ID)
 -                      /* enable VBUS valid, IDDIG groung */
 -                      __raw_writel(AVALID | VBUSVALID, ctrl_base +
 -                                                      USBOTGHS_CONTROL);
 -              else
 -                      /*
 -                       * Enable VBUS Valid, AValid and IDDIG
 -                       * high impedance
 -                       */
 -                      __raw_writel(IDDIG | AVALID | VBUSVALID,
 -                                              ctrl_base + USBOTGHS_CONTROL);
 -      } else {
 -              /* Enable session END and IDIG to high impedance. */
 -              __raw_writel(SESSEND | IDDIG, ctrl_base +
 -                                      USBOTGHS_CONTROL);
 -      }
 -      return 0;
 -}
 -
 -int omap4430_phy_suspend(struct device *dev, int suspend)
 -{
 -      if (suspend) {
 -              /* Disable the clocks */
 -              omap4430_phy_set_clk(dev, 0);
 -              /* Power down the phy */
 -              __raw_writel(PHY_PD, ctrl_base + CONTROL_DEV_CONF);
 -
 -              /* save the context */
 -              usbotghs_control = __raw_readl(ctrl_base + USBOTGHS_CONTROL);
 -      } else {
 -              /* Enable the internel phy clcoks */
 -              omap4430_phy_set_clk(dev, 1);
 -              /* power on the phy */
 -              if (__raw_readl(ctrl_base + CONTROL_DEV_CONF) & PHY_PD) {
 -                      __raw_writel(~PHY_PD, ctrl_base + CONTROL_DEV_CONF);
 -                      mdelay(200);
 -              }
 -
 -              /* restore the context */
 -              __raw_writel(usbotghs_control, ctrl_base + USBOTGHS_CONTROL);
 -      }
 -
 -      return 0;
 -}
 -
 -int omap4430_phy_exit(struct device *dev)
 -{
 -      if (ctrl_base)
 -              iounmap(ctrl_base);
 -      if (phyclk)
 -              clk_put(phyclk);
 -      if (clk48m)
 -              clk_put(clk48m);
 -      if (clk32k)
 -              clk_put(clk32k);
 -
 -      return 0;
 -}
 -
  void am35x_musb_reset(void)
  {
        u32     regval;
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 7e2b2f2e3ecde13f9e95c88801297d09c49a2583,51ffafae561ea5a4a12da1f401c76da164811fff..63c5f04ea580177649aba38d101cb3f86b40cb35
@@@ -509,14 -506,12 +509,14 @@@ static const struct of_device_id fsl_of
        },
        {
                .compatible = "fsl,ipic-msi",
-               .data = (void *)&ipic_msi_feature,
+               .data = &ipic_msi_feature,
        },
 +#ifdef CONFIG_EPAPR_PARAVIRT
        {
                .compatible = "fsl,vmpic-msi",
-               .data = (void *)&vmpic_msi_feature,
+               .data = &vmpic_msi_feature,
        },
 +#endif
        {}
  };
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index c78431a4970a814a814baac01a518c0f1e7112c8,a0e49f6aaf96eaa81ac712a4a279fafbdf13af95..0b0254312d21f7f39e902e15c8862334d41045ad
@@@ -1051,11 -943,12 +1051,12 @@@ omap_i2c_probe(struct platform_device *
  {
        struct omap_i2c_dev     *dev;
        struct i2c_adapter      *adap;
 -      struct resource         *mem, *irq, *ioarea;
 +      struct resource         *mem;
-       struct omap_i2c_bus_platform_data *pdata = pdev->dev.platform_data;
+       const struct omap_i2c_bus_platform_data *pdata =
+               pdev->dev.platform_data;
        struct device_node      *node = pdev->dev.of_node;
        const struct of_device_id *match;
 -      irq_handler_t isr;
 +      int irq;
        int r;
  
        /* NOTE: driver uses the static register mapping */
index b03c5b9548640fe572411306ed206d81f29bfe43,2bda5f0b9c6ec8cd6e3b281dbc0fc1ccaf2bdf4d..8d8d45f89ec5322ebd3cc6c166b51165e14732b0
@@@ -421,10 -346,9 +346,9 @@@ err4
  err3:
        device_remove_file(&pdev->dev, &dev_attr_enable);
  err2:
 -      for (i = row_idx - 1; i >=0; i--)
 +      for (i = row_idx - 1; i >= 0; i--)
                gpio_free(row_gpios[i]);
- err1:
 -      for (i = col_idx - 1; i >=0; i--)
 +      for (i = col_idx - 1; i >= 0; i--)
                gpio_free(col_gpios[i]);
  
        kfree(omap_kp);
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 1ed1474d0b564b78bbc500ef5ce963c1379ab0c4,453ef748bf45c3460162245eeecdcd05da832520..7a6470f101b08343555c89ddfe39202cf0b5f42b
@@@ -25,8 -25,7 +25,8 @@@
  #include <dspbridge/host_os.h>
  
  
- #define INT_34XX_WDT3_IRQ             36
 +#define OMAP34XX_WDT3_BASE            (0x49000000 + 0x30000)
+ #define INT_34XX_WDT3_IRQ             (36 + NR_IRQS)
  
  static struct dsp_wdt_setting dsp_wdt;
  
Simple merge
index b1deb0fd41970a43c5248bf82b76d9d81d154ff5,276add2358a18bb14fd82c681a676fd73fb743ce..3f1431d37e1c836f88b32aff5b002fb9cf4efa0b
@@@ -292,7 -292,7 +292,7 @@@ config USB_OHCI_HC
        depends on USB && USB_ARCH_HAS_OHCI
        select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
        select USB_OTG_UTILS if ARCH_OMAP
-       depends on USB_ISP1301 || !(ARCH_LPC32XX || ARCH_PNX4008)
 -      select USB_ISP1301 if ARCH_LPC32XX
++      depends on USB_ISP1301 || !ARCH_LPC32XX
        ---help---
          The Open Host Controller Interface (OHCI) is a standard for accessing
          USB 1.1 host controller hardware.  It does more in hardware than Intel's
Simple merge
Simple merge
index d512c389741e0acdbf18a74a66e157ca908018ee,ee9e29639dcc4323c5d1d87b31390da0a1ad5373..32e09ebfa30c350906210f0a7dd847d9583c55d9
@@@ -37,6 -37,9 +37,8 @@@
  #include <linux/platform_device.h>
  #include <linux/pm_runtime.h>
  
 -#include <plat/clock.h>
+ #include <plat/cpu.h>
  #include <video/omapdss.h>
  
  #include "dss.h"
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge