Re: [PATCH v5 1/1] cmd: provide command sbi

2020-08-20 Thread Rick Chen
> From: Heinrich Schuchardt [mailto:xypron.g...@gmx.de] > Sent: Friday, August 21, 2020 1:44 AM > To: Rick Jian-Zhi Chen(陳建志) > Cc: Bin Meng; Pragnesh Patel; Lukas Auer; Atish Patra; u-boot@lists.denx.de; > Heinrich Schuchardt; Bin Meng > Subject: [PATCH v5 1/1] cmd: provide command sbi > >

[PATCH v3 8/8] mips: octeon: octeon_ebb7304_defconfig: Enable USB support

2020-08-20 Thread Stefan Roese
This patch enables USB support with some helpful commands, like fs support. Signed-off-by: Stefan Roese --- (no changes since v1) configs/octeon_ebb7304_defconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/configs/octeon_ebb7304_defconfig

[PATCH v3 7/8] mips: octeon: Add USB DT nodes

2020-08-20 Thread Stefan Roese
Add the USB device tree nodes to the Octeon dts/dtsi files. Signed-off-by: Stefan Roese Reviewed-by: Bin Meng --- Changes in v3: - Add Reviewed-by tag from Bin - Correct multi-line comment style arch/mips/dts/mrvl,cn73xx.dtsi| 60 +++

[PATCH v3 3/8] usb: xhci: octeon: Add DWC3 glue layer for Octeon

2020-08-20 Thread Stefan Roese
This patch adds the glue layer for the MIPS Octeon SoCs. It's ported mainly from the Linux code. Signed-off-by: Stefan Roese Cc: Bin Meng Cc: Marek Vasut --- Changes in v3: - Minor corrections of the commit text as suggested by Bin - Minor corrections in comments as suggested by Bin -

[PATCH v3 6/8] mips: octeon: cache.c: Flush all pending writes in flush_dcache_range()

2020-08-20 Thread Stefan Roese
As noticed while working on the USB xHCI support, Octeon needs to flush all pending writes so that the values are present in the memory. Add this "syncw" instruction (twice) to flush_dcache_range(). Signed-off-by: Stefan Roese --- (no changes since v1) arch/mips/mach-octeon/cache.c | 12

[PATCH v3 2/8] usb: xhci: xhci_bulk_tx: Don't "BUG" when comparing addresses

2020-08-20 Thread Stefan Roese
Octeon uses mapped addresses for virtual and physical memory. It's not that easy to calculate the resulting addresses here. So let's remove this BUG_ON() completely, as it's not really helpful. Please also note, that BUG_ON() is not recommended any more in the Linux kernel. Signed-off-by: Stefan

[PATCH v3 4/8] mips: octeon: cpu.c: Add table for selective swapping

2020-08-20 Thread Stefan Roese
Import octeon_should_swizzle_table[] which is needed for the area specific swapping. It will be used by the platform specific mangle-port.h header. Imported from Linux v5.7. Signed-off-by: Stefan Roese --- (no changes since v1) arch/mips/mach-octeon/cpu.c | 21 + 1 file

[PATCH v3 5/8] mips: octeon: Add mangle-port.h

2020-08-20 Thread Stefan Roese
Import platform specific mangle-port.h header, allowing a area specific swapping, which is needed on Octeon for USB & PCI areas. Imported from Linux v5.7. Signed-off-by: Stefan Roese --- (no changes since v2) Changes in v2: - Only use SPDX format for license info

[PATCH v3 1/8] usb: xhci: xhci-dwc3.c: Use dev_remap_addr() instead of dev_get_addr()

2020-08-20 Thread Stefan Roese
On MIPS platforms, mapping of the base address is needed. This patch switches from dev_get_addr() to dev_remap_addr() to get the mapped base address of the xHCI controller. Signed-off-by: Stefan Roese Reviewed-by: Bin Meng Cc: Bin Meng Cc: Marek Vasut --- Changes in v3: - Add Reviewed-by

[PATCH v3 0/8] mips/usb: Add Octeon xHCI USB support

2020-08-20 Thread Stefan Roese
This patchset adds xHCI USB support for MIPS Octeon. After the xHCI code has been fixed to support mapped addresses (virt != phys), this patchset now adds the missing code pieces to enable USB support on Octeon. This is mainly the USB glue code for Octeon and the MIPS platform specific changes

RE: [PATCH v5 1/1] cmd: provide command sbi

2020-08-20 Thread Pragnesh Patel
>-Original Message- >From: Heinrich Schuchardt >Sent: 20 August 2020 23:14 >To: Rick Chen >Cc: Bin Meng ; Pragnesh Patel >; Lukas Auer ; Atish Patra >; u-boot@lists.denx.de; Heinrich Schuchardt >; Bin Meng >Subject: [PATCH v5 1/1] cmd: provide command sbi > >[External Email] Do not

