[U-Boot] [PATCH] microblaze: Unify Linux bootm process

2019-10-21 Thread Michal Simek
Record two bootstages and add "Starting kernel" message to have standard handoff message between U-Boot and OS. Also use debug() instead of #ifdef DEBUG to clean the code. Signed-off-by: Michal Simek --- arch/microblaze/lib/bootm.c | 15 +-- 1 file changed, 9 insert

[U-Boot] [PATCH] microblaze: Fix FDT message in boot_prep_linux()

2019-10-21 Thread Michal Simek
There is no need to show FDT message in regular flow that's why switch it to debug level. Fixes: 0905046050b0 ("microblaze: Switch to generic bootm implementation") Signed-off-by: Michal Simek --- arch/microblaze/lib/bootm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCHv3 3/3] travis: Split and rename xilinx ARM in to two jobs

2019-10-15 Thread Michal Simek
p" > @@ -330,9 +330,12 @@ matrix: >env: > - BUILDMAN="sh -x arm" >TOOLCHAIN="sh" > -- name: "buildman Xilinx (ARM)" > +- name: "buildman Zynq* (ARMv7)" >env: > -- BUILDMAN="xilinx -x micro

Re: [U-Boot] [PATCH 3/3] travis: Split and rename xilinx ARM in to two jobs

2019-10-15 Thread Michal Simek
On 15. 10. 19 13:27, Tom Rini wrote: > Split the ARMv7 and AArch64 platforms into separate jobs, to avoid them > taking too long to build overall. Also rename them from "Xilinx" to > "Zynq*" to reflect slightly better what is being built and to pull in a > few mor

[U-Boot] [PATCH] arm64: zynqmp: Add support for e-a2197-00 System Controller

2019-10-15 Thread Michal Simek
Add support for System Controller available on e-a2197-00 base board. System is very similar to p-a2197-00 board. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-e-a2197-00-revA.dts | 559

[U-Boot] [PATCH] arm64: zynqmp: Enables SPI_FLASH_BAR

2019-10-15 Thread Michal Simek
Enable the SPI flash Bank/Extended address register support for all ZynqMP boards. Signed-off-by: Michal Simek --- configs/avnet_ultra96_rev1_defconfig | 1 + configs/xilinx_zynqmp_mini_qspi_defconfig| 1 + configs/xilinx_zynqmp_zc1232_revA_defconfig | 1 + configs

[U-Boot] [PATCH] ARM: zynq: Disable fdt and evn exist for cse_qspi

2019-10-15 Thread Michal Simek
Mini u-boot should be really small that's why it is necessary to disable all unneeded configs. Signed-off-by: Michal Simek --- configs/zynq_cse_qspi_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/zynq_cse_qspi_defconfig b/configs/zynq_cse_qspi_defconfig index

[U-Boot] [PATCH] ARM: zynq: Remove unused board_early_init_f()

2019-10-15 Thread Michal Simek
board_early_init_f added by commit e6cc3b25d721 ("arm: zynq: Wire watchdog internals") is no longer needed that's why remove it also with Kconfig enabling. Fixes: ccd063e9812a ("watchdog: Move watchdog_dev to data section (BSS may not be cleared)") Signed-off-by: Michal S

[U-Boot] [PATCH] ARM: zynq: Remove unused board_early_init_f()

2019-10-15 Thread Michal Simek
board_early_init_f added by commit e6cc3b25d721 ("arm: zynq: Wire watchdog internals") is no longer needed that's why remove it also with Kconfig enabling. Fixes: ccd063e9812a ("watchdog: Move watchdog_dev to data section (BSS may not be cleared)") Signed-off-by: Michal S

[U-Boot] [PATCH] ARM: zynq: Dont use 4K sector size support for mini qspi configuration

2019-10-15 Thread Michal Simek
This patch removes 4K sector size support for Zynq mini qspi configuration in favour of fast erase speed. Signed-off-by: Michal Simek --- configs/zynq_cse_qspi_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/zynq_cse_qspi_defconfig b/configs/zynq_cse_qspi_defconfig index

[U-Boot] [PATCH] arm64: zynqmp: Dont use 4K sector size support for mini qspi configuration

2019-10-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch removes 4K sector size support for ZynqMP mini qspi configuration in favour of fast erase speed. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_mini_qspi_defconfig | 1 + 1 file changed, 1 insertion

