- Jul 17, 2021
-
-
Add the USB PHY driver for i.MX8MQ to work with DWC3 USB controller. Signed-off-by:
Ye Li <ye.li@nxp.com> Reviewed-by:
Patrick Wildt <patrick@blueri.se> Tested-by:
Patrick Wildt <patrick@blueri.se>
-
- Jul 10, 2021
-
-
Stefano Babic authored
Following warnings (unused variables) are raised: drivers/spi/mxc_spi.c: In function 'mxc_spi_probe': drivers/spi/mxc_spi.c:595:14: error: unused variable 'blob' [-Werror=unused-variable] 595 | const void *blob = gd->fdt_blob; | ^~~~ drivers/spi/mxc_spi.c:594:6: error: unused variable 'node' [-Werror=unused-variable] 594 | int node = dev_of_offset(bus); Move the variable declaration inside the code where they are used. Signed-off-by:
Stefano Babic <sbabic@denx.de>
-
The default implementation of checkboard() calls the nxp_board_rev_string() function to retrieve a character representing the revision number of the board. However, this attempt to retrieve the revision number may fail in certain situations or be otherwise undesirable. There is already a configuration option to avoid retrieving the revision number of the board: CONFIG_NXP_BOARD_REVISION. In fact, if this option is enabled, the nxp_board_rev_string() function's definition will be omitted entirely, meaning that the previous implementation of checkboard() would result in a linker error. This changeset makes the default implementation of checkboard() respect the CONFIG_NXP_BOARD_REVISION configuration option, only attempting to retrieve the board revision number if that option is defined. Signed-off-by:
Cody Gray <cody@codygray.com>
-
In case the iMX8M boot from eMMC boot partition and the primary image is corrupted, the BootROM is capable of starting a secondary image in the other eMMC boot partition as a fallback. However, the BootROM leaves the eMMC BOOT_PARTITION_ENABLE setting as it was, i.e. pointing to the boot partition containing the corrupted image, and the BootROM does not provide any indication that this sort of fallback occured. According to AN12853 i.MX ROMs Log Events, Rev. 0, May 2020, it is possible to determine whether fallback event occurred by parsing the ROM event log. In case ROM event ID 0x51 is present, fallback event did occur. This patch implements ROM event log parsing and search for event ID 0x51 for all iMX8M SoCs, and based on that corrects the eMMC boot partition selection. This way, the SPL loads the remaining boot components from the same eMMC boot partition from which it was started, even in case of the fallback. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Harald Seiler <hws@denx.de> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Ye Li <ye.li@nxp.com>
-
Factor out eMMC boot partition selection code into default_spl_mmc_emmc_boot_partition() function and implement weak spl_mmc_emmc_boot_partition(), so that architecture or board code can override the eMMC boot partition selection. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Faiz Abbas <faiz_abbas@ti.com> Cc: Harald Seiler <hws@denx.de> Cc: Lokesh Vutla <lokeshvutla@ti.com> Cc: Simon Glass <sjg@chromium.org> Cc: Fabio Estevam <festevam@gmail.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Cc: Ye Li <ye.li@nxp.com> Reviewed-by:
Jaehoon Chung <jh80.chung@samsung.com>
-
The Gateworks System Controller thermal protection feature will disable the board primary power supply if the on-board temperature sensor reaches 86C. In many cases this could occur before the temperature critical components such as CPU, DRAM, eMMC, and power supplies have reached their max temperature. Remove the forced re-enable of thermal protection so that users can knowingly disable it. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The ftd_file* vars can be used by bootscripts to look for appropriate dtb's Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Display the DTB file used for U-Boot. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The voltage offset property is in microvolts so must be scaled accordingly. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Fix typo in error message. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The imx8mm-venice-gw7901 board has an I2C connected KSZ9897S GbE switch with an IMX8MM FEC MAC master connected via RGMII_ID. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Fix the dsa switch config: - remove the unnecessary phy-mode from the switch itself - added the necessary fixed-link node to the non-cpu ports required for U-Boot DSA Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The Microchip KSZ9477/KSZ9897/KSZ9567 7-Port Gigabit Ethernet Switches support SGMII/RGMII/MII/RMII with register access via SPI, I2C, or MDIO. This driver currently supports I2C register access but SPI or MDIO register access can be easily added at a later time. Tagging is not implemented and instead the active port is tracked to avoid needing a tag to store port information. This was tested with the imx8mm-venice-gw7901 board which has a KSZ9897S switch with an IMX8MM FEC MAC master connected via RGMII_ID. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
If ports have their own unique MAC addrs and master has a set_promisc function, call it so that packets will be received for ports. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Enabling promiscuous mode is necessary if FEC is the master of a DSA switch driver where each port has their own MAC address. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Enabling promiscuous mode can be useful for DSA switches where each port has its own MAC address. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
If the FEC is connected to a fixed-link (upstream switch port for example) the phy_of_node should be set to the fixed-link node so that speed and other properties can be found properly. In addition fix a typo in the debug string. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
When using uclass_get_device* to get the FEC device we need to use device sequence instead of index into UCLASS_ETH. In systems where for example a I2C based DSA switch exists it will probe before the FEC master and its ports will be registered first and have the first indexes yet the FEC's sequence comes from the device-tree alias. Take for example the imx8mm-venice-gw7901 board which has an i2c based DSA switch: u-boot=> net list eth1 : lan1 00:0d:8d:aa:00:2f eth2 : lan2 00:0d:8d:aa:00:30 eth3 : lan3 00:0d:8d:aa:00:31 eth4 : lan4 00:0d:8d:aa:00:32 eth0 : ethernet@30be0000 00:0d:8d:aa:00:2e active Thus in this case uclass_get_device(UCLASS_ETH, 0, &dev) returns lan1 which is wrong but uclass_get_device_seq(UCLASS_ETH, 0, &dev) returns ethernet@30be000 which is correct. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
The Gateworks GW7901 is an ARM based single board computer (SBC) featuring: - i.MX8M Mini SoC - LPDDR4 DRAM - eMMC FLASH - SPI FRAM - Gateworks System Controller (GSC) - Atmel ATECC Crypto Authentication - USB 2.0 - Microchip GbE Switch - Multiple multi-protocol RS232/RS485/RS422 Serial ports - onboard 802.11ac WiFi / BT - microSD socket - miniPCIe socket with PCIe, USB 2.0 and dual SIM sockets - Wide range DC power input - 802.3at PoE To add support for this board: - add dts from Linux (accepted for v5.14) - add SPL PMIC config Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
The driver depends on DM_SPI and if it's not available (e. g. in SPL), then we should not try to build it as this will fail. Signed-off-by:
Frieder Schrempf <frieder.schrempf@kontron.de>
-
Make macros actually use passed parameter instead of local variables that happen to be named the same as symbols in macro expansion. Signed-off-by:
Kacper Kubkowski <kkubkowski@fluence.pl>
-
Use now binman for image creation. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Add missing pinctrl entry in spl. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Enable DVS1 control through PMIC_STBY_REQ. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Increase VDD_ARM to prevent timing issues as VDD_SOC is used in OD mode. Also increase GIC clock. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com>
-
Enable support for the fec ethernet on phyCORE-i.MX8MP. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
With the first redesign the debug UART had changed from UART2 to UART1. As the first hardware revision is considered as alpha and will not be supported in future. The old setup will not be preserved. Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
This update includes eqos support and some minor changes. Synced with kernel commit 412627f6ffe3 ("arm64: dts: imx8mp-phyboard-pollux-rdk: Add missing pinctrl entry") Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Factor out the common node settings for dm-spl and dm-pre-reloc and move them to imx8mp-u-boot.dtsi Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
Sync imx8mp include with kernel commit: d1689cd3c0f4 ("arm64: dts: imx8mp: Use the correct name for child node "snps, dwc3"") Signed-off-by:
Teresa Remmet <t.remmet@phytec.de> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
If reset-gpio is defined by device-tree use that if CONFIG_PCIE_IMX_PERST_GPIO is not defined. Note that after this the following boards which define CONFIG_PCIE_IMX_PERST_GPIO in their board header file as well as their device-tree should be able to remove CONFIG_PCIE_IMX_PERST_GPIO without consequence: - mx6sabresd - mx6sxsabresd - novena - tbs2910 - vining_2000 Note that the ge_bx50v3 board uses CONFIG_PCIE_IMX_PERST_GPIO and does not have reset-gpios defined it it's pcie node in the dt thus removing CONFIG_PCIE_IMX_PERST_GPIO globally can't be done until that board adds reset-gpios. Cc: Ian Ray <ian.ray@ge.com> (maintainer:GE BX50V3 BOARD) Cc: Sebastian Reichel <sebastian.reichel@collabora.com> (maintainer:GE BX50V3 BOARD) Cc: Fabio Estevam <festevam@gmail.com> (maintainer:MX6SABRESD BOARD) Cc: Marek Vasut <marex@denx.de> (maintainer:NOVENA BOARD) Cc: Soeren Moch <smoch@web.de> (maintainer:TBS2910 BOARD) Cc: Silvio Fricke <open-source@softing.de> (maintainer:VINING_2000 BOARD) Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Select the CMD_UNZIP option so that the 'gzwrite' command can be used to flash .gz image into the eMMC. Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
On the Yocto image there is a single partition and the kernel and dtb are present in the 'boot' directory. Change it accordingly so that the board can boot the Yocto image by default. Use the generic 'load' command instead, which is able to read from an ext4 partition. Signed-off-by:
Fabio Estevam <festevam@denx.de>
-
print 'None' instead of just a blank line if nothing is detected: MMC: None Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Add LVDS support for DLC0700XDP21LF 7in 1024x600 display (equivalent to the DLC-700JMGT4 with new touch controller) Signed-off-by:
Robert Jones <rjones@gateworks.com> Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Add displaying the detected network PHY on boot. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Add DP83867 PHY LED configuration. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
In the default pulse-skipping mode regulators that are very lightly loaded can fail to regulate properly. Switching them to always use continuous mode causes only around 10mW of overall system power difference in a lightly loaded system that isn't already operating them in continuous mode. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
In the default 'auto' mode regulators that are very lightly loaded can be put in PFM mode and fail to regulator properly. Switching them to always use continuous PWM mode has a neglibable affect on system power and garuntees proper regulation under lightly loaded circumstances. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-
Substitutions in EOL parts changes the VDD_2P5 voltage rail such that the previously unused VGEN6 LDO is needed in place of the lower power VGEN5 for the GW54xx-G. Signed-off-by:
Tim Harvey <tharvey@gateworks.com>
-