Commit 64dbc4dd authored by Arnd Bergmann's avatar Arnd Bergmann

ARM: pxa: move plat-pxa to drivers/soc/

There are two drivers in arch/arm/plat-pxa: mfp and ssp. Both
of them should ideally not be needed at all, as there are
proper subsystems to replace them.

OTOH, they are self-contained and can simply be normal
SoC drivers, so move them over there to eliminate one more
of the plat-* directories.

Acked-by: Robert Jarzmik <robert.jarzmik@free.fr> (mach-pxa)
Acked-by: Lubomir Rintel <lkundrak@v3.sk> (mach-mmp)
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 6922a3d1
...@@ -667,7 +667,6 @@ source "arch/arm/mach-orion5x/Kconfig" ...@@ -667,7 +667,6 @@ source "arch/arm/mach-orion5x/Kconfig"
source "arch/arm/mach-oxnas/Kconfig" source "arch/arm/mach-oxnas/Kconfig"
source "arch/arm/mach-pxa/Kconfig" source "arch/arm/mach-pxa/Kconfig"
source "arch/arm/plat-pxa/Kconfig"
source "arch/arm/mach-qcom/Kconfig" source "arch/arm/mach-qcom/Kconfig"
...@@ -753,9 +752,6 @@ config PLAT_ORION_LEGACY ...@@ -753,9 +752,6 @@ config PLAT_ORION_LEGACY
bool bool
select PLAT_ORION select PLAT_ORION
config PLAT_PXA
bool
config PLAT_VERSATILE config PLAT_VERSATILE
bool bool
......
...@@ -230,7 +230,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear ...@@ -230,7 +230,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear
# by CONFIG_* macro name. # by CONFIG_* macro name.
plat-$(CONFIG_ARCH_OMAP) += omap plat-$(CONFIG_ARCH_OMAP) += omap
plat-$(CONFIG_PLAT_ORION) += orion plat-$(CONFIG_PLAT_ORION) += orion
plat-$(CONFIG_PLAT_PXA) += pxa
plat-$(CONFIG_PLAT_VERSATILE) += versatile plat-$(CONFIG_PLAT_VERSATILE) += versatile
# The byte offset of the kernel image in RAM from the start of RAM. # The byte offset of the kernel image in RAM from the start of RAM.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifndef __ASM_MACH_MFP_H #ifndef __ASM_MACH_MFP_H
#define __ASM_MACH_MFP_H #define __ASM_MACH_MFP_H
#include <plat/mfp.h> #include <linux/soc/pxa/mfp.h>
/* /*
* NOTE: the MFPR register bit definitions on PXA168 processor lines are a * NOTE: the MFPR register bit definitions on PXA168 processor lines are a
......
...@@ -13,6 +13,6 @@ ...@@ -13,6 +13,6 @@
#ifndef __ASM_ARCH_MFP_H #ifndef __ASM_ARCH_MFP_H
#define __ASM_ARCH_MFP_H #define __ASM_ARCH_MFP_H
#include <plat/mfp.h> #include <linux/soc/pxa/mfp.h>
#endif /* __ASM_ARCH_MFP_H */ #endif /* __ASM_ARCH_MFP_H */
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifndef __ASM_ARCH_MFP_PXA2XX_H #ifndef __ASM_ARCH_MFP_PXA2XX_H
#define __ASM_ARCH_MFP_PXA2XX_H #define __ASM_ARCH_MFP_PXA2XX_H
#include <plat/mfp.h> #include <linux/soc/pxa/mfp.h>
/* /*
* the following MFP_xxx bit definitions in mfp.h are re-used for pxa2xx: * the following MFP_xxx bit definitions in mfp.h are re-used for pxa2xx:
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifndef __ASM_ARCH_MFP_PXA3XX_H #ifndef __ASM_ARCH_MFP_PXA3XX_H
#define __ASM_ARCH_MFP_PXA3XX_H #define __ASM_ARCH_MFP_PXA3XX_H
#include <plat/mfp.h> #include <linux/soc/pxa/mfp.h>
#define MFPR_BASE (0x40e10000) #define MFPR_BASE (0x40e10000)
......
...@@ -14,6 +14,7 @@ source "drivers/soc/ixp4xx/Kconfig" ...@@ -14,6 +14,7 @@ source "drivers/soc/ixp4xx/Kconfig"
source "drivers/soc/litex/Kconfig" source "drivers/soc/litex/Kconfig"
source "drivers/soc/mediatek/Kconfig" source "drivers/soc/mediatek/Kconfig"
source "drivers/soc/microchip/Kconfig" source "drivers/soc/microchip/Kconfig"
source "drivers/soc/pxa/Kconfig"
source "drivers/soc/qcom/Kconfig" source "drivers/soc/qcom/Kconfig"
source "drivers/soc/renesas/Kconfig" source "drivers/soc/renesas/Kconfig"
source "drivers/soc/rockchip/Kconfig" source "drivers/soc/rockchip/Kconfig"
......
...@@ -19,6 +19,7 @@ obj-$(CONFIG_SOC_XWAY) += lantiq/ ...@@ -19,6 +19,7 @@ obj-$(CONFIG_SOC_XWAY) += lantiq/
obj-$(CONFIG_LITEX_SOC_CONTROLLER) += litex/ obj-$(CONFIG_LITEX_SOC_CONTROLLER) += litex/
obj-y += mediatek/ obj-y += mediatek/
obj-y += microchip/ obj-y += microchip/
obj-y += pxa/
obj-y += amlogic/ obj-y += amlogic/
obj-y += qcom/ obj-y += qcom/
obj-y += renesas/ obj-y += renesas/
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
if PLAT_PXA config PLAT_PXA
bool
config PXA_SSP config PXA_SSP
tristate tristate
help help
Enable support for PXA2xx SSP ports Enable support for PXA2xx SSP ports
endif
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
#
# Makefile for code common across different PXA processor families
#
ccflags-$(CONFIG_ARCH_MMP) := -I$(srctree)/$(src)/include
obj-$(CONFIG_PXA3xx) += mfp.o obj-$(CONFIG_PXA3xx) += mfp.o
obj-$(CONFIG_ARCH_MMP) += mfp.o obj-$(CONFIG_ARCH_MMP) += mfp.o
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/io.h> #include <linux/io.h>
#include <plat/mfp.h> #include <linux/soc/pxa/mfp.h>
#define MFPR_SIZE (PAGE_SIZE) #define MFPR_SIZE (PAGE_SIZE)
......
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* arch/arm/plat-pxa/include/plat/mfp.h
*
* Common Multi-Function Pin Definitions * Common Multi-Function Pin Definitions
* *
* Copyright (C) 2007 Marvell International Ltd. * Copyright (C) 2007 Marvell International Ltd.
...@@ -453,8 +451,8 @@ struct mfp_addr_map { ...@@ -453,8 +451,8 @@ struct mfp_addr_map {
#define MFP_ADDR_END { MFP_PIN_INVALID, 0 } #define MFP_ADDR_END { MFP_PIN_INVALID, 0 }
void __init mfp_init_base(void __iomem *mfpr_base); void mfp_init_base(void __iomem *mfpr_base);
void __init mfp_init_addr(struct mfp_addr_map *map); void mfp_init_addr(struct mfp_addr_map *map);
/* /*
* mfp_{read, write}() - for direct read/write access to the MFPR register * mfp_{read, write}() - for direct read/write access to the MFPR register
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment