Re: [RESEND PATCH v6 0/5] usb: host: dwc2: use driver model for PHY and CLOCK

2020-04-27 Thread Marek Vasut
On 4/27/20 3:29 PM, Patrick Delaunay wrote: > > RESEND of V6, rebased on master > http://patchwork.ozlabs.org/project/uboot/list/?series=163388 > > In this serie I update the DWC2 host driver to use the device tree > information and the associated PHY and CLOCK drivers when they are >

Re: [PATCH] cmd: cache: Fix non-cached memory cachability

2020-04-27 Thread Patrice CHOTARD
Hi Marek On 4/27/20 12:22 PM, Marek Vasut wrote: > On 4/23/20 6:01 PM, Patrice Chotard wrote: > > [...] > >> diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c >> index 007d4ebc49..7f3cfb407c 100644 >> --- a/arch/arm/lib/cache.c >> +++ b/arch/arm/lib/cache.c >> @@ -73,6 +73,15 @@ static

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-27 Thread Marek Vasut
On 4/27/20 3:31 PM, Adam Ford wrote: [...] > +Get and Build the ARM Trusted firmware > +== > +Note: srctree is U-Boot source directory > + > +$ git clone https://source.codeaurora.org/external/imx/imx-atf > +$ git checkout

Re: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Marek Vasut
On 4/27/20 4:00 PM, Patrick DELAUNAY wrote: > Dear Marek, > >> From: Marek Vasut >> Sent: lundi 27 avril 2020 12:30 >> >> On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: >>> Dear Marek, >>> From: Marek Vasut Sent: mardi 31 mars 2020 19:52 The AV96 is in fact an assembly of DH

RE: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 27 avril 2020 12:30 > > On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: > > Dear Marek, > > > >> From: Marek Vasut > >> Sent: mardi 31 mars 2020 19:52 > >> > >> The AV96 is in fact an assembly of DH Electronics DHCOR SoM on top of > >> an > >> AV96

Re: [PATCH v1 09/10] pci: Add driver for Broadcom STB PCIe controller

2020-04-27 Thread Marek Szyprowski
Hi Nicolas, On 27.04.2020 12:15, Nicolas Saenz Julienne wrote: > On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: >> This patch adds basic driver for the Broadcom STB PCIe host controller. >> The code is based on Linux upstream driver (pcie-brcmstb.c) with MSI >> handling removed. The

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
On Mon, Apr 27, 2020, 6:55 PM Marek Vasut wrote: > On 4/27/20 3:13 PM, Andy Shevchenko wrote: > > On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: > >> > >> On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > >>> This patch series adds support for Broadcom Northstar 3 SoC. > >> > >> Please, do

RE: [PATCH 1/2] ARM: stm32: Define I2C EEPROM bus and address on DHCOM

2020-04-27 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: lundi 27 avril 2020 12:27 > > Define I2C EEPROM bus and address, so that the 'eeprom' command uses the > correct ones and does not generate the following error: > eeprom_rw_block: Cannot find udev for a bus 0 > > Signed-off-by: Marek Vasut > Cc:

Re: [PATCH 1/3] mips: mt76x8: ddr_cal: Rename dqs_test_valid() to dqs_test_error()

2020-04-27 Thread Daniel Schwierzeck
Am 06.03.20 um 15:14 schrieb Stefan Roese: > This function returns "-1" (true) upon error. So the function name does > not match its implementation which is confusing. This patch renames the > function to dqs_test_error() which makes the code easier to read. > > Also change the return type to

Re: [PATCH v6] Add support for SoM "VoCore2".

2020-04-27 Thread Daniel Schwierzeck
Am 18.02.20 um 09:34 schrieb Mauro Condarelli: > Small patch to add support for VoCore/VoCore2 board. > > VoCore is open hardware and runs OpenWrt/LEDE. > It has WIFI, USB, UART, 20+ GPIOs but is only one inch square. > It will help you to make a smart house, study embedded system > or even

Re: [PATCH v2 3/3] kbuild: SPL/TPL: generate separate asm-offsets.h for SPL and TPL

2020-04-27 Thread Tom Rini
On Mon, Apr 27, 2020 at 09:37:28AM +0800, Bin Meng wrote: > Hi Tom, > > On Sat, Apr 18, 2020 at 8:37 PM Bin Meng wrote: > > > > On Fri, Apr 17, 2020 at 3:22 PM Masahiro Yamada > > wrote: > > > > > > Currently generic-asm-offsets.h and asm-offsets.h are generated based > > > on U-Boot proper

Re: [PATCH 00/26 v7] Refactor the architecture parts of mt7628

