Re: [U-Boot] [PATCH] sunxi: set the default CPUx frequency of H5 to 816MHz

2017-11-06 Thread Jagan Teki
On Fri, Nov 3, 2017 at 10:00 PM, Maxime Ripard wrote: > On Fri, Nov 03, 2017 at 02:21:51PM +0530, Jagan Teki wrote: >> On Thu, Nov 2, 2017 at 7:26 PM, Maxime Ripard >> wrote: >> > On Wed, Nov 01, 2017 at 08:31:46AM +0800, Icenowy Zheng wrote: >> >> 在 2017-10-31 21:54,Maxime Ripard 写道: >> >> > On

Re: [U-Boot] [PATCH v2 1/2] video: sunxi: de2: fix SimpleFB node creation when HDMI not initialized

2017-11-06 Thread Jagan Teki
On Thu, Nov 2, 2017 at 5:54 PM, Maxime Ripard wrote: > On Wed, Nov 01, 2017 at 10:18:06PM +0800, Icenowy Zheng wrote: >> When HDMI is not initialized (e.g. no monitor is plugged), the current >> SimpleFB code will still create a broken SimpleFB node. >> >> Detect whether HDMI is initialized when c

[U-Boot] [PATCH 1/3] mvebu: usb: xhci: a38x support

2017-11-06 Thread Baruch Siach
From: Jon Nettleton This makes the initial changes need to support the a38x series of SOCs. It adds the device-tree identifier as well as changing the board_support function to take the IO address designated by device-tree. Signed-off-by: Jon Nettleton [baruch: use fdt_addr_t; update 37xx and

[U-Boot] [PATCH 2/3] arm: mvebu: Add board_setup for xhci hardware

2017-11-06 Thread Baruch Siach
From: Jon Nettleton This fixes the USB 3.0 support for the a38x SOC. Signed-off-by: Jon Nettleton [baruch: use fdt_addr_t] Signed-off-by: Baruch Siach --- arch/arm/mach-mvebu/cpu.c | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/mach-mve

[U-Boot] [PATCH 3/3] arm: mvebu: clearfog: enable XHCI USB

2017-11-06 Thread Baruch Siach
From: Jon Nettleton Enable the driver by default for the clearfog boards since the external port is configured for XHCI. Signed-off-by: Jon Nettleton [baruch: split from the SoC setup patch] Signed-off-by: Baruch Siach --- configs/clearfog_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [U-Boot] [PATCH] ARM: dts: exynos: fix property values of LDO15/17 for ODROID-XU3/4

2017-11-06 Thread Minkyu Kang
Dear Dongjin, 2017. 10. 30. 18:33에 "Lukasz Majewski" 님이 작성: Hi Dongjin, > Looking at the schematic, LDO15 and LDO17 are tied as a power source > of a builtin network chipset. The voltage on LDO15 is corrected to > 3.3V and the name of LDO17 is corrected to "vdd_ldo17". > > Signed-off-by: Dongjin

Re: [U-Boot] sunxi: broken sun4i_emacs, all boards?

2017-11-06 Thread Maxime Ripard
Hi, On Sat, Nov 04, 2017 at 04:26:14AM +0200, Artturi Alm wrote: > On Fri, Nov 03, 2017 at 09:45:56AM +0100, Maxime Ripard wrote: > > Hi Artturi, > > > > On Thu, Nov 02, 2017 at 10:57:05PM +0200, Artturi Alm wrote: > > > On Sun, Oct 22, 2017 at 11:08:43PM +0300, Artturi Alm wrote: > > > > Hi, > >

[U-Boot] [PATCH] driver: net: ldpaa_eth: Add PHY-less SGMII support

2017-11-06 Thread Ashish Kumar
In case of PHY-less mode, there is no interaction with PHY so auto-neg etc is not required and link will have fixed attributes Signed-off-by: Ashish Kumar Signed-off-by: Prabhakar Kushwaha --- drivers/net/ldpaa_eth/ldpaa_eth.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff

Re: [U-Boot] [PATCH 1/2] rockchip: config: sync the ENV offset from rockchip legacy U-Boot

2017-11-06 Thread Kever Yang
Philipp, On 11/03/2017 05:45 PM, Dr. Philipp Tomsich wrote: On 31 Oct 2017, at 08:52, Kever Yang wrote: Using the ENV offset from rockchip legacy U-Boot for all SoCs, the offset is 4MB-32KB Signed-off-by: Kever Yang --- include/configs/rockchip-common.h | 15 +++ 1 file changed,

Re: [U-Boot] [PATCH 2/3] rockchip: doc: update U-Boot location info

2017-11-06 Thread Kever Yang
On 11/03/2017 05:42 PM, Dr. Philipp Tomsich wrote: On 2 Nov 2017, at 08:16, Kever Yang wrote: Update rockchip U-Boot location to 0x4000/16384. Signed-off-by: Kever Yang --- doc/README.rockchip | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.rockchip b/do

Re: [U-Boot] [PATCH 1/3] spl: set SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to 0x4000 for rockchip

2017-11-06 Thread Kever Yang
Hi Jegan, On 11/02/2017 03:32 PM, Jagan Teki wrote: On Thu, Nov 2, 2017 at 12:46 PM, Kever Yang wrote: Rockchip use a 'loader2' partition for U-Boot, so u-boot.bin or u-boot.itb load by SPL need to locate at0x4000. Detail here: http://opensource.rock-chips.com/wiki_Boot_option Sorry, I'm not

Re: [U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-06 Thread Marek Vasut
On 11/06/2017 05:15 AM, Chee, Tien Fong wrote: > On Ahd, 2017-11-05 at 17:43 +0100, Marek Vasut wrote: >> On 11/02/2017 09:20 AM, Chee, Tien Fong wrote: >>> >>> On Rab, 2017-11-01 at 10:26 +0100, Marek Vasut wrote: On 11/01/2017 10:18 AM, tien.fong.c...@intel.com wrote: > > >

Re: [U-Boot] [RFC PATCH u-boot v2] ARM: arch-meson: build memory banks using reported memory from registers

2017-11-06 Thread Neil Armstrong
On 19/10/2017 20:38, Ben Dooks wrote: > On 2017-10-19 14:22, Neil Armstrong wrote: >> As discussed at [1], the Amlogic Meson GX SoCs can embed a BL31 firmware >> and a secondary BL32 firmware. >> Since mid-2017, the reserved memory address of the BL31 firmware was moved >> and grown for security re

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_NAND_ECCSIZE et al to Kconfig

2017-11-06 Thread Maxime Ripard
Hi, On Sun, Nov 05, 2017 at 09:16:22AM -0600, Adam Ford wrote: > This converts the following to Kconfig: >CONFIG_SYS_NAND_ECCSIZE >CONFIG_SYS_NAND_ECCBYTES >CONFIG_SYS_NAND_ECCSTEPS >CONFIG_SYS_NAND_MAX_ECCPOS >CONFIG_SYS_NAND_MAX_OOBFREE Is there any plan for SYS_NAND_BLOCK_S

[U-Boot] [PATCH v2] mtd: nand: zynq: Add a config option to use 1st stage bootloader timing

2017-11-06 Thread Wilson Lee
From: Jeff Westfahl In legacy method, 1st stage bootloader was used to configure the HW setting such as NAND timing. Hence, adding a config option in Zynq NAND driver for the compatibility of device that using 1st stage bootloder instead of U-boot SPL. This commit is to add config option CONFIG_

[U-Boot] [PATCH] cmd: console: Add serial devices probe command

2017-11-06 Thread Wilson Lee
U-boot will only probe and register single serial device that selected to be used as stdio device. This will cause changing of stdio devices from one serial devices to another serial devices is not possible due to others serial devices are not registered on the stdio list. This command will allow u

Re: [U-Boot] [PATCH] Convert CONFIG_SYS_NAND_ECCSIZE et al to Kconfig

2017-11-06 Thread Adam Ford
On Mon, Nov 6, 2017 at 2:07 AM, Maxime Ripard < maxime.rip...@free-electrons.com> wrote: > Hi, > > On Sun, Nov 05, 2017 at 09:16:22AM -0600, Adam Ford wrote: > > This converts the following to Kconfig: > >CONFIG_SYS_NAND_ECCSIZE > >CONFIG_SYS_NAND_ECCBYTES > >CONFIG_SYS_NAND_ECCSTEPS >

[U-Boot] [PATCH 1/5] arm: zynq: Return value from fdtdec_setup_memory_banksize directly

2017-11-06 Thread Michal Simek
There is no reason not to return return value from above function. Signed-off-by: Michal Simek --- board/xilinx/zynq/board.c| 4 +--- board/xilinx/zynqmp/zynqmp.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/board/xilinx/zynq/board.c b/board/xilinx/zynq/board.c i

[U-Boot] [PATCH 2/5] arm: zynq: Enable FPGA/FPGA_XILINX via Kconfig

2017-11-06 Thread Michal Simek
Enabling fpga via Kconfig. Signed-off-by: Michal Simek --- configs/syzygy_hub_defconfig | 1 + configs/topic_miami_defconfig | 1 + configs/topic_miamilite_defconfig | 1 + configs/topic_miamiplus_defconfig | 1 + configs/zynq_cc108_defconfig | 1 + configs/zynq_microzed_defc

[U-Boot] [PATCH 3/5] arm: zynq: Move ZYNQ_SERIAL to Kconfig

2017-11-06 Thread Michal Simek
Move cadence/zynq serial driver via Kconfig Signed-off-by: Michal Simek --- configs/syzygy_hub_defconfig | 1 + configs/topic_miami_defconfig| 1 + configs/topic_miamilite_defconfig| 1 + configs/topic_miamiplus_defconfig|

[U-Boot] [PATCH 5/5] arm: zynq: Add mini u-boot configuration for zynq

2017-11-06 Thread Michal Simek
Add configuration files/dtses for mini u-boot configurations which runs out of OCM. ram top is calculated from 0 that's why +#define CONFIG_SYS_SDRAM_BASE 0xfffc +#define CONFIG_SYS_SDRAM_SIZE 0x4 was hardcoded. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile |

[U-Boot] [PATCH 4/5] arm: zynq: Sort dts names

2017-11-06 Thread Michal Simek
Sort names. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 724a4b6a824c..d88fbb4ec4cd 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -1

[U-Boot] [PATCH 02/11] arm64: zynqmp: mp: Correct the R5 release sequence

2017-11-06 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch corrects the R5 release sequence by adding the below steps. 1. Flush dcache to ensure that image loaded into memory. 2. Keep R5 reset just to ensure R5 in reset. 3. Disable caches before accessing TCM as with out this A53 can do speculative and may r

[U-Boot] [PATCH 04/11] tools: mkimage: Extend mkimage to also include pmufw

2017-11-06 Thread Michal Simek
This is generated command line when PMUFW_INIT_FILE is setup. ./tools/mkimage -T zynqmpimage -R ./"" -n ./"board/xilinx/zynqmp/pmufw.bin" -d spl/u-boot-spl.bin spl/boot.bin pmufw has to be in binary format and mkimage is using dynamic header size generation without using calloc function based on

[U-Boot] [PATCH 05/11] arm64: zynqmp: Enable config DEFINE_TCM_OCM_MMAP if CONFIG_MP defined

2017-11-06 Thread Michal Simek
From: Siva Durga Prasad Paladugu This modifies default value of config DEFINE_TCM_OCM_MMAP to yes if CONFIG_MP is defined MP supports needs OCM and TCM part of memory map. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Kconfig | 1 + 1 fil

[U-Boot] [PATCH 07/11] arm64: zynqmp: Use u32 type instead of uint32_t

2017-11-06 Thread Michal Simek
Warning is reported by checkpatch. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index a036ed6a35d3..5e22cc54ba69 100644 --- a/board/xilinx/zynqmp/z

[U-Boot] [PATCH 06/11] arm64: zynqmp: Add SD1 level shifter mode to alternative selection

2017-11-06 Thread Michal Simek
Extend Kconfig to cover SD1 level shifter mode. Reported-by: Jason Wu Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig b/arch/arm/cpu/armv8/zynqmp/Kconfig index 4215328a7140..1e941c048be

[U-Boot] [PATCH 11/11] arm64: zynqmp: Wire QSPI boot mode for SPL

2017-11-06 Thread Michal Simek
From: Michal Simek ZynqMP qspi driver is on the way to mainline Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/spl.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv8/zynqmp/spl.c b/arch/arm/cpu/armv8/zynqmp/spl.c index 468dc1dc4d54..41b0070a5e1a 100644 --

[U-Boot] [PATCH 03/11] arm64: zynqmp: Provide a Kconfig option to use specified memory for MMU table

2017-11-06 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch provides a Kconfig option to use specified memory for MMU table using reserve_mmu platform specific routine. Here we used TCM space for MMU table. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/K

[U-Boot] [PATCH 09/11] arm64: zynqmp: Add new ID for RFSoC

2017-11-06 Thread Michal Simek
This ID is available on zc1254. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 24 1 file changed, 24 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 2b1d8119f567..f769db7e81b9 100644 --- a/board/xilinx/zynqm

[U-Boot] [PATCH 01/11] arm64: zynqmp: Remove slcr with mio status pin detection

2017-11-06 Thread Michal Simek
This code is not used on this platform and it is not called. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/Makefile | 1 - arch/arm/cpu/armv8/zynqmp/slcr.c | 63 arch/arm/include/asm/arch-zynqmp/sys_proto.h | 2 - 3 files changed,

[U-Boot] [PATCH 08/11] arm64: zynqmp: Add support for CG/EG/EV device detection

2017-11-06 Thread Michal Simek
Version string has unused fields 31:20 which can be used for exporting 9 bits from efuse IPDISABLE regs to recognize eg/cg/ev devices. These efuse bits are setup for certain devices. Signed-off-by: Michal Simek --- arch/arm/include/asm/arch-zynqmp/hardware.h | 2 + arch/arm/include/asm/arch-

[U-Boot] [PATCH 10/11] arm64: zynqmp: Enable debug uart for zc1751 dc5

2017-11-06 Thread Michal Simek
Showing uart earlier. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig b/configs/xilinx_zynqmp_zc1751_xm019_dc5_defconfig index c854ba76709c..0d0a5bcc8697 1

[U-Boot] [PATCH 00/40] zynqmp: arm64: DT changes

2017-11-06 Thread Michal Simek
This patchset is updating zynqmp DT binding. Thanks, Michal Anurag Kumar Vulisha (6): arm64: zynqmp: Add SMMU support for SATA IP arm64: zynqmp: Add reset-controller support in serdes driver arm64: zynqmp: Use reset controller framework for asserting/de-asserting reset arm64: zynqmp:

[U-Boot] [PATCH 01/40] arm64: zynqmp: Add references to cpu nodes

2017-11-06 Thread Michal Simek
Add missing references to all cpu nodes. 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 1fd570bc2fa0..101427045acb 100644 --- a/arch/arm/dts/zynqmp.dts

[U-Boot] [PATCH 09/40] arm64: zynqmp: Update the GPU address size

2017-11-06 Thread Michal Simek
From: Hyun Kwon The correct register size is 0x1, otherwise it overlaps with other register space. Signed-off-by: Hyun Kwon 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

[U-Boot] [PATCH 03/40] arm64: zynqmp: DT: Fix typo in idle-states node definition

2017-11-06 Thread Michal Simek
From: Jyotheeswar Reddy Fixed a typo in specifying "entry-method" Signed-off-by: Jyotheeswar Reddy 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.dtsi index a6e844dd45

[U-Boot] [PATCH 08/40] arm64: zynqmp: Add clock name for GPU

2017-11-06 Thread Michal Simek
From: Madhurkiran Harikrishnan This patch will add names to the clocks used by GPU. Signed-off-by: Madhurkiran Harikrishnan Reviewed-by: Hyun Kwon Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm

[U-Boot] [PATCH 05/40] arm64: zynqmp: PM: Add IRQ

2017-11-06 Thread Michal Simek
From: Soren Brinkmann PM callbacks are delivered to the NS OS. Let the PM driver handle the IRQ and retrieve callback data from the secure HW. Signed-off-by: Soren Brinkmann Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/ar

[U-Boot] [PATCH 21/40] arm64: zynqmp: Remove leading 0s from mtd table for spi flashes

2017-11-06 Thread Michal Simek
dtc reports issues with it. arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb: Warning (unit_address_format): Node /amba/spi@ff04/spi0_flash0@0/spi0_flash0@ unit name should not have leading 0s arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb: Warning (unit_address_format): N

[U-Boot] [PATCH 15/40] arm64: zynqmp: PM: Specify power domains for DP related nodes

2017-11-06 Thread Michal Simek
From: Jyotheeswar Reddy Mutthareddyvari Currently DP power domain (pd_dp) is not attached to any of the DP nodes which is causing genpd to trigger a power down request for DP domain, making all DP related peripherals unusable. So assign power domains for all DP related nodes to enable proper ac

[U-Boot] [PATCH 07/40] arm64: zynqmp: Label whole PL part as fpga_full region

2017-11-06 Thread Michal Simek
From: Nava kishore Manne This will simplify dt overlay structure for the whole PL. Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zy

[U-Boot] [PATCH 29/40] arm64: zynqmp: Use reset controller framework for asserting/de-asserting reset

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha This patch modifies the phy_zynqmp.c driver to use reset-controller framework for asserting/de-asserting reset for High Speed modules. Also fix documentation and dtsi. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3

[U-Boot] [PATCH 19/40] arm64: zynqmp: zcu102: Modifying GTR lane-0 to PCIe

2017-11-06 Thread Michal Simek
From: Bharat Kumar Gogada - Enabling GTR lane-0 to PCIe - Enabling PCIe node in device tree Signed-off-by: Bharat Kumar Gogada Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu10

[U-Boot] [PATCH 16/40] arm64: zynqmp: Use revision in dts file description

2017-11-06 Thread Michal Simek
Trivial change. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index d8ac008f2bca..581ecd76e891 100644 --- a/arch/arm/dts/zynqmp-zc

[U-Boot] [PATCH 37/40] arm64: zynqmp: Remove clock setting from dtsi

2017-11-06 Thread Michal Simek
clock setting is handled via clk dtsi file. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 2d26d0dacaf1..35cb6f2ea197 100644 --- a/arch/arm/dts/zynqmp.dtsi +++ b/arch/arm/dts

[U-Boot] [PATCH 28/40] arm64: zynqmp: Add reset-controller support in serdes driver

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha This patch add the reset nodes in zynqmp.dtsi which are used by reset-controller framework Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/z

[U-Boot] [PATCH 39/40] arm64: zynqmp: Add note about si5328 interrupt

2017-11-06 Thread Michal Simek
Add comment about irq present on the board connected to PL. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index 579212ed20a2..714cf365b099 10

[U-Boot] [PATCH 06/40] arm64: zynqmp: Fix broken architected timer interrupt trigger

2017-11-06 Thread Michal Simek
Extract from Linux mainline patch: The ARM architected timer specification mandates that the interrupt associated with each timer is level triggered (which corresponds to the "counter >= comparator" condition). A number of DTs are being remarkably creative, declaring the interrupt to be edge trigg

[U-Boot] [PATCH 10/40] arm64: zynqmp: Add missing gpio property to dtsi

2017-11-06 Thread Michal Simek
All gpio controllers should contain this property. This property is not checked by the code that's why this issue wasn't found earlier. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dts

[U-Boot] [PATCH 32/40] arm64: zynqmp: Move nodes which have no reg property out of bus

2017-11-06 Thread Michal Simek
Nodes without reg properties shouldn't be placed in amba node. Move them out. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk.dtsi | 2 +- arch/arm/dts/zynqmp-ep108-clk.dtsi | 2 +- arch/arm/dts/zynqmp.dtsi | 96 +++--- 3 files changed,

[U-Boot] [PATCH 20/40] arm64: zynqmp: Add missing alias for gem0 for ep108

2017-11-06 Thread Michal Simek
Add missing alias for gem0 for ep108 to have proper sequence number. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-ep108.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts index 9f6b11180e76..a527f90e9837 100644 --- a/arch

[U-Boot] [PATCH 18/40] arm64: zynqmp: Update device tree for gpio

2017-11-06 Thread Michal Simek
From: Chirag Parekh Used defines rather than raw values for gpio configurations. Signed-off-by: Chirag Parekh Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/ar

[U-Boot] [PATCH 30/40] arm64: zynqmp: sdhci: set host quirk2 for no 1.8V support for 1.0 silicon

2017-11-06 Thread Michal Simek
From: Manish Narani This patch sets host quirk2 bit field for No 1.8V supported in case of 1.0 silicon. The 1.0 silicon doesn't have support for UHS-I modes. This property will ensure the SD runs on High Speed mode. Signed-off-by: Manish Narani Signed-off-by: Michal Simek --- arch/arm/dts/zy

[U-Boot] [PATCH 02/40] arm64: zynqmp: Update the OPPs for cpu freq

2017-11-06 Thread Michal Simek
From: Shubhrajyoti Datta Add operating-points-v2. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 101427045a

[U-Boot] [PATCH 24/40] arm64: zynqmp: Update device tree for pinmux

2017-11-06 Thread Michal Simek
Added pin control support in device tree for zynqmp. Signed-off-by: Chirag Parekh Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 289 +++ arch/arm/dts/zynqmp.dtsi | 6 + include/dt-bindings/pinctrl/pinctrl-zynqmp.h |

[U-Boot] [PATCH 17/40] arm64: zynqmp: Add revB string to compatible string

2017-11-06 Thread Michal Simek
Some user space libraries reading platform compatible string and based on that changing behavior. Mark revB board with revB string. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revB.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp-zcu102-revB.dts b/arch

[U-Boot] [PATCH 13/40] arm64: zynqmp: rtc: Add calibration

2017-11-06 Thread Michal Simek
From: Nava kishore Manne This patch adds the calibration property with required value, calculated based on rtc input crystal oscillator frequency (32.768Khz). Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) dif

[U-Boot] [PATCH 04/40] arm64: zynqmp: Reduced min-residency time for idle state node

2017-11-06 Thread Michal Simek
From: Jolly Shah Changed min-residence to 10ms(was 100 ms) for cpu-sleep-0. Tried lower values 5ms and 8ms and it worked fine with Debug Off. But to accommodate PM Debug On case, 10 ms is required. With this change, low power idle state is into effect more frequently. Measured boot time with PM d

[U-Boot] [PATCH 31/40] arm64: zynqmp: dt: Add AMS node

2017-11-06 Thread Michal Simek
The AMS includes an ADC as well as on-chip sensors that can be used to sample external voltages and monitor on-die operating conditions, such as temperature and supply voltage levels. Signed-off-by: Rajnikant Bhojani Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 12

[U-Boot] [PATCH 38/40] arm64: zynqmp: usb: Correct IOMMU node for making SMMU work with USB

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha This patch makes SMMU work by moving the iommus node under the dwc3 child entry from parent node. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 34/40] arm64: zynqmp: Enabled CCI support for USB

