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 2EFA8C47DDB for ; Mon, 22 Jan 2024 17:06:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=19dh78zAQALwRO7vsszeA9cWWhnHVrI7nmwdEitZ4DQ=; b=M5FYQ22Niv3/JA 0w1if1RmKDYpgvkRmCXwIwn1VIbIrOBs2ClSgPPX/wt+ESWzQG9LgjLfiMVNTEdG6i/AaTs2eTK7H T0VpdaxbJQTraFiGZBM6GhcIVmDOd8qTchuvHeoYnCIZD2IyyfUcswYOSE0I2hSuCutigVoSiVxYp seVhWQnC8bkJX/dUbR7Lr1HV9ntuhvA0bicvAeTOIKBQ7qaMqdlFz5T2jz5KmiQGiATosh3yqrQB4 huXuSuZuIVAvptNIJUbAfYtwDFd1w2OPyysov//6fh8do6rCnrDPjFRpEbzym2TpjwARDU7nEEF9S 5KP+D40MrXDVKOFwnQ9A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rRxju-00D7a2-2n; Mon, 22 Jan 2024 17:05:38 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rRxjr-00D7XL-27 for linux-arm-kernel@lists.infradead.org; Mon, 22 Jan 2024 17:05:37 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by ams.source.kernel.org (Postfix) with ESMTP id ADC3BB80F1A; Mon, 22 Jan 2024 17:05:33 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A419C43399; Mon, 22 Jan 2024 17:05:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705943132; bh=u+x2WqX+nY6J7+OJiu4BqOVl1NPhZVvy6votpSfLE0c=; h=From:To:Cc:Subject:Date:From; b=Ls8LeXzSsBDex36hOEm07Q1pH2lApQFpET1O3m9R72GJwx1Ny2qNTo810BCKU+yzd bzrCLfNBiukHr+NuXvRx4K9kTrH923dwcUHlEBlLKxYEQrakBMezpZkcVOaDgGICBe UilMbxPHOYAc70nxLnyvu8p2DqrPD71PzCEUDR+u61C6jfWK6YIejcVjkh7StG2S7S sl/SvB8ODCV5YN0LXLJy6na0/Tdtl9vS+UBaTaNlLsNEW7ysJm0S2rvDu4UemTGZp2 /O8rLlOvGN67ym9iYYkIIaSHGfpPLKa6sGNrvsjhFd8Vl1enslebadYsKmMTFWkTEa nOsqzR2ypckBQ== Received: by wens.tw (Postfix, from userid 1000) id 8E58C5FEE9; Tue, 23 Jan 2024 01:05:29 +0800 (CST) From: Chen-Yu Tsai To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-sound@vger.kernel.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/7] arm64: sun50i-h616: Add DMA and SPDIF controllers Date: Tue, 23 Jan 2024 01:05:11 +0800 Message-Id: <20240122170518.3090814-1-wens@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240122_090535_835990_B6F2E678 X-CRM114-Status: GOOD ( 16.93 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Chen-Yu Tsai Hi everyone, This series adds DMA and SPDIF controllers for the H616 and H618. There's also a fix for SPDIF on H6: the controller also has a receiver that was not correctly modeled. Patch 1 fixes the binding for the SPDIF controller on the H6 by adding the RX DMA channel. Patch 2 adds a compatible string for the H616's SPDIF transmitter to the binding. Patch 3 adds a compatible string for the H616's SPDIF transmitter to the driver. Patch 4 adds a compatible string for the H616's DMA controller. Patch 5 adds the RX DMA channel to the SPDIF controller on the H6. Patch 6 adds a device node for the H616's DMA controller. Patch 7 adds a device node for the H616's SPDIF controller. This was tested on the Orange Pi Zero 3 with SPI flash transfers and SPDIF audio output. The H6 SPDIF change is superficial as the driver does not support receiving / capturing an audio stream. Please have a look. I expect the first three patches to go through the ASoC tree, the fourth patch to either go through the DMA tree, or through the sunxi tree with an Ack, and the last three through the sunxi tree. Thanks ChenYu Chen-Yu Tsai (7): dt-bindings: sound: sun4i-spdif: Fix requirements for H6 dt-bindings: sound: sun4i-spdif: Add Allwinner H616 compatible ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 dt-bindings: dma: allwinner,sun50i-a64-dma: Add compatible for H616 arm64: dts: allwinner: h6: Add RX DMA channel for SPDIF arm64: dts: allwinner: h616: Add DMA controller and DMA channels arm64: dts: allwinner: h616: Add SPDIF device node .../dma/allwinner,sun50i-a64-dma.yaml | 15 +++-- .../sound/allwinner,sun4i-a10-spdif.yaml | 5 +- .../dts/allwinner/sun50i-h6-beelink-gs1.dts | 2 + .../boot/dts/allwinner/sun50i-h6-tanix.dtsi | 2 + arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 7 +-- .../arm64/boot/dts/allwinner/sun50i-h616.dtsi | 59 +++++++++++++++++++ sound/soc/sunxi/sun4i-spdif.c | 5 ++ 7 files changed, 86 insertions(+), 9 deletions(-) -- 2.39.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel