All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] xilinx: DT/Kconfig changes
@ 2020-05-12  6:55 Michal Simek
  2020-05-12  6:55 ` [PATCH 1/5] arm: zynq: Enable alternative memory test Michal Simek
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

Hi,

this is small series with misc changes target configs and DTs.

Thanks,
Michal


Ashok Reddy Soma (2):
  arm: zynq: Enable alternative memory test
  arm64: versal: Enable config to map TCM and OCM

Saeed Nowshadi (1):
  arm64: zynqmp: Fix si570 clock output names and references

T Karthik Reddy (2):
  arm64: zynqmp: Reduce console buffer size
  arm64: zynqmp: Change spi-max-frequency for qspi mini

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
 arch/arm/dts/zynqmp-mini-qspi.dts       |  2 +-
 configs/xilinx_versal_virt_defconfig    |  1 +
 configs/xilinx_zynq_virt_defconfig      |  1 +
 include/configs/xilinx_zynqmp_mini.h    |  2 ++
 5 files changed, 10 insertions(+), 6 deletions(-)

-- 
2.26.2

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

* [PATCH 1/5] arm: zynq: Enable alternative memory test
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
@ 2020-05-12  6:55 ` Michal Simek
  2020-05-12  6:55 ` [PATCH 2/5] arm64: versal: Enable config to map TCM and OCM Michal Simek
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>

Enable alternative memory test for zynq platforms.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_zynq_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_zynq_virt_defconfig b/configs/xilinx_zynq_virt_defconfig
index 375d54cbad63..63bb51a73369 100644
--- a/configs/xilinx_zynq_virt_defconfig
+++ b/configs/xilinx_zynq_virt_defconfig
@@ -24,6 +24,7 @@ CONFIG_SPL_SPI_LOAD=y
 CONFIG_CMD_IMLS=y
 CONFIG_CMD_THOR_DOWNLOAD=y
 CONFIG_CMD_MEMTEST=y
+CONFIG_SYS_ALT_MEMTEST=y
 CONFIG_SYS_MEMTEST_START=0x00000000
 CONFIG_SYS_MEMTEST_END=0x00001000
 CONFIG_CMD_DFU=y
-- 
2.26.2

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

* [PATCH 2/5] arm64: versal: Enable config to map TCM and OCM
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
  2020-05-12  6:55 ` [PATCH 1/5] arm: zynq: Enable alternative memory test Michal Simek
@ 2020-05-12  6:55 ` Michal Simek
  2020-05-12  6:55 ` [PATCH 3/5] arm64: zynqmp: Reduce console buffer size Michal Simek
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>

Enable CONFIG_DEFINE_TCM_OCM_MMAP to map TCM and OCM memory.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 configs/xilinx_versal_virt_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/xilinx_versal_virt_defconfig b/configs/xilinx_versal_virt_defconfig
index 7c20123b66fa..ac1182e77df5 100644
--- a/configs/xilinx_versal_virt_defconfig
+++ b/configs/xilinx_versal_virt_defconfig
@@ -3,6 +3,7 @@ CONFIG_ARCH_VERSAL=y
 CONFIG_SYS_TEXT_BASE=0x8000000
 CONFIG_SYS_MALLOC_F_LEN=0x100000
 CONFIG_DM_GPIO=y
+CONFIG_DEFINE_TCM_OCM_MMAP=y
 CONFIG_COUNTER_FREQUENCY=62500000
 CONFIG_DISTRO_DEFAULTS=y
 CONFIG_FIT=y
-- 
2.26.2

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

* [PATCH 3/5] arm64: zynqmp: Reduce console buffer size
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
  2020-05-12  6:55 ` [PATCH 1/5] arm: zynq: Enable alternative memory test Michal Simek
  2020-05-12  6:55 ` [PATCH 2/5] arm64: versal: Enable config to map TCM and OCM Michal Simek
@ 2020-05-12  6:55 ` Michal Simek
  2020-05-12  6:55 ` [PATCH 4/5] arm64: zynqmp: Fix si570 clock output names and references Michal Simek
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

From: T Karthik Reddy <t.karthik.reddy@xilinx.com>

Reduce console buffer size to 1kbyte to accommodate memory
allocations in mini u-boot for zynqmp.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/configs/xilinx_zynqmp_mini.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/configs/xilinx_zynqmp_mini.h b/include/configs/xilinx_zynqmp_mini.h
index 3078b9c55b52..65c33ed4d94a 100644
--- a/include/configs/xilinx_zynqmp_mini.h
+++ b/include/configs/xilinx_zynqmp_mini.h
@@ -27,5 +27,7 @@
 /* BOOTP options */
 #undef CONFIG_BOOTP_BOOTFILESIZE
 #undef CONFIG_BOOTP_MAY_FAIL
+#undef CONFIG_SYS_CBSIZE
+#define CONFIG_SYS_CBSIZE		1024
 
 #endif /* __CONFIG_ZYNQMP_MINI_H */
-- 
2.26.2

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

* [PATCH 4/5] arm64: zynqmp: Fix si570 clock output names and references
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
                   ` (2 preceding siblings ...)
  2020-05-12  6:55 ` [PATCH 3/5] arm64: zynqmp: Reduce console buffer size Michal Simek
