All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node
@ 2015-09-04  7:33 Jagan Teki
  2015-09-04  7:33 ` [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry Jagan Teki
  2015-09-04  7:46 ` [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Michal Simek
  0 siblings, 2 replies; 6+ messages in thread
From: Jagan Teki @ 2015-09-04  7:33 UTC (permalink / raw)
  To: u-boot

Enabled zynq qspi controller node for zc770-xm010 board.

=> sf probe 0 -- bus1 for selecting qspi controller
=> sf probe 1 -- bus0 for selecting spi controller

Signed-off-by: Jagan Teki <jteki@openedev.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Cc: Michal Simek <michal.simek@xilinx.com>
---
Changes for v2. v3, v4:
	- none
Changes for v5:
	- Make qspi as spi0

 arch/arm/dts/zynq-zc770-xm010.dts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynq-zc770-xm010.dts b/arch/arm/dts/zynq-zc770-xm010.dts
index 680f24c..cf56ac8 100644
--- a/arch/arm/dts/zynq-zc770-xm010.dts
+++ b/arch/arm/dts/zynq-zc770-xm010.dts
@@ -16,7 +16,8 @@
 		ethernet0 = &gem0;
 		i2c0 = &i2c0;
 		serial0 = &uart1;
-		spi0 = &spi1;
+		spi0 = &qspi;
+		spi1 = &spi1;
 	};
 
 	chosen {
@@ -53,6 +54,10 @@
 	};
 };
 
+&qspi {
+	status = "okay";
+};
+
 &can0 {
 	status = "okay";
 };
-- 
1.9.1

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

