Re: [GIT PULL] Please pull u-boot-imx-master-20240405

2024-04-05 Thread Tom Rini
https://source.denx.de/u-boot/custodians/u-boot-dfu (2024-04-02 22:37:23 > -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20240405 > > for you to fetch changes up to f6be41c83c17c0

Re: [PULL] Please pull qcom-next-2024Apr04 (attempt 2)

2024-04-05 Thread Tom Rini
On Thu, Apr 04, 2024 at 11:52:57PM +0200, Caleb Connolly wrote: > Hi Tom, > > Sorry for the noise, totally fluffed that PR... Please ignore the previous > email. > > Some new Qualcomm features for you: > > * Ethernet, i2c, and USB support are now enabled by default > * The clock driver gets

Re: [GIT PULL] Please pull u-boot-amlogic-next-20240404

2024-04-05 Thread Tom Rini
On Thu, Apr 04, 2024 at 06:52:53PM +0200, Neil Armstrong wrote: > Hi Tom, > > Please pull this migration to OF_UPSTREAM for all Amlogic SoCs family > except the newer A1 family. > In Addition, there's a few fixes & updates for the jethubj100 board. > > Thanks, > Neil > > The following changes

Re: Please pull u-boot-marvell/master

2024-04-05 Thread Tom Rini
On Thu, Apr 04, 2024 at 02:08:15PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the first batch of mostly Marvell related patches: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: Please pull u-boot-samsung master

2024-04-05 Thread Tom Rini
On Thu, Apr 04, 2024 at 05:54:10PM +0900, Minkyu Kang wrote: > Dear Tom, > > The following changes since commit dde373bde392c38649c8c4420e0c98ef8d38d9dc: > > Prepare v2024.04-rc5 (2024-03-25 21:56:50 -0400) > > are available in the git repository at: > >

Re: [PATCH v4 0/6] USB keyboard improvements for asahi / desktop systems

2024-04-05 Thread Janne Grunau
On Fri, Apr 05, 2024 at 04:52:32PM +0200, Marek Vasut wrote: > On 4/4/24 8:25 AM, Janne Grunau via B4 Relay wrote: > > Apple USB Keyboards from 2021 need quirks to be useable. The boot HID > > keyboard protocol is unfortunately not described in the first interface > > descriptor but the second.

Re: [PATCH] configs: imx8mp_beacon: Enable PCIe NVMe drives

2024-04-05 Thread Fabio Estevam
On Tue, Mar 26, 2024 at 6:25 PM Adam Ford wrote: > > The baseboard supports and NVMe drives via the PCIe slot. This > requires a few extra config options to be enabled. > > The NVMe can be enumerated with the following commands: > > u-boot=> pci enum > PCIE-0: Link up (Gen1-x1, Bus0) > u-boot=>

Re: [PATCH v2] arm: imx: fix signature_block_hdr struct fields order

