Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp831576pxb; Thu, 28 Jan 2021 00:58:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJxY66ncM9Hk73izk0AiBZqF60rdR4h3ZALY1/B4cMo6jJUr1etDuOy3ii0Cs3PsFW2bCiBd X-Received: by 2002:a17:906:ff43:: with SMTP id zo3mr9945345ejb.542.1611824330377; Thu, 28 Jan 2021 00:58:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611824330; cv=none; d=google.com; s=arc-20160816; b=OD9/4x6jud9aAKlAMv8hcleRt7eIc6ukiVCFheZr51qhugHU4lJGM9Yc4e5W6GHaPq 2kS1FJNQ4rx/ZXSDfw2TKWe2uQJrNjeTk2oD047Rcb94DTikgHbGKwX8PD8FOHbPRs59 r5LecXe+w0Fu/A7dcrtTd9PAozlU8m7MJDMM6dr21XT53vvrogbfLXG/7vaP8bVrLWUc E88GuIb2g+s+o/bUNz6HhZOycAngaKSrG8NReYE5pySarkswrS/B/kAH8/SOlAXHfxSV pBYPOWlKLJag9+q1Nu8DWewzMME0Cf6ygnE5+SslqJ9aEOUSFOgfAGg8UyIO9+5B0Y9i HrXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nvI3mGBD3HFeJzihOVa29pGvn1MsshhTLOD4BIURp4I=; b=C+kPmIhKe2ohUZO+WAaLePUgnPTBBp2/fk8LlFcptydLXobkoJITtq8EbDiRoWVvPS p8A2eQ8NI2fdwnTf/UzpE6emrKLSM9l7uvyJcdcfxE8wA8W24ypaqvbYUFuxQEcNU8cz NxbLlMavXgBRZOQLGG+SGODMn7XY+JjGNjm9muEW2QLRRb/djfAnRJDzF5bwDrLg4Yk9 A0ioJjOFVopCLCkHMhecXVJeN1AITMb3j+HGOoyrAH92pq+Ds+8f506gsSvfktFW9YDx BWYN3VdIoW21bTtGn/MhRpX1QlwUGrZxK3kbFWnpOAoa8GqlSi4wHxaInw33MdYWh83X o6Jw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o27si2554117edz.400.2021.01.28.00.58.25; Thu, 28 Jan 2021 00:58:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232266AbhA1Iyh (ORCPT + 99 others); Thu, 28 Jan 2021 03:54:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232215AbhA1Ip3 (ORCPT ); Thu, 28 Jan 2021 03:45:29 -0500 Received: from andre.telenet-ops.be (andre.telenet-ops.be [IPv6:2a02:1800:120:4::f00:15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AE26C061756 for ; Thu, 28 Jan 2021 00:45:01 -0800 (PST) Received: from ramsan.of.borg ([84.195.186.194]) by andre.telenet-ops.be with bizsmtp id N8kx2400T4C55Sk018kxDA; Thu, 28 Jan 2021 09:44:59 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1l52vB-001JYO-AL; Thu, 28 Jan 2021 09:44:57 +0100 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1l52vA-009O1c-Tn; Thu, 28 Jan 2021 09:44:56 +0100 From: Geert Uytterhoeven To: Vinod Koul Cc: Rob Herring , Dan Williams , Laurent Pinchart , Wolfram Sang , Yoshihiro Shimoda , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH v3 0/4] dmaengine: rcar-dmac: Add support for R-Car V3U Date: Thu, 28 Jan 2021 09:44:51 +0100 Message-Id: <20210128084455.2237256-1-geert+renesas@glider.be> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vinod, This patch series adds support for the Direct Memory Access Controller variant in the Renesas R-Car V3U (R8A779A0) SoC, to both DT bindings and driver. Changes compared to v2: - Add Reviewed-by, Tested-by, - Place iterator after container being iterated, - Stop passing index to rcar_dmac_chan_probe(). Changes compared to v1: - Add Reviewed-by, - Put the full loop control of for_each_rcar_dmac_chan() on a single line, to improve readability, - Use two separate named regions instead of array, - Drop rcar_dmac_of_data.chan_reg_block, check for !rcar_dmac_of_data.chan_offset_base instead, - Precalculate chan_base in rcar_dmac_probe(). This has been tested on the Renesas Falcon board, using external SPI loopback (spi-loopback-test) on MSIOF1 and MSIOF2. Thanks! Geert Uytterhoeven (4): dt-bindings: renesas,rcar-dmac: Add r8a779a0 support dmaengine: rcar-dmac: Add for_each_rcar_dmac_chan() helper dmaengine: rcar-dmac: Add helpers for clearing DMA channel status dmaengine: rcar-dmac: Add support for R-Car V3U .../bindings/dma/renesas,rcar-dmac.yaml | 76 +++++++----- drivers/dma/sh/rcar-dmac.c | 112 ++++++++++++------ 2 files changed, 126 insertions(+), 62 deletions(-) -- 2.25.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds