From mboxrd@z Thu Jan 1 00:00:00 1970 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 53B65D2E016 for ; Wed, 23 Oct 2024 06:10:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=CiWNtjdqEek7uvZFr441NaG8MtXhdh7eVZ+chWK9avo=; b=pps/WdjRcA12RdL9qviPOqb4mb bLvjHZGZHUGEGzyWQ2Zxh3R6GWxKMBKsDVA1jfOS/FBrx6w0mEro8Iis6GknzV9ScITw9PAAt/Tdk cGnJla84oZKx6Mt9GzNxdrdMVqv5VJTZ5GwNVyUc+VNh/duqtuAMtRz3HF3lk0F7DrPVMpcBVu9sH RnVtPCEwr9NkJGtJUVtosYDmIkOUDstDiYRzOBrJKvvKqCaLaiUr3BMKc8FYAL/yApuGh4Fv3ZNNS XmnefuhzquyVRkZNJPWs9SF8x967d5A/fQ38Sp4XClPOtwsLO49XEUsoqqhxntN++OhiXRfgO6VsS 63FwWMaQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t3UZd-0000000D9bi-0wBr; Wed, 23 Oct 2024 06:10:25 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t3UXY-0000000D9HI-31UV for linux-arm-kernel@lists.infradead.org; Wed, 23 Oct 2024 06:08:18 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 9AE665C5609; Wed, 23 Oct 2024 06:08:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29111C4CEC6; Wed, 23 Oct 2024 06:08:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729663695; bh=j4XMlJCKKl/NCp8f3DD3ZgpEl3aj4KSw7rw+sv4iyB0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X82Z5W4gyo0iAwJOPV2j9Pr7vNlIie3ww7Npft8tTl1O06r02076tsqUUPxILhjpd j4qTPGr2XpszinTEn8nOC2QWiJ1hVJ5IOyYYoa5VOxoMIAJPXrc6NQUeaZ+XC9k4rt aYyGModaYkn6PKKAsg0lTiHEBMGjTwka/l+ggL17d66f8wE9xyR8HagCXjHxvNTvCj KexLmt5m7h8ehk9nIYQGWqOzSWwXHrDEzpdObd374g/uE5nHMCA+2A9GzM22ywY3J7 9oznCHM1t8xg898ahtONtwrqq0T0D8Gd0ugZrrDp4dIrlWjgeH5yA6fbuYE4ZwbBX2 ttdfRjUa0cVCw== Date: Wed, 23 Oct 2024 11:38:11 +0530 From: Vinod Koul To: =?iso-8859-1?B?Q3Pza+Fz?= Bence Cc: Mesih Kilinc , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, linux-sunxi@googlegroups.com, Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai Subject: Re: [RFC PATCH 00/10] Add support for DMA and audio codec of F1C100s Message-ID: References: <13ab5cec-25e5-4e82-b956-5c154641d7ab@prolan.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13ab5cec-25e5-4e82-b956-5c154641d7ab@prolan.hu> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241022_230816_866919_2EF4B069 X-CRM114-Status: GOOD ( 26.69 ) 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 On 23-10-24, 00:52, Csókás Bence wrote: > Hi, > I was trying to get audio on the F1C200s, but so far had no luck, and I came > across this series. > > On 2018. 12. 02. 22:23, Mesih Kilinc wrote: > > This is RFC patchset for Allwinner suniv F1C100s to support DMA and > > audio codec. > > > > Allwinner F1C100s has a audio codec that has necessary digital and > > analog parts. It has r-l headphone output and microphone, line, r-l > > FM inputs. ADC can capture any inputs and also output channels via mux. > > Any input channels or DAC samples can feed output channels. > > > > Add support for this audio codec. > > > > F1C100s utilizes DMA channels to send and receive ADC-DAC samples. So > > DMA support needed. Patch 1~5 adds support for DMA. Suniv F1C100s has > > very similar DMA to sun4i. But there is some dissimilarities also. > > Suniv features a DMA reset bit in clock control unit. It has smaller > > number of DMA channels. Several registers has different addresses. > > It's max burst size is 4 instead of 8. Also DMA endpoint numbers are > > different. > > > > Patch 6 adds DMA max burst option to sun4i-codec. > > > > Patch 7~8 Add support for suniv F1C100s audio codec. > > > > Patch 9 adds audio codec to suniv-f1c100s.dtsi > > > > Patch 10 adds audio codec support to Lichee Pi Nano board. > > Thanks! > > > > Mesih Kilinc (10): > > dma-engine: sun4i: Add a quirk to support different chips > > dma-engine: sun4i: Add has_reset option to quirk > > dt-bindings: dmaengine: Add Allwinner suniv F1C100s DMA > > dma-engine: sun4i: Add support for Allwinner suniv F1C100s > > ARM: dts: suniv: f1c100s: Add support for DMA > > ASoC: sun4i-codec: Add DMA Max Burst field > > dt-bindigs: sound: Add Allwinner suniv F1C100s Audio Codec > > ASoC: sun4i-codec: Add support for Allwinner suniv F1C100s > > ARM: dts: suniv: f1c100s: Add support for Audio Codec > > ARM: dts: suniv: f1c100s: Activate Audio Codec for Lichee Pi Nano > > > > .../devicetree/bindings/dma/sun4i-dma.txt | 4 +- > > .../devicetree/bindings/sound/sun4i-codec.txt | 5 + > > arch/arm/boot/dts/suniv-f1c100s-licheepi-nano.dts | 8 + > > arch/arm/boot/dts/suniv-f1c100s.dtsi | 25 ++ > > drivers/dma/Kconfig | 4 +- > > drivers/dma/sun4i-dma.c | 221 ++++++++++-- > > sound/soc/sunxi/sun4i-codec.c | 371 ++++++++++++++++++++- > > 7 files changed, 601 insertions(+), 37 deletions(-) > > What's the status of this series? I see that it was not merged, despite > getting a few ACKs and only a few minor comments. Ripard's comments make me > believe that the sun4i DMA driver should be able to handle the suniv family > with minimal adjustments, have those not been added? Or is it that the DMA > support is ready but the ALSA/ASoC support is missing? Maybe split the series and post dma and audio parts separately for review -- ~Vinod