[U-Boot] [PATCH 05/10] soc: ti: pruss: Add support for am57xx

2022-07-27 Thread Greg Leonberg
The KConfig file was updated to indicate support for am57xx SoCs. Logic was added to the pruss driver to enable the clock for am57xx pruss during the driver probe function. This patch depends on patches 0001 and 0004 of this patch series. Signed-off-by: Greg Leonberg ---

[U-Boot] [PATCH 10/10] arm: dts: dra7: Add pruss and pru

2022-07-27 Thread Greg Leonberg
Added the pruss subsystem to the device tree based on the device tree info from the Linux kernel. Signed-off-by: Greg Leonberg --- arch/arm/dts/dra7.dtsi | 198 + 1 file changed, 198 insertions(+) diff --git a/arch/arm/dts/dra7.dtsi

[U-Boot] [PATCH 06/10] remoteproc: pru_rproc: Add support for am33xx

2022-07-27 Thread Greg Leonberg
In order to support the am33xx pru_rproc, the KConfig needed to have the depends updated to support either ARCH_K3 or ARCH_OMAP2PLUS. The Makefile needed to be tweaked because when building for am33xx, the SPL will not fit into SRAM if the pru_rproc driver is built into it. The pru_rproc struct

[U-Boot] [PATCH 09/10] arm: dts: am33xx: Add pruss and pru

2022-07-27 Thread Greg Leonberg
Added the pruss subsystem to the device tree based on the device tree info from the Linux kernel. Signed-off-by: Greg Leonberg --- arch/arm/dts/am33xx.dtsi | 105 +++ 1 file changed, 105 insertions(+) diff --git a/arch/arm/dts/am33xx.dtsi

[U-Boot] [PATCH 08/10] remoteproc: pru_rproc: Add is_running support

2022-07-27 Thread Greg Leonberg
An integer flag in the private data structure for the udev was added to indicate run-state. A function was also added to return that flag in order for the driver to support the is_running driver function. This patch depends on patch 0007 of this patch series. Signed-off-by: Greg Leonberg ---

[U-Boot] [PATCH 07/10] remoteproc: pru_rproc: Add support for am57xx

2022-07-27 Thread Greg Leonberg
The am57xx pru uses the same logic as the am33xx so it just needed to have the struct udevice_id updated. This patch depends on patch 0006 of this patch series. Signed-off-by: Greg Leonberg --- drivers/remoteproc/pru_rproc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 02/10] arm: arch-am33xx: Add prm_per definition

2022-07-27 Thread Greg Leonberg
The PRM_PER structure needs to be defined in order to allow the pruss driver to bring the pru subsystem out of reset during the pruss driver probe Signed-off-by: Greg Leonberg --- arch/arm/include/asm/arch-am33xx/cpu.h | 7 +++ arch/arm/include/asm/arch-am33xx/hardware_am33xx.h

[U-Boot] [PATCH 04/10] soc: ti: pruss: Add support for am33xx

2022-07-27 Thread Greg Leonberg
In order to support the am33xx pruss, the KConfig needed to have the depends updated to support either ARCH_K3 or ARCH_OMAP2PLUS. The Makefile needed to be tweaked because when building for am33xx, the SPL will not fit into SRAM if the pruss driver is built into it. Logic was added to the pruss

[U-Boot] [PATCH 03/10] arm: arch-am33xx: Add pru_icss clkctrl

2022-07-27 Thread Greg Leonberg
The pruicssclkctrl register needs to be added to the cm_perpll register structure in order to allow the pruss driver to enable the clock for it during the pruss probe function call on am33xx This patch depends on patch 0002 of this patch series. Signed-off-by: Greg Leonberg ---

[U-Boot] [PATCH 00/10] Add pruss and pru support for am33xx and am57xx

2022-07-27 Thread Greg Leonberg
This series adds support for the pruss/pru_rproc drivers on am33xx and am57xx SoCs. All PRU interfaces pru0 and pru1 are supported on am33xx. All PRU interfaces pru0, pru1, pru2, and pru3 are supported on am57xx. Testing is done via the "rproc" U-Boot command. This patch series is based on

[U-Boot] [PATCH 01/10] arm: Add omap5 pruss1 and pruss2 to prcm structure