make htmldocs fails with Sphinx 3

2020-08-20 Thread Heinrich Schuchardt
As described in https://lkml.org/lkml/2020/4/8/280 the kernel build system for 'make htmldocs' fails with Sphinx 3. A patch is not yet available. Extension error: Could not import extension cdomain (exception: cannot import name 'c_funcptr_sig_re' from 'sphinx.domains.c'

[PATCH 1/1] test: undefined reference to 'sscanf'

2020-08-20 Thread Heinrich Schuchardt
Compiling with CONFIG_UNIT_TEST=y leads to: aarch64-linux-gnu-ld.bfd: test/lib/sscanf.c:50: undefined reference to `sscanf' Add missing build dependency. Fixes:e87dfb0526be ("lib: sscanf: add sscanf implementation") Signed-off-by: Heinrich Schuchardt --- test/lib/Makefile | 2 +- 1 file

Re: [PATCH v2 01/10] spi: dw: Convert calls to debug to log_*

2020-08-20 Thread Marek Vasut
On 8/21/20 2:08 AM, Tom Rini wrote: > On Thu, Aug 20, 2020 at 03:36:31PM +0200, Marek Vasut wrote: >> On 8/20/20 3:26 PM, Simon Glass wrote: >>> On Fri, 7 Aug 2020 at 08:43, Sean Anderson wrote: This allows different log levels to be enabled or disabled depending on the desired

Re: [PATCH v2 01/10] spi: dw: Convert calls to debug to log_*

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 03:36:31PM +0200, Marek Vasut wrote: > On 8/20/20 3:26 PM, Simon Glass wrote: > > On Fri, 7 Aug 2020 at 08:43, Sean Anderson wrote: > >> > >> This allows different log levels to be enabled or disabled depending on the > >> desired level of verbosity. In particular, it

Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 02:09:55PM -0700, Thirupathaiah Annapureddy wrote: > Hi Ryan, > > Thanks for reviewing the patch. Please see my comment(s): > > On 8/19/2020 7:06 PM, Ryan Chen wrote: > > Hi > >> -Original Message- > >> From: Thirupathaiah Annapureddy

[PATCH 1/1] fastboot: Fix fastboot reboot fail by changing functions order

2020-08-20 Thread Yurii Pidhornyi
From: "yurii.pidhornyi" It was revealed that when the fastboot_tx_write_str function is called without the previously initialized fastboot_func->in_req->complete field, a copy of in_req will be sent to the I/O requests queue without an initialized field. Moving a piece of code with the

[PATCH] video: Add copy_fb_to_hw op

2020-08-20 Thread Frederik Aalund
Some devices have their own framebuffer memory that is not shared directly with the CPU. For said devices, we need to copy U-boot's framebuffer (priv->fb) to the device's own framebuffer memory. E.g., via SPI. To support these devices, I've added the copy_fb_to_hw op. It's optional, so existing

Re: [PATCH] arm: dts: fix ast2500-evb inclusion for correct target

2020-08-20 Thread Thirupathaiah Annapureddy
Hi Ryan, Thanks for reviewing the patch. Please see my comment(s): On 8/19/2020 7:06 PM, Ryan Chen wrote: > Hi >> -Original Message- >> From: Thirupathaiah Annapureddy [mailto:thir...@linux.microsoft.com] >> Sent: Thursday, August 20, 2020 8:16 AM >> To: u-boot@lists.denx.de >> Cc: Maxim

[PATCH 1/1] lib/rsa: correct check after allocation in fdt_add_bignum()

2020-08-20 Thread Heinrich Schuchardt
After allocating to pointer ctx we should check that pointer and not another pointer already checked above. Signed-off-by: Heinrich Schuchardt --- lib/rsa/rsa-sign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index

Re: [PATCH 1/1] lib: rsa: remove redundant check

2020-08-20 Thread Heinrich Schuchardt
On 8/20/20 8:30 PM, George McCollister wrote: > On Thu, Aug 20, 2020 at 1:25 PM Heinrich Schuchardt > wrote: >> >> No need to check tmp is non-zero twice. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> lib/rsa/rsa-sign.c | 4 >> 1 file changed, 4 deletions(-) >> >> diff --git

Re: [PATCH 1/1] lib: rsa: remove redundant check

2020-08-20 Thread George McCollister
On Thu, Aug 20, 2020 at 1:25 PM Heinrich Schuchardt wrote: > > No need to check tmp is non-zero twice. > > Signed-off-by: Heinrich Schuchardt > --- > lib/rsa/rsa-sign.c | 4 > 1 file changed, 4 deletions(-) > > diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c > index

[PATCH 1/1] lib: rsa: superfluous initialization in rsa_verify()

2020-08-20 Thread Heinrich Schuchardt
Remove initialization of ret with unused value. Signed-off-by: Heinrich Schuchardt --- lib/rsa/rsa-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rsa/rsa-verify.c b/lib/rsa/rsa-verify.c index 2057f6819d..be55a4376f 100644 --- a/lib/rsa/rsa-verify.c +++

[PATCH 1/1] lib: rsa: remove redundant check

2020-08-20 Thread Heinrich Schuchardt
No need to check tmp is non-zero twice. Signed-off-by: Heinrich Schuchardt --- lib/rsa/rsa-sign.c | 4 1 file changed, 4 deletions(-) diff --git a/lib/rsa/rsa-sign.c b/lib/rsa/rsa-sign.c index 40ca1e1f57..18b68e1976 100644 --- a/lib/rsa/rsa-sign.c +++ b/lib/rsa/rsa-sign.c @@ -708,10

[PATCH 1/1] lib/hashtable: remove superfluous check

2020-08-20 Thread Heinrich Schuchardt
We assign first_deleted = 0. There is no need to check its value without any further assignment in between. Signed-off-by: Heinrich Schuchardt --- indicated by cppcheck --- lib/hashtable.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/hashtable.c b/lib/hashtable.c

[PATCH v5 1/1] cmd: provide command sbi

2020-08-20 Thread Heinrich Schuchardt
Provide a command to display information about the SBI implementation. The output might look like: => sbi SBI 0.2 OpenSBI Extensions: sbi_set_timer sbi_console_putchar sbi_console_getchar sbi_clear_ipi sbi_send_ipi sbi_remote_fence_i sbi_remote_sfence_vma

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

2020-08-20 Thread Rayagonda Kokatanur
Chimp is a core in Broadcom netxtream controller (bnxt). Add support to check bnxt's chimp component status. Signed-off-by: Rayagonda Kokatanur --- board/broadcom/bcmns3/ns3.c | 13 + 1 file changed, 13 insertions(+) diff --git a/board/broadcom/bcmns3/ns3.c

[PATCH] ARM: at91: common: guard ATMEL_PIT code by ifdef

2020-08-20 Thread Eugen Hristev
Atmel PIT timer is not available for next products that have another timer hardware block. To be able to use the common at91 code, guard the code that uses PIT by ifdefs. Signed-off-by: Eugen Hristev --- arch/arm/mach-at91/armv7/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH V2] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Fabio Estevam
Hi Adam, On Thu, Aug 20, 2020 at 10:57 AM Adam Ford wrote: > > The loading address is too close to the kernel address, so newer kernels > may overlap memory space, so loading the device tree may corrupt zImage. > > This patch moves the fdt_addr_r to 0x1400 which is also consistent > with

[RESEND PATCH 3/3] clk: imx6: Add definition for IMX6QDL_CLK_ENET_REF clock

2020-08-20 Thread Lukasz Majewski
After commit 673f6597321d ("net: fec_mxc: support i.MX8M with CLK_CCF") all NXP boards, which are not IMX8 and in the same time are supporting CCF need to provide PTP clock. On the i.MX6Q this clock is provided with IMX6QDL_CLK_ENET_REF in the Linux kernel's CCF. Code in this change models the

[RESEND PATCH 2/3] clk: imx: Add support for pllv3 enet clock

2020-08-20 Thread Lukasz Majewski
This code has been ported from Linux kernel v5.5.5 (tag) and has been adjusted to U-Boot's DM. It adds support for correct recognition of IMX_PLLV3_ENET flag in the clk-pllv3.c driver. Signed-off-by: Lukasz Majewski --- drivers/clk/imx/clk-pllv3.c | 25 + 1 file

[RESEND PATCH 0/3] clk: Fix ETH initialization on i.MX6Q boards using CCF

2020-08-20 Thread Lukasz Majewski
This short patch series fixes boards, which after the commit 673f6597321d ("net: fec_mxc: support i.MX8M with CLK_CCF") were required to support in CCF 'ipg' (i.e. IMX6QDL_CLK_ENET) and 'ptp' (i.e. IMX6QDL_CLK_ENET_REF) clocks during ETH initialization. Lack of those clocks supported in CCF

[RESEND PATCH 1/3] clk: imx6: Add definition for IMX6QDL_CLK_ENET clock

2020-08-20 Thread Lukasz Majewski
After commit 673f6597321d ("net: fec_mxc: support i.MX8M with CLK_CCF") all NXP boards, which are not IMX8 and in the same time are supporting CCF need to provide IMX6QDL_CLK_ENET. This change defines the missing clock in i.MX6Q's CCF. Signed-off-by: Lukasz Majewski ---

Re: [PATCH v1 1/3] common: ns3: add error logging support

2020-08-20 Thread Rayagonda Kokatanur
Hi Tom, On Sat, Aug 15, 2020 at 1:22 AM Tom Rini wrote: > > On Sun, May 17, 2020 at 02:02:55PM +0530, Rayagonda Kokatanur wrote: > > > From: Sheetal Tigadoli > > > > Add error logging support in uboot for ns3 platform. > > > > We log the bootup msgs from all bootstages(BL2, BL31, BL33, and

[PATCH v2 5/5] MAINTAINERS: update maintainers file for new files

2020-08-20 Thread Rayagonda Kokatanur
Update MAINTAINERS file for new files. Signed-off-by: Rayagonda Kokatanur --- MAINTAINERS | 4 1 file changed, 4 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 17ac45587b..2b00674d65 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1005,6 +1005,10 @@ F:

[PATCH v2 3/5] cmd: broadcom: add command for chimp handshake

2020-08-20 Thread Rayagonda Kokatanur
From: Bharat Kumar Reddy Gooty Add command for chimp handshake. Handshake is used to know chimp is loaded and booted successfully. Signed-off-by: Bharat Kumar Reddy Gooty Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- Changes from V1: -Address review comments from Simon,

[PATCH v2 4/5] board: ns3: kconfig: extend board kconfig with specific commands

2020-08-20 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 Reviewed-by: Simon Glass --- board/broadcom/bcmns3/Kconfig | 7 +++ cmd/Makefile | 2 ++ 2 files

[PATCH v2 2/5] cmd: broadcom: add cmd to update bnxt image env variables

2020-08-20 Thread Rayagonda Kokatanur
From: Vikas Gupta Add command to update the environmental variables which are used to read the data from QSPI offsets and load the binaries to bnxt. Signed-off-by: Vikas Gupta Signed-off-by: Rayagonda Kokatanur Reviewed-by: Simon Glass --- Changes from V1: -Address review comments from

[PATCH v2 1/5] cmd: broadcom: add bnxt boot command

2020-08-20 Thread Rayagonda Kokatanur
From: Trac Hoang Chimp is a core in Broadcom netxtream controller (bnxt). Add command to load binary to chimp and boot bnxt. Signed-off-by: Trac Hoang Signed-off-by: Rayagonda Kokatanur --- Changes from V1: -Address review comments from Simon, Update commit message. Rearrange header

[PATCH v2 0/5] add custome commands for broadcom NS3 soc

2020-08-20 Thread Rayagonda Kokatanur
This patch set adds commands specific to broadcom NS3 soc. Changes from V1: -Address review comments from Simon, Update commit message. Rearrange header files. Add comments to macros. Use lower case hex. Rename struct name from nitro_img_header to img_header. Drop unnecessary type

Re: [PATCH V2] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:56:49AM -0500, Adam Ford wrote: > The loading address is too close to the kernel address, so newer kernels > may overlap memory space, so loading the device tree may corrupt zImage. > > This patch moves the fdt_addr_r to 0x1400 which is also consistent > with

[PATCH v6 6/7] arm: dts: mt7622: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich Add DTS nodes for MT7622/BPI-R64 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- v1->v2: - remove clk25m as it's not needed --- arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 8 arch/arm/dts/mt7622-rfb.dts | 8

[PATCH v6 5/7] arm: dts: rename mt7622-bpi-r64.dts

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich rename mt7622-bpi-r64.dts to mt7622-bananapi-bpi-r64.dts to follow naming convensions Signed-off-by: Frank Wunderlich --- arch/arm/dts/Makefile | 2 +- .../arm/dts/{mt7622-bpi-r64.dts => mt7622-bananapi-bpi-r64.dts} | 0 2 files

[PATCH v6 7/7] arm: dts: mt7623: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich This adds USB nodes for MT7623/BPI-R2 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- arch/arm/dts/mt7623.dtsi | 46 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts | 16 + 2 files changed, 62 insertions(+) diff

[PATCH v6 3/7] ahci: mediatek: fix copyright and author-lines

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich after review of sam copyright should be on one line and link should not between author lines just remove the link and put ryder first as he is author of linux-driver Signed-off-by: Frank Wunderlich --- drivers/ata/mtk_ahci.c | 6 ++ 1 file changed, 2 insertions(+),

[PATCH v6 4/7] clk: mt7622: add needed clocks for ssusb-node

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich MT7622 needs additional clock definitions to work properly Signed-off-by: Frank Wunderlich --- drivers/clk/mediatek/clk-mt7622.c | 42 +++ 1 file changed, 42 insertions(+) diff --git a/drivers/clk/mediatek/clk-mt7622.c

[PATCH v6 0/7] Add MTK AHCI driver, BPI-R64 dts and USB-Nodes for mt7622>

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich This series adds Mediatek AHCI driver, makes neccessary phy modifications creates new dts for bananapi-r64 (because it's a bit different to rfb) and adds all DTS nodes to get SATA and USB working on mt7622 and mt7623 they are based on top of this: Add PCIe and its clock

[PATCH v6 2/7] reset: drop unnecessary comment for pciesys

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich after review from sam this comment should be removed Signed-off-by: Frank Wunderlich --- drivers/clk/mediatek/clk-mt7622.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt7622.c b/drivers/clk/mediatek/clk-mt7622.c index

[PATCH v6 1/7] phy: mtk-tphy: make shared reg optional for v1

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich make the shared reg optional when version is v1 for sata Suggested-by: Chunfeng Yun Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- drivers/phy/phy-mtk-tphy.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[GIT PULL] xilinx patches for v2020.10-rc3

2020-08-20 Thread Michal Simek
Hi Tom, here are patches I have collected so far. CI loops looks fine. https://travis-ci.org/github/michalsimek/u-boot/builds/719527417 https://gitlab.denx.de/u-boot/custodians/u-boot-microblaze/-/pipelines/4451 The most of that patches targets xilinx platforms with two exceptions. i2c

Re: [PATCH v5 5/8] arm: dts: add dts for Bananapi-R64

2020-08-20 Thread Frank Wunderlich
Here i change to rename the now existing bpi-r64.dts to bananapi-bpi-r64 to follow naming sheme like bpi-2 instead of creating a new one regards Frank

Aw: [PATCH v5 3/8] ahci: mediatek: add ahci driver

2020-08-20 Thread Frank Wunderlich
mhm, maybe i should change commit-subject/message because there are only changes suggested from sam...same for part2 regards Frank > Gesendet: Donnerstag, 20. August 2020 um 15:40 Uhr > Von: "Frank Wunderlich" > Betreff: [PATCH v5 3/8] ahci: mediatek: add ahci driver > > add AHCI driver

[PATCH V2] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
The loading address is too close to the kernel address, so newer kernels may overlap memory space, so loading the device tree may corrupt zImage. This patch moves the fdt_addr_r to 0x1400 which is also consistent with guidance that the kernel be allocated 32MB. This places it in the same

Re: [PATCH v2 3/8] usb: xhci: octeon: Add DWC3 glue layer for Octeon

2020-08-20 Thread Stefan Roese
Hi Bin, On 20.08.20 15:24, Bin Meng wrote: Hi Stefan, On Thu, Aug 20, 2020 at 7:45 PM Stefan Roese wrote: Hi Bin, On 20.08.20 11:07, Bin Meng wrote: Hi Stefan, On Thu, Aug 20, 2020 at 1:35 PM Stefan Roese wrote: This patch adds the glue layer for the MIPS Octeon SoCs. Its ported

[PATCH v5 8/8] arm: dts: mt7623: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich This adds USB nodes for MT7623/BPI-R2 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- arch/arm/dts/mt7623.dtsi | 46 arch/arm/dts/mt7623n-bananapi-bpi-r2.dts | 16 + 2 files changed, 62 insertions(+) diff

[PATCH v5 7/8] arm: dts: mt7622: add USB nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich Add DTS nodes for MT7622/BPI-R64 Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- v1->v2: - remove clk25m as it's not needed --- arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 8 arch/arm/dts/mt7622-rfb.dts | 8

[PATCH v5 3/8] ahci: mediatek: add ahci driver

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich add AHCI driver ported from linux https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ata/ahci_mtk.c Signed-off-by: Frank Wunderlich --- drivers/ata/mtk_ahci.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v5 2/8] reset: add basic reset controller for pciesys

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich bind reset controller to pciesys Signed-off-by: Frank Wunderlich --- drivers/clk/mediatek/clk-mt7622.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clk/mediatek/clk-mt7622.c b/drivers/clk/mediatek/clk-mt7622.c index d53ed69189..a1a35f72a3 100644 ---

[PATCH v5 4/8] clk: mt7622: add needed clocks for ssusb-node

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich MT7622 needs additional clock definitions to work properly Signed-off-by: Frank Wunderlich --- drivers/clk/mediatek/clk-mt7622.c | 42 +++ 1 file changed, 42 insertions(+) diff --git a/drivers/clk/mediatek/clk-mt7622.c

[PATCH v5 6/8] arm: dts: mt7622: add sata- and asm_sel nodes

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich asm_sel is for switching between sata and pcie mode on r64 there is GPIO90 connected to ASM1480 which switches RX/TX pairs to PCIe/SATA connector output-low means sata-controller is active Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun ---

[PATCH v5 5/8] arm: dts: add dts for Bananapi-R64

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich add a separate DTS for BananaPi R64 because it has 1GB RAM and SATA-Support Signed-off-by: Frank Wunderlich --- v1->v2: - changed name --- arch/arm/dts/Makefile| 1 + arch/arm/dts/mt7622-bananapi-bpi-r64.dts | 206 +++ 2 files

[PATCH v5 00/11] Add MTK AHCI driver, BPI-R64 dts and USB-Nodes for mt7622>

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich This series adds Mediatek AHCI driver, makes neccessary phy modifications creates new dts for bananapi-r64 (because it's a bit different to rfb) and adds all DTS nodes to get SATA and USB working on mt7622 and mt7623 they are based on top of this: Add PCIe and its clock

[PATCH v5 1/8] phy: mtk-tphy: make shared reg optional for v1

2020-08-20 Thread Frank Wunderlich
From: Frank Wunderlich make the shared reg optional when version is v1 for sata Suggested-by: Chunfeng Yun Signed-off-by: Frank Wunderlich Reviewed-by: Chunfeng Yun --- drivers/phy/phy-mtk-tphy.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Aw: Re: Re: [PATCH v3 1/5] arm: dts: mt7622: add SATA reset constants

2020-08-20 Thread Frank Wunderlich
> Gesendet: Donnerstag, 20. August 2020 um 15:25 Uhr > Von: "Tom Rini" > > this series (and some more) was superseeded by this one: > > > > https://patchwork.ozlabs.org/project/uboot/cover/20200820105826.6229-1-li...@fw-web.de/ > > > > see coverletter of v1 of this series: > >

Re: [PATCH v2 01/10] spi: dw: Convert calls to debug to log_*

2020-08-20 Thread Marek Vasut
On 8/20/20 3:26 PM, Simon Glass wrote: > On Fri, 7 Aug 2020 at 08:43, Sean Anderson wrote: >> >> This allows different log levels to be enabled or disabled depending on the >> desired level of verbosity. In particular, it allows for general debug >> information to be printed while excluding more

Re: [PATCH v2 01/10] spi: dw: Convert calls to debug to log_*

2020-08-20 Thread Simon Glass
On Fri, 7 Aug 2020 at 08:43, Sean Anderson wrote: > > This allows different log levels to be enabled or disabled depending on the > desired level of verbosity. In particular, it allows for general debug > information to be printed while excluding more verbose logging which may > interfere with

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
On Thu, Aug 20, 2020 at 8:11 AM Tom Rini wrote: > > On Thu, Aug 20, 2020 at 07:42:13AM -0500, Adam Ford wrote: > > On Thu, Aug 20, 2020 at 7:17 AM Tom Rini wrote: > > > > > > On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > > > > > > > The loading address is too close to the kernel

Re: Re: [PATCH v3 1/5] arm: dts: mt7622: add SATA reset constants

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 03:09:45PM +0200, Frank Wunderlich wrote: > Hi tom, > > this series (and some more) was superseeded by this one: > > https://patchwork.ozlabs.org/project/uboot/cover/20200820105826.6229-1-li...@fw-web.de/ > > see coverletter of v1 of this series: >

Re: [PATCH v2 3/8] usb: xhci: octeon: Add DWC3 glue layer for Octeon

2020-08-20 Thread Bin Meng
Hi Stefan, On Thu, Aug 20, 2020 at 7:45 PM Stefan Roese wrote: > > Hi Bin, > > On 20.08.20 11:07, Bin Meng wrote: > > Hi Stefan, > > > > On Thu, Aug 20, 2020 at 1:35 PM Stefan Roese wrote: > >> > >> This patch adds the glue layer for the MIPS Octeon SoCs. Its ported > > > > nits: It's > > Ok. >

Re: [PATCH] board: phytec: imx8mm: Add PHYTEC phyCORE-i.MX8MM support

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 08:55:30AM +0200, Teresa Remmet wrote: > Add support PHYTEC phyCORE-i.MX8MM SOM. > > Supported features: > - 2GB LPDDR4 RAM > - 1x 1Gbit Ethernet > - eMMC > - external SD > - debug UART3 > - watchdog > - i2c eeprom [snip] > +#define CONFIG_EXTRA_ENV_SETTINGS \ > +

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Tom Rini
On Thu, Aug 20, 2020 at 07:42:13AM -0500, Adam Ford wrote: > On Thu, Aug 20, 2020 at 7:17 AM Tom Rini wrote: > > > > On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > > > > > The loading address is too close to the kernel address, so newer kernels > > > may overlap memory space, so

Aw: Re: [PATCH v3 1/5] arm: dts: mt7622: add SATA reset constants

2020-08-20 Thread Frank Wunderlich
Hi tom, this series (and some more) was superseeded by this one: https://patchwork.ozlabs.org/project/uboot/cover/20200820105826.6229-1-li...@fw-web.de/ see coverletter of v1 of this series: https://patchwork.ozlabs.org/project/uboot/cover/20200816082431.5087-1-li...@fw-web.de/ regards Frank

Re: [PATCH] arm: dts: mt7622: add PCIe nodes for BananaPi-R64

2020-08-20 Thread Tom Rini
On Fri, Aug 14, 2020 at 09:10:17AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > this patch adds PCIe-Nodes for BananaPi R64 > > original nodes from Chuanjia Liu for mt7622-rfb > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Adam Ford
On Thu, Aug 20, 2020 at 7:17 AM Tom Rini wrote: > > On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > > > The loading address is too close to the kernel address, so newer kernels > > may overlap memory space, so loading the device tree may corrupt zImage. > > > > This patch moves the

Re: [PATCH v3 5/5] dts: r64: add sata- and asm_sel nodes

2020-08-20 Thread Tom Rini
On Thu, Aug 13, 2020 at 10:20:48AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > asm_sel is for switching between sata and pcie mode > on r64 there is GPIO90 connected to ASM1480 which > switches RX/TX pairs to PCIe/SATA connector > output-low means sata-controller is active > >

Re: [PATCH v3 3/5] reset: add basic reset controller for pciesys

2020-08-20 Thread Tom Rini
On Thu, Aug 13, 2020 at 10:20:46AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > bind reset controller to pciesys > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 1/5] arm: dts: mt7622: add SATA reset constants

2020-08-20 Thread Tom Rini
On Thu, Aug 13, 2020 at 10:20:44AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > add reset constants used for SATA to header file > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3 4/5] ahci: mediatek: add ahci driver

2020-08-20 Thread Tom Rini
On Thu, Aug 13, 2020 at 10:20:47AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > add AHCI driver ported from linux > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/ata/ahci_mtk.c > > Signed-off-by: Frank Wunderlich Applied to u-boot/master,

Re: [PATCH v3 2/5] phy: mtk-tphy: add PHY_TYPE_SATA

2020-08-20 Thread Tom Rini
On Thu, Aug 13, 2020 at 10:20:45AM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > add support for PHY_TYPE_SATA to Mediateks TPHY driver > > Signed-off-by: Frank Wunderlich > Reviewed-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 3/5] PCI: mediatek: Add PCIe support for MT7622

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:17:10PM +0800, Chuanjia Liu wrote: > This patch adds PCIe support for the Mediatek MT7622 SOC. > > Signed-off-by: Chuanjia Liu > Signed-off-by: Henry Yen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] dts: r64: add r64 dts

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:45:46PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > add a separate DTS for BananaPi R64 because it has 1GB RAM and SATA-Support > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 5/5] configs: mt7622: add PCIe controller related configs

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:17:12PM +0800, Chuanjia Liu wrote: > Add PCIe command and related configs > > Signed-off-by: Chuanjia Liu > Signed-off-by: Henry Yen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/2] arm: dts: add watchdog-node for mt7622

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:45:45PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > adding a watchdog-node to mt7622 dtsi > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 4/5] arm: dts: mediatek: add PCIe node for MT7622

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:17:11PM +0800, Chuanjia Liu wrote: > This patch adds PCIe node in dts for Mediatek MT7622 Soc. > > Signed-off-by: Chuanjia Liu > Signed-off-by: Henry Yen Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/5] arm: dts: mediatek: add pciesys support for MT7622 SoC

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:17:09PM +0800, Chuanjia Liu wrote: > This patch adds pciesys support in dts for MediaTek MT7622 SoC. > > Signed-off-by: Henry Yen > Signed-off-by: Chuanjia Liu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] pinctrl: mediatek: mt8512: fix the wrong start address of ranges

2020-08-20 Thread Tom Rini
On Fri, Aug 07, 2020 at 05:32:03PM +0800, Chunfeng Yun wrote: > The start address of dout, pullen and pullsel ragnes are wrong, > so fix up them. > > Signed-off-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/5] clk: mediatek: add pciesys support for MT7622 SoC

2020-08-20 Thread Tom Rini
On Mon, Aug 10, 2020 at 04:17:08PM +0800, Chuanjia Liu wrote: > This patch adds pciesys support in clock driver for > MediaTek MT7622 SoC. > > Signed-off-by: Henry Yen > Signed-off-by: Chuanjia Liu Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[PATCH] checkpatch.pl: Make fdt / initrd relocation disabling an error

2020-08-20 Thread Tom Rini
Entirely disabling relocation of the device tree or initrd is almost never the right answer. Doing this by default leads to hard to diagnose run-time failures. Signed-off-by: Tom Rini --- scripts/checkpatch.pl | 6 ++ 1 file changed, 6 insertions(+) diff --git a/scripts/checkpatch.pl

RE: [PATCH v2 1/1] riscv: fix building with CONFIG_SPL_SMP=n

2020-08-20 Thread Pragnesh Patel
>-Original Message- >From: U-Boot On Behalf Of Heinrich Schuchardt >Sent: 15 August 2020 13:19 >To: Rick Chen >Cc: Simon Glass ; Bin Meng ; >Anup Patel ; Lukas Auer >; u-boot@lists.denx.de; Heinrich Schuchardt > >Subject: [PATCH v2 1/1] riscv: fix building with CONFIG_SPL_SMP=n >

Re: [PATCH] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-20 Thread Tom Rini
On Wed, Aug 19, 2020 at 02:11:08PM -0500, Adam Ford wrote: > The loading address is too close to the kernel address, so newer kernels > may overlap memory space, so loading the device tree may corrupt zImage. > > This patch moves the fdt_addr_r to 0x1800 which is also consistent > with some

RE: [PATCH 2/2] ram: sifive: Fix compiler warnings for 32-bit

2020-08-20 Thread Pragnesh Patel
>-Original Message- >From: Bin Meng >Sent: 18 August 2020 13:39 >To: Rick Chen ; Pragnesh Patel >; U-Boot Mailing List >Cc: Bin Meng >Subject: [PATCH 2/2] ram: sifive: Fix compiler warnings for 32-bit > >[External Email] Do not click links or attachments unless you recognize the >sender

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Stefan Roese
On 20.08.20 14:03, Pali Rohár wrote: On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: On 20.08.20 09:40, Pali Rohár wrote: Anyway, updating DTS has advantage that it is not needed to update existing boot scripts for OS. There are

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-20 Thread Pali Rohár
On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > On 20.08.20 09:40, Pali Rohár wrote: > > > Anyway, updating DTS has advantage that it is not needed to update > > > existing boot scripts for OS. There are more distributions for > >

RE: [PATCH v4 1/1] cmd: provide command sbi

2020-08-20 Thread Pragnesh Patel
Hi Heinrich, >-Original Message- >From: Heinrich Schuchardt >Sent: 20 August 2020 17:25 >To: Pragnesh Patel >Cc: Bin Meng ; Lukas Auer ; Atish Patra >; u-boot@lists.denx.de; Bin Meng >; Rick Chen >Subject: Re: [PATCH v4 1/1] cmd: provide command sbi > >[External Email] Do not click

RE: [PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller base address

2020-08-20 Thread Pragnesh Patel
>-Original Message- >From: Bin Meng >Sent: 18 August 2020 13:39 >To: Rick Chen ; Pragnesh Patel >; U-Boot Mailing List >Cc: Bin Meng >Subject: [PATCH 1/2] riscv: fu540: Use correct API to get L2 cache controller >base >address > >[External Email] Do not click links or attachments

RE: [PATCH v4 1/1] cmd: provide command sbi

2020-08-20 Thread Pragnesh Patel
Hi Heinrich, >-Original Message- >From: Pragnesh Patel >Sent: 20 August 2020 17:00 >To: 'Heinrich Schuchardt' >Cc: Bin Meng ; Lukas Auer ; Atish Patra >; u-boot@lists.denx.de; Bin Meng >; Rick Chen >Subject: RE: [PATCH v4 1/1] cmd: provide command sbi > >Hi Heinrich, > >>-Original

Re: [PATCH v4 1/1] cmd: provide command sbi

2020-08-20 Thread Heinrich Schuchardt
On 20.08.20 13:30, Pragnesh Patel wrote: > Hi Heinrich, > >> -Original Message- >> From: Heinrich Schuchardt >> Sent: 20 August 2020 16:23 >> To: Rick Chen >> Cc: Bin Meng ; Pragnesh Patel >> ; Lukas Auer ; Atish Patra >> ; u-boot@lists.denx.de; Heinrich Schuchardt >> ; Bin Meng >>

RE: [PATCH v4 1/1] cmd: provide command sbi

2020-08-20 Thread Pragnesh Patel
Hi Heinrich, >-Original Message- >From: Heinrich Schuchardt >Sent: 20 August 2020 16:23 >To: Rick Chen >Cc: Bin Meng ; Pragnesh Patel >; Lukas Auer ; Atish Patra >; u-boot@lists.denx.de; Heinrich Schuchardt >; Bin Meng >Subject: [PATCH v4 1/1] cmd: provide command sbi > >[External

RE: [PATCH v4 1/1] cmd: provide command sbi

2020-08-20 Thread Pragnesh Patel
>-Original Message- >From: Heinrich Schuchardt >Sent: 20 August 2020 16:23 >To: Rick Chen >Cc: Bin Meng ; Pragnesh Patel >; Lukas Auer ; Atish Patra >; u-boot@lists.denx.de; Heinrich Schuchardt >; Bin Meng >Subject: [PATCH v4 1/1] cmd: provide command sbi > >[External Email] Do not

Re: [PATCH v2 3/8] usb: xhci: octeon: Add DWC3 glue layer for Octeon

2020-08-20 Thread Stefan Roese
Hi Bin, On 20.08.20 11:07, Bin Meng wrote: Hi Stefan, On Thu, Aug 20, 2020 at 1:35 PM Stefan Roese wrote: This patch adds the glue layer for the MIPS Octeon SoCs. Its ported nits: It's Ok. mainly from the Linux code. Signed-off-by: Stefan Roese Cc: Bin Meng Cc: Marek Vasut ---

  1   2   3   >