2024-04-05 Thread Fabio Estevam
On Thu, Apr 4, 2024 at 12:11 PM Javier Viguera wrote: > > According to the documentation (for example NXP's AN13994 on encrypted > boot on AHAB-enabled devices), the format of the signature block is: > > +--+--+--+-+ > | Tag | Length -

Re: [PATCH v1] verdin-imx8mm/verdin-imx8mp: move imx verdins to OF_UPSTREAM

2024-04-05 Thread Fabio Estevam
On Wed, Apr 3, 2024 at 4:16 AM Marcel Ziswiler wrote: > > From: Marcel Ziswiler > > Move verdin-imx8mm and verdin-imx8mp to OF_UPSTREAM: > - handle the fact that dtbs now have a 'freescale/' prefix > - imply OF_UPSTREAM > - remove redundant files from arch/arm/dts leaving only the >

Re: [PATCH v2 1/2] arm: imx9: Correct imx9_probe_mu prototype

2024-04-05 Thread Fabio Estevam
On Sun, Mar 31, 2024 at 10:41 PM Ye Li wrote: > > Since the event callback imx9_probe_mu is re-defined, update > its prototype. > > Signed-off-by: Ye Li > --- > Changes in v2: > Fix imx93_var_som and phycore_imx93 as well Applied both, thanks.

Re: [PATCH v2] mx6cuboxi: Fix Ethernet after DT sync with Linux

2024-04-05 Thread Fabio Estevam
On Sat, Mar 30, 2024 at 6:36 PM Fabio Estevam wrote: > > From: Josua Mayer > > The i.MX6 Cubox-i and HummingBoards can have different PHYs at varying > addresses. U-Boot needs to auto-detect which phy is actually present, > and at which address it is responding. > > Auto-detection from multiple

Re: [PATCH v2] mx6cuboxi: Do not print devicetree model

2024-04-05 Thread Fabio Estevam
On Sat, Mar 30, 2024 at 6:03 PM Fabio Estevam wrote: > > The mx6cuboxi_defconfig target supports several board > variants. All of these variants use the hummingboard devicetree in U-Boot. > > Currently, the devicetree model as well as the board variant name > are shown: > > ... > Model: SolidRun

Re: [PATCH 1/3] arm64: imx: imx8mp-beacon: Migrate to OF_UPSTREAM

2024-04-05 Thread Fabio Estevam
On Wed, Apr 3, 2024 at 11:59 PM Adam Ford wrote: > > The imx8mp-beacon boards can migrate to OF_UPSTREAM which also > allows for the removal the device tree files. > > Signed-off-by: Adam Ford Applied, thanks.

Re: [PATCH] ARM: imx: stm32: Test whether ethernet node is enabled before reading MAC EEPROM on DHSOM

2024-04-05 Thread Fabio Estevam
On Tue, Mar 12, 2024 at 6:16 PM Marek Vasut wrote: > > Check whether the ethernet interface is enabled at all before reading > MAC EEPROM. As a cost saving measure, it can happen that the MAC EEPROM > is not populated on SoMs which do not use ethernet. > > Signed-off-by: Marek Vasut Applied,

[GIT PULL] Please pull u-boot-imx-master-20240405

2024-04-05 Thread Fabio Estevam
repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20240405 for you to fetch changes up to f6be41c83c17c09dddfb1e29a7ca391b5190634d: arm: imx: fix signature_block_hdr struct fields order (2024-04-05 09:39:18 -0300) u-boot-imx-master-20240405

[PATCH] net: dwc_eth_qos: Fix compilation warning in eqos_free_pkt()

2024-04-05 Thread Patrice Chotard
Fix compilation warning: ../arch/arm/include/asm/io.h: In function 'eqos_free_pkt': ../arch/arm/include/asm/io.h:103:32: warning: 'rx_desc' may be used uninitialized [-Wmaybe-uninitialized] 103 | #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; }) |

Re: [PATCH 0/3] qcom: add pinctrl driver for SM8550 and SM8650

2024-04-05 Thread Caleb Connolly
On 05/04/2024 10:15, Neil Armstrong wrote: Add pinctrl driver for the TLMM block found in the SM8550 & SM8650 SoCs. This driver only handles the gpio and qup debug uart pinmux, and makes sure the pinconf applies on SDC2 pins. Finally enable both drivers in the Qualcomm defconfig

Re: [PATCH 11/11] net: dwc_eth_qos: Add support of STM32MP13xx platform

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: From: Christophe Roullier Add compatible "st,stm32mp13-dwmac" to manage STM32MP13 boards. Signed-off-by: Christophe Roullier Signed-off-by: Marek Vasut # Rebase, reshuffle, squash code --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard

Re: [PATCH 10/11] net: dwc_eth_qos: Add DT parsing for STM32MP13xx platform

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: From: Christophe Roullier Manage 2 ethernet instances, select which instance to configure with mask If mask is not present in DT, it is stm32mp15 platform. Signed-off-by: Christophe Roullier Signed-off-by: Marek Vasut # Rework the code --- Cc: Christophe

Re: [PATCH 09/11] net: dwc_eth_qos: Request clk-ck earlier in probe on STM32

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: From: Patrick Delaunay Request the clk-ck earlier in probe in preparation for obtaining the clock rate from these clk-ck in eqos_probe_syscfg_stm32() in the follow up patch. Signed-off-by: Patrick Delaunay --- Cc: Christophe Roullier Cc: Joe Hershberger

Re: [PATCH 08/11] net: dwc_eth_qos: Constify st,eth-* values parsed out of DT

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Use const bool for the values parsed out of DT. Drop the duplicate assignment of false into those bool variables, assign them directly with the content parsed out of DT. Abbreviate the variable name too. Signed-off-by: Marek Vasut --- Cc: Christophe Roullier

Re: [PATCH 07/11] net: dwc_eth_qos: Use consistent logging prints

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Use dev_*() only to print all the logs from this glue code, instead of mixing dev_*(), log_*(), pr_*() all in one code. Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried

Re: [PATCH 06/11] net: dwc_eth_qos: Move log_debug statements on top of case block

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Move the log_debug() calls on top of the bit manipulation code. No functional change. Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc: u-b...@dh-electronics.com Cc:

Re: [PATCH 05/11] net: dwc_eth_qos: Use FIELD_PREP for ETH_SEL bitfield

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Use FIELD_PREP to configure content of ETH_SEL bitfield in SYSCFG_PMCSETR register. No functional change. Signed-off-by: Marek Vasut --- Cc: Christophe Roullier Cc: Joe Hershberger Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Ramon Fried Cc:

Re: [PATCH 04/11] net: dwc_eth_qos: Scrub ifdeffery

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Replace ifdef CONFIG_CLK with if (CONFIG_IS_ENABLED(CLK)) to improve code build coverage. Some of the functions printed debug("%s: OK\n", __func__); on exit with and without CLK enabled, some did not, make it consistent and print nothing if CLK is disabled.

Re: [PATCH 03/11] net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Move board_interface_eth_init() into eqos_probe_syscfg_stm32() in STM32 driver glue code. The eqos_probe_syscfg_stm32() parses STM32 specific DT properties of this MAC and configures SYSCFG registers accordingly, there is nothing board specific happening in

Re: [PATCH 03/11] net: dwc_eth_qos: Fold board_interface_eth_init into STM32 glue code

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: Move board_interface_eth_init() into eqos_probe_syscfg_stm32() in STM32 driver glue code. The eqos_probe_syscfg_stm32() parses STM32 specific DT properties of this MAC and configures SYSCFG registers accordingly, there is nothing board specific happening in

Re: [PATCH 02/11] net: dwc_eth_qos: Rename eqos_stm32_config to eqos_stm32mp15_config

2024-04-05 Thread Christophe ROULLIER
On 3/9/24 03:11, Marek Vasut wrote: The current glue code is specific to STM32MP15xx, the upcoming STM32MP13xx will introduce another entry specific to the STM32MP13xx. Rename the current entry to eqos_stm32mp15_config in preparation for STM32MP13xx addition. No functional change.

Re: [PATCH 11/11] net: dwc_eth_qos: Add support of STM32MP13xx platform

2024-04-05 Thread Marek Vasut
On 4/5/24 4:56 PM, Christophe ROULLIER wrote: On 3/9/24 03:11, Marek Vasut wrote: From: Christophe Roullier Add compatible "st,stm32mp13-dwmac" to manage STM32MP13 boards. Signed-off-by: Christophe Roullier Signed-off-by: Marek Vasut # Rebase, reshuffle, squash code --- Cc: Christophe

Re: [PATCH v4 0/6] USB keyboard improvements for asahi / desktop systems

2024-04-05 Thread Marek Vasut
On 4/4/24 8:25 AM, Janne Grunau via B4 Relay wrote: Apple USB Keyboards from 2021 need quirks to be useable. The boot HID keyboard protocol is unfortunately not described in the first interface descriptor but the second. This needs several changes. The USB keyboard driver has to look at all (2)

Re: [PATCH 0/4] Simplefb and fb reservation related updates

2024-04-05 Thread Devarsh Thakkar
Gentle Reminder. On 08/03/24 16:38, Devarsh Thakkar wrote: > Hi Tom, Anatolij, Simon, > > On 22/02/24 18:38, Devarsh Thakkar wrote: >> This adds support for simple-framebuffer reservation using video handoff >> when splash is enabled at SPL stage. >> >> Also adds helper function to only enable

Re: [PATCH v3 6/6] board: add support for Schneider HMIBSC board

2024-04-05 Thread Stephan Gerhold
On Fri, Apr 05, 2024 at 02:37:42PM +0530, Sumit Garg wrote: > Support for Schneider Electric HMIBSC. Features: > - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) > - 2GiB RAM > - 64GiB eMMC, SD slot > - WiFi and Bluetooth > - 2x Host, 1x Device USB port > - HDMI > - Discrete