2020-04-27 Thread Daniel Schwierzeck
Am 21.04.20 um 09:28 schrieb Stefan Roese: > This patch series are divided into two parts: > > The main part is to rewrite the whole architecture code of mt7628: > * Lock parts of the d-cache for initial stack so the rest of the code can > be reimplemented in C. > * Memory controller & DDR

Re: [PATCH] imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

2020-04-27 Thread Adam Ford
On Mon, Apr 27, 2020 at 2:06 AM Marek Vasut wrote: > > On 4/27/20 4:26 AM, Adam Ford wrote: > > Hi, > > [...] > > >>> diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > >>> index 59a2713cb2..249d446f69 100644 > >>> --- a/arch/arm/dts/Makefile > >>> +++ b/arch/arm/dts/Makefile > >>> @@

[RESEND PATCH v6 3/5] usb: host: dwc2: add clk support

2020-04-27 Thread Patrick Delaunay
Add support for clock with driver model. This patch don't added dependency because when CONFIG_CLK is not activated the clk function are stubbed. Reviewed-by: Simon Goldschmidt Signed-off-by: Patrick Delaunay --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None

[RESEND PATCH v6 5/5] usb: host: dwc2: add trace to have clean usb start

2020-04-27 Thread Patrick Delaunay
Solve issue for the display of "usb start" command on stm32mp1 because one carriage return is missing in DWC2 probe. Before the patch: STM32MP> usb start starting USB... Bus usb-otg@4900:Bus usbh-ehci@5800d000: USB EHCI 1.00 after the patch: STM32MP> usb start starting USB... Bus

[RESEND PATCH v6 0/5] usb: host: dwc2: use driver model for PHY and CLOCK

2020-04-27 Thread Patrick Delaunay
RESEND of V6, rebased on master http://patchwork.ozlabs.org/project/uboot/list/?series=163388 In this serie I update the DWC2 host driver to use the device tree information and the associated PHY and CLOCK drivers when they are availables. V6 is minor update of the first patch of the serie; I

[RESEND PATCH v6 2/5] usb: host: dwc2: add phy support

2020-04-27 Thread Patrick Delaunay
Use generic phy to initialize the PHY associated to the DWC2 device and available in the device tree. This patch don't added dependency because when CONFIG_PHY is not activated, the generic PHY function are stubbed. Reviewed-by: Simon Goldschmidt Signed-off-by: Patrick Delaunay --- Changes in

[RESEND PATCH v6 1/5] dm: clk: add stub when CONFIG_CLK is deactivated

