From df30a425bbec7b849959f7dc7386e6db798dead6 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 00:51:38 +0530 Subject: spi: Kconfig: Add Zynq SPI controller entry Add Zynq SPI controller Kconfig entry. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass Cc: Marek Vasut Cc: Michal Simek Cc: Siva Durga Prasad Paladugu --- drivers/spi/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 357a33511f..fbff707c6f 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -51,3 +51,11 @@ config CADENCE_QSPI Enable the Cadence Quad-SPI (QSPI) driver. This driver can be used to access the SPI NOR flash on platforms embedding this Cadence IP core. + +config ZYNQ_SPI + bool "Zynq SPI driver" + depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP) + help + Enable the Zynq SPI driver. This driver can be used to + access the SPI NOR flash on platforms embedding this Zynq + SPI IP core. -- cgit From de8230535b892d8dee768e40e91a4595d6585155 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 22:35:14 +0530 Subject: spi: Add Kconfig menu entry Added Kconfig menu ... endmenu enties for spi support. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index fbff707c6f..913951f6cc 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -1,3 +1,5 @@ +menu "SPI Support" + config DM_SPI bool "Enable Driver Model for SPI drivers" depends on DM @@ -59,3 +61,5 @@ config ZYNQ_SPI Enable the Zynq SPI driver. This driver can be used to access the SPI NOR flash on platforms embedding this Zynq SPI IP core. + +endmenu # menu "SPI Support" -- cgit From 075143d3cfd780efed63ad0f28a299c8bc15379f Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 04:32:43 +0530 Subject: spi: Kconfig: Add XILINX_SPI entry Added XILINX_SPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Cc: Michal Simek --- drivers/spi/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 913951f6cc..452dd4d85b 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -54,6 +54,15 @@ config CADENCE_QSPI used to access the SPI NOR flash on platforms embedding this Cadence IP core. +config XILINX_SPI + bool "Xilinx SPI driver" + depends on DM_SPI + help + Enable the Xilinx SPI driver from the Xilinx EDK. This SPI + controller support 8 bit SPI transfers only, with or w/o FIFO. + For more info on Xilinx SPI Register Definitions and Overview + see driver file - drivers/spi/xilinx_spi.c + config ZYNQ_SPI bool "Zynq SPI driver" depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP) -- cgit From f924a2090884a33d175f74d905e70c8e713b2abb Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 04:41:11 +0530 Subject: spi: Kconfig: Add TI_QSPI entry Added TI_QSPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Tom Rini --- drivers/spi/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 452dd4d85b..218657e759 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -54,6 +54,12 @@ config CADENCE_QSPI used to access the SPI NOR flash on platforms embedding this Cadence IP core. +config TI_QSPI + bool "TI QSPI driver" + help + Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. + This driver support spi flash single, quad and memory reads. + config XILINX_SPI bool "Xilinx SPI driver" depends on DM_SPI -- cgit From e4976af8656878c708f9b90278648b39e6d88dc6 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 22:37:00 +0530 Subject: spi: Kconfig: Show dm-spi drivers if DM_SPI set DM supported spi drivers are enbled only when DM_SPI enabled, so added DM_SPI if condition in Kconfig to show thoese only when it enabled. Also re-order the config items as incresing alphabetic order. Signed-off-by: Jagan Teki --- drivers/spi/Kconfig | 51 ++++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 25 deletions(-) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 218657e759..7277bbdc3c 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -13,6 +13,22 @@ config DM_SPI typically use driver-private data instead of extending the spi_slave structure. +if DM_SPI + +config CADENCE_QSPI + bool "Cadence QSPI driver" + help + Enable the Cadence Quad-SPI (QSPI) driver. This driver can be + used to access the SPI NOR flash on platforms embedding this + Cadence IP core. + +config DESIGNWARE_SPI + bool "Designware SPI driver" + help + Enable the Designware SPI driver. This driver can be used to + access the SPI NOR flash on platforms embedding this Designware + IP core. + config SANDBOX_SPI bool "Sandbox SPI driver" depends on SANDBOX && DM @@ -36,33 +52,10 @@ config SANDBOX_SPI spi-max-frequency = <40000000>; sandbox,filename = "spi.bin"; }; - }; - -config DESIGNWARE_SPI - bool "Designware SPI driver" - depends on DM_SPI - help - Enable the Designware SPI driver. This driver can be used to - access the SPI NOR flash on platforms embedding this Designware - IP core. - -config CADENCE_QSPI - bool "Cadence QSPI driver" - depends on DM_SPI - help - Enable the Cadence Quad-SPI (QSPI) driver. This driver can be - used to access the SPI NOR flash on platforms embedding this - Cadence IP core. - -config TI_QSPI - bool "TI QSPI driver" - help - Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. - This driver support spi flash single, quad and memory reads. + }; config XILINX_SPI bool "Xilinx SPI driver" - depends on DM_SPI help Enable the Xilinx SPI driver from the Xilinx EDK. This SPI controller support 8 bit SPI transfers only, with or w/o FIFO. @@ -71,10 +64,18 @@ config XILINX_SPI config ZYNQ_SPI bool "Zynq SPI driver" - depends on DM_SPI && (ARCH_ZYNQ || TARGET_XILINX_ZYNQMP) + depends on ARCH_ZYNQ || TARGET_XILINX_ZYNQMP help Enable the Zynq SPI driver. This driver can be used to access the SPI NOR flash on platforms embedding this Zynq SPI IP core. +endif # if DM_SPI + +config TI_QSPI + bool "TI QSPI driver" + help + Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms. + This driver support spi flash single, quad and memory reads. + endmenu # menu "SPI Support" -- cgit From 94ea308d758fd0621450c542c2ba46db28ddf2ef Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 14:17:06 +0530 Subject: spi: Kconfig: Add FSL_DSPI entry Added FSL_DSPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Cc: Haikun Wang --- drivers/spi/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 7277bbdc3c..9c6c5d51e8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -29,6 +29,14 @@ config DESIGNWARE_SPI access the SPI NOR flash on platforms embedding this Designware IP core. +config FSL_DSPI + bool "Freescale DSPI driver" + help + Enable the Freescale DSPI driver. This driver can be used to + access the SPI NOR flash and SPI Data flash on platforms embedding + this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms + use this driver. + config SANDBOX_SPI bool "Sandbox SPI driver" depends on SANDBOX && DM -- cgit From 3debffa7043ca44c0aa314bea19b60c08bdf5e51 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 15:21:36 +0530 Subject: spi: Kconfig: Add FSL_ESPI entry Added FSL_ESPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Cc: Haikun Wang --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 9c6c5d51e8..2c0046d209 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -80,6 +80,13 @@ config ZYNQ_SPI endif # if DM_SPI +config FSL_ESPI + bool "Freescale eSPI driver" + help + Enable the Freescale eSPI driver. This driver can be used to + access the SPI interface and SPI NOR flash on platforms embedding + this Freescale eSPI IP core. + config TI_QSPI bool "TI QSPI driver" help -- cgit From 91c22d046c542361fea2e0398772d646a4d75560 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 15:23:07 +0530 Subject: spi: Kconfig: Add FSL_QSPI entry Added FSL_QSPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Cc: Peng Fan Cc: Haikun Wang --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 2c0046d209..e4a90e8eb0 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -37,6 +37,13 @@ config FSL_DSPI this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms use this driver. +config FSL_QSPI + bool "Freescale QSPI driver" + help + Enable the Freescale Quad-SPI (QSPI) driver. This driver can be + used to access the SPI NOR flash on platforms embedding this + Freescale IP core. + config SANDBOX_SPI bool "Sandbox SPI driver" depends on SANDBOX && DM -- cgit From c354eee8d02eba1e24ff863023ba842f9c91e226 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 15:32:19 +0530 Subject: spi: Kconfig: Add EXYNOS_SPI entry Added EXYNOS_SPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index e4a90e8eb0..d5e688116d 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -29,6 +29,13 @@ config DESIGNWARE_SPI access the SPI NOR flash on platforms embedding this Designware IP core. +config EXYNOS_SPI + bool "Samsung Exynos SPI driver" + help + Enable the Samsung Exynos SPI driver. This driver can be used to + access the SPI NOR flash on platforms embedding this Samsung + Exynos IP core. + config FSL_DSPI bool "Freescale DSPI driver" help -- cgit From 456360102cf609a8990e3c65911b6631e96c3795 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 15:43:27 +0530 Subject: spi: Kconfig: Add ICH_SPI entry Added ICH_SPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass Reviewed-by: Bin Meng --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index d5e688116d..43f9faccd0 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -51,6 +51,13 @@ config FSL_QSPI used to access the SPI NOR flash on platforms embedding this Freescale IP core. +config ICH_SPI + bool "Intel ICH SPI driver" + help + Enable the Intel ICH SPI driver. This driver can be used to + access the SPI NOR flash on platforms embedding this Intel + ICH IP core. + config SANDBOX_SPI bool "Sandbox SPI driver" depends on SANDBOX && DM -- cgit From 5bf9a2d3dd1714068993f66ec2489af333f3e7d1 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 15:57:53 +0530 Subject: spi: Kconfig: Add TEGRA114_SPI entry Added TEGRA114_SPI entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass Cc: Tom Warren Cc: Stephen Warren --- drivers/spi/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 43f9faccd0..16dce77c04 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -83,6 +83,16 @@ config SANDBOX_SPI }; }; +config TEGRA114_SPI + bool "nVidia Tegra114 SPI driver" + help + Enable the nVidia Tegra114 SPI driver. This driver can be used to + access the SPI NOR flash on platforms embedding this nVidia Tegra114 + IP core. + + This controller is different than the older SoCs SPI controller and + also register interface get changed with this controller. + config XILINX_SPI bool "Xilinx SPI driver" help -- cgit From 2f3e6f8cc1449511f6cdb0b2b624084af73669ca Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 16:04:05 +0530 Subject: spi: Kconfig: Add TEGRA20_SFLASH entry Added TEGRA20_SFLASH entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass Cc: Tom Warren Cc: Stephen Warren --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 16dce77c04..8ffb3c47cb 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -93,6 +93,13 @@ config TEGRA114_SPI This controller is different than the older SoCs SPI controller and also register interface get changed with this controller. +config TEGRA20_SFLASH + bool "nVidia Tegra20 Serial Flash controller driver" + help + Enable the nVidia Tegra20 Serial Flash controller driver. This driver + can be used to access the SPI NOR flash on platforms embedding this + nVidia Tegra20 IP core. + config XILINX_SPI bool "Xilinx SPI driver" help -- cgit From 4495830c580f4508f9a4244e0eef5ddf406d7d47 Mon Sep 17 00:00:00 2001 From: Jagan Teki Date: Sat, 27 Jun 2015 16:07:54 +0530 Subject: spi: Kconfig: Add TEGRA20_SLINK entry Added TEGRA20_SLINK entry on Kconfig with help description. Signed-off-by: Jagan Teki Reviewed-by: Simon Glass Cc: Tom Warren Cc: Stephen Warren --- drivers/spi/Kconfig | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'drivers/spi/Kconfig') diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 8ffb3c47cb..c84a7b74d6 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -100,6 +100,13 @@ config TEGRA20_SFLASH can be used to access the SPI NOR flash on platforms embedding this nVidia Tegra20 IP core. +config TEGRA20_SLINK + bool "nVidia Tegra20/Tegra30 SLINK driver" + help + Enable the nVidia Tegra20/Tegra30 SLINK driver. This driver can + be used to access the SPI NOR flash on platforms embedding this + nVidia Tegra20/Tegra30 IP cores. + config XILINX_SPI bool "Xilinx SPI driver" help -- cgit