Re: [PATCH] mtd: spi-nor: Add support for Infineon S25FS-S family

2024-04-05 Thread Pratyush Yadav
Hi, Just a couple small comments. Looks good otherwise. On Fri, Apr 05 2024, tkuw584...@gmail.com wrote: > From: Takahiro Kuwano > > The S25FS064S, S25FS128S, and S25FS256S are the same family of SPI NOR > Flash devices with S25FS512S. Some difference depending on the device > densities are

Re: [RFC PATCH 13/15] arm: dts: Introduce J722S U-Boot dts files

2024-04-05 Thread Andrew Davis
On 4/5/24 2:18 AM, Jayesh Choudhary wrote: Hi, On 04/04/24 20:59, Andrew Davis wrote: On 4/4/24 4:00 AM, Jayesh Choudhary wrote: Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary

Re: [V1 PATCH 1/2] rockchip: sdram: Support getting banks from TPL for rk3568 and rk3588

2024-04-05 Thread Quentin Schulz
Hi Chris, On 4/4/24 23:33, Chris Morgan wrote: On Tue, Apr 02, 2024 at 06:38:59PM +0200, Quentin Schulz wrote: Hi Chris, On 4/1/24 20:14, Chris Morgan wrote: From: Chris Morgan Allow RK3568 and RK3588 based boards to get the RAM bank configuration from the ROCKCHIP_TPL stage instead of the

Re: [PATCH 0/3] qcom: add clock driver support for SM8550 and SM8650 SoCc

2024-04-05 Thread Caleb Connolly
Hi Neil, On 04/04/2024 18:46, Neil Armstrong wrote: Add the GCC and TCSRCC clock driver for the SM8550 & SM8650 SoCs. The GCC driver uses the clk-qcom infrastructure to support GDSCs, Resets and gates. While the TCSRCC is a simpler clock driver which only supports gates. The GCC enable and

Re: [PATCH 3/3] button: qcom-pmic: add support for pmk8350 button configs

2024-04-05 Thread Neil Armstrong
On 05/04/2024 10:27, Neil Armstrong wrote: Finally add the entries for the qcom,pmk8350-pwrkey and qcom,pmk8350-resin found on PMICs used with SM8350 and later SoCs. Signed-off-by: Neil Armstrong --- drivers/button/button-qcom-pmic.c | 14 ++ 1 file changed, 14 insertions(+)

Re: [PATCH 1/2] phy: qcom: add Synopsys eUSB2 PHY driver

2024-04-05 Thread Neil Armstrong
On 05/04/2024 10:35, Neil Armstrong wrote: Add a driver for the new Synopsys eUSB2 PHY found in the SM8550 and SM8650 SoCs. Signed-off-by: Neil Armstrong --- drivers/phy/qcom/Kconfig | 8 + drivers/phy/qcom/Makefile | 1 +