[U-Boot] [PATCH] arm64: zynqmp: Enable Micrel phy support for xilinx zc1275 revB

2019-10-15 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch enables Micrel phy support for Xilinx ZynqMP zc1275 revB board. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zcu1275_revB_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs

[U-Boot] [PATCH] arm64: versal: Enable BDI for mini mtest configuration

2019-10-15 Thread Michal Simek
bdi is useful to see how memory is mapped. Also enable 3 memory banks to be mapped. Signed-off-by: Michal Simek --- configs/xilinx_versal_mini_defconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configs/xilinx_versal_mini_defconfig b/configs

[U-Boot] [PATCH] arm64: zynqmp: Add support for zcu216

2019-10-15 Thread Michal Simek
zcu104/6 defconfig was used as source. Standard features are enabled. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu216-revA.dts | 592 configs/xilinx_zynqmp_zcu216_revA_defconfig | 98 3 files

[U-Boot] [PATCH 1/2] arm64: zynqmp: Add support for m-a2197-02

2019-10-15 Thread Michal Simek
It is based on m-a2197-01 with some changes in i2c intrastructure. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-m-a2197-02-revA.dts | 465 ++ configs/xilinx_zynqmp_a2197_revA_defconfig| 2

[U-Boot] [PATCH 2/2] arm64: zynqmp: Add support for m-a2197-03

2019-10-15 Thread Michal Simek
It is based on m-a2197-01 with some changes in i2c intrastructure. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-m-a2197-03-revA.dts | 455 ++ configs/xilinx_zynqmp_a2197_revA_defconfig| 2

Re: [U-Boot] [PATCH] test/py: hush_if_test: Add tests to cover octal/hex values

2019-10-15 Thread Michal Simek
Hi Simon, On 11. 10. 19 17:53, Simon Glass wrote: > Hi Michal, > > On Fri, 11 Oct 2019 at 01:50, Michal Simek wrote: >> >> On 10. 10. 19 19:06, Simon Glass wrote: >>> Hi Michal, >>> >>> On Thu, 10 Oct 2019 at 05:44, Michal Simek wrote: >>&

[U-Boot] [PATCH 2/7] arm64: zynqmp: Switch to xlnx-zynqmp-clk header

2019-10-14 Thread Michal Simek
Use prepared header instead of hardcoded values. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 164 ++- arch/arm/dts/zynqmp.dtsi | 2 +- drivers/clk/clk_zynqmp.c | 1 - 3 files changed, 73 insertions(+), 94 deletions(-) diff

[U-Boot] [PATCH 4/7] dt-bindings: arm64: zynqmp: Add power and reset headers

2019-10-14 Thread Michal Simek
Add power and reset headers to be sources by ZynqMP dtses. Signed-off-by: Michal Simek --- include/dt-bindings/power/xlnx-zynqmp-power.h | 39 ++ .../dt-bindings/reset/xlnx-zynqmp-resets.h| 130 ++ 2 files changed, 169 insertions(+) create mode 100644 include/dt

[U-Boot] [PATCH 5/7] arm64: zynqmp: Use reset header in zynqmp.dtsi

2019-10-14 Thread Michal Simek
Wire reset-controller and use macros from reset header. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 23 +++ 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index dea918a0419a..a498ff9af623

[U-Boot] [PATCH 7/7] arm64: zynqmp: List lpd watchdog in dtsi

2019-10-14 Thread Michal Simek
There are use cases where lpd watchdog can be configured for APU use. By design this IP should be listed in zynqmp.dtsi to make sure that node is properly enabled by DTG. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 4 arch/arm/dts/zynqmp-clk.dtsi | 4 arch

[U-Boot] [PATCH 3/7] arm64: zynqmp: Use backward compatible string for gem

2019-10-14 Thread Michal Simek
Add backward compatible string for gem ("cdns,gem"). Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 854608c9382b..dea918a0419a 100644 ---

[U-Boot] [PATCH 6/7] arm64: zynqmp: Use power header in zynqmp.dtsi

2019-10-14 Thread Michal Simek
Use power header and add power-domains property. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 43 1 file changed, 43 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index a498ff9af623..6f81909043aa 100644

[U-Boot] [PATCH 1/7] dt-bindings: clock: zynqmp: Add clk header