2017-11-06 Thread Michal Simek
From: Manish Narani This patch adds CCI support for USB when CCI is enabled in design. This patch also adds 'reg' property for Xilinx USB 3.0 IP. The 'reg' property is added in order to modify a register in that to enable coherency in Hardware. Also add address to unit name to avoid dtc warning

[U-Boot] [PATCH 14/40] arm64: zynqmp: disable smmu

2017-11-06 Thread Michal Simek
From: Naga Sureshkumar Relli This patch disables the smmu and also removes the mmu-masters Signed-off-by: Naga Sureshkumar Relli Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 27 +-- 1 file changed, 1 insertion(+), 26 deletions(-) diff --git a/arch/arm/d

[U-Boot] [PATCH 12/40] arm64: zynqmp: Add SMMU support for SATA IP

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha AXI master interface in CEVA AHCI controller requires two unique Write/Read ID tags per port. This is because, ahci controller uses different AXI ID[3:0] bits for identifying non-data transfers(like reading descriptors, updating PRD tables, etc) and data transfers (like

[U-Boot] [PATCH 33/40] arm64: zynqmp: Add support reading SoC revision using nvmem driver in dwc3

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha This patch adds support for reading silicon revision using zynqmp nvmem driver. Signed-off-by: Anurag Kumar Vulisha Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/

[U-Boot] [PATCH 22/40] arm64: zynqmp: Use SPDX license with dc4

2017-11-06 Thread Michal Simek
Just header change. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts b/arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts index 1f03a94820e2..66ffa7de82d4 100644 --- a

[U-Boot] [PATCH 23/40] arm64: zynqmp: Remove local-mac-address from dtsi file

2017-11-06 Thread Michal Simek
Generic dtsi file can't use the same mac address for all. U-Boot read mac from eeprom in zcu102 case and for others random mac address is generated. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 1 - arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 1 - arch/arm/dts/zynqm

[U-Boot] [PATCH 36/40] arm64: zynqmp: Uncomment snps, quirk-frame-length-adjustment flag in dwc3

2017-11-06 Thread Michal Simek
From: Anurag Kumar Vulisha This patch uncomments snps,quirk-frame-length-adjustment which has the value to adjust the SOF/ITP generated from the controller. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/ar

[U-Boot] [PATCH 35/40] arm64: zynqmmp: Add USB OTG interrupts support in dt

2017-11-06 Thread Michal Simek
From: Manish Narani This patch adds OTG interrupt support in device tree. It will add an extra interrupt line number dedicated to OTG events. This will enable OTG interrupts to serve in DWC3 OTG driver. Signed-off-by: Manish Narani Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 4

[U-Boot] [PATCH 25/40] arm64: zynqmp: Add support for zcu102 1.0 rev

2017-11-06 Thread Michal Simek
1.0 rev is the latest rev. Describe information in eeprom. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile | 1 + arch/arm/dts/zynqmp-zcu102-rev1.0.dts | 37 + arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +- configs/xilinx_zynqmp_zcu102_

[U-Boot] [PATCH 26/40] arm64: zynqmp: Add support for zynqmp nvmem firmware driver

2017-11-06 Thread Michal Simek
From: Nava kishore Manne Add support for zynqmp nvmem firmware driver. Signed-off-by: Nava kishore Manne Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index 54e0edbb

[U-Boot] [PATCH 11/40] arm64: dts: xilinx: fix PCI bus dtc warnings

2017-11-06 Thread Michal Simek
From: Rob Herring dtc recently added PCI bus checks. Fix these warnings. Signed-off-by: Rob Herring Cc: Michal Simek Cc: "Sören Brinkmann" Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zy

[U-Boot] [PATCH 40/40] arm64: zynqmp: Enable watchdog by default

2017-11-06 Thread Michal Simek
From: Shubhrajyoti Datta Enable watchdog in dts for zcu102. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts

[U-Boot] [PATCH 27/40] arm64: zynqmp: Remove tx_termination_fix detection on silicon v1

2017-11-06 Thread Michal Simek
Only silicon v1 requires this termination fix. With new nvmem soc revision nvmem detection driver this can be autodetected at run time and this flag is not needed. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch

Re: [U-Boot] [PATCH v2] ARM: zynq: Add support for SYZYGY Hub board

2017-11-06 Thread Michal Simek
Hi, On 2.11.2017 17:42, Tom McLeod wrote: > Hi Michal, > >> Patch looks good but only this prefix needs to be added to the Linux >> kernel. It should be present in this file. Please send the patch and >> when it is added to linux-next I will add your patch > > It looks like our vendor prefix has

Re: [U-Boot] [PATCH v2] mtd: nand: zynq: Add a config option to use 1st stage bootloader timing

2017-11-06 Thread Michal Simek
On 6.11.2017 09:34, Wilson Lee wrote: > From: Jeff Westfahl > > In legacy method, 1st stage bootloader was used to configure the HW > setting such as NAND timing. Hence, adding a config option in Zynq > NAND driver for the compatibility of device that using 1st stage > bootloder instead of U-boot

[U-Boot] [PATCH 1/2] env: Save environment at the end of an MMC partition

2017-11-06 Thread Jorge Ramirez-Ortiz
Allow the platform to define a partition by name at the end of which the environment data will be located. Signed-off-by: Jorge Ramirez-Ortiz --- doc/device-tree-bindings/config.txt | 9 ++ env/mmc.c | 62 ++--- 2 files changed, 67 i

[U-Boot] [PATCH 2/2] configs: dragonboard410c: Save environment data on eMMC

2017-11-06 Thread Jorge Ramirez-Ortiz
Save the environment data at the end of the boot partition on emmc Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard410c-uboot.dtsi | 7 +++ configs/dragonboard410c_defconfig | 2 ++ include/configs/dragonboard410c.h | 1 + 3 files changed, 10 insertions(+) diff --

[U-Boot] please pull u-boot-samsung master

2017-11-06 Thread Minkyu Kang
Dear Tom, The following changes since commit 43ede0bca7fc1590b623832b743213b818257a27: Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT (2017-11-05 11:21:35 -0500) are available in the git repository at: git://git.denx.de/u-boot-samsung.git master for you to fetch changes up to 568197fa0

Re: [U-Boot] please pull u-boot-samsung master

2017-11-06 Thread Tom Rini
On Mon, Nov 06, 2017 at 11:21:16PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit 43ede0bca7fc1590b623832b743213b818257a27: > > Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT (2017-11-05 11:21:35 > -0500) > > are available in the git repository at: > > git

Re: [U-Boot] [PATCH] Kconfig: BOOTCOMMAND: Define default set of boot commands in Kconfig

2017-11-06 Thread Tom Rini
On Fri, Oct 27, 2017 at 02:04:53PM +0200, Lukasz Majewski wrote: > Hi Tom, > > > On Sat, Sep 30, 2017 at 10:20:47PM +0200, Łukasz Majewski wrote: > > > On 09/14/2017 04:55 PM, Tom Rini wrote: > > > >On Mon, Sep 11, 2017 at 10:53:51PM +0200, Łukasz Majewski wrote: > > > >>On 09/11/2017 07:31 PM, To

Re: [U-Boot] [PATCH 1/2] sunxi: binman: Add U-Boot binary size check

2017-11-06 Thread Maxime Ripard
On Fri, Nov 03, 2017 at 06:01:20PM +0100, Frank Kunz wrote: > Am Freitag, 3. November 2017, 09:42:44 CET schrieb Maxime Ripard: > > Hi Frank, > > > > On Thu, Nov 02, 2017 at 04:53:54PM +0100, Frank Kunz wrote: > > > Am Donnerstag, 19. Oktober 2017, 16:04:18 CET schrieb Maxime Ripard: > > > > The U

[U-Boot] [PATCH] MAINTAINERS: Update maintainer for USB xHCI

2017-11-06 Thread Bin Meng
As discussed with Marek, this adds myself as the maintainer to offload the USB xHCI part. Signed-off-by: Bin Meng --- MAINTAINERS| 6 ++ doc/git-mailrc | 1 + 2 files changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b167b02..b9cefbd 100644 --- a/MAINTAINERS +++ b/M

Re: [U-Boot] [PATCH] MAINTAINERS: Update maintainer for USB xHCI

2017-11-06 Thread Simon Glass
On 6 November 2017 at 08:39, Bin Meng wrote: > > As discussed with Marek, this adds myself as the maintainer to > offload the USB xHCI part. > > Signed-off-by: Bin Meng > --- > > MAINTAINERS| 6 ++ > doc/git-mailrc | 1 + > 2 files changed, 7 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] UBI/UBIFS complete integrity check