Re: [RFC PATCH 01/15] DO-NOT-MERGE: dts: upstream: src: Necessary pulls from upstream dts

2024-04-05 Thread Sumit Garg
On Fri, 5 Apr 2024 at 11:17, Jayesh Choudhary wrote: > > Hello Sumit, > > On 05/04/24 10:27, Sumit Garg wrote: > > Hi Jayesh, > > > > On Thu, 4 Apr 2024 at 14:30, Jayesh Choudhary wrote: > >> > >> j722s dts support that needs to be pulled from devicetree-rebasing > >> tree. The whole series

[PATCH v3 6/6] board: add support for Schneider HMIBSC board

2024-04-05 Thread Sumit Garg
Support for Schneider Electric HMIBSC. Features: - Qualcomm Snapdragon 410C SoC - APQ8016 (4xCortex A53, Adreno 306) - 2GiB RAM - 64GiB eMMC, SD slot - WiFi and Bluetooth - 2x Host, 1x Device USB port - HDMI - Discrete TPM2 chip over SPI Features enabled in U-Boot: - RAUC updates - Environment

[PATCH v3 5/6] pinctrl: qcom: apq8016: Add GPIO pinctrl function

2024-04-05 Thread Sumit Garg
Add GPIO pinctrl function to enable driving GPIO pins as output low or high. Signed-off-by: Sumit Garg --- drivers/pinctrl/qcom/pinctrl-apq8016.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/qcom/pinctrl-apq8016.c b/drivers/pinctrl/qcom/pinctrl-apq8016.c index

[PATCH v3 4/6] pinctrl: qcom: Add support for driving GPIO pins output

2024-04-05 Thread Sumit Garg
Add support for driving the GPIO pins as output low or high. Signed-off-by: Sumit Garg --- drivers/pinctrl/qcom/pinctrl-qcom.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/qcom/pinctrl-qcom.c

[PATCH v3 3/6] serial_msm: Enable RS232 flow control

2024-04-05 Thread Sumit Garg
SE HMIBSC board debug console requires RS232 flow control, so enable corresponding support if RS232 gpios are present. Reviewed-by: Caleb Connolly Signed-off-by: Sumit Garg --- drivers/serial/serial_msm.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git

[PATCH v3 2/6] apq8016: Add support for UART1 clocks and pinmux

2024-04-05 Thread Sumit Garg
SE HMIBSC board uses UART1 as the main debug console, so add corresponding clocks and pinmux support. Along with that update instructions to enable clocks for debug UART support. Signed-off-by: Sumit Garg --- drivers/clk/qcom/clock-apq8016.c | 38 ++

[PATCH v3 1/6] qcom: Don't enable LINUX_KERNEL_IMAGE_HEADER by default

2024-04-05 Thread Sumit Garg
Enabling LINUX_KERNEL_IMAGE_HEADER by default doesn't allow ENABLE_ARM_SOC_BOOT0_HOOK to work properly on db410c when U-Boot is loaded as a first stage bootloader. It leads to secondary CPUs bringup failure and later causing the Linux kernel to freeze. So fix it via selectively enabling

[PATCH v3 0/6] Add SE HMBSC board support

2024-04-05 Thread Sumit Garg
SE HMIBSC board is based on Qcom APQ8016 SoC. One of the major difference from db410c is serial port where HMIBSC board uses UART1 as the debug console with an RS232 port, patch #2 - #5 adds corresponding driver support. Patch #6 adds main HMIBSC board specific bits, features: - Qualcomm

Re: [RFC PATCH v2 2/2] board: ad401: example of fastboot oem board realization

2024-04-05 Thread Mattijs Korpershoek
Hi Alexey, On lun., mars 04, 2024 at 14:03, Alexey Romanov wrote: > Hello Mattijs, > > On Thu, Feb 15, 2024 at 10:24:11AM +0100, Mattijs Korpershoek wrote: >> On jeu., f'evr. 01, 2024 at 12:20, Alexey Romanov >> wrote: >> >> > An example of how we use fastboot oeam board subcommand >> > for

Re: [RFC PATCH v2 1/2] fastboot: introduce 'oem board' subcommand

2024-04-05 Thread Mattijs Korpershoek
Hi Alexey, On lun., mars 04, 2024 at 14:11, Alexey Romanov wrote: > Hello, > > On Thu, Feb 15, 2024 at 10:14:13AM +0100, Mattijs Korpershoek wrote: >> Hi Alexey, >> >> Thank you for the patch. >> >> On jeu., f'evr. 01, 2024 at 12:20, Alexey Romanov >> wrote: >> >> > Currently, fastboot

Re: [RFC PATCH v2 1/2] fastboot: introduce 'oem board' subcommand

2024-04-05 Thread Mattijs Korpershoek
Hi Alexey, On mer., avril 03, 2024 at 08:49, Alexey Romanov wrote: > Hello Mattijs, > is there any feedback? Sorry for the late reply. I was both swamped with other work and awaiting. feedback from others. I don't have strong enough arguments to state that this is not useful to others, I

[PATCH] ARM: uniphier: Move uniphier_mem_map_init() call into dram_init()

