Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751630AbdH3XgU (ORCPT ); Wed, 30 Aug 2017 19:36:20 -0400 Received: from mail-out-1.itc.rwth-aachen.de ([134.130.5.46]:24233 "EHLO mail-out-1.itc.rwth-aachen.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751086AbdH3XgS (ORCPT ); Wed, 30 Aug 2017 19:36:18 -0400 X-IronPort-AV: E=Sophos;i="5.41,450,1498514400"; d="scan'208";a="11027210" From: =?UTF-8?q?Stefan=20Br=C3=BCns?= To: CC: , , Vinod Koul , , , Maxime Ripard , Chen-Yu Tsai , Rob Herring Subject: [PATCH 0/3] dmaengine: Fix DMA on current allwinner SoCs, add A64 support Date: Thu, 31 Aug 2017 01:36:06 +0200 Message-ID: <20170830233609.13855-1-stefan.bruens@rwth-aachen.de> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [77.182.248.91] X-ClientProxiedBy: rwthex-w2-a.rwth-ad.de (2002:8682:1a9e::8682:1a9e) To rwthex-w2-b.rwth-ad.de (2002:8682:1a9f::8682:1a9f) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1350 Lines: 31 The latest generation of allwinner SoCs (e.g. H3, H5, A64) have some significant differences to older SoC generations (e.g. A23): - different register location for the clock autogating register (offset 0x28 vs 0x20) - different field offset for the src/dest burst length fields in the channel configuration register - additional burst lengths and widths This is the second change to the implementation of the DMA controller (first change being the addition of the clock autogating register in the A23). To differentiate between the different generations, the patch adds an enum value to the OF config data. The A83t uses the same register layout as the A23, so this series also fixes the missing clock gating setting for the A83t. The A64 is register compatible to the H3, but supports less channels and has a different set of endpoints. Add a new compatible string to the device tree and the driver. Stefan BrĂ¼ns (3): dmaengine: sun6i: Correct DMA support on H3 arm64: allwinner: a64: Add device node for DMA controller dmaengine: sun6i: Add support for Allwinner A64 .../devicetree/bindings/dma/sun6i-dma.txt | 1 + arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 13 ++ drivers/dma/sun6i-dma.c | 135 +++++++++++++++------ 3 files changed, 109 insertions(+), 40 deletions(-) -- 2.14.1