Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp818227pxb; Fri, 22 Apr 2022 11:50:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyH/8aMIB8pSf5mQiSOrJ+gOq+FtV4C+siheVMPwSRuDja5VTfSu51vZ8uJ38tTyaw/ou3 X-Received: by 2002:a17:90b:4d92:b0:1d2:fc54:c1f7 with SMTP id oj18-20020a17090b4d9200b001d2fc54c1f7mr17994547pjb.222.1650653416048; Fri, 22 Apr 2022 11:50:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650653416; cv=none; d=google.com; s=arc-20160816; b=Shyq6FAgvAjzCri+/PJowgNBNgbhag7EphBcVEeaSD/f4YqJgUspSq8KUr4AynuU8l E8bdQAMmSBC89zj90r/O/oTeQY022bRqPoLhfokasaOptmL0lAkKwq9qnqelIEOjvrbS 7T/dhsnXSR9gI4/uOCFjA38fXh3oQrfrIO0TD/l7caVGr9eMEEi9K0PtMIniRN2akx5w aV0UAWgmuTTNl2zqtPfrbx3zILXbRi2+DS31Koq5m1e7xI2fxLSv7C/TXe5vjOyPfl63 N84mH+3f4K8HRfw0ozGjEdiDs0xf6EHZ31+nK4OXvP0rlKlpG5LqNXzJgU5VYBeBk459 ZgvA== 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=2rmj+wmfZSnjCFeUKvJuxbNQ7c6I46bc3UeTdcboskE=; b=zOUUHNIYR6s8oukx3QqGSEjz48r+LMaXE0p0KgaJ+Exx2KQ2M0Sk7MWT1eTldvcq5j SNtu0xwzO07JZSbqO0oEXHsA7Xd2QZ9McuJBgXpaU9L/JK35ywrpWrTJNwUqJovm7Vo+ RQ7sLo87W1sbseN6DtTeFOcPyNbg3RaF73yE34QuRoGhhWSAEZboU/A8IQ0s6LKDw6wO iCX8wfJf/6dKChmF/oeAhTquZ36B6azLZRtsQpUJJZp4gb/eWwtvI1F5AT16doQGzwwH wO3m1QgMham4ftz/E9f/07yaHAbslUwQI7pl5iMl2NZ2+xGa9UG17gwnugST9P4R2+lZ R6+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=RSDpgvPq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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. [23.128.96.19]) by mx.google.com with ESMTPS id l71-20020a63914a000000b003aa6ec19fd8si8266060pge.529.2022.04.22.11.50.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 11:50:16 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@cutebit.org header.s=mail header.b=RSDpgvPq; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 027CBC7E98; Fri, 22 Apr 2022 11:15:48 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381666AbiDTTLz (ORCPT + 99 others); Wed, 20 Apr 2022 15:11:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54912 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351381AbiDTTLx (ORCPT ); Wed, 20 Apr 2022 15:11:53 -0400 Received: from hutie.ust.cz (unknown [IPv6:2a03:3b40:fe:f0::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7582424AE; Wed, 20 Apr 2022 12:09:03 -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=1650481740; bh=2rmj+wmfZSnjCFeUKvJuxbNQ7c6I46bc3UeTdcboskE=; h=From:To:Cc:Subject:Date; b=RSDpgvPqCblpwwaRVu/YhZuUCEyMK8iiba3QK6gsPmzlt2Eff37ZbVbBBOZxtLi+b A5rjlWW4qc1XSaCA80+sto9kb+rPIdMMByj8kcc/T16xfFGM3HhDLZyY1YFrGjybOs rX8snslgAm8y8DWb2MR2CFGb0GN2wCyTogwtyw0Q= 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=20Povi=C5=A1er?= Subject: [PATCH v3 0/2] Apple ADMAC driver Date: Wed, 20 Apr 2022 21:07:53 +0200 Message-Id: <20220420190755.76617-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 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 all, this is v3 of driver for Audio DMA Controller on recent Apple SoCs. Changes since v3: (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) 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 | 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