2024-04-05 Thread Kunihiko Hayashi
The function uniphier_mem_map_init() is to change global variable 'mem_map', which is referenced to get_page_table_size() to calculate the size of page table. However, uniphier_mem_map_init() is called after get_page_table_size(), so the size of page table and 'mem_map' become inconsist each

[PATCH 2/2] qcom_defconfig: enable the Qualcomm Synopsys eUSB2 PHY driver

2024-04-05 Thread Neil Armstrong
Enable the Qualcomm Synopsys eUSB2 PHY driver in Qualcomm defconfig. Signed-off-by: Neil Armstrong --- configs/qcom_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 1abb57345ff..b0ae5eb4df3 100644 --- a/configs/qcom_defconfig

[PATCH 1/2] phy: qcom: add Synopsys eUSB2 PHY driver

2024-04-05 Thread Neil Armstrong
Add a driver for the new Synopsys eUSB2 PHY found in the SM8550 and SM8650 SoCs. Signed-off-by: Neil Armstrong --- drivers/phy/qcom/Kconfig | 8 + drivers/phy/qcom/Makefile | 1 + drivers/phy/qcom/phy-qcom-snps-eusb2.c | 365 + 3

[PATCH 0/2] phy: qcom: add support for the Qualcomm Synopsys eUSB2 PHY

2024-04-05 Thread Neil Armstrong
Add support for the new Qualcomm Synopsys eUSB2 PHY found in the SM8550 and SM8650 SoCs. Finally enable the driver in the Qualcomm defconfig. Signed-off-by: Neil Armstrong --- Neil Armstrong (2): phy: qcom: add Synopsys eUSB2 PHY driver qcom_defconfig: enable the Qualcomm Synopsys

Re: [PATCH v5 4/5] net: ti: icssg: Add ICSSG ethernet driver

2024-04-05 Thread Ravi Gunasekaran
On 4/4/24 12:38 PM, MD Danish Anwar wrote: > This is the PRUSS Ethernet driver for TI AM654 SR2.0 and later SoCs with > the ICSSG PRU Sub-system running EMAC firmware. ICSSG Subsystem supports > two slices per instance. This driver caters to both slices / ports of > the icssg subsystem. > >

Re: [PATCH] efi_loader: access __efi_runtime_start/stop without

2024-04-05 Thread Ilias Apalodimas
On Fri, 5 Apr 2024 at 10:12, Heinrich Schuchardt wrote: > > On 4/4/24 08:35, Ilias Apalodimas wrote: > > A symbol defined in a linker script (e.g. __efi_runtime_start = .;) is > > only a symbol, not a variable and should not be dereferenced. > > The common practice is either define it as > >

Re: [PATCH v5 2/5] net: ti: icssg: Add Firmware config and classification APIs.

2024-04-05 Thread Ravi Gunasekaran
On 4/4/24 12:38 PM, MD Danish Anwar wrote: > Add icssg_config.h / .c and icssg_classifier.c files. These are firmware > configuration and classification related files. Add MII helper APIs and > MACROs. These APIs and MACROs will be later used by ICSSG Ethernet driver. > Also introduce

[PATCH 3/3] button: qcom-pmic: add support for pmk8350 button configs

2024-04-05 Thread Neil Armstrong
Finally add the entries for the qcom,pmk8350-pwrkey and qcom,pmk8350-resin found on PMICs used with SM8350 and later SoCs. Signed-off-by: Neil Armstrong --- drivers/button/button-qcom-pmic.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/button/button-qcom-pmic.c

[PATCH 2/3] button: qcom-pmic: move node name checks to btn_data struct

2024-04-05 Thread Neil Armstrong
Move node name checks to a proper data struct with all information for the supported subnodes. Replace the key offset defines with the Linux driver ones. Signed-off-by: Neil Armstrong --- drivers/button/button-qcom-pmic.c | 84 ++- 1 file changed, 56

[PATCH 1/3] gpio: qcom_pmic_gpio: add support for pm8550-gpio

2024-04-05 Thread Neil Armstrong
Add support for PM8550 GPIO controller variant, keep read-only until the GPIO and Pinctrl setup is fixed for new PMICs. Signed-off-by: Neil Armstrong --- drivers/gpio/qcom_pmic_gpio.c | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git

[PATCH 0/3] qcom: support SPMI buttons on SM8550 and SM8650

2024-04-05 Thread Neil Armstrong
First add PMIC gpio variant on pm8550-gpio, then rework the qcom-pmic button driver to support data structs for each PMIC variant and finally add the data for the pmk8350 button configs. Signed-off-by: Neil Armstrong --- Neil Armstrong (3): gpio: qcom_pmic_gpio: add support for pm8550-gpio

Re: [PATCH 1/1] efi_loader: eliminate duplicate runtime section definitions

2024-04-05 Thread Ilias Apalodimas
On Fri, 5 Apr 2024 at 11:13, Heinrich Schuchardt wrote: > > The following symbols are defined in two includes: > > * __efi_runtime_start[] > * __efi_runtime_stop[] > * __efi_runtime_rel_start[] > * __efi_runtime_rel_stop[] > > Eliminate the definitions in efi_loader.h. > > Signed-off-by: Heinrich