@ 2020-05-12  6:55 ` Michal Simek
  2020-05-12  6:55 ` [PATCH 5/5] arm64: zynqmp: Change spi-max-frequency for qspi mini Michal Simek
  2020-06-25  8:04 ` [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

From: Saeed Nowshadi <saeed.nowshadi@xilinx.com>

Align clock output names with node references.

Signed-off-by: Saeed Nowshadi <saeed.nowshadi@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
index bf982e221830..c260411d7571 100644
--- a/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
+++ b/arch/arm/dts/zynqmp-e-a2197-00-revA.dts
@@ -2,7 +2,7 @@
 /*
  * dts file for Xilinx Versal a2197 RevA System Controller
  *
- * (C) Copyright 2019, Xilinx, Inc.
+ * (C) Copyright 2019 - 2020, Xilinx, Inc.
  *
  * Michal Simek <michal.simek@xilinx.com>
  */
@@ -421,14 +421,14 @@
 				temperature-stability = <50>;
 				factory-fout = <156250000>;
 				clock-frequency = <156250000>;
-				clock-output-names = "si570_hsdp_clk";
+				clock-output-names = "si570_zsfp_clk";
 			};
 		};
 		i2c at 6 { /* USER_SI570_1 */
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <6>;
-			si570_user1_clk: clock-generator at 5d { /* u205 */
+			si570_user1: clock-generator at 5d { /* u205 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x5f>;
@@ -510,7 +510,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <4>;
-			si570_ddr_dimm2: clock-generator at 60 { /* u3 */
+			si570_lpddr4clk2: clock-generator at 60 { /* u3 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x60>;
@@ -524,7 +524,7 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			reg = <5>;
-			si570_lpddr4: clock-generator at 60 { /* u4 */
+			si570_lpddr4clk1: clock-generator at 60 { /* u4 */
 				#clock-cells = <0>;
 				compatible = "silabs,si570";
 				reg = <0x60>;
-- 
2.26.2

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

* [PATCH 5/5] arm64: zynqmp: Change spi-max-frequency for qspi mini
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
                   ` (3 preceding siblings ...)
  2020-05-12  6:55 ` [PATCH 4/5] arm64: zynqmp: Fix si570 clock output names and references Michal Simek
@ 2020-05-12  6:55 ` Michal Simek
  2020-06-25  8:04 ` [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-05-12  6:55 UTC (permalink / raw)
  To: u-boot

From: T Karthik Reddy <t.karthik.reddy@xilinx.com>

Change mini u-boot qspi spi-max-frequency to 108Mhz, make the
frequency similar to full u-boot qspi flash spi-max-frequency.

Signed-off-by: T Karthik Reddy <t.karthik.reddy@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 arch/arm/dts/zynqmp-mini-qspi.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/dts/zynqmp-mini-qspi.dts b/arch/arm/dts/zynqmp-mini-qspi.dts
index c523e8123666..a76e6404661e 100644
--- a/arch/arm/dts/zynqmp-mini-qspi.dts
+++ b/arch/arm/dts/zynqmp-mini-qspi.dts
@@ -70,7 +70,7 @@
 		reg = <0x0>;
 		spi-tx-bus-width = <1>;
 		spi-rx-bus-width = <4>;
-		spi-max-frequency = <10000000>;
+		spi-max-frequency = <108000000>;
 	};
 };
 
-- 
2.26.2

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

* [PATCH 0/5] xilinx: DT/Kconfig changes
  2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
                   ` (4 preceding siblings ...)
  2020-05-12  6:55 ` [PATCH 5/5] arm64: zynqmp: Change spi-max-frequency for qspi mini Michal Simek
@ 2020-06-25  8:04 ` Michal Simek
  5 siblings, 0 replies; 7+ messages in thread
From: Michal Simek @ 2020-06-25  8:04 UTC (permalink / raw)
  To: u-boot

?t 12. 5. 2020 v 8:55 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
> Hi,
>
> this is small series with misc changes target configs and DTs.
>
> Thanks,
> Michal
>
>
> Ashok Reddy Soma (2):
>   arm: zynq: Enable alternative memory test
>   arm64: versal: Enable config to map TCM and OCM
>
> Saeed Nowshadi (1):
>   arm64: zynqmp: Fix si570 clock output names and references
>
> T Karthik Reddy (2):
>   arm64: zynqmp: Reduce console buffer size
>   arm64: zynqmp: Change spi-max-frequency for qspi mini
>
>  arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 10 +++++-----
>  arch/arm/dts/zynqmp-mini-qspi.dts       |  2 +-
>  configs/xilinx_versal_virt_defconfig    |  1 +
>  configs/xilinx_zynq_virt_defconfig      |  1 +
>  include/configs/xilinx_zynqmp_mini.h    |  2 ++
>  5 files changed, 10 insertions(+), 6 deletions(-)
>
> --
> 2.26.2
>

Applied all.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

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

end of thread, other threads:[~2020-06-25  8:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12  6:55 [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek
2020-05-12  6:55 ` [PATCH 1/5] arm: zynq: Enable alternative memory test Michal Simek
2020-05-12  6:55 ` [PATCH 2/5] arm64: versal: Enable config to map TCM and OCM Michal Simek
2020-05-12  6:55 ` [PATCH 3/5] arm64: zynqmp: Reduce console buffer size Michal Simek
2020-05-12  6:55 ` [PATCH 4/5] arm64: zynqmp: Fix si570 clock output names and references Michal Simek
2020-05-12  6:55 ` [PATCH 5/5] arm64: zynqmp: Change spi-max-frequency for qspi mini Michal Simek
2020-06-25  8:04 ` [PATCH 0/5] xilinx: DT/Kconfig changes Michal Simek

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.