- Nov 23, 2022
-
-
Mattijs Korpershoek authored
This is handled by DM instead. Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Mattijs Korpershoek authored
Enable device model for USB gadget on amlogic boards. With this, we can drop all the custom usb logic from arch/arm/mach-meson/board-g12a.c WIP: because all g12a configs need to be updated Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
Mattijs Korpershoek authored
arch/mach-meson has some custom usb logic, in particular: * on board_usb_init(), we force USB_DR_MODE_PERIPHERAL * on board_usb_cleanup(), we force USB_DR_MODE_HOST With DM_USB_GADGET=y, board_usb_init/cleanup() are no longer used when we call usb_gadget_initialize(). Instead, the generic (from udc-uclass) initialization/release is called, which itself calls the controller driver's probe()/remove(). Therefore, enabling DM_USB_GADGET=y will mean that this mode switching will break. To prepare for enabling DM_USB_GADGET, perform the mode switching when the "amlogic,meson-g12a-usb" (dwc2) driver is probed()/removed() instead. This is achieved via the glue driver, which gets notified each time one of its children is probed()/removed. Note: this change should be harmless without DM_USB_GADGET=y because the amlogic-g12a-usb driver is not probed via driver model. Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com>
-
- Nov 18, 2022
-
-
Mattijs Korpershoek authored
# Lines starting with # will be removed from the cover letter. You can use # them to add notes or reminders to yourself. EDITME: describe the purpose of this series. The information you put here will be used by the project maintainer to make a decision whether your patches should be reviewed, and in what priority order. Please be very detailed and link to any relevant discussions or sites that the maintainer can review to better understand your proposed changes. If you only have a single patch in your series, the contents of the cover letter will be appended to the "under-the-cut" portion of the patch. # You can add trailers to the cover letter. Any email addresses found in # these trailers will be added to the addresses specified/generated during # the b4 send stage. You can also run "b4 prep --auto-to-cc" to auto-populate # the To: and Cc: trailers based on the code being modified. Signed-off-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> --- b4-submit-tracking --- # This section is used internally by b4 prep for tracking purposes. { "series": { "revision": 1, "change-id": "20221024-meson-dm-usb-60e413696519", "base-branch": null } }
-
- Oct 25, 2022
-
-
Christian Hewitt authored
The sync of device-tree/bindings in 11a48a5a18c6 ("Linux 5.6-rc2") causes Ethernet to break on some GXBB boards; the PHY seems to need proper reset timing to function in u-boot and Linux. Re-add the old PHY reset binding for dwmac until we support new bindings in the PHY node. This borrows the same fix applied to the Odroid C2 board [0]. [0] https://lists.denx.de/pipermail/u-boot/2021-April/446658.html Fixes: dd5f2351 ("arm64: dts: meson: sync dt and bindings from v5.6-rc2") Signed-off-by:
Christian Hewitt <christianshewitt@gmail.com> Link: https://lore.kernel.org/r/20221025143205.14470-1-christianshewitt@gmail.com Signed-off-by:
Neil Armstrong <neil.armstrong@linaro.org>
-
Edoardo Tomelleri authored
Implement setbrg in amlogic/meson serial device with driver model similar to how the meson_uart.c driver does it in Linux. Also configure (probe) the serial device with the new reg5 register. Signed-off-by:
Edoardo Tomelleri <e.tomell@gmail.com> Link: https://lore.kernel.org/r/20220918161701.572814-1-e.tomell@gmail.com Acked-by:
Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by:
Neil Armstrong <neil.armstrong@linaro.org>
-
https://source.denx.de/u-boot/custodians/u-boot-fsl-qoriqTom Rini authored
Layerscape update - support sysreset, - de-select FSL_IFC when booting from SD - disable unused parts of ICID tables - reduce ns_dev size for csu - enable dma snooping for ls104x - nand driver fixups for ls1043ardb rev 7.0 boards.
-
- Oct 24, 2022
-
-
https://gitlab.denx.de/u-boot/custodians/u-boot-imxTom Rini authored
u-boot-imx-20221024 ------------------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/13916 - for 2022.01 - rework Kontron boards (mx6 and mx8) - fixes for Toradex - fixes (SPI, CAAM, ) - sync DT with Linux - fixes for Gateworks GW7903 and GW7904 PMIC - Engicam i.Core MX8M Plus EDIMM2.2
-
Andrejs Cainikovs authored
This change enables Cryptographic Accelerator and Assurance Module. Signed-off-by:
Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
-
Francesco Dolcini authored
Enable boot/bootd command in toradex colibri-imx7 defconfig, it's just convenient to have it in and every other toradex board already includes it. Signed-off-by:
Francesco Dolcini <francesco.dolcini@toradex.com> Acked-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Avoid the following build errors after the device tree sync: drivers/spi/mxs_spi.c: In function ‘mxs_spi_probe’: drivers/spi/mxs_spi.c:327:25: error: ‘struct dtd_fsl_imx23_spi’ has no member named ‘spi_max_frequency’ 327 | priv->max_freq = dtplat->spi_max_frequency; | ^~ drivers/spi/mxs_spi.c:328:23: error: ‘struct dtd_fsl_imx23_spi’ has no member named ‘num_cs’ 328 | plat->num_cs = dtplat->num_cs; | ^~ Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Synchronise device tree with linux v6.0-rc1. Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Now that a unified imx8mn-u-boot is available, remove duplicated code for generating flash.bin and other common imx8mn peripherals. Signed-off-by:
Adam Ford <aford173@gmail.com>
-
Adam Ford authored
Multiple boards create duplicate entries in their respective -u-boot.dtsi files which all basically do the same thing. To consolidate these and make it easier to make improvements going forward, consolidate them all into one place. This file creates a flash.bin image using binman, and supports LPDDR4, DDR4 and DDR3. Since individual boards use different peripherals and different UART ports, those entries were kept in their respective board files, but the spba1 node was addded which contains all UART1-3 to help facilitate SPL_DM_SERIAL. Individual users will still need to include their respective UART and pinctrl nodes for those UARTS. This consolidated file also supports generating a flash.bin file which can boot from flexSPI if CONFIG_FSPI_CONF_HEADER is enabled. Signed-off-by:
Adam Ford <aford173@gmail.com> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
Rasmus Villemoes authored
Commit 290ffe57 (imx8m: fix reading of DDR4 MR registers) lifted a private definition of lpddr4_mr_read() from imx8mm-cl-iot-gate board code to drivers/ddr/imx/imx8m/ddrphy_utils.c, because that version actually seems to work in practice. However, commit 99c7cc58 (ddr: imx: Add i.MX9 DDR controller driver) reintroduced the broken version in drivers/ddr/imx/imx8m/ddr_init.c, copied most of the rest of ddrphy_utils.c to drivers/ddr/imx/phy/ddrphy_utils.c, and stopped building drivers/ddr/imx/imx8m/ddrphy_utils.c [and that file was then finally completely removed with 7e9bd848 (imx8m: ddrphy_utils: Remove unused file)]. I assume this must have broken the imx8mm-cl-iot-gate board, at least those that have not had their eeprom programmed with the proper information. It certainly did break our out-of-tree board which always reads back the ID register and uses that for a sanity check. So apply the fix from 290ffe57 once again. Fixes: 99c7cc58 (ddr: imx: Add i.MX9 DDR controller driver) Signed-off-by:
Rasmus Villemoes <rasmus.villemoes@prevas.dk> Reviewed-by:
Fabio Estevam <festevam@denx.de>
-
Andrejs Cainikovs authored
This change initializes Cryptographic Accelerator and Assurance Module. Signed-off-by:
Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
-
Andrejs Cainikovs authored
CAAM is initialized in SPL, so relevant device tree nodes needs to be updated. Signed-off-by:
Andrejs Cainikovs <andrejs.cainikovs@toradex.com>
-
Marcel Ziswiler authored
- enable bootcount command - enable CRC32 and MD5 - enable time commands - enable GPIO LED support - enable further eMMC HS400 functionality - enable fixed PHY and MDIO driver model - enable USB host functionality - enable thermal management unit driver - enable hexdump Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
- enable bootcount command - integrate bootcount using SNVS_LP general purpose register LPGPR0 - enable link-time optimisation - explicitly set a boot delay of one second - enable CRC32 and MD5 - enable command for low-level access to data in a partition - enable time commands - enable PMIC commands - improve ETHPRIME configuration - enable eMMC HS400 functionality - enable fixed PHY and MDIO driver model - remove stale PFUZE100 PMIC driver - enable thermal management unit driver - enable more USB host functionality - enable hexdump Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Marcel Ziswiler authored
Update the distro config env memory layout for the Verdin iMX8M Mini and Verdin iMX8M Plus again: - loadaddr=0x48200000 allows for 128MB area for uncompressing (ie FIT images, kernel_comp_addr_r, kernel_comp_size) - fdt_addr_r = loadaddr + 128MB - allows for 128MB kernel - scriptaddr = fdt_addr_r + 512KB - allows for 512KB fdt - ramdisk_addr_r = scriptaddr + 512KB - allows for 512KB script Memory layout taken from commit fd5c7173 ("imx8m{m,n}_venice: update env memory layout"). Note that for our regular BSP Layers and Reference Images for Yocto Project an updated distro boot script is required (see meta-toradex-bsp-common/recipes-bsp/u-boot/u-boot-distro-boot). Note that this corrects a pre-maturely applied version 2 of the same patch set. Fixes: bbe0089d ("verdin-imx8mm: verdin-imx8mp: update env memory layout") Signed-off-by:
Marcel Ziswiler <marcel.ziswiler@toradex.com>
-
Tim Harvey authored
The GW7904 is based on the i.MX 8M Mini SoC featuring: - LPDDR4 DRAM - eMMC FLASH - microSD connector with UHS support - LIS2DE12 3-axis accelerometer - Gateworks System Controller - IMX8M FEC - 2x RS232 off-board connectors - PMIC - 10x bi-color LED's - 1x miniPCIe socket with PCIe and USB2.0 - 802.3at Class 4 PoE - 10-30VDC input via barrel-jack Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-