2019-10-14 Thread Michal Simek
From: Rajan Vaja Add dt clock header which can be included by dtses. And also use zynqmp-clk compatible string. Signed-off-by: Rajan Vaja Signed-off-by: Michal Simek --- include/dt-bindings/clock/xlnx-zynqmp-clk.h | 126 1 file changed, 126 insertions(+) create mode

[U-Boot] [PATCH 0/7] arm64: zynqmp: Switch to use dt-binding headers

2019-10-14 Thread Michal Simek
Hi, use macros from headers and sync dtses with latest description. Thanks, Michal Michal Simek (6): arm64: zynqmp: Switch to xlnx-zynqmp-clk header arm64: zynqmp: Use backward compatible string for gem dt-bindings: arm64: zynqmp: Add power and reset headers arm64: zynqmp: Use reset

[U-Boot] [PATCH] arm64: zynqmp: Update nand device tree node properties

2019-10-14 Thread Michal Simek
From: Naga Sureshkumar Relli This patch updates the nand device tree node properties as per updated driver. Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 104 +-- arch/arm/dts/zynqmp.dtsi

[U-Boot] [PATCH] arm64: zynqmp: Fix DT style for ipi mailbox

2019-10-14 Thread Michal Simek
Remove additional empty space. Fixes: 95497afada58 ("arm64: zynqmp: add firmware and mailbox node to DT") Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.

[U-Boot] [PATCH 1/3] cmd: fru: Add support for FRU commands

2019-10-14 Thread Michal Simek
be shared that's why it is exported via header. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- MAINTAINERS | 3 + cmd/Kconfig | 8 ++ cmd/Makefile | 1 + cmd/fru.c| 68 + common/Makefile | 1 + co

[U-Boot] [PATCH 3/3] arm64: versal: Enable FRU command

2019-10-14 Thread Michal Simek
Enable FRU command for Versal to enable FMC card decoding. Signed-off-by: Michal Simek --- 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 1717039dc0d1..b05ed2fbeccc

[U-Boot] [PATCH 2/3] cmd: fru: Add basic fru format generator

2019-10-14 Thread Michal Simek
should be filled properly. For example: fru board_gen 1000 XILINX versal-x-prc-01-revA serialX partX Signed-off-by: Michal Simek --- cmd/fru.c| 20 +- common/fru_ops.c | 95 include/fru.h| 14 +++ 3 files changed, 128

[U-Boot] [PATCH 0/3] cmd: fru: Add simple FRU generator and parser

2019-10-14 Thread Michal Simek
Hi, this code was develop for i2c eeprom decoding which is the part of VITA IPMI spec. This code is just deconding board information but it can be extended to cover other fields and SoC extensions. Thanks, Michal Michal Simek (2): cmd: fru: Add basic fru format generator arm64: versal

[U-Boot] [PATCH] zynqmp: configs: Add single nand flash mini u-boot configuration

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds configuration for single nand flash mini u-boot. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- .../xilinx_zynqmp_mini_nand_single_defconfig | 51 +++ 1 file changed, 51

[U-Boot] [PATCH 1/3] common: hash: Manually relocate struct hash_algo

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for struct hash_algo if CONFIG_NEEDS_MANUAL_RELOC is enabled. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/hash.c | 29 + 1 file changed

[U-Boot] [PATCH 2/3] drivers: crypto: rsa_mod_exp: Add manual relocation for ops->mod_exp()

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for Modular Exponentiation if CONFIG_NEEDS_MANUAL_RELOC is enabled. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/crypto/rsa_mod_exp/mod_exp_uclass.c | 15

[U-Boot] [PATCH 0/3] crypto: Add manual relocation

2019-10-14 Thread Michal Simek
Hi, This patch series fixes manual relocation issue, as it is crashing when using RSA signed images on microblaze. Thanks, Michal T Karthik Reddy (3): common: hash: Manually relocate struct hash_algo drivers: crypto: rsa_mod_exp: Add manual relocation for ops->mod_exp() common:

[U-Boot] [PATCH 3/3] common: image-sig.c: Add manual relocation

2019-10-14 Thread Michal Simek
From: T Karthik Reddy This patch adds manual relocation for struct checksum_algo & struct crypto_algo structures. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- common/image-sig.c | 29 + 1 file cha

