From patchwork Tue May 31 21:36:12 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: 12866205 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F5D4C43217 for ; Tue, 31 May 2022 21:52:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348209AbiEaVwe (ORCPT ); Tue, 31 May 2022 17:52:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240002AbiEaVwc (ORCPT ); Tue, 31 May 2022 17:52:32 -0400 X-Greylist: delayed 487 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 31 May 2022 14:52:29 PDT Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 57515B85; Tue, 31 May 2022 14:52:29 -0700 (PDT) From: =?utf-8?q?Martin_Povi=C5=A1er?= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cutebit.org; s=mail; t=1654033457; bh=ziyRGQZ5j9pXKOOFBr0A16Lvtbsz+JTt1HHydCrON/8=; h=From:To:Cc:Subject:Date; b=YNvEFc9197nSTsQy4b7S5TbkOG0RjCFC4tboeu/FYPbO2EP52aj3sZ9szSme5DDS9 3Kt+SRtqxTihCCQC2DjxNoPa6HYbK9Zj5FUwS9nooM7A7xfheYDKgFxAXk82csdfp6 7DnUveiuPgt9QkhO07LVQBxbaE+RxU+Ed/vOktK4= To: Hector Martin , Sven Peter , Vinod Koul , Rob Herring , Krzysztof Kozlowski Cc: Alyssa Rosenzweig , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, asahi@lists.linux.dev, Mark Kettenis , =?utf-8?q?Mart?= =?utf-8?q?in_Povi=C5=A1er?= Subject: [PATCH v4 0/3] Apple ADMAC driver Date: Tue, 31 May 2022 23:36:12 +0200 Message-Id: <20220531213615.7822-1-povik+lin@cutebit.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Hi, I am doing another push of this neglected series which adds support for Audio DMA Controller on recent Apple SoCs. All best, Martin Changes since v3: - collected Rob's r-b tag on binding - split off MAINTAINERS commit for easier merging (allegedly) Changes since v2: (link: https://lore.kernel.org/dmaengine/20220411222204.96860-1-povik+lin@cutebit.org/ ) - in binding, make 'interrupts' fixed length and add a comment - do not use devm allocation on descriptors - use platform_get_irq_optional to not log errors in the course of looking for an usable interrupt - make channel no. unsigned 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) Martin PoviĊĦer (3): dt-bindings: dma: Add Apple ADMAC dmaengine: apple-admac: Add Apple ADMAC driver MAINTAINERS: Add ADMAC driver under ARM/APPLE MACHINE .../devicetree/bindings/dma/apple,admac.yaml | 75 ++ MAINTAINERS | 2 + drivers/dma/Kconfig | 8 + drivers/dma/Makefile | 1 + drivers/dma/apple-admac.c | 818 ++++++++++++++++++ 5 files changed, 904 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/apple,admac.yaml create mode 100644 drivers/dma/apple-admac.c