From patchwork Mon Apr 11 22:22:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Martin_Povi=C5=A1er?= X-Patchwork-Id: 12809729 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 03824C433EF for ; Mon, 11 Apr 2022 22:23:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=J6hRUfIsKLrdEOXqJHCQBb1RxRJcuhICTSo10/IN3KM=; b=BBgXBzOIBfmukh 6lsr1xBBPndaw11hyqz27psuPko/OoPdeyt3pkp0yucbx6j9qUxfreXKO924MSZG7Gh1pFSzKDJDL kYFYcZ0bWnW25heGJ0/JC8HkLzIYPYl4PX5OLwH8GAu7fvzesku7MUaRHoUcjedE3Gc1XMowhDDhh O2mOtaz1+FtqK2H/wne+0/Leyu6fte3O89Jhco6PZm/DdjVOBqvCZj+4CsqLgtlOUsRGx5O7iSoVI TxWEgNo2Kvnldfc6ziOcUyhiPFun8aeiq/qLnuvymg74I9CsEbmdTaHcUR6i0c5auuxnIcfk+RdKc x3nAR+D3bwlPWicnFsEg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ne2Qk-00Aflc-Hy; Mon, 11 Apr 2022 22:22:42 +0000 Received: from hutie.ust.cz ([185.8.165.127]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ne2QZ-00Afd2-Ne for linux-arm-kernel@lists.infradead.org; Mon, 11 Apr 2022 22:22:33 +0000 From: =?utf-8?q?Martin_Povi=C5=A1er?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1649715729; bh=sR9jg0Nj8kxrQYQajwJteIktp3fl61AL5qcwFk2K7tQ=; h=From:To:Cc:Subject:Date; b=rfz1tOmqvJUjm/Lfm236pr7x7gGSSBZSCXgcaPqw+CVMwE1/LWH+RoXnIleotR9M4 tY2VOPzM9c4s5LnF46W3ppwsnmcvhwKxZ17ObKZ+7AFufi9z2J6M+W4YtBLxfKoZCm OYTWjJaxFA2l4FixJCjlLnKs45nXaZU7NwMXpI8I= To: Hector Martin , Sven Peter , Vinod Koul , Rob Herring , Krzysztof Kozlowski Cc: Alyssa Rosenzweig , linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Kettenis , =?utf-8?q?Martin_Povi=C5=A1er?= Subject: [PATCH v2 0/2] Apple ADMAC driver Date: Tue, 12 Apr 2022 00:22:02 +0200 Message-Id: <20220411222204.96860-1-povik+lin@cutebit.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220411_152231_941123_091DF469 X-CRM114-Status: UNSURE ( 8.39 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi all, I am submitting v2 of driver for Audio DMA Controller on recent Apple SoCs. Changes since v1: (link: https://lore.kernel.org/dmaengine/20220330164458.93055-1-povik+lin@cutebit.org/ ) - in binding, drop 'apple,internal-irq-destination' in favor of prepending entries to 'interrupts' - drop admac_peek/poke helpers - use special versions of dev_err/WARN_ON where desirable, fix %pad formatter invocation - bring implementation of terminate_all up to dmaengine spec, add device_synchronize - minor fixes (comments, formatting) Thanks, Martin Martin PoviĊĦer (2): dt-bindings: dma: Add Apple ADMAC dmaengine: apple-admac: Add Apple ADMAC driver .../devicetree/bindings/dma/apple,admac.yaml | 68 ++ MAINTAINERS | 2 + drivers/dma/Kconfig | 8 + drivers/dma/Makefile | 1 + drivers/dma/apple-admac.c | 818 ++++++++++++++++++ 5 files changed, 897 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/apple,admac.yaml create mode 100644 drivers/dma/apple-admac.c