[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1493110102-657-1-git-send-email-ying.zhang22455@nxp.com>
Date: Tue, 25 Apr 2017 16:48:21 +0800
From: <ying.zhang22455@....com>
To: <linux-kernel@...r.kernel.org>
CC: <jiafei.pan@....com>, Stuart Yoder <stuart.yoder@....com>,
Zhang Ying-22455 <ying.zhang22455@....com>
Subject: [PATCH 1/5 v2] soc: fsl: add support for arm64/Layerscape SOC specific drivers
From: Stuart Yoder <stuart.yoder@....com>
Signed-off-by: Zhang Ying-22455 <ying.zhang22455@....com>
---
Change from V1:
- remove FSL_SOC_DRIVERS
drivers/soc/fsl/Kconfig | 3 +++
drivers/soc/fsl/Kconfig.arm | 16 ++++++++++++++++
drivers/soc/fsl/Makefile | 1 +
3 files changed, 20 insertions(+)
create mode 100644 drivers/soc/fsl/Kconfig.arm
diff --git a/drivers/soc/fsl/Kconfig b/drivers/soc/fsl/Kconfig
index 7a9fb9b..333ecfb 100644
--- a/drivers/soc/fsl/Kconfig
+++ b/drivers/soc/fsl/Kconfig
@@ -16,3 +16,6 @@ config FSL_GUTS
Initially only reading SVR and registering soc device are supported.
Other guts accesses, such as reading RCW, should eventually be moved
into this driver as well.
+if ARM || ARM64
+source "drivers/soc/fsl/Kconfig.arm"
+endif
diff --git a/drivers/soc/fsl/Kconfig.arm b/drivers/soc/fsl/Kconfig.arm
new file mode 100644
index 0000000..47ec165
--- /dev/null
+++ b/drivers/soc/fsl/Kconfig.arm
@@ -0,0 +1,16 @@
+#
+# Freescale ARM SOC Drivers
+#
+
+config LS_SOC_DRIVERS
+ bool "Layerscape Soc Drivers"
+ depends on ARCH_LAYERSCAPE
+ default n
+ help
+ Say y here to enable Freescale Layerscape Soc Device Drivers support.
+ The Soc Drivers provides the device driver that is a specific block
+ or feature on Layerscape platform.
+
+if LS_SOC_DRIVERS
+ source "drivers/soc/fsl/layerscape/Kconfig"
+endif
diff --git a/drivers/soc/fsl/Makefile b/drivers/soc/fsl/Makefile
index 44b3beb..2b61dad 100644
--- a/drivers/soc/fsl/Makefile
+++ b/drivers/soc/fsl/Makefile
@@ -6,3 +6,4 @@ obj-$(CONFIG_FSL_DPAA) += qbman/
obj-$(CONFIG_QUICC_ENGINE) += qe/
obj-$(CONFIG_CPM) += qe/
obj-$(CONFIG_FSL_GUTS) += guts.o
+obj-$(CONFIG_LS_SOC_DRIVERS) += layerscape/
--
2.1.0.27.g96db324
Powered by blists - more mailing lists