diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 15:24:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-28 15:24:40 -0400 |
commit | 4bb2d1009f671815870e8f78e826e4f9071392a7 (patch) | |
tree | 4b9f4e3b349a67d47b11eff7fcebbf57a3c40a1e /arch/arm/mach-tegra/include | |
parent | ff877c498eb2f9c4ea386270642e383bc867f63c (diff) | |
parent | 83fe628e16d84efc8df2731bc403eae4e4f53801 (diff) |
Merge tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Pull "ARM: More SoC support updates" from Olof Johansson:
"This branch contains a handful of updates of SoC base code that had
dependencies on other external trees that have now been merged:
* Support for the new EXYNOS5250 SoC from Samsung
* SMP and power domain support for Tegra3 from NVIDIA
* ux500 updates for exporting SoC information through sysfs"
Fix up trivial merge conflicts as per Olof.
* tag 'soc2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (30 commits)
ARM: mach-shmobile: ap4evb: Reserve DMA memory for the frame buffer
ARM: EXYNOS: Fix compilation error with mach-exynos4-dt board
ARM: dts: add initial dts file for EXYNOS5250, SMDK5250
ARM: EXYNOS: add support device tree enabled board file for EXYNOS5
ARM: EXYNOS: add support ARCH_EXYNOS5 for EXYNOS5 SoCs
ARM: EXYNOS: add support get_core_count() for EXYNOS5250
ARM: EXYNOS: support EINT for EXYNOS4 and EXYNOS5
ARM: EXYNOS: add interrupt definitions for EXYNOS5250
ARM: EXYNOS: add support for EXYNOS5250 SoC
ARM: EXYNOS: add support uart for EXYNOS4 and EXYNOS5
ARM: EXYNOS: add initial setup-i2c0 for EXYNOS5
ARM: EXYNOS: add clock part for EXYNOS5250 SoC
ARM: EXYNOS: use exynos_init_uarts() instead of exynos4_init_uarts()
ARM: EXYNOS: to declare static for mach-exynos/common.c
ARM: EXYNOS: Add clkdev lookup entry for lcd clock
ARM: dt: Explicitly configure all serial ports on Tegra Cardhu
ARM: tegra: support for secondary cores on Tegra30
ARM: tegra: support for Tegra30 CPU powerdomains
ARM: tegra: add support for Tegra30 powerdomains
ARM: tegra: export tegra_powergate_is_powered()
...
Diffstat (limited to 'arch/arm/mach-tegra/include')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/iomap.h | 3 | ||||
-rw-r--r-- | arch/arm/mach-tegra/include/mach/powergate.h | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/iomap.h b/arch/arm/mach-tegra/include/mach/iomap.h index 67644c905d8e..cff672a344f4 100644 --- a/arch/arm/mach-tegra/include/mach/iomap.h +++ b/arch/arm/mach-tegra/include/mach/iomap.h | |||
@@ -113,6 +113,9 @@ | |||
113 | #define TEGRA_AHB_GIZMO_BASE 0x6000C004 | 113 | #define TEGRA_AHB_GIZMO_BASE 0x6000C004 |
114 | #define TEGRA_AHB_GIZMO_SIZE 0x10C | 114 | #define TEGRA_AHB_GIZMO_SIZE 0x10C |
115 | 115 | ||
116 | #define TEGRA_SB_BASE 0x6000C200 | ||
117 | #define TEGRA_SB_SIZE 256 | ||
118 | |||
116 | #define TEGRA_STATMON_BASE 0x6000C400 | 119 | #define TEGRA_STATMON_BASE 0x6000C400 |
117 | #define TEGRA_STATMON_SIZE SZ_1K | 120 | #define TEGRA_STATMON_SIZE SZ_1K |
118 | 121 | ||
diff --git a/arch/arm/mach-tegra/include/mach/powergate.h b/arch/arm/mach-tegra/include/mach/powergate.h index 39c396d2ddb0..4752b1a68f35 100644 --- a/arch/arm/mach-tegra/include/mach/powergate.h +++ b/arch/arm/mach-tegra/include/mach/powergate.h | |||
@@ -27,8 +27,21 @@ | |||
27 | #define TEGRA_POWERGATE_VDEC 4 | 27 | #define TEGRA_POWERGATE_VDEC 4 |
28 | #define TEGRA_POWERGATE_L2 5 | 28 | #define TEGRA_POWERGATE_L2 5 |
29 | #define TEGRA_POWERGATE_MPE 6 | 29 | #define TEGRA_POWERGATE_MPE 6 |
30 | #define TEGRA_NUM_POWERGATE 7 | 30 | #define TEGRA_POWERGATE_HEG 7 |
31 | #define TEGRA_POWERGATE_SATA 8 | ||
32 | #define TEGRA_POWERGATE_CPU1 9 | ||
33 | #define TEGRA_POWERGATE_CPU2 10 | ||
34 | #define TEGRA_POWERGATE_CPU3 11 | ||
35 | #define TEGRA_POWERGATE_CELP 12 | ||
36 | #define TEGRA_POWERGATE_3D1 13 | ||
31 | 37 | ||
38 | #define TEGRA_POWERGATE_CPU0 TEGRA_POWERGATE_CPU | ||
39 | #define TEGRA_POWERGATE_3D0 TEGRA_POWERGATE_3D | ||
40 | |||
41 | int __init tegra_powergate_init(void); | ||
42 | |||
43 | int tegra_cpu_powergate_id(int cpuid); | ||
44 | int tegra_powergate_is_powered(int id); | ||
32 | int tegra_powergate_power_on(int id); | 45 | int tegra_powergate_power_on(int id); |
33 | int tegra_powergate_power_off(int id); | 46 | int tegra_powergate_power_off(int id); |
34 | int tegra_powergate_remove_clamping(int id); | 47 | int tegra_powergate_remove_clamping(int id); |