diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-07 20:55:16 +0900 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-10-07 20:55:16 +0900 | 
| commit | 5e090ed7af10729a396a25df43d69a236e789736 (patch) | |
| tree | 09ba2dd9974b5224721fbc413bcf6ac9b2ac73f9 /arch/arm/mach-dove/include/mach/pm.h | |
| parent | 84424026c0a910886064049d414a12a4f4dd125e (diff) | |
| parent | 54d69df5849ec2e660aa12ac75562618c10fb499 (diff) | |
| download | olio-linux-3.10-5e090ed7af10729a396a25df43d69a236e789736.tar.xz olio-linux-3.10-5e090ed7af10729a396a25df43d69a236e789736.zip  | |
Merge tag 'soc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull late ARM soc platform updates from Olof Johansson:
 "This branch contains updates to OMAP and Marvell platforms (kirkwood,
  dove, mvebu) that came in after we had done the big multiplatform
  merges, so they were kept separate from the rest, and not separated
  into the traditional topics of cleanup/driver/platform features.
  For OMAP, the updates are:
   - Runtime PM conversions for the GPMC and RNG IP blocks
   - Preparation patches for the OMAP common clock framework conversion
   - clkdev alias additions required by other drivers
   - Performance Monitoring Unit (PMU) support for OMAP2, 3, and
     non-4430 OMAP4
   - OMAP hwmod code and data improvements
   - Preparation patches for the IOMMU runtime PM conversion
   - Preparation patches for OMAP4 full-chip retention support
  For Kirkwood/Dove/mvebu:
   - New driver for "address decoder controller" for mvebu, which is a
     piece of hardware that configures addressable devices and
     peripherals.  First user is the boot rom aperture on armada XP
     since it is needed for SMP support.
   - New device tree bindings for peripherals such as gpio-fan, iconnect
     nand, mv_cesa and the above address decoder controller.
   - Some defconfig updates, mostly to enable new DT boards and a few
     drivers.
   - New drivers using the pincontrol subsystem for dove, kirkwood and
     mvebu
   - New clean gpio driver for mvebu"
* tag 'soc-late' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (98 commits)
  ARM: mvebu: fix build breaks from multi-platform conversion
  ARM: OMAP4460/4470: PMU: Enable PMU for OMAP4460/70
  ARM: OMAP2+: PMU: Add runtime PM support
  ARM: OMAP4430: PMU: prepare to create PMU device via HWMOD
  ARM: OMAP2+: PMU: Convert OMAP2/3 devices to use HWMOD
  ARM: OMAP3: hwmod data: Add debugss HWMOD data
  ARM: OMAP2+: clockdomain/hwmod: add workaround for EMU clockdomain idle problems
  ARM: OMAP: Add a timer attribute for timers that can interrupt the DSP
  hwrng: OMAP: remove SoC restrictions from driver registration
  ARM: OMAP: split OMAP1, OMAP2+ RNG device registration
  hwrng: OMAP: convert to use runtime PM
  hwrng: OMAP: store per-device data in per-device variables, not file statics
  ARM: OMAP2xxx: hwmod/CM: add RNG integration data
  ARM: OMAP2+: gpmc: minimal driver support
  ARM: OMAP2+: gpmc: Adapt to HWMOD
  ARM: OMAP2/3: hwmod data: add gpmc
  ARM: OMAP4: hwmod data: add mmu hwmod for ipu and dsp
  ARM: OMAP3: hwmod data: add mmu data for iva and isp
  ARM: OMAP: iommu: fix including iommu.h without IOMMU_API selected
  ARM: OMAP4: hwmod data: add missing HWMOD_NO_IDLEST flags to some PRCM IP blocks
  ...