2017-11-06 Thread Liam Beguin
Hi Lukasz, Thanks for taking the time to answer. On 11/04/2017 05:17 PM, Lukasz Majewski wrote: Hi Liam, Hi everyone, I'm currently using a UBIFS root file system (stored on SPI-NOR flash) and would like to perform a full integrity check before booting it. The rootfs is read-only and until n

Re: [U-Boot] [PATCH] Revert "console: simplify puts()"

2017-11-06 Thread Tom Rini
On Sat, Nov 04, 2017 at 04:14:09PM +0100, Soeren Moch wrote: > This reverts commit c61d0009feb966e0e93254a8c435a1889085e6b8. > > A tbs2910 board user reported a very slow console frambuffer as > regression in current u-boot. I could bisect this down to the > above mentioned commit. > > This reve

Re: [U-Boot] [PATCH] MAINTAINERS: Update maintainer for USB xHCI

2017-11-06 Thread Marek Vasut
On 11/06/2017 04:39 PM, Bin Meng wrote: > As discussed with Marek, this adds myself as the maintainer to > offload the USB xHCI part. > > Signed-off-by: Bin Meng Acked-by: Marek Vasut > --- > > MAINTAINERS| 6 ++ > doc/git-mailrc | 1 + > 2 files changed, 7 insertions(+) > > diff --

