Received: by 2002:a19:771d:0:0:0:0:0 with SMTP id s29csp1236132lfc; Wed, 1 Jun 2022 12:37:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynzd77F/+A493XxVmS9VxjDyy+hw9bNqOGJRJbI1J3YpU/aHxGxKDnthHrssCilVyqxLqs X-Received: by 2002:a05:6a00:b83:b0:519:7fa:a481 with SMTP id g3-20020a056a000b8300b0051907faa481mr1095805pfj.56.1654112251219; Wed, 01 Jun 2022 12:37:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654112251; cv=none; d=google.com; s=arc-20160816; b=Ut/NzpOe6CTN1rZOfm548nGT2fPC53IFbpRxrZkJNvLAC8PQDaO7TgAXj4M2H+qNqT Fv0V8zg0jLYggTwR3aapu7QfvbbJCyir4CGECim2ZIjYMpGQ9nVnp/6VvWuBL7Y46Ypg vIy47NxqkkN4GQlJMDYr1lpjHowcrfKcm+C08+acmzssQMgID9MX4U8m3V3psAf0oc/L D/VTlBEYcVrf9fmujgduAhiIOBwGe47O65uogaoC78/nmmkMrKcA6DMd81LucSMddEcg v6NpHGpfn7K8JArFppTgzKqqrv6tAGcPRRzBnUw17n5Ij5YDYm3C9IQByafD1qgYdpDg sXvA== 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:dkim-signature:from; bh=ziyRGQZ5j9pXKOOFBr0A16Lvtbsz+JTt1HHydCrON/8=; b=Xrq+CaqIWUKuLy1EnoLCuGeXdXbsF/YGLoSZM/7PBvSr1F4bcuZnJaD1GZwMrIJ+pA vM989vPk7iYgrMZ0+xsij77AUygcu6W+OrHrO2RwnIS+U+UqVPVwQxqYBqwWYEWLDQo8 0TNVsNp25Wp/Hqksxh5/ywmBXZX3HaVDkZhM6x3gYNjRnrUS+3E36R59FX6fH2gxe33J 23yl+q+RpKG008V863+0SaRYsrj7SPHebT9gpkXvIoqfx4AyE1lw/n+F30ieBRTjiAln S/HzdDnHTK3x8AHlarDK4Q4L2VcBZPJZY54DQBcknWxRPoCwNUoWARIdCX9fgWDfg8Gk /Qtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=YNvEFc91; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id gm1-20020a17090b100100b001e31dce0eb8si3170046pjb.62.2022.06.01.12.37.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Jun 2022 12:37:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=YNvEFc91; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=cutebit.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 65C1C1B217E; Wed, 1 Jun 2022 12:05:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242647AbiEaVwi (ORCPT + 99 others); Tue, 31 May 2022 17:52:38 -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=20Povi=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?Martin=20Povi=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.33.0