[PATCH 4/4] spmi: msm: support controller version 7

2024-04-05 Thread Neil Armstrong
Add the defines and support for SPMI arbiters version 7, which can handle up to 1024 peripherals, and can also drive a secondary bus which is not implemented yet. Signed-off-by: Neil Armstrong --- drivers/spmi/spmi-msm.c | 33 + 1 file changed, 29 insertions(+),

[PATCH 3/4] spmi: msm: handle peripheral ownership

2024-04-05 Thread Neil Armstrong
The cnfg registers provides the owner id for each peripheral, so we can use this id to check if we're allowed to write register to each peripherals. Since the v5 can handle more peripherals, add the max_channels to scan more starting from version 5, make the channel_map store 32bit values and

[PATCH 2/4] spmi: msm: properly format command

2024-04-05 Thread Neil Armstrong
Since version 2, the cmd format has changed, takes helpers from Linux driver and use a switch/case to handle all versions in msm_spmi_write/read() command. Signed-off-by: Neil Armstrong --- drivers/spmi/spmi-msm.c | 75 - 1 file changed, 55

[PATCH 1/4] spmi: msm: fix version 5 support

2024-04-05 Thread Neil Armstrong
Properly use ch_offset in msm_spmi_write() reg access. Fixes: f5a2d6b4b03 ("spmi: msm: add arbiter version 5 support") Signed-off-by: Neil Armstrong --- drivers/spmi/spmi-msm.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/drivers/spmi/spmi-msm.c

[PATCH 0/4] smpi: msm: fix version 5 and add version 7 support

2024-04-05 Thread Neil Armstrong
First, fix version 5 support by using the right ch_offset in then msm_spmi_write() reg accesses. Then: - properly format command by importing helpers from Linux driver and use a switch/case to handle all versions in msm_spmi_write/read() command. - handle peripheral ownership by poking into the

Re: [PATCH 4/4] fastboot: integrate block flashing back-end

2024-04-05 Thread Mattijs Korpershoek
Hi Dmitrii, Thank you for the patch and sorry for the review delay. On mer., mars 06, 2024 at 18:59, Dmitrii Merkurev wrote: > 1. Get partition info/size > 2. Erase partition > 3. Flash partition > 4. BCB > > Signed-off-by: Dmitrii Merkurev > Cc: Alex Kiernan > Cc: Patrick Delaunay > Cc:

Re: [PATCH] ARM: stm32: Jump to ep on successful resume in PSCI suspend code

2024-04-05 Thread Patrice CHOTARD
On 3/31/24 20:21, Marek Vasut wrote: > In case the system has resumed successfully, the PSCI suspend resume > code has to jump to the 'ep' successful resume entry point code path, > otherwise the code has to jump to content of the LR register, which > points to failed resume code path. > > To

[PATCH 2/3] pinctrl: qcom: Add SM8650 pinctrl driver

2024-04-05 Thread Neil Armstrong
Add pinctrl driver for the TLMM block found in the SM8650 SoC. This driver only handles the gpio and qup2_se7 pinmux, and makes sure the pinconf applies on SDC2 pins. Signed-off-by: Neil Armstrong --- drivers/pinctrl/qcom/Kconfig | 7 drivers/pinctrl/qcom/Makefile | 1 +

[PATCH 3/3] qcom_defconfig: enable SM8550 & SM8650 pinctrl driver

2024-04-05 Thread Neil Armstrong
Enable the SM8550 & SM8650 pinctrl drivers for Qualcomm defconfig. Signed-off-by: Neil Armstrong --- configs/qcom_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index 222db6448ab..a92b6ef7911 100644 --- a/configs/qcom_defconfig

[PATCH 1/3] pinctrl: qcom: Add SM8550 pinctrl driver

2024-04-05 Thread Neil Armstrong
Add pinctrl driver for the TLMM block found in the SM8550 SoC. This driver only handles the gpio and qup1_se7 pinmux, and makes sure the pinconf applies on SDC2 pins. Signed-off-by: Neil Armstrong --- drivers/pinctrl/qcom/Kconfig | 7 drivers/pinctrl/qcom/Makefile | 1 +

[PATCH 0/3] qcom: add pinctrl driver for SM8550 and SM8650

2024-04-05 Thread Neil Armstrong
Add pinctrl driver for the TLMM block found in the SM8550 & SM8650 SoCs. This driver only handles the gpio and qup debug uart pinmux, and makes sure the pinconf applies on SDC2 pins. Finally enable both drivers in the Qualcomm defconfig Signed-off-by: Neil Armstrong --- Neil Armstrong (3):

[PATCH 1/1] efi_loader: eliminate duplicate runtime section definitions

2024-04-05 Thread Heinrich Schuchardt
The following symbols are defined in two includes: * __efi_runtime_start[] * __efi_runtime_stop[] * __efi_runtime_rel_start[] * __efi_runtime_rel_stop[] Eliminate the definitions in efi_loader.h. Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h| 3 ---

Re: [PATCH 3/4] fastboot: blk: introduce fastboot block flashing support

