[PATCH v2] common: Add CONFIG_SKIP_RELOCATE

2025-04-09 Thread Jesse Taube
Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the relocation of the U-Boot image. CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM allowing for systems that have extremely limited RAM to run U-Boot. Signed-off-by: Jesse Taube Reviewed-by: Tom Rini Reviewed-by

[PATCH] common: Add CONFIG_SKIP_RELOCATE

2025-04-01 Thread Jesse Taube
Add a check for CONFIG_SKIP_RELOCATE in reserve_uboot to skip the relocation of the U-Boot image. CONFIG_SKIP_RELOCATE skips relocation of U-Boot to the end of RAM allowing for systems that have extremely limited ram to run U-Boot. Signed-off-by: Jesse Taube --- Kconfig | 7

[PATCH v3] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-27 Thread Jesse Taube
The device tree for imxrt1050 is now available in the /dts/upstream directory. Migrate board to use OF_UPSTREAM. Signed-off-by: Jesse Taube --- V1 -> V2: - No change V2 -> V3: - Remove imxrt1050-evk.dtb from Makefile --- arch/arm/dts/Makefile| 3 +- arch/arm/dts/imx

[PATCH v2 2/2] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-17 Thread Jesse Taube
The device tree for imxrt1050 is now available in the /dts/upstream directory. Migrate board to use OF_UPSTREAM. Signed-off-by: Jesse Taube --- V1 -> V2: - No change --- arch/arm/dts/imxrt1050-evk.dts | 72 -- arch/arm/dts/imxrt1050-pinfunc.h | 993 --- a

[PATCH v2 1/2] ARM: dts: imxrt1050: Fix clocks for mmc

2025-01-17 Thread Jesse Taube
One of the usdhc1 controller's clocks should be IMXRT1050_CLK_AHB_PODF not IMXRT1050_CLK_OSC. Fixes: 1c4f01be3490 ("ARM: dts: imx: Add i.MXRT1050-EVK support") Signed-off-by: Jesse Taube Signed-off-by: Shawn Guo [ upstream commit: 5f122030061db3e5d2bddd9cf5c583deaa6c54ff ] (che

[PATCH] pinctrl: imx: Fix NULL dereference in imx_pinctrl_probe()

2025-01-16 Thread Jesse Taube
When converting to ofnode `ofnode_read_u32` was accedentally used to replace `fdtdec_get_int` instead of `ofnode_read_u32_default`. Use `ofnode_read_u32_default` to fix this. Fixes: 59382d2 ("pinctrl: imx: Convert to use livetree API for fdt access") Signed-off-by: Jesse Taube --

[PATCH] ARM: dts: imxrt1050: Migrate to OF_UPSTREAM

2025-01-16 Thread Jesse Taube
The device tree for imxrt1050 is now available in the /dts/upstream directory. Migrate board to use OF_UPSTREAM. Signed-off-by: Jesse Taube --- Please note /dts/upstream still needs to be updated the upstream commit is 5f122030061db3e5d2bddd9cf5c583deaa6c54ff --- arch/arm/dts/imxrt1050-evk.dts

[PATCH 2/4] imx: imxrt1050-evk: Fix missing clocks for mmc

2024-10-25 Thread Jesse Taube
k API") Signed-off-by: Jesse Taube Cc: Peng Fan --- arch/arm/dts/imxrt1050.dtsi | 2 +- drivers/clk/imx/clk-imxrt1050.c | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/imxrt1050.dtsi b/arch/arm/dts/imxrt1050.dtsi index 03e6a858a7b..a25eae9bd38 100644 ---

[PATCH 1/4] imx: imxrt*: Fix binman breaking boot

2024-10-24 Thread Jesse Taube
The init_r parsing of U-Boot device tree to search the binman information errors. set CONFIG_BINMAN_FDT to no to fix this. Fixes: 7079eeb72fc ("imx: imxrt1050-evk: Add support for SPI flash booting s") Signed-off-by: Jesse Taube --- configs/imxrt1020-evk_defconfig | 1 + configs

[PATCH 4/4] ARM: dts: imxrt1170: Fix default cells value warnings