2022-07-27 Thread Greg Leonberg
The pruss1_clkctrl and pruss2_clkctrl registers need to be added to the prcm register structure in order to allow the pruss driver to enable the clock for each of them during the pruss probe function calls for am57xx Signed-off-by: Greg Leonberg --- arch/arm/include/asm/omap_common.h| 2

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 09:01:15PM +0200, Pali Rohár wrote: > On Wednesday 27 July 2022 14:58:20 Tom Rini wrote: > > On Wed, Jul 27, 2022 at 08:52:01PM +0200, Pali Rohár wrote: > > > On Wednesday 27 July 2022 14:48:23 Tom Rini wrote: > > > > On Wed, Jul 27, 2022 at 08:34:41PM +0200, Pali Rohár

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Pali Rohár
On Wednesday 27 July 2022 14:58:20 Tom Rini wrote: > On Wed, Jul 27, 2022 at 08:52:01PM +0200, Pali Rohár wrote: > > On Wednesday 27 July 2022 14:48:23 Tom Rini wrote: > > > On Wed, Jul 27, 2022 at 08:34:41PM +0200, Pali Rohár wrote: > > > > On Monday 25 July 2022 17:21:00 Tom Rini wrote: > > > >

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 08:52:01PM +0200, Pali Rohár wrote: > On Wednesday 27 July 2022 14:48:23 Tom Rini wrote: > > On Wed, Jul 27, 2022 at 08:34:41PM +0200, Pali Rohár wrote: > > > On Monday 25 July 2022 17:21:00 Tom Rini wrote: > > > > On Sun, Jul 10, 2022 at 01:42:56PM +0200, Pali Rohár wrote:

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Pali Rohár
On Wednesday 27 July 2022 14:48:23 Tom Rini wrote: > On Wed, Jul 27, 2022 at 08:34:41PM +0200, Pali Rohár wrote: > > On Monday 25 July 2022 17:21:00 Tom Rini wrote: > > > On Sun, Jul 10, 2022 at 01:42:56PM +0200, Pali Rohár wrote: > > > > > > > CONFIG_PREBOOT just cause putting

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 08:34:41PM +0200, Pali Rohár wrote: > On Monday 25 July 2022 17:21:00 Tom Rini wrote: > > On Sun, Jul 10, 2022 at 01:42:56PM +0200, Pali Rohár wrote: > > > > > CONFIG_PREBOOT just cause putting "preboot=CONFIG_PREBOOT" into env list. > > > Value CONFIG_PREBOOT="run