2020-04-27 Thread Patrick Delaunay
Add stub for functions clk_...() when CONFIG_CLK is deactivated. This patch avoids compilation issues for driver using these API without protection (#if CONFIG_IS_ENABLED(CLK)) For example, before this patch we have undefined reference to `clk_disable_bulk') for code: clk_disable_bulk(>clks);

[RESEND PATCH v6 4/5] usb: host: dwc2: force reset assert

2020-04-27 Thread Patrick Delaunay
Assert reset before deassert in dwc2_reset; this patch solve issues when the DWC2 registers are already initialized with value incompatible with host mode. Force a hardware reset of the IP reset all the DWC2 registers at default value, the host driver start with a clean state (Core Soft reset

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Marek Vasut
On 4/27/20 3:13 PM, Andy Shevchenko wrote: > On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: >> >> On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: >>> This patch series adds support for Broadcom Northstar 3 SoC. >> >> Please, do keep the CC sane, don't CC everyone. > > +1! > > Please, learn

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Andy Shevchenko
On Mon, Apr 27, 2020 at 2:12 PM Marek Vasut wrote: > > On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > > This patch series adds support for Broadcom Northstar 3 SoC. > > Please, do keep the CC sane, don't CC everyone. +1! Please, learn how not to spam people with the crazy patch bomb. Next

Re: [PATCH] imx: Fix imx8m FIT script issue

2020-04-27 Thread Schrempf Frieder
On 09.04.20 10:44, Ye Li wrote: > The FIT config node has reversed ATF and u-boot: ATF is set to > firmware but u-boot is set to loadable. > This script can work previously because spl fit driver wrongly > appends fdt to all loadable images. With the issue fixed, the u-boot > in loadable does not

[PATCH v2 6/6] configs: lx2160aqds_tfa_defconfig: enable DM_ETH and related

2020-04-27 Thread Ioana Ciornei
Enable CONFIG_DM_ETH and CONFIG_DM_MDIO and related configs for the LX2160AQDS board. Signed-off-by: Ioana Ciornei --- Changes in v2: - none configs/lx2160aqds_tfa_SECURE_BOOT_defconfig | 8 configs/lx2160aqds_tfa_defconfig | 8 2 files changed, 16 insertions(+)

[PATCH v2 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
Add device trees describing possible uses of mezzanine cards depending on the SERDES protocol employed. This patch adds DPAA2 networking support for the following protocols on each SERDES block: * SD #1: 3, 7, 19, 20 * SD #2: 11 Each SERDES block has a different device tree file per protocol

[PATCH v2 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
The LX2160A processor has two external MDIO interfaces, described in the DTS as emdio1 and emdio2. On the LX2160AQDS board EMDIO1 is used with two onboard RGMII PHYs (Realtek RTL8211FD-CG), as well as eight input/output connectors for mezzanine cards. Configuration signals from the Qixis FPGA

[PATCH v2 0/6] boards: lx2160aqds: transition to CONFIG_DM_ETH

2020-04-27 Thread Ioana Ciornei
This patch set targets to add support for CONFIG_DM_ETH for the NXP LX2160AQDS board. The main focus is on changing the DTS based on the SERDES protocol used. In order to accomplish this, the MULTI_DTB_FIT feature is employed and the appropriate DTS is chosed on boot from a list of predefined

[PATCH v2 4/6] board: lx2160aqds: transition to DM_ETH

2020-04-27 Thread Ioana Ciornei
In case CONFIG_DM_ETH is enabled, no hardcoding is necessary for DPAA2 Ethernet devices. Compile out any unnecessary setup when CONFIG_DM_ETH is activated. Also, force the PCI devices to be enumerated at probe time. Signed-off-by: Ioana Ciornei --- Changes in v2: - none

[PATCH v2 5/6] board: lx2160aqds: implement board_fit_config_name_match

2020-04-27 Thread Ioana Ciornei
In case CONFIG_DM_ETH and CONFIG_MULTI_DTB_FIT are enabled implement the board_fit_config_name_match() function in order to choose the appropriate DTS for the current SERDES protocol configuration. Signed-off-by: Ioana Ciornei --- Changes in v2: - none board/freescale/lx2160a/eth_lx2160aqds.c

[PATCH v2 1/6] arm: dts: lx2160a: add noted for dpmacs 1, 2, 5-6

2020-04-27 Thread Ioana Ciornei
Add nodes for DPMACs 1, 2 and 5-6 which were missing from the description. These will be later used on the LX2160AQDS specific DTS. Signed-off-by: Ioana Ciornei --- Changes in v2: - copyright update - explicitly specify which DPMAC nodes were added arch/arm/dts/fsl-lx2160a.dtsi | 86

[PATCH v1 47/49] cmd: bcm: add nitro image load commands

2020-04-27 Thread Rayagonda Kokatanur
From: Vikas Gupta Add nitro image load commands. Signed-off-by: Vikas Gupta Signed-off-by: Rayagonda Kokatanur --- cmd/bcm/Makefile | 1 + cmd/bcm/nitro_image_load.c | 99 ++ 2 files changed, 100 insertions(+) create mode 100644

Re: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96

2020-04-27 Thread Marek Vasut
On 4/27/20 2:09 PM, Patrick DELAUNAY wrote: > > >> -Original Message- >> From: Marek Vasut >> Sent: lundi 27 avril 2020 13:41 >> To: Patrick DELAUNAY ; u-boot@lists.denx.de >> Cc: Manivannan Sadhasivam ; Patrice >> CHOTARD >> Subject: Re: [PATCH V3 3/6] ARM: stm32: Implement board

[PATCH v1 49/49] board: ns3: check chimp handshake status

2020-04-27 Thread Rayagonda Kokatanur
Add support to check chimp handshake status. Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/board/broadcom/bcmns3/ns3.c b/board/broadcom/bcmns3/ns3.c index e8f1d1b199..791baa904e 100644 ---

Re: [PATCH v2 2/7] uart: pl011: Add proper DM clock support

2020-04-27 Thread André Przywara
On 24/04/2020 15:51, Tom Rini wrote: Hi Tom, > On Tue, Apr 07, 2020 at 12:12:31PM +0100, Andre Przywara wrote: > >> Even though the PL011 UART driver claims to be DM compliant, it does not >> really a good job with parsing DT nodes. U-Boot seems to adhere to a >> non-standard binding, either

[PATCH v1 48/49] cmd: bcm: add command for chimp hand shake

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty Add command for chimp handshake. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- cmd/bcm/Makefile | 1 + cmd/bcm/chimp_handshake.c | 32 include/brcm/chimp.h | 6 ++ 3 files

[PATCH v1 43/49] board: ns3: kconfig: extend board kconfig with specific commands

2020-04-27 Thread Rayagonda Kokatanur
From: Vladimir Olovyannikov Extend Kconfig for the board with board-specific commands selection. Signed-off-by: Vladimir Olovyannikov Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/board/broadcom/bcmns3/Kconfig

[PATCH v1 44/49] cmd: bcm: add broadcom error log setup command

2020-04-27 Thread Rayagonda Kokatanur
From: Vladimir Olovyannikov Add broadcom error log setup command. Some Broadcom platforms have ability to record event logs by SCP. - Add a logsetup command which is used to perform initial configuration of this log. Move this command to bcm/ directory to be used for Broadcom-specific

[PATCH v1 45/49] cmd: gpt: add eMMC and GPT support

2020-04-27 Thread Rayagonda Kokatanur
From: Corneliu Doban Add eMMC and GPT support. - GPT partition list and command to create the GPT added to u-boot environment - eMMC boot commands added to u-boot environment - new gpt commands (enumarate and setenv) that are used by broadcom update scripts and boot commands - eMMC specific

[PATCH v1 46/49] cmd: bcm: add nitro boot command

2020-04-27 Thread Rayagonda Kokatanur
From: Trac Hoang Add command to boot nitro. Signed-off-by: Trac Hoang Signed-off-by: Rayagonda Kokatanur --- cmd/bcm/Makefile | 1 + cmd/bcm/chimp_boot.c | 36 include/brcm/chimp.h | 2 ++ 3 files changed, 39 insertions(+) create mode 100644

[PATCH v1 40/49] configs: ns3: env in mmc

2020-04-27 Thread Rayagonda Kokatanur
Use uboot env in mmc. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index c6e7992b3a..92f148b749 100644 --- a/configs/bcm_ns3_defconfig +++ b/configs/bcm_ns3_defconfig

[PATCH v1 38/49] board: ns3: add generic MCU IPC command send API

2020-04-27 Thread Rayagonda Kokatanur
From: Trac Hoang Add a generic CRMU IPC command send driver so that u-boot can access MCU services. Signed-off-by: Trac Hoang Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/Makefile | 1 + board/broadcom/bcmns3/mcu_cmd.c | 49 +

[PATCH v1 41/49] include/configs: ns3: add support for flashing images

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Gooty Add support for flashing images into QSPI and eMMC. Signed-off-by: Rayagonda Kokatanur --- include/configs/bcm_ns3.h | 491 +- 1 file changed, 490 insertions(+), 1 deletion(-) diff --git a/include/configs/bcm_ns3.h

[PATCH v1 39/49] include/configs: ns3: add env variables for Linux boot

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Gooty Add env variables and commands for booting Linux. Signed-off-by: Bharat Gooty Signed-off-by: Rayagonda Kokatanur --- include/configs/bcm_ns3.h | 366 ++ 1 file changed, 366 insertions(+) diff --git a/include/configs/bcm_ns3.h

[PATCH v1 42/49] common: ns3: add error logging support

2020-04-27 Thread Rayagonda Kokatanur
From: Sheetal Tigadoli Add error logging support in uboot for ns3 platform. We log the bootup msgs from all bootstages(BL2, BL31, BL33, and Linux) on to DDR. When a watchdog is triggered from any of the bootstages, CRMU copies these logs to QSPI error logging space. Later when doing the

[PATCH v1 34/49] configs: ns3: enable RPMB

2020-04-27 Thread Rayagonda Kokatanur
Enable RPMB feature and corresponding mmc rpmb commands Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 43aeac3e82..1f565f3ad2 100644 --- a/configs/bcm_ns3_defconfig

[PATCH v1 33/49] configs: ns3: enable PXE boot command

2020-04-27 Thread Rayagonda Kokatanur
This config enables pxe get and pxe boot commands. 'pxe get' command loads configuration file at given RAM offset. 'pxe boot' command interprets this config file and boots Linux. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v1 35/49] board: ns3: add optee based bnxt fw load driver

2020-04-27 Thread Rayagonda Kokatanur
From: Vikas Gupta Add optee based bnxt fw load driver. Signed-off-by: Vikas Gupta Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/Kconfig | 5 + board/broadcom/bcmns3/Makefile | 1 + board/broadcom/bcmns3/chimp_optee.c | 154

[PATCH v1 37/49] arm: dts: ns3: add optee node

2020-04-27 Thread Rayagonda Kokatanur
From: Vikas Gupta Add support for optee Signed-off-by: Vikas Gupta Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi index 6962e658d3..509818e23e 100644 ---

[PATCH v1 36/49] configs: ns3: enable tee and optee driver

2020-04-27 Thread Rayagonda Kokatanur
Enable tee and optee drivers. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 1f565f3ad2..c6e7992b3a 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 32/49] board: ns3: add development keys used in FIT

2020-04-27 Thread Rayagonda Kokatanur
From: Pramod Kumar Add development keys used in FIT. Signed-off-by: Pramod Kumar Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/fit/keys/dev.crt | 21 +++ board/broadcom/bcmns3/fit/keys/dev.key | 28 ++ 2 files changed, 49 insertions(+)

[PATCH v1 30/49] configs: ns3: enable FIT config

2020-04-27 Thread Rayagonda Kokatanur
Enable FIT config for NS3. Also increase FIT_SIGNATURE_MAX_SIZE to 512MB When FIT image has initramfs, total fit image size is greater than 256MB. Increasing the Fit signature max size to 512MB. Images are loaded at 0x9000_ for Image hash validation. So increasing the FIT signature size to

[PATCH v1 27/49] dt-bindings: memory: ns3: add ddr memory definition

2020-04-27 Thread Rayagonda Kokatanur
Add ddr memory definitions. Signed-off-by: Rayagonda Kokatanur --- include/dt-bindings/memory/bcm-ns3-mc.h | 30 - 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h b/include/dt-bindings/memory/bcm-ns3-mc.h index

[PATCH v1 28/49] board: ns3: define ddr memory layout

2020-04-27 Thread Rayagonda Kokatanur
From: Ray Jui Add both DRAM banks memory information and the corresponding MMU page table mappings. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 23 ++ board/broadcom/bcmns3/ns3.c | 84

[PATCH v1 31/49] board: ns3: add FIT image its file

2020-04-27 Thread Rayagonda Kokatanur
From: Pramod Kumar Add FIT image its file. Signed-off-by: Pramod Kumar Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/fit/multi.its | 59 + 1 file changed, 59 insertions(+) create mode 100644 board/broadcom/bcmns3/fit/multi.its diff --git

[PATCH v1 29/49] board: ns3: limit U-boot relocation within 16MB memory

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty By default re-location happens to higher address of DDR, i.e, DDR start + DDR size. Limit re-location to happen within 16MB memory, start 0xFF00_ and end 0x1__ Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur ---

[PATCH v1 24/49] dt-bindings: memory: ns3: update GIC LPI address

2020-04-27 Thread Rayagonda Kokatanur
Update NS3 GIC LPI address. Signed-off-by: Rayagonda Kokatanur --- include/dt-bindings/memory/bcm-ns3-mc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h b/include/dt-bindings/memory/bcm-ns3-mc.h index b4f78584a5..d6e7717ba2 100644 ---

[PATCH v1 23/49] board: ns3: default reset type to L3

2020-04-27 Thread Rayagonda Kokatanur
From: Rajesh Ravi Default "reset" from u-boot to L3 reset. "reset" command with argument will trigger L1 reset. Signed-off-by: Rajesh Ravi Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 20 ++-- 1 file changed, 18

[PATCH v1 26/49] configs: ns3: enable GIC ITS LPI table programing

2020-04-27 Thread Rayagonda Kokatanur
Enables the GIC_V3 ITS LPI configuration table and LPI table. Signed-off-by: Rayagonda Kokatanur Signed-off-by: Bharat Kumar Reddy Gooty --- configs/bcm_ns3_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index

[PATCH v1 21/49] board: ns3: start sp805 watchdog service

2020-04-27 Thread Rayagonda Kokatanur
Start sp805 watchdog service. Parse wdt timeout from env and dts, give precedence to env timeout if defined. Set default timeout to 60s if both env and dts doesn't specifiy timeout. Stop the WDT in board late init and start the WDT service before giving control to Linux. Signed-off-by:

[PATCH v1 25/49] board: ns3: program GIC LPI tables

2020-04-27 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty U-boot programs the GIC LPI configuration tables and enables the LPI table. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 4 include/configs/bcm_ns3.h | 6 ++ 2 files changed, 10

[PATCH v1 22/49] board: ns3: add api to save boot parameters passed from BL31

2020-04-27 Thread Rayagonda Kokatanur
From: Abhishek Shah Add API to save boot parameters passed from BL31 Use assembly implementation of save_boot_params instead of c function. Because generally ATF does not set up SP_EL2 on exiting. Thus, usage of a C function immediately after exiting with no stack setup done by ATF explicitly,

[PATCH v1 20/49] arm: dts: ns3: add sp805 watchdog node

2020-04-27 Thread Rayagonda Kokatanur
From: Pramod Kumar Add sp805 watchdog dts node for ns3. Signed-off-by: Pramod Kumar Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/ns3.dtsi b/arch/arm/dts/ns3.dtsi index 9fd59a855e..6962e658d3 100644 ---

[PATCH v1 18/49] configs: ns3: enable EXT4 and FAT fs support

2020-04-27 Thread Rayagonda Kokatanur
Enable EXT4 and FAT fs support for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 3af8c91a4d..5ee5bea336 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 19/49] configs: ns3: enable sp805 watchdog driver

2020-04-27 Thread Rayagonda Kokatanur
Enable sp805 watchdog driver for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 5ee5bea336..a3ba55d163 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 17/49] configs: ns3: enable gpt commands