Re: [U-Boot] [PATCH] Revert "console: simplify puts()"

2017-11-06 Thread Simon Glass
On 4 November 2017 at 09:14, Soeren Moch wrote: > This reverts commit c61d0009feb966e0e93254a8c435a1889085e6b8. > > A tbs2910 board user reported a very slow console frambuffer as > regression in current u-boot. I could bisect this down to the > above mentioned commit. > > This revert brings back

Re: [U-Boot] [PATCH 2/9] efi_selftest: test protocol management

2017-11-06 Thread Simon Glass
Hi Heinrich, On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > This unit test checks the following protocol services: > InstallProtocolInterface, UninstallProtocolInterface, > InstallMultipleProtocolsInterfaces, > UninstallMultipleProtocolsInterfaces, > HandleProtocol, ProtocolsPerHandle,

Re: [U-Boot] [PATCH 1/9] efi_loader: capitalize EFI_LOCATE_SEARCH_TYPE values

2017-11-06 Thread Simon Glass
On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > Constants should be capitalized. > So rename the values of enum efi_locate_search_type. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi.h | 6 +++--- > lib/efi_loader/efi_boottime.c | 6 +++--- > 2 files changed

Re: [U-Boot] [PATCH 3/9] efi_loader: eliminate efi_install_protocol_interface_ext