* [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry
  2015-09-04  7:33 [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Jagan Teki
@ 2015-09-04  7:33 ` Jagan Teki
  2015-09-04  7:46   ` Michal Simek
  2015-09-04  7:46 ` [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Michal Simek
  1 sibling, 1 reply; 6+ messages in thread
From: Jagan Teki @ 2015-09-04  7:33 UTC (permalink / raw)
  To: u-boot

Add Zynq QSPI controller Kconfig entry.

Signed-off-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
---
Changes for v2. v3, v4:
        - none
Changes for v5:
        - Remove TARGET_XILINX_ZYNQMP

 drivers/spi/Kconfig | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index 8e04fce..0692419 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -131,6 +131,15 @@ config ZYNQ_SPI
 	  access the SPI NOR flash on platforms embedding this Zynq
 	  SPI IP core.
 
+config ZYNQ_QSPI
+	bool "Zynq QSPI driver"
+	depends on ARCH_ZYNQ
+	help
+	  Enable the Zynq Quad-SPI (QSPI) driver. This driver can be
+	  used to access the SPI NOR flash on platforms embedding this
+	  Zynq QSPI IP core. This IP is used to connect the flash in
+	  4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
+
 endif # if DM_SPI
 
 config FSL_ESPI
-- 
1.9.1

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

* [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node
  2015-09-04  7:33 [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Jagan Teki
  2015-09-04  7:33 ` [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry Jagan Teki
@ 2015-09-04  7:46 ` Michal Simek
  2015-09-04 12:34   ` Jagan Teki
  1 sibling, 1 reply; 6+ messages in thread
From: Michal Simek @ 2015-09-04  7:46 UTC (permalink / raw)
  To: u-boot

On 09/04/2015 09:33 AM, Jagan Teki wrote:
> Enabled zynq qspi controller node for zc770-xm010 board.
> 
> => sf probe 0 -- bus1 for selecting qspi controller
> => sf probe 1 -- bus0 for selecting spi controller
> 
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> Cc: Simon Glass <sjg@chromium.org>
> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
> Cc: Michal Simek <michal.simek@xilinx.com>
> ---
> Changes for v2. v3, v4:
> 	- none
> Changes for v5:
> 	- Make qspi as spi0
> 
>  arch/arm/dts/zynq-zc770-xm010.dts | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Acked-by: Michal Simek <michal.simek@xilinx.com>

Thanks,
Michal

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

* [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry
  2015-09-04  7:33 ` [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry Jagan Teki
@ 2015-09-04  7:46   ` Michal Simek
  2015-09-04 12:34     ` Jagan Teki
  0 siblings, 1 reply; 6+ messages in thread
From: Michal Simek @ 2015-09-04  7:46 UTC (permalink / raw)
  To: u-boot

On 09/04/2015 09:33 AM, Jagan Teki wrote:
> Add Zynq QSPI controller Kconfig entry.
> 
> Signed-off-by: Jagan Teki <jteki@openedev.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>
> Cc: Michal Simek <michal.simek@xilinx.com>
> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
> ---
> Changes for v2. v3, v4:
>         - none
> Changes for v5:
>         - Remove TARGET_XILINX_ZYNQMP
> 
>  drivers/spi/Kconfig | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Acked-by: Michal Simek <michal.simek@xilinx.com>

Thanks,
Michal

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

* [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node
  2015-09-04  7:46 ` [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Michal Simek
@ 2015-09-04 12:34   ` Jagan Teki
  0 siblings, 0 replies; 6+ messages in thread
From: Jagan Teki @ 2015-09-04 12:34 UTC (permalink / raw)
  To: u-boot

On 4 September 2015 at 13:16, Michal Simek <michal.simek@xilinx.com> wrote:
> On 09/04/2015 09:33 AM, Jagan Teki wrote:
>> Enabled zynq qspi controller node for zc770-xm010 board.
>>
>> => sf probe 0 -- bus1 for selecting qspi controller
>> => sf probe 1 -- bus0 for selecting spi controller
>>
>> Signed-off-by: Jagan Teki <jteki@openedev.com>
>> Cc: Simon Glass <sjg@chromium.org>
>> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
>> Cc: Michal Simek <michal.simek@xilinx.com>
>> ---
>> Changes for v2. v3, v4:
>>       - none
>> Changes for v5:
>>       - Make qspi as spi0
>>
>>  arch/arm/dts/zynq-zc770-xm010.dts | 7 ++++++-
>>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> Acked-by: Michal Simek <michal.simek@xilinx.com>

Applied to u-boot-spi/master

thanks!
-- 
Jagan | openedev.

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

* [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry
  2015-09-04  7:46   ` Michal Simek
@ 2015-09-04 12:34     ` Jagan Teki
  0 siblings, 0 replies; 6+ messages in thread
From: Jagan Teki @ 2015-09-04 12:34 UTC (permalink / raw)
  To: u-boot

On 4 September 2015 at 13:16, Michal Simek <michal.simek@xilinx.com> wrote:
> On 09/04/2015 09:33 AM, Jagan Teki wrote:
>> Add Zynq QSPI controller Kconfig entry.
>>
>> Signed-off-by: Jagan Teki <jteki@openedev.com>
>> Reviewed-by: Simon Glass <sjg@chromium.org>
>> Cc: Michal Simek <michal.simek@xilinx.com>
>> Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
>> ---
>> Changes for v2. v3, v4:
>>         - none
>> Changes for v5:
>>         - Remove TARGET_XILINX_ZYNQMP
>>
>>  drivers/spi/Kconfig | 9 +++++++++
>>  1 file changed, 9 insertions(+)
>>
>
> Acked-by: Michal Simek <michal.simek@xilinx.com>

Applied to u-boot-spi/master

thanks!
-- 
Jagan | openedev.

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

end of thread, other threads:[~2015-09-04 12:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-04  7:33 [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Jagan Teki
2015-09-04  7:33 ` [U-Boot] [PATCH v5 13/16] spi: Kconfig: Add Zynq QSPI controller entry Jagan Teki
2015-09-04  7:46   ` Michal Simek
2015-09-04 12:34     ` Jagan Teki
2015-09-04  7:46 ` [U-Boot] [PATCH v5 07/16] dts: zc770-xm010: Enable zynq qspi controller node Michal Simek
2015-09-04 12:34   ` Jagan Teki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.