2020-04-27 Thread Rayagonda Kokatanur
Enable gpt commands for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index f8a20122ea..3af8c91a4d 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 12/49] configs: ns3: enable mmc commands

2020-04-27 Thread Rayagonda Kokatanur
Enable mmc commands for NS3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index f94e7426c7..f8a20122ea 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 13/49] arm: dts: ns3: add qspi node

2020-04-27 Thread Rayagonda Kokatanur
Add QSPI node and qspi NOR flash node for NS3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 16 arch/arm/dts/ns3.dtsi | 9 + 2 files changed, 25 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index

[PATCH v1 14/49] dt-bindings: memory: ns3: add memory definitions

2020-04-27 Thread Rayagonda Kokatanur
Add NS3 memory definitions. Signed-off-by: Rayagonda Kokatanur --- include/dt-bindings/memory/bcm-ns3-mc.h | 34 + 1 file changed, 34 insertions(+) create mode 100644 include/dt-bindings/memory/bcm-ns3-mc.h diff --git a/include/dt-bindings/memory/bcm-ns3-mc.h

[PATCH v1 16/49] arm: dts: ns3: add PAXB PCIe host and phy node

2020-04-27 Thread Rayagonda Kokatanur
From: Srinath Mannam Add PAXB PCIe host controller and phy node for NS3. Signed-off-by: Srinath Mannam Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 36 + arch/arm/dts/ns3.dtsi | 158 + 2 files changed, 194 insertions(+)