2017-11-06 Thread Simon Glass
On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > As we now have EFI_CALL there is no need for separate > functions efi_install_protocol_interface_ext and > efi_install_protocol_interface. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 52 > +-

Re: [U-Boot] [PATCH 4/9] efi_loader: eliminate efi_uninstall_protocol_interface_ext

2017-11-06 Thread Simon Glass
On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > As we now have EFI_CALL there is no need for separate > functions efi_uninstall_protocol_interface_ext and > efi_uninstall_protocol_interface. > > Signed-off-by: Heinrich Schuchardt > --- > lib/efi_loader/efi_boottime.c | 42 -

Re: [U-Boot] [PATCH 5/9] efi_loader: remove unused typedef for INTN

2017-11-06 Thread Simon Glass
On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > INTN is not used in the coding. > > Signed-off-by: Heinrich Schuchardt > --- > include/efi_api.h | 1 - > 1 file changed, 1 deletion(-) Reviewed-by: Simon Glass ___ U-Boot mailing list U-Boot@

Re: [U-Boot] [PATCH 6/9] efi_loader: replace UINTN by efi_uintn_t

2017-11-06 Thread Simon Glass
On 22 October 2017 at 06:45, Heinrich Schuchardt wrote: > UINTN is used in the UEFI specification for unsigned integers > matching the bitness of the CPU. > > Types in U-Boot should be lower case. The patch replaces it > by efi_uintn_t. > > Suggested-by: Simon Glass > Suggested-by: Rob Clark > S