Diffstat (limited to 'arch/arm/mach-dove/include/mach/pm.h')
| -rw-r--r-- | arch/arm/mach-dove/include/mach/pm.h | 54 | 
1 files changed, 36 insertions, 18 deletions
diff --git a/arch/arm/mach-dove/include/mach/pm.h b/arch/arm/mach-dove/include/mach/pm.h index 3ad9f946a9e..7bcd0dfce4b 100644 --- a/arch/arm/mach-dove/include/mach/pm.h +++ b/arch/arm/mach-dove/include/mach/pm.h @@ -13,24 +13,42 @@  #include <mach/irqs.h>  #define CLOCK_GATING_CONTROL	(DOVE_PMU_VIRT_BASE + 0x38) -#define  CLOCK_GATING_USB0_MASK		(1 << 0) -#define  CLOCK_GATING_USB1_MASK		(1 << 1) -#define  CLOCK_GATING_GBE_MASK		(1 << 2) -#define  CLOCK_GATING_SATA_MASK		(1 << 3) -#define  CLOCK_GATING_PCIE0_MASK	(1 << 4) -#define  CLOCK_GATING_PCIE1_MASK	(1 << 5) -#define  CLOCK_GATING_SDIO0_MASK	(1 << 8) -#define  CLOCK_GATING_SDIO1_MASK	(1 << 9) -#define  CLOCK_GATING_NAND_MASK		(1 << 10) -#define  CLOCK_GATING_CAMERA_MASK	(1 << 11) -#define  CLOCK_GATING_I2S0_MASK		(1 << 12) -#define  CLOCK_GATING_I2S1_MASK		(1 << 13) -#define  CLOCK_GATING_CRYPTO_MASK	(1 << 15) -#define  CLOCK_GATING_AC97_MASK		(1 << 21) -#define  CLOCK_GATING_PDMA_MASK		(1 << 22) -#define  CLOCK_GATING_XOR0_MASK		(1 << 23) -#define  CLOCK_GATING_XOR1_MASK		(1 << 24) -#define  CLOCK_GATING_GIGA_PHY_MASK	(1 << 30) +#define  CLOCK_GATING_BIT_USB0		0 +#define  CLOCK_GATING_BIT_USB1		1 +#define  CLOCK_GATING_BIT_GBE		2 +#define  CLOCK_GATING_BIT_SATA		3 +#define  CLOCK_GATING_BIT_PCIE0		4 +#define  CLOCK_GATING_BIT_PCIE1		5 +#define  CLOCK_GATING_BIT_SDIO0		8 +#define  CLOCK_GATING_BIT_SDIO1		9 +#define  CLOCK_GATING_BIT_NAND		10 +#define  CLOCK_GATING_BIT_CAMERA	11 +#define  CLOCK_GATING_BIT_I2S0		12 +#define  CLOCK_GATING_BIT_I2S1		13 +#define  CLOCK_GATING_BIT_CRYPTO	15 +#define  CLOCK_GATING_BIT_AC97		21 +#define  CLOCK_GATING_BIT_PDMA		22 +#define  CLOCK_GATING_BIT_XOR0		23 +#define  CLOCK_GATING_BIT_XOR1		24 +#define  CLOCK_GATING_BIT_GIGA_PHY	30 +#define  CLOCK_GATING_USB0_MASK		(1 << CLOCK_GATING_BIT_USB0) +#define  CLOCK_GATING_USB1_MASK		(1 << CLOCK_GATING_BIT_USB1) +#define  CLOCK_GATING_GBE_MASK		(1 << CLOCK_GATING_BIT_GBE) +#define  CLOCK_GATING_SATA_MASK		(1 << CLOCK_GATING_BIT_SATA) +#define  CLOCK_GATING_PCIE0_MASK	(1 << CLOCK_GATING_BIT_PCIE0) +#define  CLOCK_GATING_PCIE1_MASK	(1 << CLOCK_GATING_BIT_PCIE1) +#define  CLOCK_GATING_SDIO0_MASK	(1 << CLOCK_GATING_BIT_SDIO0) +#define  CLOCK_GATING_SDIO1_MASK	(1 << CLOCK_GATING_BIT_SDIO1) +#define  CLOCK_GATING_NAND_MASK		(1 << CLOCK_GATING_BIT_NAND) +#define  CLOCK_GATING_CAMERA_MASK	(1 << CLOCK_GATING_BIT_CAMERA) +#define  CLOCK_GATING_I2S0_MASK		(1 << CLOCK_GATING_BIT_I2S0) +#define  CLOCK_GATING_I2S1_MASK		(1 << CLOCK_GATING_BIT_I2S1) +#define  CLOCK_GATING_CRYPTO_MASK	(1 << CLOCK_GATING_BIT_CRYPTO) +#define  CLOCK_GATING_AC97_MASK		(1 << CLOCK_GATING_BIT_AC97) +#define  CLOCK_GATING_PDMA_MASK		(1 << CLOCK_GATING_BIT_PDMA) +#define  CLOCK_GATING_XOR0_MASK		(1 << CLOCK_GATING_BIT_XOR0) +#define  CLOCK_GATING_XOR1_MASK		(1 << CLOCK_GATING_BIT_XOR1) +#define  CLOCK_GATING_GIGA_PHY_MASK	(1 << CLOCK_GATING_BIT_GIGA_PHY)  #define PMU_INTERRUPT_CAUSE	(DOVE_PMU_VIRT_BASE + 0x50)  #define PMU_INTERRUPT_MASK	(DOVE_PMU_VIRT_BASE + 0x54)  |