From patchwork Fri Feb 24 13:22:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Vinod Koul X-Patchwork-Id: 61316 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp910854wrd; Fri, 24 Feb 2023 05:38:43 -0800 (PST) X-Google-Smtp-Source: AK7set/VZ/puxwH0oxdGR0kTiL/3XhOC6QnLvy8wVDb91wOh09pmwkJ3ILas7cMCZkbcEpOloJV3 X-Received: by 2002:a17:902:ea07:b0:19a:9831:c8d6 with SMTP id s7-20020a170902ea0700b0019a9831c8d6mr16927539plg.50.1677245923375; Fri, 24 Feb 2023 05:38:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1677245923; cv=none; d=google.com; s=arc-20160816; b=kcRiG1ovZJjqeLuz73Uk8LWFvKQdseNze8W0gjRMNPbA00kZhBzZxVAQtjkm/tmu0y RoqqeCN5JP5K2/XaLZVt/wwxhk4LjMgZChzmywwbRnx1ViRsANjDSsVk2WK9v4ywL6fT WjuGJ5cyfPEO7zx8qdOsl4bysbtNFIsv6srJIhlVReZ1TjHyBeFD3w36/gQuvSHt9OVK Tj4kLz/BZpeE7UVkYVpaUjZAmqhD331MelC2SKswQzQeE8tpbFR8Nh85ibMSmUy43GkU 4aFPduWnBTxOacL3NVRCmBHfjTYLTmmTS/ti+czE3MGOpoQ3HiakRGVVt2PGk+DdI0Sf 2rzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=bfKZ4ipFdAaM6OQjtqhxAzEKQ1ulOLn+MoHJPcLlSgs=; b=mrQv7y65pnBfxxTDVCbUNNmJSW+07Vfrprys4buzGHkAfUoFZLC+n4WmmFQliCiWPw I2cmsk2tTuK7/mPr6g/xhvCedKbFufwc879M4gIlZo+6ExF5R4QT1C3/qcAifHRxbwVY YHzQCRxXKIsQPQd01pIt/X3prpLFuCPiabWpxvACgEvaXMmqBBggSYHrWuj33wm4WNn3 eKojX+E3Et2QLdmICAeYk6ck5L0KjXO0tvoAqYzMW9jMzJBcrvsoE2u/+Q29G6qIY/8g uRZeNVXbuuLwve4h04SnSIvnWbQYfXu8wrHPIjnjEtJMFkPwdS/r0TqLe7MY/gllod/6 8IDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cScYkId7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 21-20020a170902c21500b001991584ad17si20835348pll.34.2023.02.24.05.38.29; Fri, 24 Feb 2023 05:38:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=cScYkId7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230113AbjBXNXZ (ORCPT + 99 others); Fri, 24 Feb 2023 08:23:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229692AbjBXNXV (ORCPT ); Fri, 24 Feb 2023 08:23:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FBB2729B; Fri, 24 Feb 2023 05:23:06 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 52AD5B81C5F; Fri, 24 Feb 2023 13:23:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75834C433EF; Fri, 24 Feb 2023 13:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677244984; bh=cbR8uAH8FMCf7AI+eZE/BNI3CtpMujoaWI9PPpn9PXA=; h=Date:From:To:Cc:Subject:From; b=cScYkId7dJ+3ya2Zl/Gaa9iHYaD0HfCS4152cjCtZz4AunvAkcWpgxnPUr/xIhv9s zL7OZsQ9E1+CTaOeJjbIbPRfzvquDCd3vPMcKYyZx2C7XrnhR0D/lRwYROqOfkg5KD bo5v9NzatoJh08Sg76YZ424ZPTbT4OVXFV/ZyvTWr9Xs0VhM740PXr5cc/uPUlXUXm qpG3Ju4zPeKzsnPWWm+DJBZKRs4kyBAiujmqCVsj/ec2YlVw8u5yk22txlaTevMMEl o3OsDwbv63tqUcoxsZ7gQ9Qgjv0CNI406M8S+5p2MVk2o2cX/CYYvDEvM3d8zoxdwF SDh+NoWzoz7xA== Date: Fri, 24 Feb 2023 18:52:59 +0530 From: Vinod Koul To: Linus Torvalds Cc: dma , LKML Subject: [GIT PULL]: dmaengine updates for v6.3 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1758719821790238091?= X-GMAIL-MSGID: =?utf-8?q?1758719821790238091?= Hello Linus, Please pull to receive dmaengine subsystem updates for v6.3. A new driver, couple of device support and binding conversion along with bunch of driver updates are features of this request. You have already received request from Bjorn on edma driver updates thru pci tree. The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2: Linux 6.2-rc1 (2022-12-25 13:41:39 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git tags/dmaengine-6.3-rc1 for you to fetch changes up to e922bbf37564a4c67efca9dd6133eaadbffb65f5: dmaengine: idma64: Update bytes_transferred field (2023-02-16 18:45:48 +0530) ---------------------------------------------------------------- dmaengine updates for v6.3 New support: - TI AM62Ax controller support - Xilinx xdma driver - Qualcomm SM6125, SM8550, QDU1000/QRU1000 GPI controller Updates: - Runtime pm support for at_xdmac driver - IMX sdma binding conversion to yaml and HDMI audio support - IMX mxs binding conversion to yaml ---------------------------------------------------------------- Aman Kumar (1): dmaengine: idma64: Update bytes_transferred field Andy Shevchenko (4): dmaengine: Make an order in struct dma_device definition dmaengine: use sysfs_emit() to instead of scnprintf() dmaengine: Simplify dmaenginem_async_device_register() function dmaengine: dw: Move check for paused channel to dwc_get_residue() Claudiu Beznea (3): dmaengine: at_xdmac: align properly function members dmaengine: at_xdmac: add runtime pm support dmaengine: at_xdmac: remove empty line Eric Pilmore (1): dmaengine: ptdma: check for null desc before calling pt_cmd_callback Fenghua Yu (2): dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0 dmaengine: idxd: Fix default allowed read buffers value in group Geert Uytterhoeven (1): dmaengine: HISI_DMA should depend on ARCH_HISI Jai Luthra (1): dmaengine: ti: k3-psil-am62a: Add AM62Ax PSIL and PDMA data Jayesh Choudhary (1): dmaengine: ti: k3-udma: remove non-fatal probe deferral log Jiapeng Chong (1): dmaengine: idxd: Remove the unused function set_completion_address() Joy Zou (2): dt-bindings: fsl-imx-sdma: Convert imx sdma to DT schema dmaengine: imx-sdma: support hdmi in sdma Kai-Heng Feng (1): dmaengine: imx-sdma: Set DMA channel to be private Kees Cook (1): dmaengine: dw-axi-dmac: Do not dereference NULL structure Krzysztof Kozlowski (2): dt-bindings: dma: drop unneeded quotes dt-bindings: dma: cleanup examples - indentation, lowercase hex Lizhi Hou (2): dmaengine: xilinx: xdma: Add xilinx xdma driver dmaengine: xilinx: xdma: Add user logic interrupt support Marek Vasut (1): dt-bindings: dma: fsl-mxs-dma: Convert MXS DMA to DT schema Martin Botka (1): dt-bindings: dma: gpi: Document SM6125 compatible Melody Olvera (1): dt-bindings: dmaengine: qcom: gpi: Add QDU1000/QRU1000 gpi device Neil Armstrong (1): dt-bindings: dma: qcom: gpi: add compatible for sm8550 Samuel Holland (1): dmaengine: sun6i: Set the maximum segment size Shravan Chippa (1): dmaengine: sf-pdma: pdma_desc memory leak fix Tudor Ambarus (1): dmaengine: drivers: Use devm_platform_ioremap_resource() Vignesh Raghavendra (4): dt-bindings: dma: ti: k3-bcdma: Add bindings for BCDMA CSI RX dmaengine: ti: k3-udma: Fix BCDMA for case w/o BCHAN dmaengine: ti: k3-udma: Add support for DMAs on AM62A SoC dmaengine: ti: k3-udma: Add support for BCDMA CSI RX ye xingchen (1): dmaengine: ppc4xx: Convert to use sysfs_emit()/sysfs_emit_at() APIs .../bindings/dma/allwinner,sun4i-a10-dma.yaml | 2 +- .../bindings/dma/allwinner,sun50i-a64-dma.yaml | 2 +- .../bindings/dma/allwinner,sun6i-a31-dma.yaml | 2 +- .../devicetree/bindings/dma/altr,msgdma.yaml | 2 +- .../devicetree/bindings/dma/apple,admac.yaml | 2 +- .../devicetree/bindings/dma/arm-pl08x.yaml | 2 +- .../devicetree/bindings/dma/dma-controller.yaml | 2 +- .../devicetree/bindings/dma/dma-router.yaml | 2 +- .../devicetree/bindings/dma/fsl,edma.yaml | 2 +- .../devicetree/bindings/dma/fsl,imx-sdma.yaml | 149 ++++ .../devicetree/bindings/dma/fsl,mxs-dma.yaml | 80 ++ .../devicetree/bindings/dma/fsl-imx-sdma.txt | 118 --- .../devicetree/bindings/dma/fsl-mxs-dma.txt | 60 -- .../devicetree/bindings/dma/ingenic,dma.yaml | 2 +- .../devicetree/bindings/dma/intel,ldma.yaml | 2 +- .../devicetree/bindings/dma/mediatek,uart-dma.yaml | 2 +- .../bindings/dma/nvidia,tegra186-gpc-dma.yaml | 2 +- .../bindings/dma/nvidia,tegra210-adma.yaml | 2 +- Documentation/devicetree/bindings/dma/owl-dma.yaml | 2 +- .../devicetree/bindings/dma/qcom,bam-dma.yaml | 2 +- .../devicetree/bindings/dma/qcom,gpi.yaml | 5 +- .../devicetree/bindings/dma/renesas,rcar-dmac.yaml | 2 +- .../devicetree/bindings/dma/renesas,rz-dmac.yaml | 2 +- .../bindings/dma/renesas,rzn1-dmamux.yaml | 2 +- .../devicetree/bindings/dma/renesas,usb-dmac.yaml | 2 +- .../bindings/dma/sifive,fu540-c000-pdma.yaml | 2 +- .../bindings/dma/snps,dma-spear1340.yaml | 2 +- .../devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 38 +- .../bindings/dma/socionext,uniphier-mio-dmac.yaml | 2 +- .../bindings/dma/socionext,uniphier-xdmac.yaml | 2 +- .../devicetree/bindings/dma/st,stm32-dma.yaml | 2 +- .../devicetree/bindings/dma/st,stm32-dmamux.yaml | 2 +- .../devicetree/bindings/dma/st,stm32-mdma.yaml | 2 +- .../devicetree/bindings/dma/stericsson,dma40.yaml | 18 +- .../devicetree/bindings/dma/ti/k3-bcdma.yaml | 77 +- MAINTAINERS | 11 + drivers/dma/Kconfig | 16 +- drivers/dma/at_xdmac.c | 220 ++++- drivers/dma/bcm2835-dma.c | 4 +- drivers/dma/dma-axi-dmac.c | 4 +- drivers/dma/dmaengine.c | 26 +- drivers/dma/dw-axi-dmac/dw-axi-dmac-platform.c | 6 +- drivers/dma/dw/core.c | 11 +- drivers/dma/fsl-edma.c | 8 +- drivers/dma/fsl-qdma.c | 10 +- drivers/dma/idma64.c | 8 +- drivers/dma/idxd/device.c | 14 +- drivers/dma/idxd/dma.c | 6 - drivers/dma/idxd/init.c | 7 +- drivers/dma/idxd/sysfs.c | 4 +- drivers/dma/img-mdc-dma.c | 4 +- drivers/dma/imx-dma.c | 4 +- drivers/dma/imx-sdma.c | 43 +- drivers/dma/mcf-edma.c | 5 +- drivers/dma/mediatek/mtk-hsdma.c | 4 +- drivers/dma/mmp_pdma.c | 4 +- drivers/dma/mmp_tdma.c | 4 +- drivers/dma/moxart-dma.c | 4 +- drivers/dma/mv_xor_v2.c | 7 +- drivers/dma/mxs-dma.c | 4 +- drivers/dma/nbpfaxi.c | 4 +- drivers/dma/ppc4xx/adma.c | 12 +- drivers/dma/ptdma/ptdma-dmaengine.c | 2 +- drivers/dma/pxa_dma.c | 4 +- drivers/dma/qcom/bam_dma.c | 4 +- drivers/dma/sf-pdma/sf-pdma.c | 7 +- drivers/dma/sf-pdma/sf-pdma.h | 1 - drivers/dma/sh/usb-dmac.c | 4 +- drivers/dma/stm32-dmamux.c | 4 +- drivers/dma/stm32-mdma.c | 4 +- drivers/dma/sun4i-dma.c | 4 +- drivers/dma/sun6i-dma.c | 7 +- drivers/dma/tegra210-adma.c | 4 +- drivers/dma/ti/Makefile | 3 +- drivers/dma/ti/cppi41.c | 10 +- drivers/dma/ti/k3-psil-am62a.c | 196 +++++ drivers/dma/ti/k3-psil-priv.h | 1 + drivers/dma/ti/k3-psil.c | 1 + drivers/dma/ti/k3-udma.c | 42 +- drivers/dma/ti/omap-dma.c | 4 +- drivers/dma/xilinx/Makefile | 1 + drivers/dma/xilinx/xdma-regs.h | 166 ++++ drivers/dma/xilinx/xdma.c | 974 +++++++++++++++++++++ drivers/dma/xilinx/zynqmp_dma.c | 4 +- include/linux/dma/amd_xdma.h | 16 + include/linux/dma/imx-dma.h | 1 + include/linux/dmaengine.h | 13 +- include/linux/platform_data/amd_xdma.h | 34 + 88 files changed, 2119 insertions(+), 445 deletions(-) create mode 100644 Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml create mode 100644 Documentation/devicetree/bindings/dma/fsl,mxs-dma.yaml delete mode 100644 Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt delete mode 100644 Documentation/devicetree/bindings/dma/fsl-mxs-dma.txt create mode 100644 drivers/dma/ti/k3-psil-am62a.c create mode 100644 drivers/dma/xilinx/xdma-regs.h create mode 100644 drivers/dma/xilinx/xdma.c create mode 100644 include/linux/dma/amd_xdma.h create mode 100644 include/linux/platform_data/amd_xdma.h