Re: [U-Boot] [PATCH v5 07/18] socfpga: boot0 hook: adjust to unified boot0 semantics

2017-11-06 Thread Dr. Philipp Tomsich
Marek & Tien Fong, could either of you have a look at the below change (in the context of https://patchwork.ozlabs.org/patch/823872/, which is also contained in the same series) and give me an ok on this, so I can merge this series early in the upcoming merge window? Thanks, Philipp. > On 10 Oc

Re: [U-Boot] rockchip: rock: remove CONFIG_ENV_OFFSEt

2017-11-06 Thread Philipp Tomsich
> We use the same default ENV setting in rockchip_common.h for all SoC. > > Signed-off-by: Kever Yang > --- > > include/configs/rock.h | 14 -- > 1 file changed, 14 deletions(-) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot

Re: [U-Boot] [U-Boot, v3, 2/2] rockchip: clock: update sysreset driver bingding

2017-11-06 Thread Philipp Tomsich
> Using priv for new sysreset driver binding. > > Signed-off-by: Kever Yang > --- > > Changes in v3: > - do not init priv if driver bind fail > > Changes in v2: > - use udev priv member instead of driver_data > > drivers/clk/rockchip/clk_rk3036.c | 17 ++--- > drivers/clk/rockchip

Re: [U-Boot] [U-Boot, 1/2] rockchip: config: sync the ENV offset from rockchip legacy U-Boot

2017-11-06 Thread Philipp Tomsich
> Using the ENV offset from rockchip legacy U-Boot for all SoCs, > the offset is 4MB-32KB > > Signed-off-by: Kever Yang > --- > > include/configs/rockchip-common.h | 15 +++ > 1 file changed, 3 insertions(+), 12 deletions(-) > Acked-by: Philipp Tomsich ___

Re: [U-Boot] [U-Boot, v3, 1/2] rockchip: sysreset: merge into one common driver

2017-11-06 Thread Philipp Tomsich
> Use a common driver for all Rockchip SOC instead of one for each SoC. > Use driver_data for reg offset. > > Signed-off-by: Kever Yang > --- > > Changes in v3: None > Changes in v2: > - use udev priv member instead of driver_data > > arch/arm/include/asm/arch-rockchip/clock.h | 5 +++ > driv

Re: [U-Boot] [U-Boot, 3/3] rockchip: remove SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from defconfig

2017-11-06 Thread Philipp Tomsich
> Use default value 0x4000 for SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR instead > of define a new one. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3399_defconfig | 1 - > configs/firefly-rk3399_defconfig | 1 - > 2 files changed, 2 deletions(-) > Acked-by: Philipp Tomsich _

  1   2   >