From patchwork Mon Jun 12 17:30:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1794008 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.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=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20221208.gappssmtp.com header.i=@monstr-eu.20221208.gappssmtp.com header.a=rsa-sha256 header.s=20221208 header.b=RBJMqMMe; dkim-atps=neutral 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 ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QfzHR6Kggz20QH for ; Tue, 13 Jun 2023 03:30:59 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id F2D87858CE; Mon, 12 Jun 2023 19:30:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=monstr-eu.20221208.gappssmtp.com header.i=@monstr-eu.20221208.gappssmtp.com header.b="RBJMqMMe"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5A3BB85E00; Mon, 12 Jun 2023 19:30:50 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4A3B984709 for ; Mon, 12 Jun 2023 19:30:41 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=monstr.eu Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-wr1-x441.google.com with SMTP id ffacd0b85a97d-30fc26affa9so916219f8f.0 for ; Mon, 12 Jun 2023 10:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20221208.gappssmtp.com; s=20221208; t=1686591040; x=1689183040; h=content-transfer-encoding:subject:cc:to:from:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=5wcAK0U01SHtM9pPX3s3Nm4SiVeU67gxVVounO7BBCU=; b=RBJMqMMezETG3lZPuiJF/UbOPrDuzjJlqYjiw7G8FZbXg1Dv80Xf2iVngpSc5NVCN8 cuqn71OBp55Ix5QlH/lQVWGlOqYpbK3AN4GQED/soG6wyR4RjSdi7i3z1+fy3s8fqD7V tBfeBaw/HZgD3u0axwEPRnWO6BuZP2fqO4dfUDRRAB4uvCGTHVAbrwsw63eyT+Q5vrxk a/E0i6Hd7SyuM9qejL9rzTciZNbxB+JZFRGNEfSktlB1h98jXSoIrF98chM7iU2a0/15 gfCYv4teBLKb6O+qBiIILfXHZOUaaIdehjVOdWZ6/0mGa6c6UoddBIDhoWCGFP/pikby WLhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686591040; x=1689183040; h=content-transfer-encoding:subject:cc:to:from:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=5wcAK0U01SHtM9pPX3s3Nm4SiVeU67gxVVounO7BBCU=; b=PsLR6sxrrmCiS+rFZk3ap+cYT0gSlz4ZFjDHKo/IoLO47mcVOppA5lD83wbtCfeT9c 0mZtIOO/ulgKw9azIUPGFDYtwLyLNBH01FyirA0qSNlnwkqggGCRPN+fg+GPn5z1x0qB 2MgxDdVHOqn7IJr3LOgjONVkk/vFdVlRIUhL/cdN+6oDGB0zzs1FxTAfWDeaMBzkvsnv MnQs5tIK0P/TgyLCsDwsYNGm9QTXFHVe1aANhtWALxH0p5QKBpU7hC/n6z0n1kaoFcBM 3jl/qLZcddzYXyWj7YvL6BruoW/o5JprQV0uMH2UP7yDcoMyysggFCl2RqTbwcp2/+HI pFIg== X-Gm-Message-State: AC+VfDwGfGnFi/U0BpxcqQaFaMWmIPTjg/wthoNsInxoF+4bc//Sikhk aX0Wky/TNaYjbsLnofBHm9XK4dOtBYgAg6tBZbzEkxL0FIc= X-Google-Smtp-Source: ACHHUZ7ENi32AMt5vCW3uIb3RH4ZtIVG4AjJeyy9mHHZexQEQIu7W6FBKUCVeKBZHuQAptVrkJGcbw== X-Received: by 2002:adf:dd47:0:b0:309:43cd:484d with SMTP id u7-20020adfdd47000000b0030943cd484dmr5071541wrm.27.1686591040389; Mon, 12 Jun 2023 10:30:40 -0700 (PDT) Received: from [192.168.0.105] (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id m11-20020a5d6a0b000000b0030b5d203e7esm13052557wru.97.2023.06.12.10.30.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 12 Jun 2023 10:30:39 -0700 (PDT) Message-ID: Date: Mon, 12 Jun 2023 19:30:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Content-Language: en-US From: Michal Simek To: Tom Rini Cc: U-Boot Mailing List Subject: [GIT PULL] xilinx patches for v2023.10-rc1 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.8 at phobos.denx.de X-Virus-Status: Clean Hi Tom, please pull these patches for next version. CI didn't show any issue on previous base but I see a lot of times that 32bit arm builds are failing because of 1h limit. I had to rebase the branch based on latest master branch and hope that this won't be an issue for you. Please let me know if you want me something to change. The biggest change is that s/u-boot/U-Boot replacement which touches a lot of files. Thanks, Michal The following changes since commit addd47379df54a3eb247c6db4f799f14af43e523: Merge https://source.denx.de/u-boot/custodians/u-boot-usb (2023-06-08 18:23:06 -0400) are available in the Git repository at: git@source.denx.de:u-boot/custodians/u-boot-microblaze.git tags/xilinx-for-v2023.10-rc1 for you to fetch changes up to 89240bc0c44b985e461a4220475cb462263df5be: arm64: versal: Add missing prototypes (2023-06-12 13:25:02 +0200) ---------------------------------------------------------------- Xilinx changes for v2023.10-rc1 global: - Use proper U-Boot project name Fix sparse warnings in zynqmp-clk, zynqmp handoff, board cmd: - Cover incorrect 0 length entries Versal NET: - Add bootmode logic - Support SPP production version - Add loadpdi command ZynqMP: - Clear pmufw node command ID handling - Change power domain behavior around zynqmp_pmufw_node() - Fix zynqmp cmd return values and pmufw command - Fix R5 tcm init and modes mmc: - Sync Versal NET emmc DT binding pcie: - Add support for ZynqMP PCIe root port video: - Add support for ZynqMP DP tools: - Fix debug message in relocate-rela ---------------------------------------------------------------- Algapally Santosh Sagar (6): clk: zynqmp: Add fallthrough statement in the switch case mach-zynqmp: handoff: Add missing header xilinx: versal-net: Add new versalnet loadpdi command board: xilinx: Add missing prototypes arm64: versal: Add missing prototype for initialize_tcm arm64: versal: Add missing prototypes Ashok Reddy Soma (2): arm64: versal-net: Detect and display bootmode cmd: sf/nand: Print and return failure when 0 length is passed Marek Vasut (1): tools: relocate-rela: Fix typo Michal Simek (10): arm64: versal-net: Add support for SPP production version mmc: zynq: Sync with upstream DT binding global: Use proper project name U-Boot arm64: zynqmp: Check 0 node ID video: Add support for RGBA8888 format video: bmp: Support rgba8888 pixel format video: zynqmp: Enable 1024x768 resolution arm64: zynqmp: Fix command error values properly arm64: zynqmp: Fix return code from do_zynqmp_pmufw() firmware: zynqmp: Extend debug message to show parameters Stefan Herbrechtsmeier (5): firmware: zynqmp: Remove extraordinary return value firmware: zynqmp: Remove redundant child device bind power: zynqmp: Mask node already configured error firmware: zynqmp: Move permission to change config object message firmware: zynqmp: Store driver data in data section Stefan Roese (1): PCI: zynqmp: Add ZynqMP NWL PCIe root port driver Venkatesh Yadav Abbarapu (5): video: move zynqmp files to subdirectory video: zynqmp: Driver for Xilinx ZynqMP DisplayPort Subsystem xilinx: zynqmp: Enable the vidconsole by default arm64: zynqmp: Fix tcminit mode param arm64: zynqmp: Fix lockstep mode cpu release functionality MAINTAINERS | 2 + arch/Kconfig.nxp | 2 +- arch/arc/include/asm/io.h | 2 +- arch/arm/cpu/armv7/Kconfig | 2 +- arch/arm/cpu/armv8/Kconfig | 2 +- arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch3 | 2 +- arch/arm/dts/fsl-ls1028a.dtsi | 2 +- arch/arm/dts/meson-g12-common-u-boot.dtsi | 2 +- arch/arm/dts/meson-gx-u-boot.dtsi | 2 +- arch/arm/dts/rk3328-evb-u-boot.dtsi | 2 +- arch/arm/dts/rk3328.dtsi | 2 +- arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch2.h | 2 +- arch/arm/include/asm/arch-fsl-layerscape/stream_id_lsch3.h | 2 +- arch/arm/mach-versal-net/include/mach/hardware.h | 22 + arch/arm/mach-versal/include/mach/sys_proto.h | 1 + arch/arm/mach-versal/mp.c | 8 +- arch/arm/mach-zynqmp/handoff.c | 1 + arch/arm/mach-zynqmp/mp.c | 4 + board/bosch/acc/acc.c | 2 +- board/bosch/shc/README | 2 +- board/compulab/cl-som-imx7/cl-som-imx7.c | 2 +- board/hisilicon/poplar/README | 2 +- board/isee/igep003x/board.c | 2 +- board/isee/igep00x0/igep00x0.c | 2 +- board/keymile/Kconfig | 8 +- board/keymile/README | 2 +- board/kontron/sl-mx6ul/spl.c | 2 +- board/phytec/pcm058/README | 18 +- board/synopsys/hsdk/hsdk.c | 14 +- board/xilinx/common/board.h | 7 + board/xilinx/versal-net/Kconfig | 8 + board/xilinx/versal-net/Makefile | 1 + board/xilinx/versal-net/board.c | 149 +- board/xilinx/versal-net/cmds.c | 81 + board/xilinx/zynqmp/cmds.c | 26 +- boot/boot_fit.c | 2 +- cmd/legacy-mtd-utils.c | 5 + cmd/sf.c | 5 + cmd/ufs.c | 2 +- common/spl/spl.c | 2 +- common/spl/spl_mmc.c | 2 +- doc/README.pcap | 2 +- doc/README.s5p4418 | 2 +- doc/SPL/README.spl-secure-boot | 4 +- doc/board/amlogic/p201.rst | 2 +- doc/board/amlogic/p212.rst | 2 +- doc/board/amlogic/s400.rst | 2 +- doc/board/emulation/qemu-arm.rst | 2 +- doc/board/nxp/ls1046ardb.rst | 2 +- doc/board/nxp/mx6sabresd.rst | 2 +- doc/board/rockchip/rockchip.rst | 6 +- doc/board/sifive/unmatched.rst | 2 +- doc/board/st/stm32mp1.rst | 2 +- doc/board/xen/xenguest_arm64.rst | 10 +- doc/develop/driver-model/bind.rst | 2 +- doc/develop/driver-model/fs_firmware_loader.rst | 6 +- doc/develop/uefi/uefi.rst | 2 +- doc/usage/cmd/source.rst | 2 +- doc/usage/dfu.rst | 2 +- drivers/clk/clk-mux.c | 2 +- drivers/clk/clk_zynqmp.c | 1 + drivers/firmware/firmware-zynqmp.c | 48 +- drivers/gpio/gpio-fxl6408.c | 2 +- drivers/mmc/zynq_sdhci.c | 10 +- drivers/mtd/nand/raw/Kconfig | 6 +- drivers/mtd/nand/raw/fsl_ifc_spl.c | 4 +- drivers/net/pfe_eth/pfe_hw.c | 2 +- drivers/pci/Kconfig | 7 + drivers/pci/Makefile | 1 + drivers/pci/pcie-xilinx-nwl.c | 352 ++++ drivers/phy/marvell/comphy_cp110.c | 2 +- drivers/power/domain/zynqmp-power-domain.c | 11 +- drivers/spi/spi-qup.c | 2 +- drivers/video/Kconfig | 9 +- drivers/video/Makefile | 2 +- drivers/video/video-uclass.c | 10 +- drivers/video/video_bmp.c | 36 + drivers/video/zynqmp/Kconfig | 8 + drivers/video/zynqmp/Makefile | 5 + drivers/video/zynqmp/zynqmp_dpsub.c | 2225 ++++++++++++++++++++ drivers/video/zynqmp/zynqmp_dpsub.h | 680 ++++++ drivers/video/zynqmp_dpsub.c | 66 - dts/Kconfig | 4 +- fs/btrfs/compat.h | 2 +- fs/btrfs/extent-io.h | 2 +- include/configs/xilinx_zynqmp.h | 3 + include/fsl_validate.h | 4 +- include/video.h | 1 + include/zynqmp_firmware.h | 2 +- test/py/tests/test_android/test_avb.py | 2 +- test/py/tests/test_cat/conftest.py | 2 +- test/py/tests/test_efi_bootmgr/conftest.py | 2 +- test/py/tests/test_efi_capsule/conftest.py | 2 +- test/py/tests/test_efi_secboot/conftest.py | 4 +- test/py/tests/test_eficonfig/conftest.py | 2 +- test/py/tests/test_fs/conftest.py | 12 +- test/py/tests/test_scp03.py | 2 +- test/py/tests/test_xxd/conftest.py | 2 +- tools/relocate-rela.c | 2 +- 99 files changed, 3767 insertions(+), 236 deletions(-) create mode 100644 board/xilinx/versal-net/cmds.c create mode 100644 drivers/pci/pcie-xilinx-nwl.c create mode 100644 drivers/video/zynqmp/Kconfig create mode 100644 drivers/video/zynqmp/Makefile create mode 100644 drivers/video/zynqmp/zynqmp_dpsub.c create mode 100644 drivers/video/zynqmp/zynqmp_dpsub.h delete mode 100644 drivers/video/zynqmp_dpsub.c