2024-04-05 Thread Mattijs Korpershoek
Hi Dmitrii, Thank you for the patch and sorry for the review delay. On mer., mars 06, 2024 at 18:59, Dmitrii Merkurev wrote: > Reuse common logic between existing mmc and new introduced > block implementation > > Signed-off-by: Dmitrii Merkurev > Cc: Alex Kiernan > Cc: Patrick Delaunay >

Re: [PATCH 33/33] doc: boards: amlogic: add documentation for ODROID-HC4

2024-04-05 Thread Heinrich Schuchardt
On 3/20/23 12:46, Christian Hewitt wrote: Add separate documentation for the ODROID-HC4 board to ensure users build U-Boot using the HC4 defconfig that enables PCIe SATA boot. This avoids user frustration trying to boot after using the C4 recipe which only works from SD card. Signed-off-by:

Re: [PATCH] doc: build: update docker image to latest

2024-04-05 Thread Heinrich Schuchardt
11,4 +11,4 @@ Or to use an existing container .. code-block:: bash -sudo docker pull trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 +sudo docker pull trini/u-boot-gitlab-ci-runner:jammy-20240227-14Mar2024 --- base-commit: cdfcc37428e06f4730ab9a17cc084eeb7676ea1a change-id: 20

Re: [PATCH] doc: build: fix gen_compile_commands section level

2024-04-05 Thread Heinrich Schuchardt
uld suffice to enable code navigation. Usage -= +- For further details on the script's options, please refer to its help message, as in the example below. --- base-commit: cdfcc37428e06f4730ab9a17cc084eeb7676ea1a change-id: 20240405-doc-fix-headings-6109365355a3 Best regards,

Re: [PATCH 3/4] arm: dts: k3-*-binman.dtsi: Clean up and templatize boot binaries

2024-04-05 Thread Michael Walle
Hi, On Thu Apr 4, 2024 at 11:10 AM CEST, Neha Malcom Francis wrote: > But again in the interest of time... this would mean this cleaning up effort > be > kept on hold. If we can agree to move to using the generator later as the > final > solution, can we pick up this series for now? Agreed.

Re: [PATCH v2] efi_loader: move efi_var_collect to common functions

2024-04-05 Thread Heinrich Schuchardt
On 4/5/24 08:50, Ilias Apalodimas wrote: From: Ilias Apalodimas efi_var_collect() was initially placed in efi_var_file.c, since back then we only supported efi variables stored in a file. Since then we support variables stored in an RPMB as well and use that function to collect variables that

Re: [PATCH] ARM: imx: stm32: Test whether ethernet node is enabled before reading MAC EEPROM on DHSOM

2024-04-05 Thread Patrice CHOTARD
On 3/12/24 22:15, Marek Vasut wrote: > Check whether the ethernet interface is enabled at all before reading > MAC EEPROM. As a cost saving measure, it can happen that the MAC EEPROM > is not populated on SoMs which do not use ethernet. > > Signed-off-by: Marek Vasut > --- > Cc: "NXP i.MX

Re: [PATCH] ARM: imx: stm32: Test whether ethernet node is enabled before reading MAC EEPROM on DHSOM

2024-04-05 Thread Patrice CHOTARD
On 3/13/24 01:52, Fabio Estevam wrote: > Hi Marek, > > On Tue, Mar 12, 2024 at 6:16 PM Marek Vasut wrote: > >> NOTE: It is probably best if this goes in via either imx or stm32 tree, >> I can break the patch up, but that would introduce dependency >> between two PRs in different

Re: [PATCH 2/4] fastboot: blk: add block device flashing configuration

2024-04-05 Thread Mattijs Korpershoek
Hi Dmitrii, Thank you for the patch and sorry for the review delay. On mer., mars 06, 2024 at 18:59, Dmitrii Merkurev wrote: > Signed-off-by: Dmitrii Merkurev > Cc: Patrick Delaunay > Cc: Simon Glass > Cc: Mattijs Korpershoek > Cc: Ying-Chun Liu (PaulLiu) > --- > drivers/fastboot/Kconfig

Re: [RFC PATCH 13/15] arm: dts: Introduce J722S U-Boot dts files

2024-04-05 Thread Jayesh Choudhary
Hi, On 04/04/24 20:59, Andrew Davis wrote: On 4/4/24 4:00 AM, Jayesh Choudhary wrote: Include the uboot device tree files needed to boot the board. Co-developed-by: Vaishnav Achath Signed-off-by: Vaishnav Achath Signed-off-by: Jayesh Choudhary ---   arch/arm/dts/Makefile

Re: [PATCH 1/4] virtio: blk: introduce virtio-block erase support

2024-04-05 Thread Mattijs Korpershoek
Hi Dmitrii, Thank you for the patch. I'm not the virtio maintainer in U-Boot: /mnt/work/upstream/u-boot/ $ ./scripts/get_maintainer.pl drivers/virtio/ Bin Meng (maintainer:VirtIO) [...] I've added Bin to the Cc list, please include him if you re-submit. On mer., mars 06, 2024 at 18:59,

Re: [PATCH] efi_loader: access __efi_runtime_start/stop without