[PATCH v1 15/49] arm: dts: ns3: add i2c node

2020-04-27 Thread Rayagonda Kokatanur
Add IPROC I2C node for NS3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 1 + arch/arm/dts/ns3.dtsi | 6 ++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index 6565f90f22..1155ff3ef1 100644 ---

[PATCH v1 08/49] arm: dts: ns3: add gpio node

2020-04-27 Thread Rayagonda Kokatanur
Add IPROC GPIO node for NS3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 1 + arch/arm/dts/ns3.dtsi | 23 +++ 2 files changed, 24 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts b/arch/arm/dts/ns3-board.dts index 54e56879a5..92699910cb

[PATCH v1 07/49] arm: dts: ns3: add pinctrl node

2020-04-27 Thread Rayagonda Kokatanur
Add pinctrl dt node for ns3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-pinctrl.dtsi | 321 ++ arch/arm/dts/ns3.dtsi | 2 + 2 files changed, 323 insertions(+) create mode 100644 arch/arm/dts/ns3-pinctrl.dtsi diff --git

[PATCH v1 09/49] gpio: do not include on TARGET_BCMNS3

2020-04-27 Thread Rayagonda Kokatanur
As no gpio.h is defined for this architecture, to avoid compilation failure, do not include for arch bcmns3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/include/asm/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/gpio.h