2024-10-24 Thread Jesse Taube
Add #address-cells and #size-cells to the memory node to fix warnings Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1170-evk.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imxrt1170-evk.dts b/arch/arm/dts/imxrt1170-evk.dts index c2fd0c0392c..0d8e7016860 100644 --- a

[PATCH 3/4] configs: imxrt1050-evk: Enable standard boot

2024-10-24 Thread Jesse Taube
Enable standard boot support and add default environments for the imxrt1050-evk board. Signed-off-by: Jesse Taube --- board/freescale/imxrt1050-evk/imxrt1050-evk-nor.env | 13 + board/freescale/imxrt1050-evk/imxrt1050-evk.env | 13 + configs/imxrt1050-evk_defconfig

[PATCH v4 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-19 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Enable binman in Kconfig and device tree for imxrt* as it is used to prepend fspi_header.bin to SPL and u-boot.img. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defconfig

[PATCH v4 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-19 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number V2 -> V3: - No changes V3 -> V4: - No changes --- doc/board/nxp/imxrt1050-evk

[PATCH v3 3/3] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-18 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number V2 -> V3: - No changes --- doc/board/nxp/imxrt1050-evk.rs

[PATCH v3 1/3] arm: dts: imxrt: Add binman support

2024-02-18 Thread Jesse Taube
Enable binman in Kconfig and in device tree. Signed-off-by: Jesse Taube --- V2 -> V3: - New commit --- arch/arm/dts/imxrt1020-evk-u-boot.dtsi | 4 arch/arm/dts/imxrt1050-evk-u-boot.dtsi | 4 arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 4 arch/arm/mach-imx/imxrt/Kconfig

[PATCH v3 2/3] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-18 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defconfig to MAINTAINERS - Change Copyright of imximage-nor.cfg to myself - Fix spelling and grammar - Use imperative mood V2 -&

[PATCH v2 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-02-06 Thread Jesse Taube
Add support for booting the imxrt1050-evk from spi. Add imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- V1 -> V2: - Add defconfig to MAINTAINERS - Change Copyright of imximage-nor.cfg to myself - Fix spelling and grammar - Use imperative m

[PATCH v2 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-02-06 Thread Jesse Taube
Add documentation for SPI boot. Signed-off-by: Jesse Taube --- V1 -> V2: - Change s/Adds/Add - Change imxrt1050-evk_spi to fspi - Fix spelling and grammar - Mention the SPI NOR flash part number --- doc/board/nxp/imxrt1050-evk.rst | 30 ++ 1 file changed,

[PATCH v1] doc: imx: imxrt1170: Document imxrt1170-evk board

2024-02-01 Thread Jesse Taube
Add documentation for imxrt1170-evk. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1170-evk.rst | 42 + 1 file changed, 42 insertions(+) create mode 100644 doc/board/nxp/imxrt1170-evk.rst diff --git a/doc/board/nxp/imxrt1170-evk.rst b/doc/board/nxp

[PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2024-01-28 Thread Jesse Taube
Adds documentation for SPI boot. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1050-evk.rst | 29 + 1 file changed, 29 insertions(+) diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f0cd..aca5071181 100644 --- a/doc

[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2024-01-28 Thread Jesse Taube
This add some macros to change addresses to use flexspi. This commit adds support for booting the imxrt1050-evk from spi. It adds imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1050-evk-u-boot.dtsi| 31 ++ arch/arm/mach

[PATCH v1] tools: mkimage: Add support for i.MXRT FlexSPI Header

2024-01-23 Thread Jesse Taube
Modify imx8m Flex SPI Configuration Block to work with imxrt. Add more Flex SPI configuration options to Kconfig. Signed-off-by: Jesse Taube --- include/imximage.h | 42 + tools/Kconfig | 21 + tools/imx8mimage.c | 41 tools

[PATCH v1] configs: imxrt1050-evk: enable distro bootcmd

2023-09-17 Thread Jesse Taube
Add support to boot from script.scr from mmc. imxrt1050-evk was not able to boot from script.scr because we did not include config_distro_bootcmd.h and set the device to mmc. Signed-off-by: Jesse Taube --- configs/imxrt1050-evk_defconfig | 2 +- include/configs/imxrt1050-evk.h | 15

[PATCH v2] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-24 Thread Jesse Taube
iable were unaffected because they were using the default value which is CONFIG_TEXT_BASE. This commit converts CFG_SYS_UBOOT_START to Kconfig and sets the default value to CONFIG_TEXT_BASE. Suggested-by: Marek Vasut Suggested-by: Tom Rini Signed-off-by: Jesse Taube --- V1->V2: - Add &quo

[PATCH] Convert CFG_SYS_UBOOT_START to Kconfig

2023-08-23 Thread Jesse Taube
iable were unaffected because they were using the default value which is CONFIG_TEXT_BASE. This commit converts CFG_SYS_UBOOT_START to Kconfig and sets the default value to CONFIG_TEXT_BASE. Suggested-by: Marek Vasut Suggested-by: Tom Rini Signed-off-by: Jesse Taube ---

Re: [PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-19 Thread Jesse Taube
This option should be enabled if compiling the kernel for > -an embedded system so certain expert options are available > -for configuration. Wouldn't removing this break many out of tree configs? Should there be a warning here to update change it instead of removal? Thanks, Jesse Taube

Re: [PATCH] treewide: drop CONFIG_EMBEDDED

2023-08-16 Thread Jesse Taube
This option should be enabled if compiling the kernel for > -an embedded system so certain expert options are available > -for configuration. Wouldn't removing this break many out of tree configs? Should there be a warning here to update change it instead of removal? Thanks, Jesse Taube

Re: [PATCH] hw/riscv: boot: Don't use CSRs if they are disabled

2023-01-23 Thread Jesse Taube
> From: Alistair Francis > > If the CSRs and CSR instructions are disabled because the Zicsr > extension isn't enabled then we want to make sure we don't run any CSR > instructions in the boot ROM. > > This patches removes the CSR instructions from the reset-vec if the > extension isn't enabled.

Re: [PATCH v2 3/4] sunxi: binman: Support FIT generation for 32-bit SoCs

2023-01-22 Thread Jesse Taube
On 1/22/23 16:15, Samuel Holland wrote: Some 32-bit SoCs can use SCP firmware to implement additional PSCI functionality, such as system suspend. In order to load this firmware from SPL, we need to generate and use a FIT instead of a legacy image. Adjust the binman FIT definition so it does n

Re: [PATCH v3 3/8] imxrt1050: synchronise device tree with linux

2022-10-23 Thread Jesse Taube
On 10/23/22 18:13, Marcel Ziswiler wrote: Hi Giulio On Sun, 2022-10-23 at 01:47 +0200, Giulio Benetti wrote: Hi Marcel, Il 22/10/2022 23:42, Marcel Ziswiler ha scritto: From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- Changes in v3

Re: [PATCH v2 3/8] imxrt1050: synchronise device tree with linux

2022-10-23 Thread Jesse Taube
On 10/22/22 08:57, Marcel Ziswiler wrote: Hi Jesse Sorry, I kinda missed your reply and imx maintainership was quiet for quite some time. I am now preparing a v3 taking your feedback into account. Thanks! On Sun, 2022-08-28 at 02:50 -0400, Jesse Taube wrote: On 8/26/22 14:31, Marcel

Re: [PATCH 6/6] sunxi: add CherryPi-F1C200s support

2022-10-13 Thread Jesse Taube
0..306d363f485 --- /dev/null +++ b/configs/cherrypi_f1c200s_defconfig @@ -0,0 +1,11 @@ +CONFIG_ARM=y +CONFIG_SYS_DCACHE_OFF=y +CONFIG_ARCH_SUNXI=y +CONFIG_DEFAULT_DEVICE_TREE="suniv-f1c100s-cherrypi-f1c200s" +CONFIG_SPL=y +CONFIG_MACH_SUNIV=y +CONFIG_DRAM_CLK=156 +CONFIG_DRAM_ZQ=

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

2022-08-31 Thread Jesse Taube
On 7/27/22 13:19, sba...@denx.de wrote: 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 ! Was this ever applied? Thanks, Jesse Best regards, Stefano Babic

Re: [PATCH v2 3/8] imxrt1050: synchronise device tree with linux

2022-08-27 Thread Jesse Taube
On 8/26/22 14:31, Marcel Ziswiler wrote: From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Signed-off-by: Marcel Ziswiler --- Changes in v2: - imxrt1050: Re-added DDR timings aka semc node as pointed out by Fabio. Thanks! arch/arm/dts/imxrt1050-evk-u-boot.dtsi |

Re: [PATCH v1 3/8] imxrt1050: synchronise device tree with linux

2022-08-26 Thread Jesse Taube
On 8/26/22 06:49, Fabio Estevam wrote: Hi Marcel, On Fri, Aug 26, 2022 at 6:55 AM Marcel Ziswiler wrote: From: Marcel Ziswiler Synchronise device tree with linux v6.0-rc1. Thanks for working on this. -&semc { - /* -* Memory configuration from sdram datasheet IS42S16160J

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

2022-07-25 Thread Jesse Taube
ng up features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- V1 -> V2: * Remove unused constant clocks V2 -> V3: * Nothing done --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 94 + arch/arm/dts/imxrt1170-evk.dts

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

2022-07-25 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Rebase --- configs/imxrt1170-evk_defconfig | 70 + include/configs/imxrt1170-evk.h | 29 ++ 2 files changed, 99 insertions(+) creat

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

2022-07-25 Thread Jesse Taube
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 --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory

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

2022-07-25 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Use C file not dts for constant clock divider V2 -> V3: * Nothing done --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c

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

2022-07-25 Thread Jesse Taube
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 --- V1 -> V2: * Change BM_

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

2022-07-25 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-c

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

2022-07-25 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done V2 -> V3: * Nothing done --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imx

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

2022-07-25 Thread Jesse Taube
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 --- V1 -> V2: * Nothing done V2 -> V3: * Rebase --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/ma

[PATCH v3 0/8] Add support for the i.MXRT1170

2022-07-25 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

Re: [PATCH v2 0/8] Add support for the i.MXRT1170

2022-07-25 Thread Jesse Taube
ebase. Thanks, Jesse Check this job, too: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/471287 Best regards, Stefano On 17.06.22 18:42, Jesse Taube wrote: This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt117

Re: [PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-11 Thread Jesse Taube
On 7/11/22 10:19, Andre Przywara wrote: > On Mon, 11 Jul 2022 15:11:13 +0100 > Andre Przywara wrote: > >> On Mon, 11 Jul 2022 13:57:40 +0100 >> Andre Przywara wrote: >> >> Hi, >> >>> On Sun, 10 Jul 2022 03:09:53 -0400 >>> Jesse Taube

Re: [PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-11 Thread Jesse Taube
On 7/11/22 08:57, Andre Przywara wrote: > On Sun, 10 Jul 2022 03:09:53 -0400 > Jesse Taube wrote: > > Hi Jesse, > >> In Binutils 2.37 the ADR instruction has changed >> use alternate instructions. > > Can you elaborate on this? What has changed exactly, and

[PATCH v1] arm: relocate: Replace ADR instruction with non-pseudo-instruction

2022-07-10 Thread Jesse Taube
In Binutils 2.37 the ADR instruction has changed use alternate instructions. The change causes armv7-m to not boot. Signed-off-by: Jesse Taube --- arch/arm/lib/relocate.S | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/relocate.S b/arch/arm/lib

Re: [ANN] U-Boot v2022.01-rc3 released

2022-07-06 Thread Jesse Taube
On 7/6/22 10:47, Tom Rini wrote: On Wed, Jul 06, 2022 at 10:31:41AM -0400, Jesse Taube wrote: On 11/30/21 14:36, Tom Rini wrote: On Mon, Nov 29, 2021 at 09:35:52PM -0500, Jesse Taube wrote: On 11/29/21 11:28, Tom Rini wrote: Hey all, It's been two weeks since v2022.01-rc2, so h

Re: [ANN] U-Boot v2022.01-rc3 released

2022-07-06 Thread Jesse Taube
On 11/30/21 14:36, Tom Rini wrote: On Mon, Nov 29, 2021 at 09:35:52PM -0500, Jesse Taube wrote: On 11/29/21 11:28, Tom Rini wrote: Hey all, It's been two weeks since v2022.01-rc2, so here's -rc3. To repeat what I said with -rc2, we've enabled issue tracking on our gitlab

Re: [PATCH 2/7] spi: sunxi: refactor SPI speed/mode programming

2022-06-29 Thread Jesse Taube
s/next/ Tested-by: Jesse Taube I talked to Icenowy who also tested and said it worked with spi-nand. There is one issue but not related to this set, the SPI max clock is 1Mhz. Another note disabling the clock gates in `sun4i_spi_set_clock` will stop you from dumping the memory of the periphe

Re: [PATCH 2/7] spi: sunxi: refactor SPI speed/mode programming

2022-06-27 Thread Jesse Taube
On 6/27/22 20:31, Andre Przywara wrote: On Tue, 3 May 2022 22:20:35 +0100 Andre Przywara wrote: Hi, As George rightfully pointed out [1], the spi-sunxi driver programs the speed and mode settings only when the respective functions are called, but this gets lost over a call to release_bus(

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

2022-06-17 Thread Jesse Taube
ng up features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- V1 -> V2: * Remove unused constant clocks --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 94 + arch/arm/dts/imxrt1170-evk.dts

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

2022-06-17 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- configs/imxrt1170-evk_defconfig | 67 + include/configs/imxrt1170-evk.h | 37 ++ 2 files changed, 104 insertions(+) create mode 100644 conf

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

2022-06-17 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imxrt1170-pinfunc.h diff --git a/a

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

2022-06-17 Thread Jesse Taube
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 --- V1 -> V2: * Nothing done --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory/imxrt-sdram.h | 1 + 2 files chan

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

2022-06-17 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Use C file not dts for constant clock divider --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 221

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

2022-06-17 Thread Jesse Taube
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 --- V1 -> V2: * Change BM_

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

2022-06-17 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- V1 -> V2: * Nothing done --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h diff --git a/include

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

2022-06-17 Thread Jesse Taube
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 --- V1 -> V2: * Nothing done --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/mach-imx/imxrt/Kcon

[PATCH v2 0/8] Add support for the i.MXRT1170

2022-06-17 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

Re: [PATCH 5/7] sunxi: F1C100s: update DT files from Linux

2022-05-05 Thread Jesse Taube
interrupts = <16>; + clocks = <&osc32k>; }; uart0: serial@1c25000 { @@ -114,8 +198,8 @@ interrupts = <1>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 38>; - resets = <&ccu 24>; + clocks = <&ccu CLK_BUS_UART0>; + resets = <&ccu RST_BUS_UART0>; status = "disabled"; }; @@ -125,8 +209,8 @@ interrupts = <2>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 39>; - resets = <&ccu 25>; + clocks = <&ccu CLK_BUS_UART1>; + resets = <&ccu RST_BUS_UART1>; status = "disabled"; }; @@ -136,8 +220,8 @@ interrupts = <3>; reg-shift = <2>; reg-io-width = <4>; - clocks = <&ccu 40>; - resets = <&ccu 26>; + clocks = <&ccu CLK_BUS_UART2>; + resets = <&ccu RST_BUS_UART2>; status = "disabled"; }; }; Acked-by: Jesse Taube

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

2022-03-20 Thread Jesse Taube
On 3/20/22 15:17, Sean Anderson wrote: On 3/17/22 2:32 PM, Jesse Taube wrote: Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 215

[PATCH v2 3/4] ARM: dts: imxrt10..-evk: Linux moved pins-imxrt1020 to dts

2022-03-17 Thread Jesse Taube
The Linux kernel moved dt-bindings/pinctrl/pins-imxrt to the device tree This patch move it in U-Boot as well. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1020-evk.dts | 2 +- .../pins-imxrt1020.h => arch/arm/dts/imxrt1020-pinfunc.h| 0 arch/arm/

[PATCH v2 2/4] configs/*imxrt10*: SYS_MALLOC_LEN is too large

2022-03-17 Thread Jesse Taube
1M of heap is more than internal ram making booting without SDRAM not possible now it is 256k Signed-off-by: Jesse Taube --- configs/imxrt1020-evk_defconfig | 2 +- configs/imxrt1050-evk_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/imxrt1020

[PATCH v2 4/4] board: freescale: imxrt10..-evk: Fix missing include of serial.h

2022-03-17 Thread Jesse Taube
If FALCON mode is enabled we have a missing include in spl_start_uboot. Signed-off-by: Jesse Taube --- board/freescale/imxrt1020-evk/imxrt1020-evk.c | 1 + board/freescale/imxrt1050-evk/imxrt1050-evk.c | 1 + 2 files changed, 2 insertions(+) diff --git a/board/freescale/imxrt1020-evk/imxrt1020

[PATCH v2 1/4] clk: imxrt: Use dts for anatop base address

2022-03-17 Thread Jesse Taube
In Linux IMX and IMXRT use the device tree to hold the anatop address. The anatop is used in clock drivers as it controls the internal PLLs This will move the macro from asm/arch-imxrt to the device tree. This presumably should also be done with the other IMX boards as well. Signed-off-by: Jesse

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

2022-03-17 Thread Jesse Taube
Add binding header for i.MXRT1170 pinctrl device tree. Signed-off-by: Jesse Taube --- arch/arm/dts/imxrt1170-pinfunc.h | 1561 ++ 1 file changed, 1561 insertions(+) create mode 100644 arch/arm/dts/imxrt1170-pinfunc.h diff --git a/arch/arm/dts/imxrt1170-pinfunc.h b

[PATCH v2 0/4] IMXRT: Maintnice updates

2022-03-17 Thread Jesse Taube
Updates to the imxrt family include: - Adding missing include in board - Moving pinctrl binding to dts - Reducing SYS_MALLOC_LEN - Using device tree for anatop base address Jesse Taube (4): clk: imxrt: Use dts for anatop base address configs/*imxrt10*: SYS_MALLOC_LEN is too large ARM: dts

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

2022-03-17 Thread Jesse Taube
ng up features as follows: GPIO LPUART SD/MMC SDRAM Signed-off-by: Jesse Taube --- arch/arm/dts/Makefile | 3 +- arch/arm/dts/imxrt1170-evk-u-boot.dtsi | 106 ++ arch/arm/dts/imxrt1170-evk.dts | 246 ++ arch/arm/dts/imxrt1170.dtsi

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

2022-03-17 Thread Jesse Taube
Add a base defconfig for the i.MXRT1170 Signed-off-by: Jesse Taube --- configs/imxrt1170-evk_defconfig | 67 + include/configs/imxrt1170-evk.h | 37 ++ 2 files changed, 104 insertions(+) create mode 100644 configs/imxrt1170-evk_defconfig create

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

2022-03-17 Thread Jesse Taube
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 --- drivers/ram/imxrt_sdram.c| 9 + include/dt-bindings/memory/imxrt-sdram.h | 1 + 2 files changed, 10 insertions(+) diff

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

2022-03-17 Thread Jesse Taube
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 --- drivers/clk/imx/clk-pl

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

2022-03-17 Thread Jesse Taube
Add clock driver support for i.MXRT1170. Signed-off-by: Jesse Taube --- drivers/clk/imx/Kconfig | 16 +++ drivers/clk/imx/Makefile| 1 + drivers/clk/imx/clk-imxrt1170.c | 215 3 files changed, 232 insertions(+) create mode 100644 drivers/clk

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

2022-03-17 Thread Jesse Taube
Add the clock binding doc for i.MXRT1170. Signed-off-by: Jesse Taube --- include/dt-bindings/clock/imxrt1170-clock.h | 48 + 1 file changed, 48 insertions(+) create mode 100644 include/dt-bindings/clock/imxrt1170-clock.h diff --git a/include/dt-bindings/clock/imxrt1170

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

2022-03-17 Thread Jesse Taube
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 --- arch/arm/include/asm/arch-imx/cpu.h | 1 + arch/arm/mach-imx/imxrt/Kconfig | 9 +++ arch/arm/mach

[PATCH v1 0/8] Add support for the i.MXRT1170

2022-03-17 Thread Jesse Taube
This patchset contains: - i.MXRT1170 clock driver adaption - i.MXRT1170-evk basic support Jesse Taube (8): imx: imxrt1170-evk: Add support for the NXP i.MXRT1170-EVK ARM: dts: imxrt11170-pinfunc: Add pinctrl binding header dt-bindings: imx: Add clock binding for i.MXRT1170 clk: imx: Add

[PATCH v1 2/2] imx: imxrt1050-evk: Add documentation for SPI boot

2022-03-11 Thread Jesse Taube
Adds documentation for SPI boot. Signed-off-by: Jesse Taube --- doc/board/nxp/imxrt1050-evk.rst | 41 + 1 file changed, 41 insertions(+) diff --git a/doc/board/nxp/imxrt1050-evk.rst b/doc/board/nxp/imxrt1050-evk.rst index c1fb48f0cd..0838a04871 100644 --- a/doc

[PATCH v1 1/2] imx: imxrt1050-evk: Add support for SPI flash booting

2022-03-11 Thread Jesse Taube
This add some macros to change addresses to use flexspi. This commit adds support for booting the imxrt1050-evk from spi. It adds imximage config and the ability for SPL to boot from NOR. Signed-off-by: Jesse Taube --- .../freescale/imxrt1050-evk/imximage-nor.cfg | 42

[PATCH v1] clk: imxrt: Use dts for anatop base address

2022-03-11 Thread Jesse Taube
In Linux IMX and IMXRT use the device tree to hold the anatop address. The anatop is used in clock drivers as it controls the internal PLLs This will move the macro from asm/arch-imxrt to the device tree. This presumably should also be done with the other IMX boards as well. Signed-off-by: Jesse

Re: [PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

2022-02-28 Thread Jesse Taube
Hey just checking if you know about this set. This patch adds the ability to detect the BROM's boot source, as well as the ability to boot from SPI. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV/F1C100s mach-sunxi: Add SPL SPI boot for SUNIV mach-sunxi: Enabl

Re: [PATCH v2 1/3] mach-sunxi: Add boot device detection for SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
On 2/11/22 19:32, Jesse Taube wrote: In contrast to other Allwinner SoCs the F1C100s BROM does not store a boot source indicator in the eGON header in SRAM. This leaves the SPL guessing where we were exactly booted from, and for instance trying the SD card first, even though we booted from

[PATCH v2 3/3] mach-sunxi: Enable SPI boot for SUNIV and licheepi nano

2022-02-11 Thread Jesse Taube
Enable SPI boot in SPL on SUNIV architecture and use it in the licheepi nano that uses the F1C100s. Signed-off-by: Jesse Taube Reviewed-by: Andre Przywara --- V1 -> V2: * Change commit description --- arch/arm/mach-sunxi/Kconfig | 2 +- configs/licheepi_nano_defconfig | 1 + 2 fi

[PATCH v2 2/3] mach-sunxi: Add SPL SPI boot for SUNIV

2022-02-11 Thread Jesse Taube
-off-by: Jesse Taube [Jesse: adaptation to Upstream U-Boot] --- V1 -> V2: * Change commit description * Remove redundant conditional statment * Use else if for pin-function --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/spl_spi_sunxi.c| 24 +---

[PATCH v2 1/3] mach-sunxi: Add boot device detection for SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
: Jesse Taube Suggested-by: Samuel Holland --- V1 -> V2: * Bail on NAND * Change commit description * Change sunxi_get_boot_source to u32 * Fix FEL boot by next change * Move suniv_get_boot_device call into sunxi_get_boot_source * Rename suniv_get_boot_device * Remove redundant comments --- arch/

[PATCH v2 0/3] Add SPI boot to SPL on SUNIV/F1C100s

2022-02-11 Thread Jesse Taube
This patch adds the ability to detect the BROM's boot source, as well as the ability to boot from SPI. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV/F1C100s mach-sunxi: Add SPL SPI boot for SUNIV mach-sunxi: Enable SPI boot for SUNIV and licheepi nano arch/arm/in

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 14:38, Siarhei Siamashka wrote: On Thu, Feb 10, 2022 at 6:35 AM Jesse Taube wrote: [...] + case SUNIV_BOOTED_FROM_NAND: + case SUNIV_BOOTED_FROM_SPI: + return BOOT_DEVICE_SPI; Is it really okay to lump SPI and NAND together and return BOOT_DEVICE_SPI

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what&

Re: [PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-10 Thread Jesse Taube
On 2/10/22 05:57, Andre Przywara wrote: On Wed, 9 Feb 2022 23:34:36 -0500 Jesse Taube wrote: Hi Jesse, many thanks for sending this, much appreciated! Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Can you please elaborate here what&

[PATCH v1 3/3] mach-sunxi: Enable spi boot for SUNIV

2022-02-09 Thread Jesse Taube
Enable spi boot in spl on suniv architecture. Signed-off-by: Jesse Taube --- arch/arm/mach-sunxi/Kconfig | 2 +- configs/licheepi_nano_defconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 205fe3c9d3

[PATCH v1 2/3] mach-sunxi: Add spi boot for SUNIV

2022-02-09 Thread Jesse Taube
Add support for the spi boot in spl on suniv architecture. Signed-off-by: Jesse Taube --- arch/arm/include/asm/arch-sunxi/gpio.h | 1 + arch/arm/mach-sunxi/spl_spi_sunxi.c| 26 +++--- 2 files changed, 20 insertions(+), 7 deletions(-) diff --git a/arch/arm/include/asm

[PATCH v1 1/3] mach-sunxi: Add boot device detection for SUNIV

2022-02-09 Thread Jesse Taube
Use Samuel's suggestion of looking at the BootRom's stack to determine the boot device. Signed-off-by: Jesse Taube Suggested-by: Samuel Holland --- arch/arm/include/asm/arch-sunxi/spl.h | 15 arch/arm/mach-sunxi/board.c | 50 --- 2 files c

[PATCH v1 0/3] Add spi boot to SPL on SUNIV

2022-02-09 Thread Jesse Taube
This patch adds the ability to detect the BROM's boot source as well as the ability to boot from spi. Jesse Taube (3): mach-sunxi: Add boot device detection for SUNIV mach-sunxi: Add spi boot for SUNIV mach-sunxi: Enable spi boot for SUNIV arch/arm/include/asm/arch-sunxi/gpio.h

Re: [PATCH v2 1/1] timer: npcm: Add driver for Nuvoton NPCM SoCs

2022-02-07 Thread Jesse Taube
longer about 2 days. You also may want to find other people more relevant to this patch. Do you have an online presence like linkedin, github etc? Thanks, Jesse Taube --- drivers/timer/Kconfig | 6 ++ drivers/timer/Makefile | 1 + drivers/timer/npcm-timer.c | 110

Re: [PATCH v1 1/1] timer: npcm: Add driver for Nuvoton NPCM SoCs

2022-02-06 Thread Jesse Taube
not sure why I have been CCed in many of you recent patches is there a reason for this? Thank you, Jesse Taube + +/* + * 24-bits down-counting hw timer. + * last_count: last hw counter value. + * counter: the value to be returned for get_count ops. + */ +struct npcm_timer_priv { +

Re: Please test U-Boot Allwinner F1C100s support

2022-01-31 Thread Jesse Taube
On 1/31/22 08:07, Giulio Benetti wrote: Hi Andre, Il giorno 31 gen 2022, alle ore 13:57, Andre Przywara ha scritto: On Mon, 31 Jan 2022 13:17:52 +0100 Giulio Benetti wrote: Hi All, I've tried several times on both F1C100s and F1C200s, maybe I'm doing something wrong but it doesn't wo

Re: Please test U-Boot Allwinner F1C100s support

2022-01-30 Thread Jesse Taube
;` in mach-sunxi/board.c with the suggestion that Stephen said. Should I submit after it gets into master or is tomorrow fine. Many thanks, Jesse Taube What should work though is booting via FEL and from SD card (the SPL MMC code is in place, if I am not mistaken). Just booting it t

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 16:21, Giulio Benetti wrote: On 29/01/22 22:19, Jesse Taube wrote: On 1/29/22 16:05, Jesse Taube wrote: On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 16:05, Jesse Taube wrote: On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube wrote: On 1/26/22 09:13, Andre Przywara wrote: On Tue, 4 Jan 2022 19:35:06 -0500

Re: [PATCH 09/11] sunxi: Add support for SUNIV architecture

2022-01-29 Thread Jesse Taube
On 1/29/22 15:59, Samuel Holland wrote: On 1/29/22 5:51 AM, Andre Przywara wrote: On Fri, 28 Jan 2022 22:21:28 -0500 Jesse Taube wrote: On 1/26/22 09:38, Jesse Taube wrote: On 1/26/22 09:13, Andre Przywara wrote: On Tue, 4 Jan 2022 19:35:06 -0500 Jesse Taube wrote: u32

  1   2   >