From patchwork Wed Mar 16 16:42:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1606250 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=monstr-eu.20210112.gappssmtp.com header.i=@monstr-eu.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=z9lUliPU; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4KJbft3nRRz9sCD for ; Thu, 17 Mar 2022 03:42:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 698A782093; Wed, 16 Mar 2022 17:42:40 +0100 (CET) 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="z9lUliPU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 060C5839A9; Wed, 16 Mar 2022 17:42:38 +0100 (CET) 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-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 0919180F90 for ; Wed, 16 Mar 2022 17:42:34 +0100 (CET) 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 w25so3442014edi.11 for ; Wed, 16 Mar 2022 09:42:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:content-language:to:cc:from :subject:content-transfer-encoding; bh=NPPxf0R83aga2eH5hV4NfwI+muC1ufbHM+StSLM4HdA=; b=z9lUliPUJGuPMjHEsA2kpRTICRmrYCrsjnqnXtYmND5BqZOrOf2zCpeB9IX1z+GSev /VTohp9+AORMMpNMfyS1FOjxZikCB8SRkscTmKLStbfCZf8YdA/ErlBNbGhXopc4qheN P4VsCkpyJo3e5YzsIb3EWijEkDpmoUeIAtSbesVw18P0Ioi7tLV64Jaj5x6rfOBvCeKZ 24cnCdb3YkbEkc+kYeipWJTv3IywcEmLUVVV261ZgFoSQiZXG11vjxBN7OxZ8aLDjswi 0AE/ngPQZWbsHGjn92hZJq3wnjRiLpjxyjQ/SGUcTyed1WJ9RYuy4h6wtA9V8IUKb4Pv Ekqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent :content-language:to:cc:from:subject:content-transfer-encoding; bh=NPPxf0R83aga2eH5hV4NfwI+muC1ufbHM+StSLM4HdA=; b=kiexV+Da+2MdTyfzhfJJD5PIZCYsB2mhTZqmmVaJy6fDmkztHVWBBeXBC4WxpGVCfH o4H8nErv6o1cCIZPe3f97gtAjBwJ23ZjxLaVm7BAgPqGyjTcfDPeD/DEwYyFtmFfOi2F dKMux4KdYTsuDCsaBO8t2xgbVmG+qp/TsCi2I3gmOoOwSEAPsyOW/1jbyFJ/VMBetHur OC6oFYVZxdkAFSzdbQhDzw+vNEi5gC9riWeR+Hc94ZAep5aGKzJd1X2GKzgD6t2exrFl xW12lKnsuQ0/UjW4YGE9lX2lRMEgOCqnIohHRSOYRNsxLZmYvFjXBwq4ERrPbFtxA6T7 ZUZA== X-Gm-Message-State: AOAM5320di5xluGXLEpHLJHCjL3kvBB2BuUdTG7Q0XoYI/v9n8ebNyDf bMvTVawEo302bkbDABFtFn6r3S6HecMPUA== X-Google-Smtp-Source: ABdhPJzxbsRIgQZOsH/nqMMMSCG7NWO6mfYV8gUUzuKMy43WVxCHrykLvI+1N/vsL9iTR+IS9+ow/w== X-Received: by 2002:aa7:d40d:0:b0:418:eeed:e806 with SMTP id z13-20020aa7d40d000000b00418eeede806mr375473edq.292.1647448953494; Wed, 16 Mar 2022 09:42:33 -0700 (PDT) Received: from ?IPV6:2a02:768:2307:40d6::f9e? ([2a02:768:2307:40d6::f9e]) by smtp.gmail.com with ESMTPSA id z21-20020a1709063a1500b006da6436819dsm1078432eje.173.2022.03.16.09.42.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Mar 2022 09:42:33 -0700 (PDT) Message-ID: Date: Wed, 16 Mar 2022 17:42:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Content-Language: en-US To: Tom Rini Cc: U-Boot Mailing List From: Michal Simek Subject: [GIT PULL] xilinx patches for v2022.07-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.5 at phobos.denx.de X-Virus-Status: Clean Hi Tom, please pull these patches to your next branch. CI doesn't show any issue. https://source.denx.de/u-boot/custodians/u-boot-microblaze/-/pipelines/11311 There are couple of enhancements but also new pinctrl driver for supporting Xilinx SOM. Thanks, Michal The following changes since commit 6d3c46ed0e230d999c3f20f7fd4f3a88c03b14ca: Merge https://source.denx.de/u-boot/custodians/u-boot-sunxi (2022-03-05 20:46:55 -0500) are available in the Git repository at: git@source.denx.de:u-boot/custodians/u-boot-microblaze.git tags/xilinx-for-v2022.07-rc1 for you to fetch changes up to 0ac03fbab51c72fa978569a831c001c4ddad8e2a: arm64: zynqmp: Add pinctrl emmc description to SM-K26 (2022-03-16 16:14:34 +0100) ---------------------------------------------------------------- Xilinx changes for v2022.07-rc1 microblaze: - Add support for reserved memory xilinx: - Update FRU code with MAC reading zynqmp: - Remove double AMS setting - DT updates (mostly for SOMs) - Add support for zcu106 rev 1.0 zynq: - Update nand binding nand: - Aligned zynq_nand to upstream DT binding net: - Add support for ethernet-phy-id mmc: - Workaround CD in zynq_sdhci driver also for ZynqMP - Add support for dynamic/run-time SD config for SOMs gpio: - Add driver for slg7xl45106 firmware: - Add support for dynamic SD config power-domain: - Update zynqmp driver with the latest firmware video: - Add skeleton driver for DP and DPDMA i2c: - Fix i2c to work with QEMU pinctrl: - Add driver for zynqmp pinctrl driver ---------------------------------------------------------------- Ashok Reddy Soma (14): fru: ops: Clear fru table before storing data fru: ops: Return error from checksum if data is all zero's xilinx: common: Optimise updating ethaddr from eeprom fru: ops: Add support to read mac addresses from multirecord dm: pinctrl: Use explicit values for enums mmc: zynq_sdhci: Fix timeout issue mmc: zynq_sdhci: Change granularity of timeout to 1us mmc: zynq_sdhci: Enable card detect workaround for ZynqMP firmware: zynqmp: Add and update firmware enums firmware: zynqmp: Add support for set sd config and is function supported lib: div64: Add support for round up of div64_u64 mmc: zynq_sdhci: Add support for dynamic configuration pinctrl: Increase length of pinmux status buffer pinctrl: zynqmp: Add pinctrl driver Michael Walle (1): ARM: dts: zynq: add NAND flash controller node Michal Simek (18): mtd: nand: Update driver to match new DT binding power: zynqmp: Use zynqmp_pmufw_node() from firmware microblaze: Do not place u-boot to reserved memory location arm64: zynqmp: Move usb hub from i2c to usb node arm64: zynqmp: Setup clock for DP and DPDMA arm64: zynqmp: Use assigned-clock-rates for setting up clock in SOM arm64: zynqmp: Switch to ethernet-phy-id in kv260 arm64: zynqmp: Enable DP driver for SOMs arm64: zynqmp: Fix level of gpio reset for usb on kv260 boards video: Add skeleton driver for ZynqMP Display port driver dma: xilinx: Add Display Port DMA driver MAINTAINERS: Remove duplicated entry for ehci-zynq.c net: phy: Add new read ethernet phy id function net: phy: Remove static return type for phy_device_create() net: phy: Add support for ethernet-phy-id with gpio reset cmd: test: pinmux: Do not check all empty spaces arm64: zynqmp: Fix i2c addresses for zynqmp-p-a2197 arm64: zynqmp: Add pinctrl emmc description to SM-K26 Neal Frager (1): arm64: zynqmp: add support for zcu106 rev1.0 Sai Pavan Boddu (3): i2c: i2c-cdns: Start read transaction after write to transfer_size reg i2c: i2c-cdns: Fix write transaction state i2c: i2c-cdns: Prevent early termination of write T Karthik Reddy (2): Revert "board: zynqmp: Fix for wrong AMS setting by ROM" gpio: slg7xl45106: Add support for slg7xl45106 i2c gpo expander MAINTAINERS | 4 +- arch/arm/dts/Makefile | 1 + arch/arm/dts/bitmain-antminer-s9.dts | 2 +- arch/arm/dts/zynq-7000.dtsi | 57 +- arch/arm/dts/zynq-zc770-xm011.dts | 2 +- arch/arm/dts/zynqmp-clk-ccf.dtsi | 8 + arch/arm/dts/zynqmp-p-a2197-00-revA.dts | 8 +- arch/arm/dts/zynqmp-sck-kv-g-revA.dts | 12 +- arch/arm/dts/zynqmp-sck-kv-g-revB.dts | 26 +- arch/arm/dts/zynqmp-sm-k26-revA.dts | 25 + arch/arm/dts/zynqmp-zcu106-rev1.0.dts | 16 + arch/microblaze/include/asm/system.h | 2 + board/xilinx/common/board.c | 11 +- board/xilinx/common/fru.h | 21 + board/xilinx/common/fru_ops.c | 49 +- board/xilinx/microblaze-generic/microblaze-generic.c | 21 + board/xilinx/zynqmp/zynqmp-zcu106-rev1.0/psu_init_gpl.c | 842 ++++++++++++++++++++ board/xilinx/zynqmp/zynqmp.c | 6 - configs/xilinx_zynqmp_virt_defconfig | 2 +- drivers/core/ofnode.c | 36 + drivers/dma/Kconfig | 7 + drivers/dma/Makefile | 1 + drivers/dma/xilinx_dpdma.c | 43 + drivers/firmware/firmware-zynqmp.c | 51 ++ drivers/gpio/Kconfig | 8 + drivers/gpio/Makefile | 1 + drivers/gpio/gpio_slg7xl45106.c | 115 +++ drivers/i2c/i2c-cdns.c | 18 +- drivers/mmc/zynq_sdhci.c | 110 ++- drivers/mtd/nand/raw/zynq_nand.c | 9 +- drivers/net/phy/Kconfig | 8 + drivers/net/phy/Makefile | 1 + drivers/net/phy/ethernet_id.c | 69 ++ drivers/net/phy/phy.c | 11 +- drivers/pinctrl/Kconfig | 10 + drivers/pinctrl/Makefile | 1 + drivers/pinctrl/pinctrl-zynqmp.c | 644 +++++++++++++++ drivers/power/domain/zynqmp-power-domain.c | 29 +- drivers/video/Kconfig | 8 + drivers/video/Makefile | 1 + drivers/video/zynqmp_dpsub.c | 66 ++ include/dm/ofnode.h | 13 + include/dm/pinctrl.h | 50 +- include/linux/math64.h | 3 + include/phy.h | 26 + include/zynqmp_firmware.h | 72 ++ test/cmd/pinmux.c | 8 +- 47 files changed, 2410 insertions(+), 124 deletions(-) create mode 100644 arch/arm/dts/zynqmp-zcu106-rev1.0.dts create mode 100644 board/xilinx/zynqmp/zynqmp-zcu106-rev1.0/psu_init_gpl.c create mode 100644 drivers/dma/xilinx_dpdma.c create mode 100644 drivers/gpio/gpio_slg7xl45106.c create mode 100644 drivers/net/phy/ethernet_id.c create mode 100644 drivers/pinctrl/pinctrl-zynqmp.c create mode 100644 drivers/video/zynqmp_dpsub.c