David Brown | 1 Dec 2011 01:29
Gravatar

[PATCH 1/3] ARM: msm: Remove MSM7x00 support

This target has been bitrotting for a while.  The hardware is quite a
bit different from the other MSM targets, making it hard to justify
maintaining the support in the kernel.  This SoC was dropped from
Google's Android kernel a while back.

Signed-off-by: David Brown <davidb <at> codeaurora.org>
---
 arch/arm/mach-msm/Kconfig                       |   29 +--
 arch/arm/mach-msm/Makefile                      |    4 -
 arch/arm/mach-msm/acpuclock-arm11.c             |  525 -----------------------
 arch/arm/mach-msm/acpuclock.h                   |   32 --
 arch/arm/mach-msm/board-halibut.c               |  102 -----
 arch/arm/mach-msm/board-trout-gpio.c            |  233 ----------
 arch/arm/mach-msm/board-trout-mmc.c             |  185 --------
 arch/arm/mach-msm/board-trout-panel.c           |  296 -------------
 arch/arm/mach-msm/board-trout.c                 |  102 -----
 arch/arm/mach-msm/board-trout.h                 |  162 -------
 arch/arm/mach-msm/idle.S                        |   13 -
 arch/arm/mach-msm/include/mach/irqs-7x00.h      |   75 ----
 arch/arm/mach-msm/include/mach/irqs.h           |    2 -
 arch/arm/mach-msm/include/mach/msm_iomap-7x00.h |  127 ------
 arch/arm/mach-msm/include/mach/msm_iomap.h      |    2 -
 arch/arm/mach-msm/io.c                          |   34 --
 arch/arm/mach-msm/irq.c                         |  151 -------
 arch/arm/mach-msm/smd_private.h                 |   39 --
 arch/arm/mach-msm/timer.c                       |    5 +-
 19 files changed, 2 insertions(+), 2116 deletions(-)
 delete mode 100644 arch/arm/mach-msm/acpuclock-arm11.c
 delete mode 100644 arch/arm/mach-msm/acpuclock.h
 delete mode 100644 arch/arm/mach-msm/board-halibut.c
(Continue reading)

David Brown | 1 Dec 2011 01:29
Gravatar

[PATCH 2/3] gpio_msm: remove support for MSM7x01

Remove support for the device that has been removed from the SOC
support.

Signed-off-by: David Brown <davidb <at> codeaurora.org>
---
 drivers/gpio/gpio-msm-v1.c |   81 +-------------------------------------------
 1 files changed, 1 insertions(+), 80 deletions(-)

diff --git a/drivers/gpio/gpio-msm-v1.c b/drivers/gpio/gpio-msm-v1.c
index 52a4d42..dcd05be 100644
--- a/drivers/gpio/gpio-msm-v1.c
+++ b/drivers/gpio/gpio-msm-v1.c
 <at>  <at>  -40,73 +40,6  <at>  <at> 
 #define MSM_GPIO2_SHADOW_REG(off) (MSM_GPIO2_BASE + 0xC00 + (off))

 /*
- * MSM7X00 registers
- */
-/* output value */
-#define MSM7X00_GPIO_OUT_0	MSM_GPIO1_SHADOW_REG(0x00)  /* gpio  15-0  */
-#define MSM7X00_GPIO_OUT_1	MSM_GPIO2_SHADOW_REG(0x00)  /* gpio  42-16 */
-#define MSM7X00_GPIO_OUT_2	MSM_GPIO1_SHADOW_REG(0x04)  /* gpio  67-43 */
-#define MSM7X00_GPIO_OUT_3	MSM_GPIO1_SHADOW_REG(0x08)  /* gpio  94-68 */
-#define MSM7X00_GPIO_OUT_4	MSM_GPIO1_SHADOW_REG(0x0C)  /* gpio 106-95 */
-#define MSM7X00_GPIO_OUT_5	MSM_GPIO1_SHADOW_REG(0x50)  /* gpio 107-121 */
-
-/* same pin map as above, output enable */
-#define MSM7X00_GPIO_OE_0	MSM_GPIO1_SHADOW_REG(0x10)
-#define MSM7X00_GPIO_OE_1	MSM_GPIO2_SHADOW_REG(0x08)
-#define MSM7X00_GPIO_OE_2	MSM_GPIO1_SHADOW_REG(0x14)
(Continue reading)

David Brown | 1 Dec 2011 01:29
Gravatar

[PATCH 3/3] ARM: msm: Remove cpu_is test for msm7201 soc

Now that the last bits of this target are gone, the CPU test is no
longer useful.

Signed-off-by: David Brown <davidb <at> codeaurora.org>
---
 arch/arm/mach-msm/include/mach/cpu.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/arm/mach-msm/include/mach/cpu.h b/arch/arm/mach-msm/include/mach/cpu.h
index a9481b0..e5e7fb5 100644
--- a/arch/arm/mach-msm/include/mach/cpu.h
+++ b/arch/arm/mach-msm/include/mach/cpu.h
 <at>  <at>  -20,17 +20,11  <at>  <at> 

 /* TODO: For now, only one CPU can be compiled at a time. */

-#define cpu_is_msm7x01()	0
 #define cpu_is_msm7x30()	0
 #define cpu_is_qsd8x50()	0
 #define cpu_is_msm8x60()	0
 #define cpu_is_msm8960()	0

-#ifdef CONFIG_ARCH_MSM7X00A
-# undef cpu_is_msm7x01
-# define cpu_is_msm7x01()	1
-#endif
-
 #ifdef CONFIG_ARCH_MSM7X30
 # undef cpu_is_msm7x30
 # define cpu_is_msm7x30()	1
(Continue reading)


Gmane