linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/5 v2] soc: fsl: add support for arm64/Layerscape SOC specific drivers
@ 2017-04-25  8:48 ying.zhang22455
  2017-04-25  8:48 ` [PATCH 2/5 v2] soc: fsl: add flextimer module alarm driver for Layerscape ying.zhang22455
  0 siblings, 1 reply; 2+ messages in thread
From: ying.zhang22455 @ 2017-04-25  8:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: jiafei.pan, Stuart Yoder, Zhang Ying-22455

From: Stuart Yoder <stuart.yoder@nxp.com>

Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-25  9:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-25  8:48 [PATCH 1/5 v2] soc: fsl: add support for arm64/Layerscape SOC specific drivers ying.zhang22455
2017-04-25  8:48 ` [PATCH 2/5 v2] soc: fsl: add flextimer module alarm driver for Layerscape ying.zhang22455

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).