[U-Boot] [PATCH] ARM: dt: Also clean dtbo files

2019-10-14 Thread Michal Simek
dtbo files can be also generated that's why also clean them. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 53f919621bef..a9240ef450f3 100644 --- a/arch/arm/dts

[U-Boot] [PATCH] arm64: zynqmp: Do not remove dpll_prog from psu_init

2019-10-14 Thread Michal Simek
dpll_prog is available in some psu_init files that's why this function should stay there. Signed-off-by: Michal Simek --- tools/zynqmp_psu_init_minimize.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/zynqmp_psu_init_minimize.sh b/tools/zynqmp_psu_init_minimize.sh index

[U-Boot] [PATCH] arm64: versal: Fix sdhci node address for versal-mini-emmc1

2019-10-14 Thread Michal Simek
Add missing trailing 0 to mach node name address with reg property. Signed-off-by: Michal Simek --- arch/arm/dts/versal-mini-emmc1.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/versal-mini-emmc1.dts b/arch/arm/dts/versal-mini-emmc1.dts index 9ecb1ce5dcef

[U-Boot] [PATCH] usb: composite: add BOS descriptor support to composite framework

2019-10-14 Thread Michal Simek
From: T Karthik Reddy To add usb-3.0 support to peripheral device add BOS & SS capability descriptors to gadget composite framework. Signed-off-by: T Karthik Reddy Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- drivers/usb/gadget/composite.c

[U-Boot] [PATCH v2 2/4] arm64: xilinx: Move firmware functions from platform to driver

2019-10-14 Thread Michal Simek
versal_pm_request() and invoke_smc() are almost the same. Only one difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. The patch is moving platform implementation to firmware driver code for synchronization. Signed-off-by: Michal Simek Reviewed-by: Luca Ceresoli

[U-Boot] [PATCH v2 4/4] arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request()

2019-10-14 Thread Michal Simek
Remove macros which use PM_SIP_SVC offset and convert invoke_smc() to xilinx_pm_request() which do calculation with PM_SIP_SVC already. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm/mach-zynqmp/cpu.c | 11 --- board/xilinx/zynqmp/cmds.c | 4

[U-Boot] [PATCH v2 3/4] arm64: versal: Rename versal_pm_request to xilinx_pm_request

2019-10-14 Thread Michal Simek
Use generic name instead of Versal specific because this should be also used on ZynqMP. Signed-off-by: Michal Simek --- Changes in v2: None drivers/clk/clk_versal.c | 14 +++--- drivers/firmware/firmware-zynqmp.c | 2 +- drivers/fpga/versalpl.c| 2 +- include

[U-Boot] [PATCH v2 1/4] arm64: versal: Clean pm_api_id usage

2019-10-14 Thread Michal Simek
Copy enum values from platform code to firmware code. IDs are shared between ZynqMP and Versal. Signed-off-by: Michal Simek --- Changes in v2: None arch/arm/mach-versal/cpu.c| 1 + arch/arm/mach-versal/include/mach/sys_proto.h | 55 --- drivers/clk

[U-Boot] [PATCH v2 0/4] xilinx: firmware: Synchronization firmware functions

2019-10-14 Thread Michal Simek
cpu.c Michal Simek (4): arm64: versal: Clean pm_api_id usage arm64: xilinx: Move firmware functions from platform to driver arm64: versal: Rename versal_pm_request to xilinx_pm_request arm64: zynqmp: Convert invoke_smc() to xilinx_pm_request() arch/arm/mach-versal/cpu.c

[U-Boot] [PATCH] spi: zynqmp: Remove unused platform headers

2019-10-14 Thread Michal Simek
There is no reason to include clk.h and hardware.h headers. Driver doesn't require them. Signed-off-by: Michal Simek --- drivers/spi/zynqmp_gqspi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/zynqmp_gqspi.c b/drivers/spi/zynqmp_gqspi.c index 04ea42cbccc4..c11f0402002a

[U-Boot] [PATCH 7/7] arm64: versal: Enable UHS support

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch enables UHS support for Versal platforms. Signed-off-by: Ashok Reddy Soma Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH 6/7] arm64: versal: Enable bit stream loading support for versal platform.

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch enables bitstream loading support for Versal platform. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs

