From patchwork Mon May 23 11:33:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1634523 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=PXdYbDwr; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=W7DWwzos; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4L6FZp00Dmz9sGG for ; Mon, 23 May 2022 21:33:36 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B32AF83F68; Mon, 23 May 2022 13:33:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1653305605; bh=KhB5Xm8y6WYl19uIGmxdTX36IBvFLpDyx8IZ5HfBsk0=; h=Date:To:Cc:From:Subject:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=PXdYbDwruhIPhiVwiQVSZZFnqe+PX4qCjpYAJO/RVJO7nF5+mzLtzNNbOpWMwHp7J LLKRrWoc7ZlQfliih4S9liadiMT0e5QiQKRhnKgZI9PkNw+Xalri1VPKRT5TS4SU1G mU9XPBTZe363vjAGA6AtziegoRkTflx2iw4JH47zlmSIq1NrwDUt8BDrw56493ttQq /swi4pvUxNQ4zt7P2rJkJRL/uUSLmYH64FRu6xEjar4ZzHxXDmUKnV8kpvT8j+MiBE sHUY6Q5mfRF/vhL5q6WaAp0NLPtAs95nYMUbpAY/3rH1p9HKchuiP+Jxg1AqEj5c0C V7bBfxmFhwfUg== Received: from [IPV6:2001:a61:60db:7a01:932:68f9:8883:c5e0] (unknown [IPv6:2001:a61:60db:7a01:932:68f9:8883:c5e0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbabic@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 25D3883F4F; Mon, 23 May 2022 13:33:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1653305604; bh=KhB5Xm8y6WYl19uIGmxdTX36IBvFLpDyx8IZ5HfBsk0=; h=Date:To:Cc:From:Subject:From; b=W7DWwzosGrRR085y5L4EvoD6kd9+s7phFU44JuMjKLCYZNrUa6Hqx74AAIhy008Ze xxq7RL4NhlPJLamv82MSVdWHYROxkaUlI1B6+Kgl2ynNfCG63RFkeRBHDyGmVbH9sn hm6LWglJm5kASFS+VO0jeO9Qxeuml0BfWrBJPmper2Tcx3LrRdx/zKZvpX4muTW9ba rv4M7lALR2QVPCfNi5QOVn/Kh4r0e0hHmd2+jrACkGHrZx5wpFKev2hSPVzmOLaoNZ tI5mZLiL1FxVLesy/RDmpqjw9OCz21CDVcA6uIMBIY6TzgTxv4P4j1Wfa9boHYqSAj sBEjEG9d1/Ahg== Message-ID: <53f26b09-788e-df42-922e-b9421d0987b9@denx.de> Date: Mon, 23 May 2022 13:33:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: de-DE To: Tom Rini Cc: "U-Boot@lists.denx.de" From: Stefano Babic Subject: Pull request: u-boot-imx u-boot-imx-20220523 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit f83bd23e2a0e9861969c9d43395299a14f25ddda: Merge https://source.denx.de/u-boot/custodians/u-boot-marvell (2022-05-18 08:41:13 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20220523 for you to fetch changes up to 4d573d5c98234cad328de77c773c3c3d79258255: ARM: dts: imx: Add support for DH electronics i.MX8M Plus DHCOM and PDK2 (2022-05-23 11:37:58 +0200) ---------------------------------------------------------------- u-boot-imx-20220523 ------------------- CI: https://source.denx.de/u-boot/custodians/u-boot-imx/-/pipelines/12087 Additionally to u-boot-imx20200520: - DH MX8MP - i.MX GPIO: reading GPIO when direction is output - Menlo i.MX53: switch to DM And from u-boot-imx20200520: - fix Verdin hang - add pca9450 regulator - conversion to DM_SERIAL - NAND block handling - fix crypto - enable cache on some boards - add ACC board (MX6) ---------------------------------------------------------------- Christoph Fritz (1): gpio: rgpio2p: Enhance reading of GPIO pin value Fabio Estevam (8): imx8mn_ddr4_evk: Add USB Mass Storage support imx8mn/8mp: Allow booting via USB mx6slevk: Remove duplicated "mmc dev" command mx6sllevk: Remove duplicated "mmc dev" command kontron-sl-mx8mm: Select the CONFIG_CMD_UNZIP option imx8mm-cl-iot-gate: Enable cache in SPL cgtqmx8: Enable cache in SPL imx8mp_rsb3720a1: Enable cache in SPL Gaurav Jain (4): i.MX6SX: crypto/fsl: fix entropy delay value i.MX8 crypto/fsl: Enable fsl CAAM rng driver i.MX8ULP: add display_ele_fw_version api crypto/fsl: fsl_hash: Fix dcache issue in caam_hash_finish Marcel Ziswiler (1): ARM: imx8mm: verdin-imx8mm: fix board hang in spl Marek Vasut (8): ARM: dts: imx: Use 100 kHz I2C2 on Data Modul i.MX8M Mini eDM SBC ARM: imx: imx8m: Introduce and use UART_BASE_ADDR(n) ARM: imx: imx27: Introduce and use UART_BASE_ADDR(n) ARM: imx: imx31: Introduce and use UART_BASE_ADDR(n) pmic: pca9450: Add upstream regulators subnode match pmic: pca9450: Add regulator driver ARM: imx: mx5: Convert MX53 Menlo board to DM I2C and DM RTC ARM: dts: imx: Add support for DH electronics i.MX8M Plus DHCOM and PDK2 Michael Trimarchi (5): nand: raw: mxs_nand: Fix specific hook registration mtd: nand: mxs_nand_spl: Fix bad block skipping arm: mach-imx: cmd_nandbcb fix bad block handling spl: spl_nand: Fix bad block handling in fitImage imx: imx8mn_smm_s2/s2pro: Enable TrustZone Peng Fan (19): imx: bootaux: cleanup code imx: bootaux: add missing newline imx: bootaux: get stack from elf file imx: imx8m: add rproc_att imx: imx8m: drop uneeded check imx: imx8mm_mx8menlo: Enable DM_SERIAL imx: imx8mm_edm_sbc: Enable SPL_DM_SERIAL imx: dts: move common changes to imx8mq-u-boot.dtsi imx: imx8mq-cm: enable CONFIG_DM_SERIAL imx: imx8mq-pico: enable CONFIG_DM_SERIAL imx: imx8mq-phanbell: enable CONFIG_DM_SERIAL imx: imx8mn_evk: enable pinctrl_wdog in SPL imx: imx8mm_evk: enable pinctrl_wdog in SPL imx: imx8mp_evk: enable pinctrl_wdog in SPL imx: imx8mm-mx8menlo: drop unneeded watchdog settings imx: imx8mn_smm_s2: clean up board watchdog code imx: verdin-imx8mm/p: cleanup board watchdog code imx: toradex/verdin-imx8mm/p: cleanup board watchdog code imx: imx8mp_rsb3720a1: convert to DM_SERIAL Philip Oberfichtner (9): bosch: Add initial board support for ACC ARM: imx6: Fix broken DT path in DH board file ARM: dts: imx: Migrate iMX6QDL DRC02 DTs from Linux ARM: dts: imx: Migrate iMX6QDL picoITX DTs from Linux ARM: imx6: Remove CONFIG_FEC_MXC_PHYADDR from DH header ARM: dts: imx: Simplify fec node for iMX6QDL DHCOM boards ARM: dts: imx: Configure FEC for iMX6QDL picoITX ARM: dts: imx: Configure FEC for iMX6QDL DRC02 ARM: imx6: Adapt device tree selection in DH board file Rasmus Villemoes (1): imx8m: fix reading of DDR4 MR registers Tim Harvey (6): configs: imx8m{m, n}_venice: remove unneeded CONFIG_FEC_MXC_PHYADDR configs: imx8mp_venice: add FEC_QUIRK_ENET_MAC configs: remove FEC_QUIRK_ENET_MAC from imx8m configs board: gateworks: venice: enable SPL_DM_SERIAL board: gateworks: gw_ventana: add support for GPY111 PHY board: gateworks: gw_ventana: remove obsolete file Ye Li (2): mtd: rawnand: mxs_nand: Fix use_minimum_ecc for spl driver caam: Fix crash in case caam_jr_probe failed arch/arm/cpu/armv7/ls102xa/cpu.c | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +- arch/arm/dts/Makefile | 4 + arch/arm/dts/imx6dl-dhcom-picoitx-u-boot.dtsi | 10 + arch/arm/dts/imx6dl-dhcom-picoitx.dts | 20 ++ arch/arm/dts/imx6q-bosch-acc-u-boot.dtsi | 80 ++++++++ arch/arm/dts/imx6q-bosch-acc.dts | 769 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx6qdl-dhcom-drc02.dtsi | 143 ++++++++++++++ arch/arm/dts/imx6qdl-dhcom-pdk2-u-boot.dtsi | 13 -- arch/arm/dts/imx6qdl-dhcom-picoitx.dtsi | 69 +++++++ arch/arm/dts/imx6qdl-dhcom-u-boot.dtsi | 18 ++ arch/arm/dts/imx6qdl-gw51xx.dtsi | 2 +- arch/arm/dts/imx6qdl-gw52xx.dtsi | 2 +- arch/arm/dts/imx6qdl-gw53xx.dtsi | 2 +- arch/arm/dts/imx6qdl-gw54xx.dtsi | 2 +- arch/arm/dts/imx6qdl-gw560x.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5903.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5904.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5907.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5910.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5912.dtsi | 2 +- arch/arm/dts/imx6qdl-gw5913.dtsi | 2 +- arch/arm/dts/imx6s-dhcom-drc02-u-boot.dtsi | 10 + arch/arm/dts/imx6s-dhcom-drc02.dts | 30 +++ arch/arm/dts/imx8mm-data-modul-edm-sbc.dts | 2 +- arch/arm/dts/imx8mm-evk-u-boot.dtsi | 4 + arch/arm/dts/imx8mn-ddr4-evk-u-boot.dtsi | 4 + arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi | 141 ++++++++++++++ arch/arm/dts/imx8mp-dhcom-pdk2.dts | 152 +++++++++++++++ arch/arm/dts/imx8mp-dhcom-som.dtsi | 1042 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx8mp-evk-u-boot.dtsi | 4 + arch/arm/dts/imx8mq-cm-u-boot.dtsi | 8 + arch/arm/dts/imx8mq-evk-u-boot.dtsi | 24 --- arch/arm/dts/imx8mq-phanbell-u-boot.dtsi | 8 + arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 9 + arch/arm/dts/imx8mq-u-boot.dtsi | 24 +++ arch/arm/include/asm/arch-imx8m/ddr.h | 1 + arch/arm/include/asm/arch-imx8m/imx-regs.h | 10 + arch/arm/include/asm/arch-imx8ulp/s400_api.h | 2 + arch/arm/include/asm/arch-mx27/imx-regs.h | 24 ++- arch/arm/include/asm/arch-mx31/imx-regs.h | 12 ++ arch/arm/mach-imx/cmd_nandbcb.c | 21 +- arch/arm/mach-imx/imx8/cpu.c | 2 +- arch/arm/mach-imx/imx8m/Kconfig | 8 + arch/arm/mach-imx/imx8m/soc.c | 44 ++++- arch/arm/mach-imx/imx_bootaux.c | 60 +++--- arch/arm/mach-imx/mx6/Kconfig | 15 ++ arch/arm/mach-imx/mx6/soc.c | 2 +- arch/arm/mach-imx/mx7/soc.c | 2 +- arch/arm/mach-imx/mx7ulp/soc.c | 2 +- arch/powerpc/cpu/mpc85xx/cpu_init.c | 2 +- board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 8 - board/bosch/acc/Kconfig | 19 ++ board/bosch/acc/MAINTAINERS | 9 + board/bosch/acc/Makefile | 6 + board/bosch/acc/acc.c | 755 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/bsh/imx8mn_smm_s2/spl.c | 13 +- board/compulab/imx8mm-cl-iot-gate/ddr/ddr.c | 27 --- board/data_modul/imx8mm_edm_sbc/spl.c | 12 +- board/dhelectronics/dh_imx6/dh_imx6.c | 35 +++- board/dhelectronics/dh_imx8mp/Kconfig | 15 ++ board/dhelectronics/dh_imx8mp/MAINTAINERS | 8 + board/dhelectronics/dh_imx8mp/Makefile | 13 ++ board/dhelectronics/dh_imx8mp/common.c | 37 ++++ board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c | 186 ++++++++++++++++++ board/dhelectronics/dh_imx8mp/imximage-lpddr4.cfg | 8 + board/dhelectronics/dh_imx8mp/lpddr4_timing.h | 13 ++ board/dhelectronics/dh_imx8mp/lpddr4_timing_4G_32.c | 1844 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/dhelectronics/dh_imx8mp/spl.c | 187 ++++++++++++++++++ board/freescale/imx8mm_evk/spl.c | 21 +- board/freescale/imx8mn_evk/spl.c | 21 +- board/freescale/imx8mp_evk/imx8mp_evk.c | 17 -- board/freescale/imx8mp_evk/spl.c | 4 +- board/freescale/imx8ulp_evk/spl.c | 19 ++ board/gateworks/gw_ventana/gsc.c | 471 -------------------------------------------- board/gateworks/gw_ventana/gw_ventana.c | 27 ++- board/gateworks/venice/spl.c | 23 +-- board/menlo/m53menlo/m53menlo.c | 27 +-- board/menlo/mx8menlo/mx8menlo.c | 21 -- board/toradex/verdin-imx8mm/spl.c | 24 +-- board/toradex/verdin-imx8mp/verdin-imx8mp.c | 11 -- common/spl/spl_nand.c | 5 +- configs/cgtqmx8_defconfig | 2 - configs/dh_imx6_defconfig | 2 +- configs/imx6q_bosch_acc_defconfig | 110 +++++++++++ configs/imx8mm-cl-iot-gate-optee_defconfig | 2 - configs/imx8mm-cl-iot-gate_defconfig | 2 - configs/imx8mm-mx8menlo_defconfig | 1 + configs/imx8mm_data_modul_edm_sbc_defconfig | 1 - configs/imx8mm_venice_defconfig | 1 - configs/imx8mn_ddr4_evk_defconfig | 12 ++ configs/imx8mn_venice_defconfig | 1 - configs/imx8mp_dhcom_pdk2_defconfig | 244 +++++++++++++++++++++++ configs/imx8mp_evk_defconfig | 1 - configs/imx8mp_rsb3720a1_4G_defconfig | 3 +- configs/imx8mp_rsb3720a1_6G_defconfig | 3 +- configs/imx8mp_venice_defconfig | 1 - configs/imx8mq_cm_defconfig | 1 + configs/imx8mq_phanbell_defconfig | 1 + configs/kontron-sl-mx8mm_defconfig | 2 +- configs/m53menlo_defconfig | 8 +- configs/mx6slevk_defconfig | 2 +- configs/mx6slevk_spinor_defconfig | 2 +- configs/mx6slevk_spl_defconfig | 2 +- configs/mx6sllevk_defconfig | 2 +- configs/mx6sllevk_plugin_defconfig | 2 +- configs/pico-imx8mq_defconfig | 1 + drivers/crypto/fsl/fsl_hash.c | 8 + drivers/crypto/fsl/jr.c | 19 +- drivers/ddr/imx/imx8m/ddrphy_utils.c | 9 +- drivers/gpio/imx_rgpio2p.c | 14 +- drivers/misc/imx8ulp/s400_api.c | 41 ++++ drivers/mtd/nand/raw/mxs_nand.c | 35 ++-- drivers/mtd/nand/raw/mxs_nand_spl.c | 90 +++++---- drivers/power/pmic/pca9450.c | 8 +- drivers/power/regulator/Kconfig | 15 ++ drivers/power/regulator/Makefile | 1 + drivers/power/regulator/pca9450.c | 333 ++++++++++++++++++++++++++++++++ include/configs/cgtqmx8.h | 1 - include/configs/dh_imx6.h | 3 - include/configs/imx27lite-common.h | 2 +- include/configs/imx6q-bosch-acc.h | 122 ++++++++++++ include/configs/imx8mm-cl-iot-gate.h | 3 +- include/configs/imx8mm-mx8menlo.h | 3 - include/configs/imx8mm_beacon.h | 2 +- include/configs/imx8mm_data_modul_edm_sbc.h | 3 - include/configs/imx8mm_evk.h | 3 +- include/configs/imx8mm_icore_mx8mm.h | 2 +- include/configs/imx8mm_venice.h | 6 +- include/configs/imx8mn_beacon.h | 2 +- include/configs/imx8mn_evk.h | 2 +- include/configs/imx8mn_var_som.h | 2 +- include/configs/imx8mn_venice.h | 6 +- include/configs/imx8mp_dhcom_pdk2.h | 113 +++++++++++ include/configs/imx8mp_evk.h | 3 +- include/configs/imx8mp_rsb3720.h | 3 - include/configs/imx8mp_venice.h | 4 + include/configs/imx8mq_cm.h | 2 +- include/configs/imx8mq_evk.h | 3 +- include/configs/imx8mq_phanbell.h | 3 +- include/configs/kontron-sl-mx8mm.h | 4 +- include/configs/kontron_pitx_imx8m.h | 3 +- include/configs/phycore_imx8mm.h | 2 +- include/configs/phycore_imx8mp.h | 2 +- include/configs/pico-imx8mq.h | 3 +- include/configs/verdin-imx8mm.h | 3 +- include/configs/verdin-imx8mp.h | 3 +- include/fsl_sec.h | 6 +- include/power/pca9450.h | 11 ++ 149 files changed, 7063 insertions(+), 956 deletions(-) create mode 100644 arch/arm/dts/imx6dl-dhcom-picoitx-u-boot.dtsi create mode 100644 arch/arm/dts/imx6dl-dhcom-picoitx.dts create mode 100644 arch/arm/dts/imx6q-bosch-acc-u-boot.dtsi create mode 100644 arch/arm/dts/imx6q-bosch-acc.dts create mode 100644 arch/arm/dts/imx6qdl-dhcom-drc02.dtsi create mode 100644 arch/arm/dts/imx6qdl-dhcom-picoitx.dtsi create mode 100644 arch/arm/dts/imx6s-dhcom-drc02-u-boot.dtsi create mode 100644 arch/arm/dts/imx6s-dhcom-drc02.dts create mode 100644 arch/arm/dts/imx8mp-dhcom-pdk2-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mp-dhcom-pdk2.dts create mode 100644 arch/arm/dts/imx8mp-dhcom-som.dtsi create mode 100644 arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi create mode 100644 board/bosch/acc/Kconfig create mode 100644 board/bosch/acc/MAINTAINERS create mode 100644 board/bosch/acc/Makefile create mode 100644 board/bosch/acc/acc.c create mode 100644 board/dhelectronics/dh_imx8mp/Kconfig create mode 100644 board/dhelectronics/dh_imx8mp/MAINTAINERS create mode 100644 board/dhelectronics/dh_imx8mp/Makefile create mode 100644 board/dhelectronics/dh_imx8mp/common.c create mode 100644 board/dhelectronics/dh_imx8mp/imx8mp_dhcom_pdk2.c create mode 100644 board/dhelectronics/dh_imx8mp/imximage-lpddr4.cfg create mode 100644 board/dhelectronics/dh_imx8mp/lpddr4_timing.h create mode 100644 board/dhelectronics/dh_imx8mp/lpddr4_timing_4G_32.c create mode 100644 board/dhelectronics/dh_imx8mp/spl.c delete mode 100644 board/gateworks/gw_ventana/gsc.c create mode 100644 configs/imx6q_bosch_acc_defconfig create mode 100644 configs/imx8mp_dhcom_pdk2_defconfig create mode 100644 drivers/power/regulator/pca9450.c create mode 100644 include/configs/imx6q-bosch-acc.h create mode 100644 include/configs/imx8mp_dhcom_pdk2.h Best regards, Stefano