Re: [PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Michael Nazzareno Trimarchi
Hi Il mer 27 lug 2022, 20:43 Pali Rohár ha scritto: > On Wednesday 27 July 2022 20:41:51 Michael Nazzareno Trimarchi wrote: > > Hi > > > > Il mer 27 lug 2022, 20:40 Pali Rohár ha scritto: > > > > > On Wednesday 27 July 2022 14:55:51 Michael Nazzareno Trimarchi wrote: > > > > Hi Pali > > > > >

Re: [PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Pali Rohár
On Wednesday 27 July 2022 20:41:51 Michael Nazzareno Trimarchi wrote: > Hi > > Il mer 27 lug 2022, 20:40 Pali Rohár ha scritto: > > > On Wednesday 27 July 2022 14:55:51 Michael Nazzareno Trimarchi wrote: > > > Hi Pali > > > > > > On Wed, Jul 27, 2022 at 2:49 PM Pali Rohár wrote: > > > > > > >

Re: [PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Michael Nazzareno Trimarchi
Hi Il mer 27 lug 2022, 20:40 Pali Rohár ha scritto: > On Wednesday 27 July 2022 14:55:51 Michael Nazzareno Trimarchi wrote: > > Hi Pali > > > > On Wed, Jul 27, 2022 at 2:49 PM Pali Rohár wrote: > > > > > > Linux kernel uses compatible string > "marvell,armada370-nand-controller" for > > > nand

Re: [PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Pali Rohár
On Wednesday 27 July 2022 14:55:51 Michael Nazzareno Trimarchi wrote: > Hi Pali > > On Wed, Jul 27, 2022 at 2:49 PM Pali Rohár wrote: > > > > Linux kernel uses compatible string "marvell,armada370-nand-controller" for > > nand controllers on Armada 370/XP/38x. U-Boot currently uses mix of > >

Re: [PATCH 2/2] Nokia RX-51: Remove CONFIG_PREBOOT from defconfig

2022-07-27 Thread Pali Rohár
On Monday 25 July 2022 17:21:00 Tom Rini wrote: > On Sun, Jul 10, 2022 at 01:42:56PM +0200, Pali Rohár wrote: > > > CONFIG_PREBOOT just cause putting "preboot=CONFIG_PREBOOT" into env list. > > Value CONFIG_PREBOOT="run preboot" in defconfig is just nonsense and does > > not do anything useful

[PATCH 28/28] board: Add Edgeble AI Edge Compute Module 0 Carrier

2022-07-27 Thread Jagan Teki
Edge Compute Module 0 Carrier is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - 2x MIPI CSI2 connectors - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - Speaker - RTC

[PATCH 27/28] ARM: dts: rockchip: Add rv1126-u-boot.dtsi

2022-07-27 Thread Jagan Teki
Add u-boot,dm-spl and u-boot,dm-pre-reloc related properties for Rockchip RV1126 SoC. Both eMMC and SD boot are tested in Edge Compute Module 0. Signed-off-by: Jagan Teki --- arch/arm/dts/rv1126-u-boot.dtsi | 62 + 1 file changed, 62 insertions(+) create mode

[PATCH 26/28] ARM: dts: rockchip: rv1126: Add Edgeble AI Edge Compute Module 0 Carrier

2022-07-27 Thread Jagan Teki
Edge Compute Module 0 Carrier is an industrial form factor evaluation board from Edgeble AI. General features: - microSD slot - 2x MIPI CSI2 connectors - MIPI DSI connector - 2x USB Host - 1x USB OTG - Ethernet - mini PCIe - Onboard PoE - RS485, RS232, CAN - Micro Phone array - Speaker - RTC

[PATCH 25/28] ARM: dts: rockchip: rv1126: Add Edgeble AI Edge Compute Module 0

2022-07-27 Thread Jagan Teki
Edge Compute Module 0 is a 96boards SoM-CB compute module based on Rockchip RV1126 from Edgeble AI. General features: - Rockchip RV1126 - 2/4GB LPDDR4 - 16GB eMMC - Fn-link 8223A-SR WiFi/BT Edge Compute Module 0 needs to mount on top of Edgeble AI Carrier boards for creating complete platform

[PATCH 24/28] rockchip: mkimage: Add rv1126 support

2022-07-27 Thread Jagan Teki
Add support for rv1126 package header in mkimage tool. Signed-off-by: Jagan Teki --- tools/rkcommon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 1325aa83cb..f18b6fad95 100644 --- a/tools/rkcommon.c +++ b/tools/rkcommon.c @@ -133,6 +133,7 @@

[PATCH 23/28] configs: rockchip: Add rv1126 common config

2022-07-27 Thread Jagan Teki
Add common rv1126 include config. Signed-off-by: Jagan Teki --- include/configs/rv1126_common.h | 42 + 1 file changed, 42 insertions(+) create mode 100644 include/configs/rv1126_common.h diff --git a/include/configs/rv1126_common.h

[PATCH 22/28] arm: rockchip: rv1126: Set dram area unsecure for SPL

2022-07-27 Thread Jagan Teki
Unsecure the dram area so that MMC, USB, and SFC controllers can able to read data from dram. Signed-off-by: Jason Zhu Signed-off-by: Jagan Teki --- arch/arm/mach-rockchip/rv1126/rv1126.c | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/mach-rockchip/rv1126/rv1126.c

[PATCH 21/28] arm: rockchip: Add RV1126 arch core support

2022-07-27 Thread Jagan Teki
Rockchip RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. Add arch core support for it. Signed-off-by: Jagan Teki --- arch/arm/include/asm/arch-rv1126/boot0.h | 11 arch/arm/include/asm/arch-rv1126/gpio.h | 11

[PATCH 20/28] ARM: dts: rockchip: Add Rockchip RV1126 SoC

2022-07-27 Thread Jagan Teki
RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. It is based on quad-core ARM Cortex-A7 32-bit core which integrates NEON and FPU. There is a 32KB I-cache and 32KB D-cache for each core and 512KB unified L2 cache. It has build-in NPU supports

[PATCH 19/28] ARM: dts: rockchip: Add Rockchip RV1126 pinctrl

2022-07-27 Thread Jagan Teki
Add pinctrl definitions for Rockchip RV1126. Signed-off-by: Jagan Teki --- arch/arm/dts/rv1126-pinctrl.dtsi | 302 +++ 1 file changed, 302 insertions(+) create mode 100644 arch/arm/dts/rv1126-pinctrl.dtsi diff --git a/arch/arm/dts/rv1126-pinctrl.dtsi

[PATCH 18/28] arm: rockchip: Add grf header for rv1126

2022-07-27 Thread Jagan Teki
Add GRF header for Rockchip RV1126. Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/grf_rv1126.h| 251 ++ 1 file changed, 251 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rv1126.h diff --git

[PATCH 17/28] dt-bindings: clk: Add dt-binding header for RV1126

2022-07-27 Thread Jagan Teki
Add the dt-bindings header for the Rockchip RV1126, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Finley Xiao Signed-off-by: Jagan Teki --- include/dt-bindings/clock/rv1126-cru.h | 632 + 1 file changed, 632

[PATCH 15/28] clk: rockchip: Add rv1126 clk support

2022-07-27 Thread Jagan Teki
Add clock driver support for Rockchip RV1126 SoC. Signed-off-by: Joseph Chen Signed-off-by: Jagan Teki --- drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk_rv1126.c | 1889 + 2 files changed, 1890 insertions(+) create mode 100644

[PATCH 16/28] dt-bindings: power: Add power-domain header for rv1126

2022-07-27 Thread Jagan Teki
Add power-domain header for RV1126 SoC from description in TRM. Signed-off-by: Elaine Zhang Signed-off-by: Jagan Teki --- include/dt-bindings/power/rv1126-power.h | 35 1 file changed, 35 insertions(+) create mode 100644 include/dt-bindings/power/rv1126-power.h diff

[PATCH 14/28] arch: rockchip: Add cru header for rv1126

2022-07-27 Thread Jagan Teki
Add clock and reset unit header include for rv1126. Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/cru_rv1126.h| 459 ++ 1 file changed, 459 insertions(+) create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rv1126.h diff --git

[PATCH 13/28] pinctrl: rockchip: Add rv1126 support

2022-07-27 Thread Jagan Teki
Add pinctrl driver for Rockchip RV1126. Signed-off-by: Jianqun Xu Signed-off-by: Jagan Teki --- drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl-rv1126.c | 416 ++ 2 files changed, 417 insertions(+) create mode 100644

[PATCH 12/28] pinctrl: rockchip: Add pinctrl route types

2022-07-27 Thread Jagan Teki
Some pins in rockchip are routed via Top GRF and PMU GRF instead of direct regmap. Add support to handle all these routing paths so that the SoC pinctrl drivers will use them accordingly. Signed-off-by: Jianqun Xu Signed-off-by: Jagan Teki --- drivers/pinctrl/rockchip/pinctrl-px30.c |

[PATCH 09/28] ram: rockchip: Add rv1126 ddr driver support

2022-07-27 Thread Jagan Teki
Add DDR driver for Rockchip RV1126 SoC. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- .../asm/arch-rockchip/dram_spec_timing.h | 452 +++ .../include/asm/arch-rockchip/sdram_common.h | 212 + .../include/asm/arch-rockchip/sdram_msch.h| 12 +

[PATCH 11/28] ram: rockchip: Add rv1126 lpddr4 support

2022-07-27 Thread Jagan Teki
Add LPDDR4 detection timings and support for RV1126. Signed-off-by: Jagan Teki --- .../sdram-rv1126-lpddr4-detect-1056.inc | 78 +++ .../sdram-rv1126-lpddr4-detect-328.inc| 78 +++ .../sdram-rv1126-lpddr4-detect-396.inc| 78

[PATCH 10/28] ram: rockchip: rv1126: Control ddr init prints via DEBUG

2022-07-27 Thread Jagan Teki
Control the ddr init print messages via RAM_ROCKCHIP_DEBUG instead of printing by default. This gives an option to configs to enable these prints or not. Signed-off-by: Jagan Teki --- drivers/ram/rockchip/sdram_rv1126.c | 38 +++-- 1 file changed, 25 insertions(+), 13

[PATCH 08/28] ram: rockchip: Add rv1126 ddr loader params

2022-07-27 Thread Jagan Teki
Add DDR loader parameters for Rockchip RV1126 SoC. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- .../rockchip/sdram-rv1126-loader_params.inc | 198 ++ 1 file changed, 198 insertions(+) create mode 100644 drivers/ram/rockchip/sdram-rv1126-loader_params.inc diff

[PATCH 07/28] ram: rockchip: Add rv1126 ddr3 support

2022-07-27 Thread Jagan Teki
Add DDR3 detection timings for Rockchip RV1126 SoC. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- .../sdram-rv1126-ddr3-detect-1056.inc | 72 +++ .../rockchip/sdram-rv1126-ddr3-detect-328.inc | 72 +++

[PATCH 05/28] ram: rockchip: Update high row detection for full bw

2022-07-27 Thread Jagan Teki
High row detection for non-8bit bw requires axi split. So, update the existing high row detection code in order to support full bw chips. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- .../include/asm/arch-rockchip/sdram_common.h | 2 +- drivers/ram/rockchip/sdram_common.c

[PATCH 06/28] ram: rockchip: Update ddr pctl regs for px30

2022-07-27 Thread Jagan Teki
Add full ddr pctl registers and bit masks for px30. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki --- .../asm/arch-rockchip/sdram_pctl_px30.h | 100 +- drivers/ram/rockchip/sdram_pctl_px30.c| 6 +- 2 files changed, 101 insertions(+), 5 deletions(-) diff

[PATCH 04/28] ram: rockchip: Compute ddr capacity based on grf split

2022-07-27 Thread Jagan Teki
DDR chip capacity is computed based on GRF split in some Rockchip SoC's like PX30 and RV1126. Add split argument in ddr print info so-that the respective ddr driver will pass the grf split. Signed-off-by: YouMin Chen Signed-off-by: Jagan Teki ---

[PATCH 03/28] tools: rkcommon: Correct SPL size for px30

2022-07-27 Thread Jagan Teki
Rockchip PX30 has 16KB sram, bootrom reserved 4KB as stack. Correct it. Signed-off-by: Jagan Teki --- tools/rkcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rkcommon.c b/tools/rkcommon.c index 0db45c2d41..1325aa83cb 100644 --- a/tools/rkcommon.c +++

[PATCH 02/28] ram: rockchip: Add common ddr type configs

2022-07-27 Thread Jagan Teki
We have common ddr types in rockchip or in general. So use the common ddr type names instead of per Rockchip SoC to avoid confusion. The respective ddr type names will use on the associated ddr SoC driver as these drivers are built per SoC at a time. Signed-off-by: Jagan Teki ---

[PATCH 01/28] ram: Mark ram-uclass depend on TPL_DM or SPL_DM

2022-07-27 Thread Jagan Teki
ram-uclass is building irrespective of whether TPL_DM or SPL_DM is enabled. So control the ram uclass build based on TPL/SPL_DM. Signed-off-by: Jagan Teki --- drivers/ram/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ram/Makefile b/drivers/ram/Makefile

[PATCH 00/28] ARM: Add Rockchip RV1126 support

2022-07-27 Thread Jagan Teki
From: Jagan Teki RV1126 is a high-performance vision processor SoC for IPC/CVR, especially for AI related application. This patch series add basic core support for Rockchip RV1126 and boot from eMMC and SD. Linux support is under review for the same [2]. Tested RV1126 in Edgeble AI Edge

[PATCH V3] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards

2022-07-27 Thread Michael Trimarchi
Introduce BSH SystemMaster (SMM) M2 board family, which consists of: imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards. Add support for imx6ulz BSH SMM M2 board: - 128 MiB DDR3 RAM - 256MiB Nand - USBOTG1 peripheral - fastboot. Signed-off-by: Michael Trimarchi --- Changes V2->V3: - remove

[PATCH v3 2/8] ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header

2022-07-27 Thread sbabic
> Add binding header for i.MXRT1170 pinctrl device tree. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang

[PATCH v3 3/8] dt-bindings: imx: Add clock binding for i.MXRT1170

2022-07-27 Thread sbabic
> Add the clock binding doc for i.MXRT1170. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH v3 7/8] ARM: dts: imx: add i.MXRT1170-EVK support

2022-07-27 Thread sbabic
> The NXP i.MXRT1170 Evaluation Kit (EVK) provides a platform for rapid > evaluation of the i.MXRT, which features NXP's implementation of the Arm > Cortex-M7 and Cortex-M4 core. > The EVK provides 64 MB SDRAM, Micro SD card socket, > USB 2.0 OTG. > This patch aims to support the preliminary

[PATCH v3 5/8] clk: imx: Add initial support for i.MXRT1170 clock driver

2022-07-27 Thread sbabic
> Add clock driver support for i.MXRT1170. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH v3 4/8] clk: imx: Add i.MXRT11xx pllv3 variant

2022-07-27 Thread sbabic
> The i.MXRT11 series has two new pll types but are variants of existing. > This patch adds the ability to read one of the pll types' frequency > as it can't be changed unlike the generic pll it also has the > division factors swapped. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master,

[PATCH v3 8/8] ARM: imxrt1170_defconfig: Add i.MXRT1170 defconfig

2022-07-27 Thread sbabic
> Add a base defconfig for the i.MXRT1170 > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235

[PATCH v3 1/8] imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK

2022-07-27 Thread sbabic
> This commit adds board support for i.MXRT1170-EVK from NXP. This board > is an evaluation kit provided by NXP for i.MXRT117x processor family. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v3 6/8] RAM: Add changes for i.MXRT11xx series

2022-07-27 Thread sbabic
> The i.MXRT11 series has different offsets for IOCR_MUX, it also can > address 64MiB of SDRAM so add a macro for that. > Signed-off-by: Jesse Taube Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH] scripts/config: pick config script from kernel scripts

2022-07-27 Thread Milan P . Stanić
pulled from kernel tag v5.18 --- scripts/config | 230 + 1 file changed, 230 insertions(+) create mode 100755 scripts/config diff --git a/scripts/config b/scripts/config new file mode 100755 index 00..ff88e2faef --- /dev/null +++

Re: [PATCH] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards

2022-07-27 Thread Michael Nazzareno Trimarchi
Hi Stefano On Wed, Jul 27, 2022 at 5:02 PM Stefano Babic wrote: > > On 17.07.22 17:56, Michael Trimarchi wrote: > > Introduce BSH SystemMaster (SMM) M2 board family, which consists of: > > imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards. > > > > Add support for imx6ulz BSH SMM M2 board: > > > > -

Re: [PATCH] tools: relocate-rela: Don't assume defines Microblaze stuff

2022-07-27 Thread Mark Kettenis
> Date: Wed, 27 Jul 2022 17:59:02 +0200 > From: Michal Simek > > On 7/27/22 16:34, Mark Kettenis wrote: > > The contents of differ between OSes. It may only define > > the relocation types for the host architecture, and may not contain > > machine-specific defines for more obscure

Re: [PATCH/RFC] rockchip: derive GPIO bank from alias if available

2022-07-27 Thread John Keeping
Hi Simon, On Tue, Jul 26, 2022 at 01:53:44PM -0600, Simon Glass wrote: > On Tue, 26 Jul 2022 at 10:25, John Keeping wrote: > > > > Upstream device trees now use standard node names like "gpio@ff..." but > > the rk_gpio driver expects a name like "gpio0@ff..." (note the index > > before the @). >

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Heinrich Schuchardt
On 7/27/22 17:07, Martin Bonner wrote: Martin On Wed, 27 Jul 2022 at 14:29, Heinrich Schuchardt mailto:xypron.g...@gmx.de>> wrote: On 7/25/22 09:42, Martin Bonner wrote: > * Add three more modules that are required. > * Remove the version numbers (because they are hard to keep

Re: [PATCH] tools: relocate-rela: Don't assume defines Microblaze stuff

2022-07-27 Thread Michal Simek
On 7/27/22 16:34, Mark Kettenis wrote: The contents of differ between OSes. It may only define the relocation types for the host architecture, and may not contain machine-specific defines for more obscure architectures (such as Microblaze) at all. Define the relevant constants for

[PATCH] lz4: Fix compile warning comparison of distinct pointer types

2022-07-27 Thread Pali Rohár
In file included from include/linux/bitops.h:22, from include/log.h:15, from include/linux/printk.h:4, from include/common.h:20, from lib/lz4_wrapper.c:6: lib/lz4_wrapper.c: In function ‘ulz4fn’: include/linux/kernel.h:184:17:

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 04:15:52PM +0100, Martin Bonner wrote: > Martin > > > On Wed, 27 Jul 2022 at 15:15, Tom Rini wrote: > > > On Wed, Jul 27, 2022 at 03:56:07PM +0200, Heinrich Schuchardt wrote: > > > On 7/27/22 15:51, Heinrich Schuchardt wrote: > > > > On 7/27/22 15:29, Heinrich

[PATCH] board: freescale: p1_p2_rdb_pc: Remove I-flag from second L2 SRAM mapping

2022-07-27 Thread Pali Rohár
U-Boot for initial L2 SRAM uses L2 memory-mapping mode and not L2 with locked lines. P2020 reference manual about L2 memory-mapping mode says: Accesses to memory-mapped SRAM are cacheable only in the corresponding e500 L1 caches. So there is no need to set Caching-Inhibit I-bit for second

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Martin Bonner
Martin On Wed, 27 Jul 2022 at 15:15, Tom Rini wrote: > On Wed, Jul 27, 2022 at 03:56:07PM +0200, Heinrich Schuchardt wrote: > > On 7/27/22 15:51, Heinrich Schuchardt wrote: > > > On 7/27/22 15:29, Heinrich Schuchardt wrote: > > > > On 7/25/22 09:42, Martin Bonner wrote: > > > > > * Add three

[PATCH 1/1] Azure: Move to using macOS-12 image

2022-07-27 Thread Tom Rini
As per https://github.com/actions/virtual-environments/issues/5583 the macOS-10.15 image is being deprecated. Move us up to macOS-12. Signed-off-by: Tom Rini --- .azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Martin Bonner
Martin On Wed, 27 Jul 2022 at 14:29, Heinrich Schuchardt wrote: > On 7/25/22 09:42, Martin Bonner wrote: > > * Add three more modules that are required. > > * Remove the version numbers (because they are hard to keep in sync > >with the latest MSYS2 versions) > > * Add a pacman command

Re: [PATCH] bsh: imx6ulz_smm_m2: Add imx6ulz BSH SMM M2 boards

2022-07-27 Thread Stefano Babic
On 17.07.22 17:56, Michael Trimarchi wrote: Introduce BSH SystemMaster (SMM) M2 board family, which consists of: imx6ulz SMM M2 and imx6ulz SMM M2 PRO boards. Add support for imx6ulz BSH SMM M2 board: - 128 MiB DDR3 RAM - 256MiB Nand - USBOTG1 peripheral - fastboot.

[PATCH] tools: relocate-rela: Don't assume defines Microblaze stuff

2022-07-27 Thread Mark Kettenis
The contents of differ between OSes. It may only define the relocation types for the host architecture, and may not contain machine-specific defines for more obscure architectures (such as Microblaze) at all. Define the relevant constants for Microblaze locally if they are not provided by .

Re: [PATCH] cmd: part: Add partition-related type command

2022-07-27 Thread Heinrich Schuchardt
On 7/27/22 15:35, Enric Balletbo i Serra wrote: This implements the following command: part type mmc 0:1 -> print partittion type UUID %s/partittion/partition/ part type mmc 0:1 uuid -> set environment variable to partition type UUID "part type" can be useful when

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 03:56:07PM +0200, Heinrich Schuchardt wrote: > On 7/27/22 15:51, Heinrich Schuchardt wrote: > > On 7/27/22 15:29, Heinrich Schuchardt wrote: > > > On 7/25/22 09:42, Martin Bonner wrote: > > > > * Add three more modules that are required. > > > > * Remove the version numbers

Re: [PATCH] cmd: part: Add partition-related type command

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 03:35:34PM +0200, Enric Balletbo i Serra wrote: > This implements the following command: > > part type mmc 0:1 > -> print partittion type UUID > part type mmc 0:1 uuid > -> set environment variable to partition type UUID > > "part type" can be useful

Re: [PATCH v2] Provide more details of exactly how configuration signatures are calculated

2022-07-27 Thread Heinrich Schuchardt
On 7/25/22 09:45, Martin Bonner wrote: Describe exactly which bytes are hashed and in what order when signing a configuration. Signed-off-by: Martin Bonner This is not a valid patch. Please, use git send-email to send patches. $ git am /tmp/1.patch Applying: Provide more details of exactly

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Heinrich Schuchardt
On 7/27/22 15:51, Heinrich Schuchardt wrote: On 7/27/22 15:29, Heinrich Schuchardt wrote: On 7/25/22 09:42, Martin Bonner wrote: * Add three more modules that are required. * Remove the version numbers (because they are hard to keep in sync    with the latest MSYS2 versions) * Add a pacman

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Heinrich Schuchardt
On 7/27/22 15:29, Heinrich Schuchardt wrote: On 7/25/22 09:42, Martin Bonner wrote: * Add three more modules that are required. * Remove the version numbers (because they are hard to keep in sync    with the latest MSYS2 versions) * Add a pacman command line to install everything.

[PATCH] cmd: part: Add partition-related type command

2022-07-27 Thread Enric Balletbo i Serra
This implements the following command: part type mmc 0:1 -> print partittion type UUID part type mmc 0:1 uuid -> set environment variable to partition type UUID "part type" can be useful when writing a bootcmd which searches for a specific partition type to enable automatic

Re: [PATCH v4] Improve Windows build documentation

2022-07-27 Thread Heinrich Schuchardt
On 7/25/22 09:42, Martin Bonner wrote: * Add three more modules that are required. * Remove the version numbers (because they are hard to keep in sync with the latest MSYS2 versions) * Add a pacman command line to install everything. Signed-off-by: Martin Bonner Your mail is not a valid

Re: [PATCH] MAINTAINERS: Change POWERPC MPC85XX maintainer to Marek Behún

2022-07-27 Thread Tom Rini
On Mon, Jul 25, 2022 at 05:06:15PM +0200, Marek Behún wrote: > After a discussion with Tom Rini, we've agreed that I am going to take > over custodianship of the MPC85XX platform, since it seems other people > do not have necessary interest or time and getting things done over > there takes too

Re: Build with CONFIG_TOOLS_LIBCRYPTO disabled is broken

2022-07-27 Thread Tom Rini
On Tue, Jul 26, 2022 at 10:27:01AM +0200, Alexander Dahl wrote: > Hei hei, > > once again I tried building U-Boot with CONFIG_TOOLS_LIBCRYPTO disabled and > with no libssl-dev installed on the build machine. It does not work. > > Even porting the patch disabling the build with kwbimage (see

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

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 05:01:03PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-mmc master into u-boot master branch. > If there is any problem, let me know, plz. > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/12906 >

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

2022-07-27 Thread Tom Rini
On Wed, Jul 27, 2022 at 03:25:16PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Please pull u-boot-pmic master into u-boot master branch. > If there is a problem, let me know, plz > > Best Regards, > Jaehoon Chung > > CI: https://source.denx.de/u-boot/custodians/u-boot-pmic/-/pipelines/12905 >

Re: Please pull u-boot-dm

2022-07-27 Thread Tom Rini
On Tue, Jul 26, 2022 at 10:37:03PM -0600, Simon Glass wrote: > Hi Tom, > > Build here: > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/12903 > > > The following changes since commit 6e15cda270a060cf87c6c643a1cc3da65ffb242d: > > Prepare v2022.10-rc1 (2022-07-25 20:31:12

[PATCH u-boot-marvell] arm: mvebu: turris_omnia: Fix mpp26 pin name and comment

2022-07-27 Thread Marek Behún
There is a bug in Turris Omnia's schematics, whereupon the MPP[26] pin, which is routed to CN11 pin header, is documented as SPI CS1, but MPP[26] pin does not support this function. Instead it controls chip select 2 if in "spi0" mode. Fix the name of the pin node in pinctrl node and fix the

Re: [PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Michael Nazzareno Trimarchi
Hi Pali On Wed, Jul 27, 2022 at 2:49 PM Pali Rohár wrote: > > Linux kernel uses compatible string "marvell,armada370-nand-controller" for > nand controllers on Armada 370/XP/38x. U-Boot currently uses mix of > "marvell,armada370-nand" and "marvell,mvebu-pxa3xx-nand". > > So unify it and use just

[PATCH 4/4] arm: mvebu: Synchronize armada-385-turris-omnia with Linux v5.20

2022-07-27 Thread Pali Rohár
* Add SPDX-License-Identifier * Add SFP and LED nodes * Fix PHY nad NOR nodes * Remove duplicates from u-boot.dtsi file Signed-off-by: Pali Rohár --- .../dts/armada-385-turris-omnia-u-boot.dtsi | 5 +- arch/arm/dts/armada-385-turris-omnia.dts | 228 ++ 2 files changed,

[PATCH 2/4] arm: mvebu: Synchronize armada-38x.dtsi with Linux v5.20

2022-07-27 Thread Pali Rohár
* Replace skeleton.dtsi by explicit #address-cells / #size-cells * Add sdramc@1400 and phy@18300 nodes * Remove (unused) timeout-ms i2c properties * Fix compatible string for UARTs * Add interrupts properties for watchdog Signed-off-by: Pali Rohár --- arch/arm/dts/armada-38x.dtsi | 55

[PATCH 3/4] arm: mvebu: Synchronize armada-385.dtsi with Linux v5.20

2022-07-27 Thread Pali Rohár
* Define PCIe interrupts Signed-off-by: Pali Rohár --- arch/arm/dts/armada-385.dtsi | 52 ++-- 1 file changed, 44 insertions(+), 8 deletions(-) diff --git a/arch/arm/dts/armada-385.dtsi b/arch/arm/dts/armada-385.dtsi index 581a7d9beac3..48072fc7fd4a 100644 ---

[PATCH 1/4] arm: mvebu: Fix compatible string for nand controller

2022-07-27 Thread Pali Rohár
Linux kernel uses compatible string "marvell,armada370-nand-controller" for nand controllers on Armada 370/XP/38x. U-Boot currently uses mix of "marvell,armada370-nand" and "marvell,mvebu-pxa3xx-nand". So unify it and use just Linux kernel compatible string. Signed-off-by: Pali Rohár ---

RE: [PATCH 3/3] mmc: fsl_esdhc_imx: correct the actual card clock

2022-07-27 Thread Bough Chen
> -Original Message- > From: Tim Harvey > Sent: 2022年7月23日 10:23 > To: Bough Chen > Cc: Peng Fan ; Jaehoon Chung > ; Fabio Estevam ; Sean > Anderson ; u-boot ; Marek > Vasut ; Adam Ford ; Andrey Zhizhikin > ; dl-uboot-imx > Subject: Re: [PATCH 3/3] mmc: fsl_esdhc_imx: correct the

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

2022-07-27 Thread Fabio Estevam
[Adding Josua] On Tue, Jul 26, 2022 at 3:12 PM Tom Rini wrote: > So, funny issue here now. With: > commit d0399a46e7cda63c07e3eb8558bef84cfb068028 > Author: Marcel Ziswiler > Date: Thu Jul 21 15:27:26 2022 +0200 > > imx6dl/imx6qdl: synchronise device trees with linux > > Synchronise

Re: [PATCH v7 08/13] FWU: Add boot time checks as highlighted by the FWU specification

2022-07-27 Thread Sughosh Ganu
hi Ilias, On Wed, 20 Jul 2022 at 13:06, Ilias Apalodimas wrote: > > Hi Sughosh, > > > > > > + nimages = CONFIG_FWU_NUM_IMAGES_PER_BANK; > > > + active_bank = mdata->active_index; > > > + img_entry = >img_entry[0]; > > > + for (i = 0; i < nimages; i++) { > > > +

Re: [PATCH] ARM: relocate: Fix Thumb code by using proper label type

2022-07-27 Thread Tom Rini
On Tue, Jul 12, 2022 at 12:00:23PM +0100, Andre Przywara wrote: > The generic ARM relocate_code function was using its own function entry > point as a relocation base, and it was obtaining that address by using > the "adr" instruction on that entry point label. > However that label is not just an

Re: Replace make-fit-atf.py with binman. Was: migrate u-boot-rockchip.bin to binman and generate an image for SPI

2022-07-27 Thread Quentin Schulz
Hi Simon, On 7/26/22 21:58, Simon Glass wrote: Hi Quentin, On Tue, 26 Jul 2022 at 03:08, Quentin Schulz wrote: Hi Xavier, On 7/25/22 19:33, Xavier Drudis Ferran wrote: El Mon, Jul 25, 2022 at 07:29:53PM +0200, Xavier Drudis Ferran deia: I copy here the rockchip-u-boot.dtsi file and then

[PATCH v2 2/2] arm: dts: qcom: Sync pinctrl DT nodes with Linux bindings

2022-07-27 Thread Sumit Garg
Currently for all Qcom SoCs/boards there are separate compatibles for GPIO and pinctrl. But this is inconsistent with official (upstream) Linux bindings which requires only a single compatible "qcom,-pinctrl" and there is no such compatible property as "qcom,tlmm-". So fix this inconsistency for

[PATCH v2 1/2] pinctrl: sdm845: Remove redundant CONFIG_SDM845 check

2022-07-27 Thread Sumit Garg
DT compatible is sufficient to make platform specific differentiation, so remove redundant CONFIG_SDM845 check. Signed-off-by: Sumit Garg --- arch/arm/mach-snapdragon/Makefile | 2 +- arch/arm/mach-snapdragon/pinctrl-snapdragon.c | 2 -- 2 files changed, 1 insertion(+), 3

[PATCH v2 0/2] Initial step for Linux DT sync on Qcom SoCs

2022-07-27 Thread Sumit Garg
This is an initial step towards achieving complete Linux DT sync on Qcom SoCs/boards. It syncs up DT compatibles for pinctrl and GPIO drivers. Changes in v2: - Separate patch for CONFIG_SDM845 check removal. - Fix pinctrl DT compatibles for db410c and db820c. Sumit Garg (2): pinctrl: sdm845:

  1   2   >