2024-04-05 Thread Heinrich Schuchardt
On 4/4/24 08:35, Ilias Apalodimas wrote: A symbol defined in a linker script (e.g. __efi_runtime_start = .;) is only a symbol, not a variable and should not be dereferenced. The common practice is either define it as extern uint32_t __efi_runtime_start or extern char __efi_runtime_start[] and

[PATCH 4/4] board: cssi: Properly initialise MAC address for fibre on CMPC885 board

2024-04-05 Thread Christophe Leroy
From: Hugo Dubois CMPC885 board can be pluged on a mother board with fibre interface, so fibre interface MAC address must be initialised for that case. Signed-off-by: Hugo Dubois Reviewed-by: CASAUBON Jean Michel Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.c | 4 +++- 1

[PATCH 3/4] board: cssi: Initialise port F on MIAE

2024-04-05 Thread Christophe Leroy
From: Hugo Dubois When equiped with the SRSA audio board, MIAE equipment has an additional port called port F. Initialise that port just like other ports of the board, so that it is already configured when starting Linux kernel. Signed-off-by: Hugo Dubois Reviewed-by: CASAUBON Jean Michel

[PATCH 2/4] board: cssi: Allow use without HUSH shell

2024-04-05 Thread Christophe Leroy
From: Jean-Michel CASAUBON HUSH shell is not always wanted/desirable. Add missing braces in environment in order to allow use without HUSH shell. Signed-off-by: Jean-Michel CASAUBON Cc: DUBOIS Hugo Signed-off-by: Christophe Leroy --- board/cssi/cmpc885/cmpc885.env | 4 ++--

[PATCH 1/4] board: cssi: Fix MCR3000 board environment

2024-04-05 Thread Christophe Leroy
From: Jean-Michel CASAUBON Remove a stray semicolon in MCR3000 board environment. Signed-off-by: Jean-Michel CASAUBON Reviewed-by: DUBOIS Hugo Signed-off-by: Christophe Leroy --- board/cssi/mcr3000/mcr3000.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/4] Misc changes for CSSI boards

2024-04-05 Thread Christophe Leroy
This series contains misc fixes and changes for CSSI boards. I will send a pull request later before close of the merge window. Hugo Dubois (2): board: cssi: Initialise port F on MIAE board: cssi: Properly initialise MAC address for fibre on CMPC885 board Jean-Michel CASAUBON (2):

[PATCH v2] efi_loader: move efi_var_collect to common functions

2024-04-05 Thread Ilias Apalodimas
From: Ilias Apalodimas efi_var_collect() was initially placed in efi_var_file.c, since back then we only supported efi variables stored in a file. Since then we support variables stored in an RPMB as well and use that function to collect variables that should be present at runtime. So let's

[PATCH] mtd: spi-nor: Add support for Infineon S25FS-S family

2024-04-05 Thread tkuw584924
From: Takahiro Kuwano The S25FS064S, S25FS128S, and S25FS256S are the same family of SPI NOR Flash devices with S25FS512S. Some difference depending on the device densities are taken care in fixup hooks. Signed-off-by: Takahiro Kuwano --- Datasheets:

Re: [PATCH] efi_loader: move efi_var_collect to common functions

2024-04-05 Thread Ilias Apalodimas
On Fri, 5 Apr 2024 at 09:33, Heinrich Schuchardt wrote: > > On 4/4/24 09:48, Ilias Apalodimas wrote: > > From: Ilias Apalodimas > > > > efi_var_collect() was initially placed in efi_var_file.c, since back > > then we only supported efi variables stored in a file. Since then we > > support

Re: [RFC PATCH 15/15] doc: board: ti: Add J722S-EVM documentation

2024-04-05 Thread Jayesh Choudhary
Hello Andrew, On 04/04/24 21:19, Andrew Davis wrote: On 4/4/24 4:00 AM, Jayesh Choudhary wrote: Introduce basic documentation for the J722S-EVM. Signed-off-by: Jayesh Choudhary ---   doc/board/ti/j722s_evm.rst | 262 +   doc/board/ti/k3.rst    |   1 +  

Re: [PATCH] efi_loader: move efi_var_collect to common functions

2024-04-05 Thread Heinrich Schuchardt
On 4/4/24 09:48, Ilias Apalodimas wrote: From: Ilias Apalodimas efi_var_collect() was initially placed in efi_var_file.c, since back then we only supported efi variables stored in a file. Since then we support variables stored in an RPMB as well and use that function to collect variables that

[PATCH] doc: build: fix gen_compile_commands section level

2024-04-05 Thread Mattijs Korpershoek
script's options, please refer to its help message, as in the example below. --- base-commit: cdfcc37428e06f4730ab9a17cc084eeb7676ea1a change-id: 20240405-doc-fix-headings-6109365355a3 Best regards, -- Mattijs Korpershoek

[PATCH] doc: build: update docker image to latest

2024-04-05 Thread Mattijs Korpershoek
ocker pull trini/u-boot-gitlab-ci-runner:bionic-20200807-02Sep2020 +sudo docker pull trini/u-boot-gitlab-ci-runner:jammy-20240227-14Mar2024 --- base-commit: cdfcc37428e06f4730ab9a17cc084eeb7676ea1a change-id: 20240405-doc-container-img-904d56d5efcb Best regards, -- Mattijs Korpershoek