Re: [PATCH v2 13/18] pci: Map bars with offset and length

2022-04-13 Thread Andrew Scull
On Wed, 13 Apr 2022 at 15:05, Bin Meng wrote: > > On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > > > Evolve dm_pci_map_bar() to include an offset and length parameter. These > > allow a portion of the memory to be mapped and range checks to be > > applied. > > > > Passing both the offse

[PATCH 3/4] arch: arm: dts: bcm963158.dts: enable sdhci support

2022-04-13 Thread Philippe Reynes
Enable the support of sdhci on bcm63158. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm963158.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/bcm963158.dts b/arch/arm/dts/bcm963158.dts index c2bdd33274..c96fa60841 100644 --- a/arch/arm/dts/bcm963158.dts +++ b/arch/a

[PATCH 4/4] configs: bcm963158_ram_defconfig: enable mmc and gpt support

2022-04-13 Thread Philippe Reynes
Enable the support of emmc and gpt on bcm63158 Signed-off-by: Philippe Reynes --- configs/bcm963158_ram_defconfig | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/configs/bcm963158_ram_defconfig b/configs/bcm963158_ram_defconfig index 642faf511f..5fc89fc99d 100644 ---

[PATCH 2/4] arch: arm: dts: bcm63158.dtsi: add mmc support

2022-04-13 Thread Philippe Reynes
Adds the support of sdhci on bcm63158. Signed-off-by: Philippe Reynes --- arch/arm/dts/bcm63158.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/dts/bcm63158.dtsi b/arch/arm/dts/bcm63158.dtsi index 7dd2858438..4e0f5f2dbd 100644 --- a/arch/arm/dts/bcm63158.dtsi +++ b/arc

[PATCH 1/4] drivers: mmc: bcm63158_sdhci: initial support

2022-04-13 Thread Philippe Reynes
Adds a driver to support shdci on bcm63158. Signed-off-by: Philippe Reynes --- drivers/mmc/Kconfig | 12 +++ drivers/mmc/Makefile | 1 + drivers/mmc/bcm63158_sdhci.c | 153 +++ 3 files changed, 166 insertions(+) create mode 100644 drivers/mmc/

[PATCH 0/4] mmc: add support for bcm63158

2022-04-13 Thread Philippe Reynes
This serie adds the support of mmc for bcm63158. The first commit adds a driver that support sdhci on bcm63158. The two next commits add support of mmc in the device tree, and the last one enables the support of mmc and gpt for the reference board bcm963158. Philippe Reynes (4): drivers: mmc: b

Re: [PATCH v2] board: gateworks: venice: enable DM_SERIAL

2022-04-13 Thread Michael Nazzareno Trimarchi
Hi On Wed, Apr 13, 2022 at 6:09 PM Tim Harvey wrote: > > On Wed, Apr 13, 2022 at 8:56 AM Michael Nazzareno Trimarchi > wrote: > > > > Hi Tim > > > > On Wed, Apr 13, 2022 at 5:47 PM Tim Harvey wrote: > > > > > > Enable DM_SERIAL. > > > > > > Signed-off-by: Tim Harvey > > > --- > > > v2: rebase

Re: [PATCH 0/6] introduce Arm FF-A support

2022-04-13 Thread Sudeep Holla
On Wed, Apr 13, 2022 at 12:46:07PM -0400, Tom Rini wrote: > On Wed, Apr 13, 2022 at 03:20:23PM +0100, Abdellatif El Khlifi wrote: [...] > > Since we can not add an FFA node in the device tree, we will make FFA a > > discoverable bus. > > So, we will manually create the udevice, binding it to the

[PATCH v2 1/2] board: gateworks: venice: add additional levels for dtb name match

2022-04-13 Thread Tim Harvey
Gateworks produces many products from a single PCB with subloaded components. Add an additional two levels of dtb name matching so that for example a GW7400-A matches the dtb name of gw74xx.dtb Signed-off-by: Tim Harvey --- v2: - rebase on imx/master --- board/gateworks/venice/eeprom.c | 8

[PATCH v2 2/2] board: gateworks: venice: add imx8mp-venice-gw740x support

2022-04-13 Thread Tim Harvey
The GW74xx is based on the i.MX 8M Plus SoC featuring: - LPDDR4 DRAM - eMMC FLASH - Gateworks System Controller - PCIe Gen 3.0 switch (build option) - USB 3.0 HUB - USB Type-C front panel connector - GPS - 3-axis accelerometer - CAN bus - 6x GbE RJ45 front-panel jacks - 1x IMX8M FEC RGM

Re: [PATCH 1/2] board: gateworks: venice: add additional levels for dtb name match

