From patchwork Wed Mar 30 16:44:56 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: 12796112 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 329E0C433EF for ; Wed, 30 Mar 2022 16:54:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349081AbiC3Q4M (ORCPT ); Wed, 30 Mar 2022 12:56:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235540AbiC3Q4L (ORCPT ); Wed, 30 Mar 2022 12:56:11 -0400 X-Greylist: delayed 545 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 30 Mar 2022 09:54:22 PDT Received: from hutie.ust.cz (hutie.ust.cz [185.8.165.127]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C71B27143; Wed, 30 Mar 2022 09:54:21 -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=1648658714; bh=FcWw9Uk/r4WaK0fxaOvlIHfQF0QAszv5h5nSfagPCsc=; h=From:To:Cc:Subject:Date; b=N2nBqTBORZ9g3fKPtDc13YTkCa69C5+lS47eKXJAoKn3fkY51SzpD0SEYaEqhyL2B lTFaR9l/qMCfEd8CgOjN1KbuP+KAE9OZbdGljkCy8aWsPL1UUWaofLO2GUJ29i1D2K aK5Gmz+Ts221PkrI+63GWDz3cUsDS55sFQH5kPk0= 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 0/2] Apple ADMAC driver Date: Wed, 30 Mar 2022 18:44:56 +0200 Message-Id: <20220330164458.93055-1-povik+lin@cutebit.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Hi, for your review I am submitting a driver for Audio DMA Controller on recent Apple SoCs. One note I want to leave: The docs appear to be wrong on the residue semantics of device_tx_status. They say "In the case of a cyclic transfer, it should only take into account the current period." But e.g. ALSA expects the residue to be of the full buffer. Martin Martin PoviĊĦer (2): dt-bindings: dma: Add apple,admac binding dmaengine: apple-admac: Add Apple ADMAC driver .../devicetree/bindings/dma/apple,admac.yaml | 73 ++ MAINTAINERS | 2 + drivers/dma/Kconfig | 8 + drivers/dma/Makefile | 1 + drivers/dma/apple-admac.c | 799 ++++++++++++++++++ 5 files changed, 883 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/apple,admac.yaml create mode 100644 drivers/dma/apple-admac.c