1. 27 11月, 2013 17 次提交
  2. 26 11月, 2013 9 次提交
    • S
      ARM: bcm2835: add missing #xxx-cells to I2C nodes · a31ab44e
      Stephen Warren 提交于
      The I2C controller node needs #address-cells and #size-cells properties,
      but these are currently missing. Add them. This allows child nodes to be
      parsed correctly.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      a31ab44e
    • D
      ARM: dts: Add max77686 RTC interrupt to cros5250-common · c61248af
      Doug Anderson 提交于
      Without the interrupt you'll get problems if you enable
      CONFIG_RTC_DRV_MAX77686.  Setup the interrupt properly in the device
      tree.
      Signed-off-by: NDoug Anderson <dianders@chromium.org>
      Tested-by: NMarc Zyngier <marc.zyngier@arm.com>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: stable@vger.kernel.org
      c61248af
    • T
      ARM: OMAP2+: Fix eMMC on n900 with device tree · edd5eb4e
      Tony Lindgren 提交于
      Looks like we need to configure the regulators and use the pdata
      quirk to make eMMC work with device tree.
      
      It seems that mostly vaux3 is used, and only some earlier revisions
      used vmmc2. This has been tested to work on devices where the
      system_rev passed by the bootloader has versions 0x0010, 0x2101
      and 0x2204.
      
      Cc: devicetree@vger.kernel.org
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NSebastian Reichel <sre@debian.org>
      [tony@atomide.com: updated with pinctrl changes and comments from Sebastian]
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      edd5eb4e
    • T
      ARM: OMAP2+: Add fixed regulator to omap2plus_defconfig · 26f67a31
      Tony Lindgren 提交于
      We do not have REGULATOR_FIXED selected if no boards are selected
      and we boot with device tree. This can cause various devices to
      fail.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      26f67a31
    • T
      ARM: OMAP2+: Fix more missing data for omap3.dtsi file · 7ce93f31
      Tony Lindgren 提交于
      After dropping the duplicate data in hwmod that now should come from
      the .dts files, I noticed few more entries missing. Let's add these
      as otherwise devices relying on these won't work.
      
      Looks like the side tone entries are bundled into the mcbsp1 to 3,
      so that may needs some special handling in the hwmod code as it's
      currently trying to look up mcbsp2_sidetone and mcbsp3_sidetone
      entries.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      7ce93f31
    • D
      ARM: vexpress/TC2: Implement MCPM power_down_finish() · 33cb667a
      Dave Martin 提交于
      This patch implements the power_down_finish() method for TC2, to
      enable the kernel to confirm when CPUs are safely powered down.
      
      The information required for determining when a CPU is parked
      cannot be obtained from any single place, so a few sources of
      information must be combined:
      
        * mcpm_cpu_power_down() must be pending for the CPU, so that we
          don't get confused by false STANDBYWFI positives arising from
          CPUidle.  This is detected by waiting for the tc2_pm use count
          for the target CPU to reach 0.
      
        * Either the SPC must report that the CPU has asserted
          STANDBYWFI, or the TC2 tile's reset control logic must be
          holding the CPU in reset.
      
          Just checking for STANDBYWFI is not sufficient, because this
          signal is not latched when the the cluster is clamped off and
          powered down: the relevant status bits just drop to zero.  This
          means that STANDBYWFI status cannot be used for reliable
          detection of the last CPU in a cluster reaching WFI.
      
      This patch is required in order for kexec to work with MCPM on TC2.
      
      MCPM code was changed in commit 0de0d646 ('ARM: 7848/1: mcpm:
      Implement cpu_kill() to synchronise on powerdown'), and since then it
      will hit a WARN_ON_ONCE() due to power_down_finish not being implemented
      on the TC2 platform.
      Signed-off-by: NDave Martin <Dave.Martin@arm.com>
      Acked-by: NPawel Moll <pawel.moll@arm.com>
      Reviewed-by: NNicolas Pitre <nico@linaro.org>
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      33cb667a
    • O
      ARM: omap: fix warning with LPAE build · 6dd1e357
      Olof Johansson 提交于
      Some omap3 code is throwing a warning:
      arch/arm/mach-omap2/pm34xx.c: In function 'omap3_save_secure_ram_context':
      arch/arm/mach-omap2/pm34xx.c:123:32: warning: cast to pointer from
        integer of different size [-Wint-to-pointer-cast]
      
      In reality this code will never actually execute with LPAE=y, since
      Cortex-A8 doesn't support it. So downcasting the __pa() is safe in
      this case.
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Acked-by: NTony Lindgren <tony@atomide.com>
      6dd1e357
    • T
      ARM: mvebu: re-enable PCIe on Armada 370 DB · 96039f73
      Thomas Petazzoni 提交于
      Commit 14fd8ed0 ("ARM: mvebu: Relocate Armada 370/XP PCIe
      device tree nodes") relocated the PCIe controller DT nodes one level
      up in the Device Tree, to reflect a more correct representation of the
      hardware introduced by the mvebu-mbus Device Tree binding.
      
      However, while most of the boards were properly adjusted accordingly,
      the Armada 370 DB board was left unchanged, and therefore, PCIe is
      seen as not enabled on this board. This patch fixes that by moving the
      PCIe controller node one level-up in armada-370-db.dts.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: <stable@vger.kernel.org> # v3.12+
      Fixes: 14fd8ed0 "ARM: mvebu: Relocate Armada 370/XP PCIe device tree nodes"
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      96039f73
    • G
      ARM: mvebu: use the virtual CPU registers to access coherency registers · b6dda00c
      Gregory CLEMENT 提交于
      The Armada XP provides a mechanism called "virtual CPU registers" or
      "per-CPU register banking", to access the per-CPU registers of the
      current CPU, without having to worry about finding on which CPU we're
      running. CPU0 has its registers at 0x21800, CPU1 at 0x21900, CPU2 at
      0x21A00 and CPU3 at 0x21B00. The virtual registers accessing the
      current CPU registers are at 0x21000.
      
      However, in the Device Tree node that provides the register addresses
      for the coherency unit (which is responsible for ensuring coherency
      between processors, and I/O coherency between processors and the
      DMA-capable devices), a mistake was made: the CPU0-specific registers
      were specified instead of the virtual CPU registers. This means that
      the coherency barrier needed for I/O coherency was not behaving
      properly when executed from a CPU different from CPU0. This patch
      fixes that by using the virtual CPU registers.
      Signed-off-by: NGregory CLEMENT <gregory.clement@free-electrons.com>
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Cc: <stable@vger.kernel.org> # v3.8+
      Fixes: e60304f8 "arm: mvebu: Add hardware I/O Coherency support"
      Signed-off-by: NJason Cooper <jason@lakedaemon.net>
      b6dda00c
  3. 23 11月, 2013 2 次提交
  4. 22 11月, 2013 1 次提交
  5. 21 11月, 2013 11 次提交