[U-Boot] [PATCH 5/7] arm64: versal: Update boot delay to perform autoboot

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Update boot delay to 5 for performing autoboot. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs

[U-Boot] [PATCH 2/7] arm64: versal: Enable USB driver support

2019-10-14 Thread Michal Simek
This patch adds usb host and device mode support for Xilinx Versal virtual platform. By default USB host functionality is enabled. To use in usb device mode, set dr_mode property in DT to peripheral. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs

[U-Boot] [PATCH 1/7] arm64: versal: Enable LIBFDT_OVERLAY

2019-10-14 Thread Michal Simek
Enable device tree overlay to build all dtbs for Versal with -@ flag to enable applying overlays. Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs

[U-Boot] [PATCH 3/7] arm64: versal: Enable CLK command

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu Enables clock command for dumping clocks. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/xilinx_versal_virt_defconfig b/configs

[U-Boot] [PATCH 4/7] arm64: versal: Increase SYS_MALLOC_F_LEN

2019-10-14 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch increases SYS_MALLOC_F_LEN as the versal clock driver needs to be probed before relocation itself inorder to get required clocks before relocation. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- configs

[U-Boot] [PATCH 0/7] arm64: versal: Enable several features

2019-10-14 Thread Michal Simek
Hi, time is coming up and more and more features are validated and enabled on this platform. This patches enable things which are already in mainline. Thanks, Michal Michal Simek (2): arm64: versal: Enable LIBFDT_OVERLAY arm64: versal: Enable USB driver support Siva Durga Prasad Paladugu

[U-Boot] [PATCH 26/27] arm64: zynqmp: Turn comment to gpio-line-names

2019-10-14 Thread Michal Simek
Label gpio lines properly. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 43 ++--- 1 file changed, 9 insertions(+), 34 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index 5babbf8ac59f

[U-Boot] [PATCH 25/27] arm64: zynqmp: Add label property to all ina226 on zcu102

2019-10-14 Thread Michal Simek
Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts

[U-Boot] [PATCH 09/27] arm64: zynqmp: Add label property to all ina226 on m-a2197-01

2019-10-14 Thread Michal Simek
Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m

[U-Boot] [PATCH 10/27] arm64: zynqmp: Switch spi-flash to jedec, spi-nor on m-a2197

2019-10-14 Thread Michal Simek
Mainline has done this switch and there is no reason not to switch it too. Mainline U-Boot patch which has done that switch: "dts: switch spi-flash to jedec, spi-nor compatible" (sha1: ffd4c7c2ecb745586239eb98d5dc0fe5e6ebe3bd) Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-

[U-Boot] [PATCH 14/27] arm64: zynqmp: dt: Delete no-1-8-v property from zcu102-rev1.0

2019-10-14 Thread Michal Simek
From: T Karthik Reddy Currently zcu102 Rev1.0 board includes RevA sdhci dt node which has no-1-8-v property. Since Rev1.0 has level shifters delete this property to enable support for 1.8v. Signed-off-by: T Karthik Reddy Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-rev1.0.dts