[PATCH v1 11/49] arm: dts: ns3: add emmc node

2020-04-27 Thread Rayagonda Kokatanur
From: Pramod Kumar Add emmc dt nodes for ns3. Signed-off-by: Pramod Kumar Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-board.dts | 4 arch/arm/dts/ns3.dtsi | 18 ++ 2 files changed, 22 insertions(+) diff --git a/arch/arm/dts/ns3-board.dts

[PATCH v1 10/49] configs: ns3: enable BCM IPROC mmc driver

2020-04-27 Thread Rayagonda Kokatanur
Enable BCM IPROC mmc driver ns3. Enable DMA for MMC Host to have better reads and writes. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 438e929b4b..f94e7426c7

[PATCH v1 05/49] configs: ns3: enable pinctrl driver

2020-04-27 Thread Rayagonda Kokatanur
Enable pinctrl driver for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index 7e51a926f7..438e929b4b 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 04/49] arm: dts: ns3: add clock dt node

2020-04-27 Thread Rayagonda Kokatanur
Add clock dt node for ns3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/dts/ns3-clock.dtsi | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 arch/arm/dts/ns3-clock.dtsi diff --git a/arch/arm/dts/ns3-clock.dtsi b/arch/arm/dts/ns3-clock.dtsi new

[PATCH v1 06/49] dt-bindings: pinctrl: add ns3 pads definition

