From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9F292C433FE for ; Tue, 11 Oct 2022 11:16:15 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D4AF584E34; Tue, 11 Oct 2022 13:16:12 +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.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.b="r2QxVMDy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C14F484D22; Tue, 11 Oct 2022 13:16:10 +0200 (CEST) Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 DF6EF84375 for ; Tue, 11 Oct 2022 13:16:07 +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-ed1-x531.google.com with SMTP id a67so10262104edf.12 for ; Tue, 11 Oct 2022 04:16:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=mgaZ46HFCFWlBjln0mLsUMIzr1RyABWj56aFI1GMwvc=; b=r2QxVMDyEz46ectzfFwnkKAErcVFYNgeddoChXPpCf1bOYhxRXfV3lRfx5GMEu2ljk 4kY1/3F00JYVaRb/D9Ivd4vTvhe2WJcy24cEHzFFRaiR6OEMnS08yzld/KGuVL3cOPH+ cImxtZh/Zb9zIZpk51rN2ZJ6keYo7j2q/9hqZtYb9wnLKjz294ZBnhwtvZpHWvscBQDB XhI+93tKUciyEdVnJuaEHl72mIGkjFLvJw8xemNAZJahWXgglTAbpCbAt4X5rg5FYWbU CyvVOMGoX4BIr+3O1ebwLM869XVhK2F9TDPS4S69iBcwp5TzwUSvzixJCfcjQrtskCak Vwaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=mgaZ46HFCFWlBjln0mLsUMIzr1RyABWj56aFI1GMwvc=; b=o2PzszjXIlCeA/NR1ARN1IPYBDpxAVUk8++WvV09A3nBVwTPKu3C6I7cJJyTSZYtZI l3FciI14kKRL63L5PGfSiyNR4y7eYsyCdybs4aqzN+k36nUShEZIR2atZOkSY73NZqYG MQpdzZSAx2TYHl3FelEik5EgaCmYa77DQhNQZa4QJfKg+Fp1nXh95zKdpt5aGagb2cdJ 3kR8VGefolLq0myBBgQBcUZsJFNyvUXY+k7Wodp0nm8PqlWGzPFZyG6/cUfiRRDGNPmS A2m0HgwW7bNrU6ZUtB0/mURPAcKT8V9J0VhmyIghcb88BBUdJjRveivbWFFUAvRVB8zV oRIw== X-Gm-Message-State: ACrzQf0JWpM6M7zcgfn12uzoDWKLIS8mdqjFA1c3GLemgXdvzUJy2h2a KKHe7KuXMy3zjRIZ/WVrp3upo5d+2wbrxA== X-Google-Smtp-Source: AMsMyM4cv5t9hCdVvEGrmeYcsbnx6l8sdoeVKdUuxRqNU5cN+ihp4ZVgrjCl1CEQe7d7vOG7K9WtCA== X-Received: by 2002:a05:6402:2791:b0:45c:2675:7fe4 with SMTP id b17-20020a056402279100b0045c26757fe4mr8145599ede.409.1665486967505; Tue, 11 Oct 2022 04:16:07 -0700 (PDT) Received: from [192.168.0.105] (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id l27-20020a056402345b00b00457160c3c77sm8908423edc.20.2022.10.11.04.16.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 Oct 2022 04:16:06 -0700 (PDT) Message-ID: <12ac2391-3a8a-869a-b8f2-0c2c7c9df0f6@monstr.eu> Date: Tue, 11 Oct 2022 13:16:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List , Simon Glass From: Michal Simek Subject: [GIT PULL] xilinx patches for v2023.01-rc1 (round 3) Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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.6 at phobos.denx.de X-Virus-Status: Clean Hi Tom, please pull the following patches to your tree. Based on discussion with Simon I have also include fpga uclass series which was reviewed by him. There is also one gcc12 patch we discussed over IRC which was fixed by Heinrich. Thanks, Michal The following changes since commit 2d4591353452638132d711551fec3495b7644731: Merge branch 'next' (2022-10-03 15:39:46 -0400) are available in the Git repository at: git@source.denx.de:u-boot/custodians/u-boot-microblaze.git tags/xilinx-for-v2023.01-rc1-v3 for you to fetch changes up to 63c46e028c14254f28332b3bd57fc3202e26b10a: fpga: virtex2: Use logging feature instead of FPGA_DEBUG (2022-10-10 12:28:08 +0200) ---------------------------------------------------------------- Xilinx changes for v2023.01-rc1 (round 3) fpga: - Create new uclass - Get rid of FPGA_DEBUG and use logging infrastructure zynq: - Enable early EEPROM decoding - Some DT updates zynqmp: - Use OCM_BANK_0 to check config loading permission - Change config object loading in SPL - Some DT updates net: - emaclite: Enable driver for RISC-V xilinx: - Fix static checker warnings - Fix GCC12 warning sdhci: - Read PD id from DT ---------------------------------------------------------------- Alexander Dahl (11): dm: fpga: Introduce new uclass fpga: Add missing Kconfig symbols for old FPGA drivers fpga: spartan2: Fix printf arguments warning fpga: spartan3: Fix printf arguments warning fpga: virtex2: Fix printf format string warnings fpga: altera: Use logging feature instead of FPGA_DEBUG fpga: cyclon2: Use logging feature instead of FPGA_DEBUG fpga: ACEX1K: Use logging feature instead of FPGA_DEBUG fpga: spartan2: Use logging feature instead of FPGA_DEBUG fpga: spartan3: Use logging feature instead of FPGA_DEBUG fpga: virtex2: Use logging feature instead of FPGA_DEBUG Ashok Reddy Soma (4): firmware: zynqmp: Change loadable config object from APU_0 to OCM_BANK_0 mmc: zynq_sdhci: Change node_id prototype to u32 mmc: zynq_sdhci: Read power-domains id from DT and use arm64: dts: Remove unused property device_id Heinrich Schuchardt (1): xilinx: common: fix board_late_init_xilinx() Michal Simek (4): xilinx: zynq: Enable early eeprom decoding ARM: zynq: Point via nvmem0 alias to eeprom on zc702/zc706 ARM: zynq: Define rtc alias on zc702/zc706 xilinx: zynqmp: Load pmufw configuration before checking access Samuel Obuch (3): net: emaclite: enable for more architectures net: emaclite: fix xemaclite_alignedread/write functions net: emaclite: fix handling for IP packets with specific lengths Venkatesh Yadav Abbarapu (8): xilinx: common: Fix static checker warnings net: Fix static checker warnings arm64: zynqmp: Fix compiler warnings in mp.c spi: zynqmp_qspi: Mark zynqmp_qspi_set_tapdelay() as static xilinx: common: Add print_cpuinfo() declaration soc: xilinx: zynqmp: Mark soc_xilinx_zynqmp_get_machine() as static xilinx: zynqmp: change the type of multiboot variable clk: versal: Mark versal_clock_setup() as static MAINTAINERS | 1 + arch/arm/dts/versal-mini-emmc0.dts | 1 - arch/arm/dts/versal-mini-emmc1.dts | 1 - arch/arm/dts/zynq-zc702.dts | 6 +- arch/arm/dts/zynq-zc706.dts | 6 +- arch/arm/dts/zynqmp-mini-emmc0.dts | 1 - arch/arm/dts/zynqmp-mini-emmc1.dts | 1 - arch/arm/dts/zynqmp.dtsi | 2 - arch/arm/mach-zynqmp/mp.c | 6 +- arch/sandbox/dts/test.dts | 4 + board/xilinx/common/board.c | 9 +-- board/xilinx/common/cpu-info.c | 1 + board/xilinx/zynq/board.c | 3 + board/xilinx/zynqmp/zynqmp.c | 14 ++-- drivers/clk/clk_versal.c | 2 +- drivers/firmware/firmware-zynqmp.c | 11 ++- drivers/fpga/ACEX1K.c | 37 ++++----- drivers/fpga/Kconfig | 31 ++++++++ drivers/fpga/Makefile | 3 + drivers/fpga/altera.c | 11 +-- drivers/fpga/cyclon2.c | 38 ++++------ drivers/fpga/fpga-uclass.c | 11 +++ drivers/fpga/sandbox.c | 17 +++++ drivers/fpga/spartan2.c | 80 +++++++++----------- drivers/fpga/spartan3.c | 80 +++++++++----------- drivers/fpga/virtex2.c | 69 ++++++++--------- drivers/mmc/zynq_sdhci.c | 53 ++++++------- drivers/net/xilinx_axi_emac.c | 5 ++ drivers/net/xilinx_emaclite.c | 20 ++--- drivers/net/zynq_gem.c | 2 +- drivers/soc/soc_xilinx_zynqmp.c | 2 +- drivers/spi/zynqmp_gqspi.c | 2 +- include/dm/uclass-id.h | 1 + test/dm/Makefile | 1 + test/dm/fpga.c | 20 +++++ 35 files changed, 310 insertions(+), 242 deletions(-) create mode 100644 drivers/fpga/fpga-uclass.c create mode 100644 drivers/fpga/sandbox.c create mode 100644 test/dm/fpga.c -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Xilinx Microblaze Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs