summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* video: omap: fix debug messageDario Binacchi2020-03-031-1/+1
| | | | | | | "DISP" -> "DIV" Signed-off-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
* video: omap: rename LCD controller registersDario Binacchi2020-03-031-53/+54
| | | | | | Add more clarity by prefixing the name of the register to the bitfields. Signed-off-by: Dario Binacchi <dariobin@libero.it>
* video: omap: fix bitfields orderDario Binacchi2020-03-031-15/+14
| | | | | | Arrange the bitfields of each register in the ascending order. Signed-off-by: Dario Binacchi <dariobin@libero.it>
* video: omap: fix coding style on use of spacesDario Binacchi2020-03-031-1/+1
| | | | | | Use one space around (on each side of) the binary '-' operator. Signed-off-by: Dario Binacchi <dariobin@libero.it>
* video: omap: add missing bitfield masksDario Binacchi2020-03-031-5/+5
| | | | | | | Add, if missing, the bitfield masks in the setting macros of the LCD controller registers. Signed-off-by: Dario Binacchi <dariobin@libero.it>
* video: omap: use BIT() and GENMASK() macrosDario Binacchi2020-03-032-24/+24
| | | | | | Use the standard BIT() and GENMASK() macros for bitfield definitions. Signed-off-by: Dario Binacchi <dariobin@libero.it>
* arm: baltos: switch to driver model for the net and mdio driverYegor Yefremov2020-03-031-0/+2
| | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
* power: mfd: k3_avs: update am65xx MPU_VDD voltage valuesTero Kristo2020-03-031-6/+6
| | | | | | | | | | | The latest data manual SPRSP08I –NOVEMBER 2017–REVISED DECEMBER 2019[1] for am65xx SoC states the new MPU nominal voltages to be 1.1V (OPP_NOM), 1.2V (OPP_OD) and 1.24V (OPP_TURBO). Update the nominal voltages in the K3 AVS driver to reflect this. [1] http://www.ti.com/lit/gpn/am6528 Signed-off-by: Tero Kristo <t-kristo@ti.com>
* configs: j721e_evm_r5_defconfig: Enable ESM modulesTero Kristo2020-03-031-0/+3
| | | | | | | | | | Enable ESM modules for both PMIC and SoC side for proper watchdog handling on the board. SPL_BOARD_INIT is also enabled so that the board init function probing the drivers is called. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* board: ti: j721e: initialize ESM supportTero Kristo2020-03-031-0/+26
| | | | | | | | | | Initialize both ESM and ESM_PMIC support if available for the board. If support is not available for either, a warning is printed out. ESM signals are only properly routed on PM2 version of the J721E SOM, so only probe the drivers on this device. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* arm: dts: k3-j721e: Add ESM PMIC support for tps659413 based boardTero Kristo2020-03-031-0/+7
| | | | | | | | | | The ESM handling on J7 processor board requires routing the MCU_SAFETY_ERROR signal to the PMIC on the board for critical safety error handling. The PMIC itself should then reset the board based on receiving it. Enable the support for the board by adding the esm node in place. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* arm: dts: k3-k721e: Add Main domain ESM supportTero Kristo2020-03-032-0/+10
| | | | | | | | Main domain ESM support is needed to configure main domain watchdogs to generate ESM pin events by default. On J7 processor board these propagate to the PMIC to generate a reset when watchdog expires. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* misc: pmic_esm: Add support for PMIC ESM driverTero Kristo2020-03-034-0/+96
| | | | | | | | | | | The ESM (Error Signal Monitor) is used on certain PMIC versions to handle error signals propagating from rest of the system. If these reach the PMIC, it is typically a last resort fatal error which requires a system reset. The ESM driver does the proper configuration for the ESM module to reach this end goal. Initially, only TPS65941 PMIC is supported for this. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* misc: k3_esm: Add support for Texas Instruments K3 ESM driverTero Kristo2020-03-034-0/+118
| | | | | | | | | | | The ESM (Error Signaling Module) is used to route error signals within the K3 SoCs somewhat similar to interrupts. The handling for these is different though, and can be routed for hardware error handling, to be handled by safety processor or just as error interrupts handled by the main processor. The u-boot level ESM driver is just used to configure the ESM signals so that they get routed to proper destination. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* power: pmic: tps65941: Add support for probing the child devicesTero Kristo2020-03-031-2/+2
| | | | | | | TPS65941 can have child devices under it (like the ESM support), so probe these once the master pmic node completes probe. Signed-off-by: Tero Kristo <t-kristo@ti.com>
* configs: j721e_evm_r5_defconfig: Remove saving ENV in eMMCKeerthy2020-03-031-4/+0
| | | | | | | | Remove saving ENV in eMMC in R5 as the power domains are not setup. Environment in eMMC cannot be read if we do not boot from eMMC. Signed-off-by: Keerthy <j-keerthy@ti.com>
* configs: j721e_evm_r5: Enable R5F remoteproc supportKeerthy2020-03-031-0/+2
| | | | | | | | | Enable R5F remoteproc support in R5 defconfig so that R5s can be started in SPL. While at it enable the SPL_FS_EXT4 config option to load the firmwares from file system. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
* include: configs: j721e_evm: Add env variables for mcu_r5fss0_core0 & ↵Keerthy2020-03-031-0/+4
| | | | | | | | | main_r5fss0_core0 Add env variables for mcu_r5fss0_core0 & main_r5fss0_core0 firmware loadaddr and name. Signed-off-by: Keerthy <j-keerthy@ti.com>
* arm: dts: k3-j721e-r5: Enable r5fss0 cluster in SPLKeerthy2020-03-032-0/+14
| | | | | | | Enable MAIN domain r5fss0 cluster and its core0 in R5 spl. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* arm: dts: k3-j721e-r5-u-boot: Add fs_loader nodeKeerthy2020-03-031-0/+15
| | | | | | | | Add fs_loader node which will be needed for loading firmwares from the boot media/filesystem. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* armv7R: K3: Add support for jumping to firmwareKeerthy2020-03-031-6/+16
| | | | | | | | | | | MCU Domain rf50 is currently shutting down after loading the ATF. Load elf firmware and jump to firmware post loading ATF. ROM doesn't enable ATCM memory, so make sure that firmware that is being loaded doesn't use ATCM memory or override SPL. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
* armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCMKeerthy2020-03-031-1/+3
| | | | | | | Enable execute permission for mcu_r5fss0_core0 BTCM so that we can jump to a firmware directly from SPL. Signed-off-by: Keerthy <j-keerthy@ti.com>
* arm: k3: Add support for loading non linux remote coresKeerthy2020-03-033-5/+115
| | | | | | | | | | | | | | Add MAIN domain R5FSS0 remoteproc support from spl. This enables loading the elf firmware in SPL and starting the remotecore. In order to start the core, there should be a file with path "/lib/firmware/j7-main-r5f0_0-fw" under filesystem of respective boot mode. Signed-off-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> [Guard start_non_linux_remote_cores under CONFIG_FS_LOADER] Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
* lib: elf: Move the generic elf loading/validating functions to libKeerthy2020-03-037-293/+258
| | | | | | | | | | | | | Move the generic elf loading/validating functions to lib/ so that they can be re-used and accessed by code existing outside cmd. While at it remove the duplicate static version of load_elf_image_phdr under arch/arm/mach-imx/imx_bootaux.c. Signed-off-by: Keerthy <j-keerthy@ti.com> Suggested-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Reviewed-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
* configs: j721e_hs_evm: Enable OSPI related configsVignesh Raghavendra2020-03-032-1/+14
| | | | | | Enable OSPI related configs for J721e HS variant. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* configs: ama65x_hs_evm: Enable OSPI related configsVignesh Raghavendra2020-03-032-0/+45
| | | | | | Enable OSPI related defconfigs for AM65x HS variant. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* board: ti: Update AM65x and J721e READMEs for OSPI bootVignesh Raghavendra2020-03-032-0/+102
| | | | | | | Update AM65x and J721e README files with instructions for flashing OSPI images. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* configs: am65x_evm_defconfig: Enable OSPI configsVignesh Raghavendra2020-03-032-0/+42
| | | | | | | Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used during OSPI boot Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* configs: j721e_evm_defconfig: Enable OSPI configsVignesh Raghavendra2020-03-032-1/+15
| | | | | | | Enable OSPI related defconfigs. Also enable SPL_DMA so that DMA is used during OSPI boot Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* configs: j721e_evm: Setup mtdparts for OSPIVignesh Raghavendra2020-03-031-2/+12
| | | | | | Set up mtdparts cmdline argument to be passed to kernel Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* configs: am65x_evm: Setup mtdparts for OSPIVignesh Raghavendra2020-03-031-1/+20
| | | | | | Set up mtdparts cmdline argument to be passed to kernel Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* ARM: dts: k3-j721e: Add OSPI DT nodesVignesh Raghavendra2020-03-036-0/+157
| | | | | | | Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support OSPI boot. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* ARM: dts: k3-am65: Add OSPI DT nodesVignesh Raghavendra2020-03-035-2/+143
| | | | | | | Add OSPI DT nodes to enable OSPI at U-Boot prompt and also to support OSPI boot. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* ARM: mach-k3: sysfw-loader: Use SPI memmapped addr when loading SYSFWLokesh Vutla2020-03-032-1/+38
| | | | | | | | | Since ROM configures OSPI controller to be in memory mapped mode in OSPI boot, R5 SPL can directly pass the memory mapped pointer to ROM. With this ROM can directly pull the SYSFW image from OSPI. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* ARM: mach-k3: arm64-mmu: map 64bit FSS MMIO space in A53 MMUVignesh Raghavendra2020-03-031-0/+7
| | | | | | | | Populate address mapping entries in A53 MMU for 4 GB of MMIO space reserved for providing MMIO access to multiple flash devices through OSPI/HBMC IPs within FSS. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
* drivers: Descend to drivers/soc unconditionallyVignesh Raghavendra2020-03-031-1/+2
| | | | | | | | | | | | Descend to drivers/soc directory unconditionally for SPL and U-Boot builds. Individual drivers can have their own config to check what needs to be built for SPL. There should be no increase in SPL code size due to this change. This is required on K3 SoCs to support DMA in SPL. Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
* Prepare v2020.04-rc3v2020.04-rc3Tom Rini2020-02-261-1/+1
| | | | Signed-off-by: Tom Rini <trini@konsulko.com>
* Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xxWIP/25Feb2020Tom Rini2020-02-2511-1077/+8
|\ | | | | | | | | - Update Sata node for T2080QDS and revert SATA related unrequired patches.
| * arch: powerpc: Rewrite the sata node to fit the driverPeng Ma2020-02-251-11/+4
| | | | | | | | | | | | | | | | | | The sata of our powerpc platforms are updated. These changes is to fit the driver probe. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * Revert "configs: enable sata device module in T2080QDS"Peng Ma2020-02-256-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 02dc1599ba0b16eb21ba0c206e5b6f38fe7b67a7 Commit 02dc1599ba0b ("configs: enable sata, eSDHC, USB device module in T2080QDS") has some sata defconfig changes to fit support DM mode, Now the driver will be reverted, So revert it. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * Revert "powerpc: mpc85xx: delete FSL_SATA for T2080QDS board."Peng Ma2020-02-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 856b9cdb53f0e6c8d98f81cf71ef363c16b0aa0e. Commit 856b9cdb53f0 ("powerpc: mpc85xx: delete FSL_SATA for T2080QDS board.") is to fit support sata DM mode, Now the driver will be reverted, So revert it. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
| * Revert "ata: fsl_ahci: Add sata DM support for Freescale powerpc socs"Peng Ma2020-02-253-1042/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1ee494291880fd51ef0c5f7342e072bdb069d7ff. Commit 1ee494291880 ("ata: fsl_ahci: Add sata DM support for Freescale powerpc socs") introduced SCSI layer to call AHCI private API in order to support sata operations, In DM mode, This is not necessary for non-AHCI sata. So revert it and have already updated the driver itself to operate sata directly. Signed-off-by: Peng Ma <peng.ma@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
* | Merge branch '2020-02-25-master-imports'Tom Rini2020-02-255-4/+7
|\ \ | | | | | | | | | - Assorted fixes
| * | board: novtech: meerkat96: use correct mmc driverCarl Gelfand2020-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | When the board was originally submitted, it was attempting to use the ESDHC driver. The board uses the USDHC driver. Signed-off-by: Carl Gelfand <carl@novtech.com> Cc: Shawn Guo <shawn.guo@kernel.org> (maintainer:MEERKAT96 BOARD) Acked-by: Shawn Guo <shawnguo@kernel.org>
| * | moveconfig: convert ps.stderr to stringMarkus Klotzbuecher2020-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Printing the error message in verbose mode fails, since python3 doesn't implicitely convert bytes to strings. Signed-off-by: Markus Klotzbuecher <mk@mkio.de> Cc: Simon Glass <sjg@chromium.org> Cc: Tom Rini <trini@konsulko.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Simon Glass <sjg@chromium.org>
| * | moveconfig: replace unsafe eval with astevalMarkus Klotzbuecher2020-02-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit b237d358b425 ("moveconfig: expand simple expressions") added support for expanding expressions in configs, but used the unsafe python built-in "eval". This patch fixes this by replacing eval with the asteval module. Signed-off-by: Markus Klotzbuecher <mk@mkio.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de> Cc: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | MAINTAINERS: set maintainer for doc/api/efi.rstHeinrich Schuchardt2020-02-251-0/+1
| | | | | | | | | | | | | | | | | | doc/api/efi.rst belongs to the UEFI sub-system documentation. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
| * | arch: arm: Fix SZ_64K undeclared compilation errorWasim Khan2020-02-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Macro SZ_64K is undeclared. Include sizes.h to fix the compilation error. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Reviewed-by: Tom Rini <trini@konsulko.com>
| * | tools: image-host.c: remove uboot_aes.hPhilippe Reynes2020-02-251-1/+0
|/ / | | | | | | | | | | | | | | | | The include uboot_aes.h is not useful and it breaks the compilation on android, so we remove it. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reported-by: Praneeth Bajjuri <praneeth@ti.com>
* | Merge branch '2020-02-24-ci-htmldocs'Tom Rini2020-02-255-14/+65
|\ \ | |/ |/| | | - Update our CI loops to run 'make htmldocs' and stop on errors