2020-04-27 Thread Rayagonda Kokatanur
Add NS3 pads definitions. Signed-off-by: Rayagonda Kokatanur --- .../dt-bindings/pinctrl/brcm,pinctrl-ns3.h| 41 +++ 1 file changed, 41 insertions(+) create mode 100644 include/dt-bindings/pinctrl/brcm,pinctrl-ns3.h diff --git

[PATCH v1 03/49] configs: ns3: enable clock subsystem

2020-04-27 Thread Rayagonda Kokatanur
Enable clock subsystem for ns3. Signed-off-by: Rayagonda Kokatanur --- configs/bcm_ns3_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/bcm_ns3_defconfig b/configs/bcm_ns3_defconfig index a81541e394..7e51a926f7 100644 --- a/configs/bcm_ns3_defconfig +++

[PATCH v1 02/49] arm: cpu: armv8: add L3 memory flush support

2020-04-27 Thread Rayagonda Kokatanur
Add L3 memory flush support for NS3. Signed-off-by: Rayagonda Kokatanur --- arch/arm/cpu/armv8/Makefile | 1 + arch/arm/cpu/armv8/bcmns3/Makefile | 5 ++ arch/arm/cpu/armv8/bcmns3/lowlevel.S | 90 3 files changed, 96 insertions(+) create mode 100644

[PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
This patch series adds support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Abhishek Shah (1): board: ns3: add api to save boot parameters passed from BL31 Bharat Gooty (2): include/configs: ns3: add

[PATCH v1 01/49] board: ns3: add support for Broadcom Northstar 3

2020-04-27 Thread Rayagonda Kokatanur
Add support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Signed-off-by: Rayagonda Kokatanur --- arch/arm/Kconfig | 10 ++ arch/arm/dts/Makefile | 2 ++

sd-card is not working on espressobin

2020-04-27 Thread Moritz Berghof
Hi Community, Hi Marek, Hi Stefan, we are still working on the u-boot master of the espressobin platform. Do you have any ideas why mmc cannot find any sd-card? The mmc devices can be list and I changed the

[PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Rayagonda Kokatanur
This patch series adds support for Broadcom Northstar 3 SoC. NS3 is a octo-core 64-bit ARMv8 Cortex-A72 processors targeting a broad range of networking applications. Abhishek Shah (1): board: ns3: add api to save boot parameters passed from BL31 Bharat Gooty (2): include/configs: ns3: add

[U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Alexey Brodkin
Hi Tom, The following changes since commit d202f67db0771247de562af5d6a5df778702857b: Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-more-fixes-for-2020.07-rc1 for

[PATCH] arm: dts: imx8mm: sync dts from Linux Kernel 5.6.7

2020-04-27 Thread Adam Ford
This patch synchronizes the device tree with that from 5.6.7. This also adds nodes for crypto and ddrc, which makes keeping the device tree files from individual boards in sync with the Linux kernel. This is helpful when boads reference those nodes. Signed-off-by: Adam Ford diff --git

RE: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96

2020-04-27 Thread Patrick DELAUNAY
> -Original Message- > From: Marek Vasut > Sent: lundi 27 avril 2020 13:41 > To: Patrick DELAUNAY ; u-boot@lists.denx.de > Cc: Manivannan Sadhasivam ; Patrice > CHOTARD > Subject: Re: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96 > Importance: High > > On 4/23/20 9:42 AM,

Re: [PATCH] regulator: fix: enable gpio when requested

2020-04-27 Thread Patrice CHOTARD
Hi Mark On 4/27/20 11:09 AM, Mark Kettenis wrote: > The fix in commit b7adcdd073c0 has the side-effect that the regulator > will be disabled when requesting the relevant gpio in > regulator_common_ofdata_to_platdata() and enabled in > regulator_pre_probe() when the regulator was already enabled.

Re: u-boot DT configuration node

2020-04-27 Thread Michal Simek
On 08. 04. 20 8:57, Michal Simek wrote: > On 02. 04. 20 13:34, Mark Kettenis wrote: >>> From: Michal Simek >>> Date: Thu, 2 Apr 2020 08:05:36 +0200 >>> >>> On 01. 04. 20 20:09, Mark Kettenis wrote: > From: Michal Simek > Date: Wed, 1 Apr 2020 11:23:13 +0200 > > Hi Rob and others,

RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-27 Thread Ioana Ciornei
[snip] > > >diff --git a/arch/arm/dts/fsl-lx2160a-qds.dtsi > > >b/arch/arm/dts/fsl-lx2160a- qds.dtsi new file mode 100644 index > > >..129cf82a8f37 > > >--- /dev/null > > >+++ b/arch/arm/dts/fsl-lx2160a-qds.dtsi > > > > > > Is there any particular reason of adding dpmac related

Re: [PATCH] Makefile: copy SPL_FIT_SOURCE in build directory

2020-04-27 Thread Marek Vasut
On 4/23/20 9:39 AM, Patrick Delaunay wrote: > Copy the .its source file selected by CONFIG_SPL_FIT_SOURCE > in builddir and in a file named "u-boot.its". > > This patch avoid compilation issue when CONFIG_SPL_FIT_SOURCE is used > and KBUILD_OUTPUT is defined, in buildman for example. > >

Re: [PATCH V3 3/6] ARM: stm32: Implement board coding on AV96

2020-04-27 Thread Marek Vasut
On 4/23/20 9:42 AM, Patrick DELAUNAY wrote: [...] arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi| 1 + .../stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 1 + arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi| 7 +++ board/dhelectronics/dh_stm32mp1/Kconfig | 2 +-

[PATCH] ARM: dts: stm32: Fix AV96 and DHCOR split

2020-04-27 Thread Marek Vasut
The commit 132e5b68986d ("ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board") was not applied correctly and in full, and omitted an important split of the SoM into 3V3 and 1V8 options. The Avenger96 board is based on the 1V8 IO option of the DHCOR SoM, however this is an optional

Re: [PATCH v1 00/49] add support for broadcom NS3 soc

2020-04-27 Thread Marek Vasut
On 4/27/20 12:47 PM, Rayagonda Kokatanur wrote: > This patch series adds support for Broadcom Northstar 3 SoC. Please, do keep the CC sane, don't CC everyone. [...] > arch/arm/Kconfig | 10 + > arch/arm/cpu/armv8/Makefile | 1 + >

Re: [PATCH v1 08/10] pci: Add some PCI Express capability register offset definitions

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > Add PCI Express capability definitions required by the Broadcom > STB PCIe controller driver. > > Reviewed-by: Bin Meng > Signed-off-by: Sylwester Nawrocki > --- > Changes since RFC: > - ensure the entries are added in order,

RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-27 Thread Ioana Ciornei
> Subject: RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots > > >-Original Message- > >From: U-Boot On Behalf Of Ioana Ciornei > >Sent: Wednesday, April 22, 2020 10:39 PM > >To: Priyanka Jain ; u-boot@lists.denx.de > >Cc: Alexandru Marginean ; Madalin Bucur > >; Florin Laurentiu

Re: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-27 Thread Marek Vasut
On 4/24/20 4:31 PM, Patrick DELAUNAY wrote: > Dear Marek, > >> From: Marek Vasut >> Sent: mardi 31 mars 2020 19:52 >> >> The AV96 is in fact an assembly of DH Electronics DHCOR SoM on top of an >> AV96 reference board. Split the DTs to reflect that and make sure to DHCOR >> SoM >> can be reused

[PATCH 2/2] ARM: stm32: Hog GPIO PF7 high on DHCOM to unlock SPI NOR nWP

2020-04-27 Thread Marek Vasut
The SPI NOR nWP line is connected to GPIO PF7 on the SoM, pull the GPIO line high by default to clear SPI NOR WP. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 9 + configs/stm32mp15_dhcom_basic_defconfig| 1 +

[PATCH 1/2] ARM: stm32: Define I2C EEPROM bus and address on DHCOM

2020-04-27 Thread Marek Vasut
Define I2C EEPROM bus and address, so that the 'eeprom' command uses the correct ones and does not generate the following error: eeprom_rw_block: Cannot find udev for a bus 0 Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- configs/stm32mp15_dhcom_basic_defconfig |

Re: [PATCH] cmd: cache: Fix non-cached memory cachability

2020-04-27 Thread Marek Vasut
On 4/23/20 6:01 PM, Patrice Chotard wrote: [...] > diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c > index 007d4ebc49..7f3cfb407c 100644 > --- a/arch/arm/lib/cache.c > +++ b/arch/arm/lib/cache.c > @@ -73,6 +73,15 @@ static unsigned long noncached_start; > static unsigned long

Re: [PATCH v1 05/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 64bit)

2020-04-27 Thread Nicolas Saenz Julienne
On Fri, 2020-04-24 at 18:50 +0200, Sylwester Nawrocki wrote: > From: Marek Szyprowski > > Create a non-cacheable mapping for the 0x6 physical memory region, > where MMIO registers for the PCIe XHCI controller are instantiated by the > PCIe bridge. > > Signed-off-by: Marek Szyprowski >

<    1   2   3   >