2022-04-13 Thread Tim Harvey
On Wed, Apr 13, 2022 at 1:21 AM Stefano Babic wrote: > > Hi Tim, > > (quite unrelated to this series): after applying tons of patches, there > are a list that are obsolete and need to be rebased. I applied several > of the patches you sent, some have open issues, some cannot be applied > (as this

[UNTESTED PATCH] Nokia RX-51: Convert to CONFIG_DM_SERIAL

2022-04-13 Thread Pali Rohár
For CONFIG_DM_SERIAL it is required to increase CONFIG_SYS_MALLOC_F_LEN as default value is not enough for memory hungry CONFIG_DM_SERIAL code. Signed-off-by: Pali Rohár --- Who has serial console on the real device, please test this patch if serial console is still working. I do not have adapter

Re: Pull request: u-boot-imx u-boot-imx-20220412

2022-04-13 Thread Stefano Babic
ng changes since commit 33ae8c5bebba0874fbc432914406e63fbc219080: Merge tag 'efi-2022-07-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-04-10 11:21:39 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-bo

Re: [PATCH u-boot-net v4 03/14] net: introduce helpers to get PHY ofnode from MAC

2022-04-13 Thread Tom Rini
On Thu, Apr 07, 2022 at 12:32:57AM +0200, Marek Behún wrote: > From: Marek Behún > > Add helpers ofnode_get_phy_node() and dev_get_phy_node() and use it in > net/mdio-uclass.c function dm_eth_connect_phy_handle(). Also add > corresponding UT test. > > This is useful because other part's of U-Bo

[PATCH] pci: imx: use vpcie-supply if defined by device-tree

2022-04-13 Thread Tim Harvey
If vpcie-supply is defined by device-tree use that if CONFIG_PCIE_IMX_POWER_GPIO is not defined. Note that after this the following boards which define CONFIG_PCIE_IMX_POWER_GPIO in their board header file as well as their device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without con

[PATCH] pci: imx: remove weak overrides no longer used

2022-04-13 Thread Tim Harvey
There are no users of the imx6_pcie_toggle_power and imx6_pcie_toggle_reset weak overrides and as these functions are able to be handled now via dt properties lets remove these. Cc: Marek Vasut Signed-off-by: Tim Harvey --- arch/arm/include/asm/arch-mx6/sys_proto.h | 3 --- drivers/pci/pcie_im

Re: Please pull u-boot-net/next

2022-04-13 Thread Tom Rini
On Wed, Apr 13, 2022 at 06:10:40PM +0300, Ramon Fried wrote: > Hi Tom, > Please pull the latest changes from u-boot-net/next branch which include: > > * DM9000 DM support > * tftp server bug fix > * mdio ofnode support functions > * Various phy fixes and improvements. > > The following changes s

Re: Pull request: u-boot-imx u-boot-imx-20220412

2022-04-13 Thread Marek Vasut
On 4/13/22 22:21, Stefano Babic wrote: Hi Tom, Hi, [...] So, I've applied this to master and pushed, and thanks for clearing out much of the backlog.  Is there still things left that aren't recently newly posted? There are still 3 big series that should flow in: - Marek's series about Pow

Re: [PATCH v2 09/18] pci: Add config for Enhanced Allocation

2022-04-13 Thread Bin Meng
On Thu, Apr 14, 2022 at 12:30 AM Andrew Scull wrote: > > > > diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig > > > index 47cd074aa1..fd2203420c 100644 > > > --- a/drivers/pci/Kconfig > > > +++ b/drivers/pci/Kconfig > > > @@ -67,6 +67,13 @@ config PCI_SRIOV > > > if available on a

[PATCH] stm32mp: psci: Retain PLL3CR, PLL4CR, RCC_MSSCKSELR across suspend

2022-04-13 Thread Marek Vasut
The SoC seems to lose the values of PLL3CR, PLL4CR, RCC_MSSCKSELR during suspend/resume cycle, cache them and reinstate their values on resume. Signed-off-by: Marek Vasut Cc: Patrick Delaunay Cc: Patrice Chotard --- arch/arm/mach-stm32mp/psci.c | 13 + 1 file changed, 13 insertions

Re: [PATCH v2 2/2] net: eth-uclass: Fix data abort when tftp get nonexistent file via usb

2022-04-13 Thread Ramon Fried
On Sat, Apr 2, 2022 at 5:58 AM wrote: > > From: qianfan Zhao > > tftp_handler do eth_halt when TFTP_ERROR, but eth_halt will remove eth > device if it is an usb network. usbeth's private data will be unaccessable > when usb_eth_free_pkt, touch it will trigger data abort. > > Next is the console m

[PATCH] board: bsh: imx8mn_bsh_smm_s2/s2pro: enable DM_SERIAL

2022-04-13 Thread Michael Trimarchi
Enable DM_SERIAL Signed-off-by: Michael Trimarchi --- configs/imx8mn_bsh_smm_s2_defconfig| 2 ++ configs/imx8mn_bsh_smm_s2pro_defconfig | 2 ++ 2 files changed, 4 insertions(+) diff --git a/configs/imx8mn_bsh_smm_s2_defconfig b/configs/imx8mn_bsh_smm_s2_defconfig index 3d67079a46..ba558ed7

Re: [PATCH v3 11/19] dm: disk: add UCLASS_PARTITION

2022-04-13 Thread AKASHI Takahiro
On Wed, Apr 13, 2022 at 12:16:00PM +0900, AKASHI Takahiro wrote: > Heinrich, > (and Simon) > > On Sat, Apr 09, 2022 at 09:05:07PM +0200, Heinrich Schuchardt wrote: > > On 3/8/22 12:36, AKASHI Takahiro wrote: > > > With this new function, UCLASS_PARTITION devices will be created as > > > child node

Re: [PATCH v2 2/2] net: eth-uclass: Fix data abort when tftp get nonexistent file via usb

2022-04-13 Thread qianfan
在 2022/4/14 12:39, Ramon Fried 写道: On Sat, Apr 2, 2022 at 5:58 AM wrote: From: qianfan Zhao tftp_handler do eth_halt when TFTP_ERROR, but eth_halt will remove eth device if it is an usb network. usbeth's private data will be unaccessable when usb_eth_free_pkt, touch it will trigger data abo

RE: [PATCH] gpio: aspeed: Fix incorrect offset of read back register.

2022-04-13 Thread Ryan Chen
> -Original Message- > From: Billy Tsai > Sent: Wednesday, April 13, 2022 1:35 PM > To: Ryan Chen ; ChiaWei Wang > ; BMC-SW ; > and...@aj.id.au; Billy Tsai ; > u-boot@lists.denx.de > Subject: [PATCH] gpio: aspeed: Fix incorrect offset of read back register. > > The offset of the current r

<    1   2