Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5156793imb; Thu, 7 Mar 2019 08:59:24 -0800 (PST) X-Google-Smtp-Source: APXvYqzmgeGToWALlvzY1GMshTt8kHnsj/fWYAk3Hj174DuAuHZXkZZWUwNmNfILSRrZRsLQqcwS X-Received: by 2002:a17:902:b493:: with SMTP id y19mr14171088plr.9.1551977963853; Thu, 07 Mar 2019 08:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551977963; cv=none; d=google.com; s=arc-20160816; b=BzO5GSe2pHLwxgN5836ng45xBSjUj3VLTQhRI7+GzMwJ3CX00ZapSBpxmT04hE8dCg S4/BUMyUw587QrwnxS+410fldwP/MSj3ui9XQwE2hT2tD3KkKAktrlQrwmxEdKlv/lYV 5hzZaJ18zvCPhm9253W7JFH/9lBLoSMsg67VkETNVFLZCRldeI6C9tMCwfTedhK7Di5q jDdGz1om57bwVk85cMSEiiOmAPPzGsngyJdyD71Oz+d5EV4kWu3ZfFt/ubvpQpU32cA3 8kW9dJwDXtinYdmEGSTdpAirdYoA3H5tkYJRmlQhekpxjFSmjjhTrxDcM9U044+2Bd+o 66UQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=W1BQ89F9K3GvGh5rYApKs4LswStkOA9gOhH027YuAhk=; b=Zwt/FgwxpCHw/KnSghnYkFrdszU9rFX91dVG/Vj1R16grJajo2S0bLw1AMAyHHQ/o1 9Fl+ZCcWFUYQ+VYY4/q0+P67Dh+YYdsQBzSc1+Se/F14GhPF5I/Ouwk+dnQkHyMevr6W fO5QM0g+DQz1piMe+PEWCtcIODp+dBHRNsjVolLPR9Ua+8Ws/kx58grxNM56pyHv44Wk 3OogDDH47HKk0Se3wjHwwVhrRb5J0a95I7CA82VyrfP9vra5lu3mfvQdesvcJ0QZJrk5 sL4IE94cBjCLaqHj3P7lStLz1y4R6EHdUHBRHOgiqAuzohTkulVbWR7kOlwqdYjcRv2J rEMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g8si4166720pgd.52.2019.03.07.08.59.07; Thu, 07 Mar 2019 08:59:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726436AbfCGQ6j (ORCPT + 99 others); Thu, 7 Mar 2019 11:58:39 -0500 Received: from mailoutvs36.siol.net ([185.57.226.227]:45934 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726161AbfCGQ6j (ORCPT ); Thu, 7 Mar 2019 11:58:39 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 6785E5237C4; Thu, 7 Mar 2019 17:58:36 +0100 (CET) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id FzY0lPSKPsIp; Thu, 7 Mar 2019 17:58:36 +0100 (CET) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id 0CB4F523799; Thu, 7 Mar 2019 17:58:36 +0100 (CET) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Zimbra) with ESMTPSA id D2E4D5237B1; Thu, 7 Mar 2019 17:58:34 +0100 (CET) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: vkoul@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, dan.j.williams@intel.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, jernej.skrabec@siol.net Subject: [PATCH 0/6] Allwinner H6 DMA support Date: Thu, 7 Mar 2019 17:58:23 +0100 Message-Id: <20190307165829.9086-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DMA engine on H6 is almost the same as on older SoCs. The biggest difference is that it has slightly rearranged bits in registers and it needs additional clock, probably due to iommu. These patches were tested with I2S connected to HDMI. I2S needs additional patches which will be sent later. Please take a look. Best regards, Jernej Jernej Skrabec (6): dt-bindings: arm64: allwinner: h6: Add binding for DMA controller dmaengine: sun6i: Add a quirk for additional mbus clock dmaengine: sun6i: Add a quirk for setting DRQ fields dmaengine: sun6i: Add a quirk for setting mode fields dmaengine: sun6i: Add support for H6 DMA arm64: dts: allwinner: h6: Add DMA node .../devicetree/bindings/dma/sun6i-dma.txt | 9 +- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 12 ++ drivers/dma/sun6i-dma.c | 147 +++++++++++++----- 3 files changed, 131 insertions(+), 37 deletions(-) --=20 2.21.0