[U-Boot] [PATCH 24/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu102

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 127

[U-Boot] [PATCH 19/27] arm64: zynqmp: Add label property to all ina226 on zcu106

2019-10-14 Thread Michal Simek
Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu106-revA.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu106-revA.dts b/arch/arm/dts

[U-Boot] [PATCH 27/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu100

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu100-revC.dts | 8

[U-Boot] [PATCH 17/27] arm64: zynqmp: Fix the si570 clock frequency on zcu111

2019-10-14 Thread Michal Simek
From: Venkatesh Yadav Abbarapu The si570 clock frequency should be 156.25MHz as per datasheet. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu111-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp

[U-Boot] [PATCH 20/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu104

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu104-revC.dts | 8

[U-Boot] [PATCH 23/27] arm64: zynqmp: dt: Add optional gpio phy reset properties

2019-10-14 Thread Michal Simek
From: Harini Katakam Add gpio phy reset via I2C expander TCA6416 on board ZCU102. A warning call trace is observer in probe when this reset is called from context that can sleep. Keep this commented until that is resolved in phylib. Signed-off-by: Harini Katakam Signed-off-by: Michal Simek

[U-Boot] [PATCH 22/27] arm64: zynqmp: dt: Add missing DP83867 quirk

2019-10-14 Thread Michal Simek
From: Harini Katakam The DP83867 strap control workaround is already present in Linux kernel mainline binding. All these Xilinx boards require this quirk. Signed-off-by: Harini Katakam Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 1 + arch/arm/dts/zynqmp-zcu102

[U-Boot] [PATCH 03/27] arm64: zynqmp: Enable iio-hwmon for ina226 on g-a2197-00

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 43

[U-Boot] [PATCH 15/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu111

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu111-revA.dts | 99

[U-Boot] [PATCH 06/27] arm64: zynqmp: Added new tps53679 compatible string for a2197-0x boards

2019-10-14 Thread Michal Simek
From: Nishant Mittal Added tps53679 compatible string to tps53681. They are both compatible to each other and tps53679 has Linux driver already. Signed-off-by: Nishant Mittal Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 2 +- arch/arm/dts/zynqmp-m-a2197-01

[U-Boot] [PATCH 13/27] arm64: zynqmp: Remove fixme about memory size on zynqmp-p-a2197

2019-10-14 Thread Michal Simek
System controller has 2GB of memory and fixme can be removed now. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts index

[U-Boot] [PATCH 07/27] arm64: zynqmp: Fix typo in zynqmp-p-a2197-00-revA

2019-10-14 Thread Michal Simek
Trivial fix but not detected by checkpatch. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00-revA.dts index bb9ecf8c6781

[U-Boot] [PATCH 16/27] arm64: zynqmp: Add label property to all ina226 on zcu111

2019-10-14 Thread Michal Simek
Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu111-revA.dts | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp

[U-Boot] [PATCH 11/27] arm64: zynqmp: Fix m-a2197-01 DT based on latest schematics

2019-10-14 Thread Michal Simek
Remove some FIXMEs and align it with latest schematics. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/arch/arm/dts/zynqmp-m-a2197-01-revA.dts b/arch/arm/dts/zynqmp-m-a2197-01

[U-Boot] [PATCH 18/27] arm64: zynqmp: Enable iio-hwmon for ina226 on zcu106

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu106-revA.dts | 127

[U-Boot] [PATCH 04/27] arm64: zynqmp: Add label property to all ina226 on g-a2197-00

2019-10-14 Thread Michal Simek
Label property is adding capability to distiguish chips from each other when iio framework is used. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/zynqmp-g-a2197-00-revA.dts b/arch/arm/dts/zynqmp-g

[U-Boot] [PATCH 12/27] arm64: zynqmp: Sync si570 setup and clock names

2019-10-14 Thread Michal Simek
Setup proper si570 names and default factory setup. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 28 - 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts/zynqmp-p-a2197-00

[U-Boot] [PATCH 08/27] arm64: zynqmp: Enable iio-hwmon for ina226 on m-a2197-01

2019-10-14 Thread Michal Simek
ina226 hwmon driver is deprecated and it is recommended to use new iio based driver. The patch is enabling iio-hwmon driver to export functionality from IIO to hwmon interface to be able to use lm-sensors package. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 31

[U-Boot] [PATCH 21/27] arm64: zynqmp: Enable fpd_dma for zcu104 platforms

2019-10-14 Thread Michal Simek
Enable fpd_dma for these boards. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu104-revA.dts | 32 + arch/arm/dts/zynqmp-zcu104-revC.dts | 32 + 2 files changed, 64 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts

[U-Boot] [PATCH 02/27] arm64: zynqmp: Use ethernet-phy as node name for ethernet phys

2019-10-14 Thread Michal Simek
Ethernet phys based on devicetree specification should be using ethernet-phy@ node name instead of pure phy@. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-g-a2197-00-revA.dts | 2 +- arch/arm/dts/zynqmp-m-a2197-01-revA.dts | 2 +- arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 2 +- arch

[U-Boot] [PATCH 05/27] arm64: zynqmp: Fix i2c address of u70 on p-a2197-00 board

2019-10-14 Thread Michal Simek
From: Nishant Mittal tps53681 is i2c address 0x60 not 0xc0. Signed-off-by: Nishant Mittal Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp-p-a2197-00-revA.dts b/arch/arm/dts

[U-Boot] [PATCH 00/27] arm64: zynqmp: Update DT files

2019-10-14 Thread Michal Simek
): arm64: zynqmp: dt: Add missing DP83867 quirk arm64: zynqmp: dt: Add optional gpio phy reset properties Michal Simek (21): arm64: zynqmp: Sync names for SC with Versal arm64: zynqmp: Use ethernet-phy as node name for ethernet phys arm64: zynqmp: Enable iio-hwmon for ina226 on g-a2197-00

[U-Boot] [PATCH 01/27] arm64: zynqmp: Sync names for SC with Versal

2019-10-14 Thread Michal Simek
ZynqMP based System controller is present on Versal boards. This patch is aligning names with Versal to follow the spec. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 6 +++--- .../{zynqmp-a2197-g-revA.dts => zynqmp-g-a2197-00-revA.dts}

[U-Boot] [PATCH] ARM: zynq: Add missing pl353-smc node

2019-10-14 Thread Michal Simek
DT binding was reviewed in Linux by commit b0b41af12a1b ("dt-bindings: memory: Add pl353 smc controller devicetree binding information") that's why this fragment can be also added to U-Boot repository. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000

[U-Boot] [PATCH] ARM: zynq: Move BOOTM_NETBSD to Kconfig

2019-10-14 Thread Michal Simek
The commit 4b0bcfa7c4ec ("Kconfig: Migrate CONFIG_BOOTM_* options") moved BOOTM_ options to Kconfig that's why align zynq defconfig with it. Disabling NETBSD was done by commit d6f48ea5ce18 ("ARM: zynq: Do not enable NETBSD support by default"). Signed-off-by: Michal

[U-Boot] [PATCH 3/3] arm64: versal: Enable GPIO command for Versal

2019-10-14 Thread Michal Simek
Enable GPIO command for Xilinx Versal platform. Driver is updated that's why it can be used directly. Driver is enabled by default through Kconfig. Signed-off-by: Michal Simek --- configs/xilinx_versal_virt_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[U-Boot] [PATCH 2/3] gpio: zynq: Add gpio driver support for PMC gpio

2019-10-14 Thread Michal Simek
From: Shubhrajyoti Datta This patch adds support for gpio driver for pmc gpio. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- drivers/gpio/zynq_gpio.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/gpio/zynq_gpio.c b/drivers/gpio

[U-Boot] [PATCH 1/3] gpio: zynq: Add gpio driver support for Versal

2019-10-14 Thread Michal Simek
From: Ashok Reddy Soma This patch adds support for gpio driver for versal platform Signed-off-by: Ashok Reddy Soma Signed-off-by: Michal Simek --- drivers/gpio/Kconfig | 2 +- drivers/gpio/zynq_gpio.c | 15 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 0/3] gpio: zynq: Add support for Versal

2019-10-14 Thread Michal Simek
Hi, this patchset is updating existing zynq driver with adding two layout. One for Versal gpio and another one on PMC gpio which is using different layout. And also enabling gpio command for versal. Thanks, Michal Ashok Reddy Soma (1): gpio: zynq: Add gpio driver support for Versal Michal

Re: [U-Boot] [PATCH] test/py: hush_if_test: Add tests to cover octal/hex values

2019-10-11 Thread Michal Simek
On 10. 10. 19 19:06, Simon Glass wrote: > Hi Michal, > > On Thu, 10 Oct 2019 at 05:44, Michal Simek wrote: >> >> Extend test suite to cover also automatic octal/hex converstions which >> haven't been implemented in past. >> >> Signed-off-by: Mich

[U-Boot] [PATCH] test/py: hush_if_test: Add tests to cover octal/hex values

2019-10-10 Thread Michal Simek
Extend test suite to cover also automatic octal/hex converstions which haven't been implemented in past. Signed-off-by: Michal Simek --- Depends on https://lists.denx.de/pipermail/u-boot/2019-September/383309.html There are of course other tests which we can run but not sure if make sense

Re: [U-Boot] [PATCH] cmd: avoid decimal conversion

2019-10-10 Thread Michal Simek
On 09. 10. 19 19:28, Simon Goldschmidt wrote: > Am 09.10.2019 um 18:26 schrieb Tom Rini: >> On Tue, Oct 08, 2019 at 10:48:39AM +0200, Michal Simek wrote: >>> Hi Tom, >>> >>> On 19. 09. 19 15:28, Michal Simek wrote: >>>> On 13. 09. 19 17:09, Tom Rini

[U-Boot] [PATCH] firmware: zynqmp: Clean up zynqmp_power_probe

2019-10-10 Thread Michal Simek
a Ceresoli Signed-off-by: Michal Simek --- drivers/firmware/firmware-zynqmp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/firmware/firmware-zynqmp.c b/drivers/firmware/firmware-zynqmp.c index 4911734f6c63..dea58b558102 100644 --- a/drivers/firmware/firmwar

Re: [U-Boot] [PATCH v2 04/13] firmware: zynqmp: Add zynqmp-power support

2019-10-10 Thread Michal Simek
On 09. 10. 19 17:03, Luca Ceresoli wrote: > Hi, > > On 02/10/19 15:39, Michal Simek wrote: >> From: Ibai Erkiaga >> >> zynqmp-power driver for ZynqMP to handle the communication with the PMU >> firmware. Firmware driver just probes subnodes and power driver

Re: [U-Boot] [PATCH v2 03/13] mailbox: zynqmp: ipi mailbox driver

2019-10-10 Thread Michal Simek
e > improvement. Sorry for the inconvenience. > > > On 02/10/19 15:39, Michal Simek wrote: >> From: Ibai Erkiaga >> >> ZynqMP mailbox driver implementing IPI communication with PMU. This would >> allow U-Boot SPL to communicate with PMUFW to request privileg

[U-Boot] [PATCH] firmware: zynqmp: Report error when xilinx_pm_request called from EL3

2019-10-10 Thread Michal Simek
Function should report error when called in EL3 context. Also report it as error instead 0 (success). Reported-by: Luca Ceresoli Signed-off-by: Michal Simek --- Based on https://lists.denx.de/pipermail/u-boot/2019-October/385462.html series. --- drivers/firmware/firmware-zynqmp.c | 6

Re: [U-Boot] [PATCH 2/4] arm64: xilinx: Move firmware functions from platform to driver

2019-10-10 Thread Michal Simek
On 10. 10. 19 10:22, Luca Ceresoli wrote: > Hi Michal, > > On 04/10/19 16:27, Michal Simek wrote: >> versal_pm_request() and invoke_smc() are almost the same. Only one >> difference is that versal_pm_request is adding PM_SIP_SVC offset to api_id. >> The patch is mov

[U-Boot] [PATCH] ARM: dts: zynq: enablement of coresight topology

2019-10-09 Thread Michal Simek
From: Zumeng Chen This patch is to build the coresight topology structure of zynq-7000 series according to the docs of coresight and userguide of zynq-7000. Signed-off-by: Zumeng Chen Signed-off-by: Quanyang Wang Signed-off-by: Michal Simek --- arch/arm/boot/dts/zynq-7000.dtsi | 158

[U-Boot] [GIT PULL] Xilinx/FPGA patches for v2020.01

2019-10-09 Thread Michal Simek
: versal: remove debug uart for versal virt Michal Simek (38): arm64: zynqmp: Define default SPL_TEXT_BASE address in Kconfig arm64: zynqmp: Enable gpio hog support for zcu102 arm64: zynqmp: Add u-boot,dm-pre-reloc to clk300 node arm64: zynqmp: Enable SPI support in SPL

Re: [U-Boot] [ANN] U-Boot v2019.10 released

2019-10-08 Thread Michal Simek
On 08. 10. 19 16:02, Tom Rini wrote: > On Tue, Oct 08, 2019 at 03:56:41PM +0200, Michal Simek wrote: >> On 08. 10. 19 15:25, Tom Rini wrote: >>> On Tue, Oct 08, 2019 at 03:15:32PM +0200, Simon Goldschmidt wrote: >>>> On Tue, Oct 8, 2019 at 2:54 PM Tom Rini wrote: &g

Re: [U-Boot] [ANN] U-Boot v2019.10 released

2019-10-08 Thread Michal Simek
8PM +0800, Bin Meng wrote: >>>>> On Tue, Oct 8, 2019 at 8:36 PM Tom Rini wrote: >>>>>> >>>>>> On Tue, Oct 08, 2019 at 02:20:40PM +0200, Michal Simek wrote: >>>>>>> On 07. 10. 19 23:15, Tom Rini wrote: >>>>>>

  1   2   3   4   5   6   7   8   9   10   >