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 15224C46CD2 for ; Tue, 30 Jan 2024 19:49:04 +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:References:In-Reply-To: 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: List-Owner; bh=7uNpl5S7j11SZ9Yy47cY2ebtySocg9VMlQEZ9lmfddY=; b=ODzqxUG5WTpTX7 ugti2zq9qEN/U8nFLOSlOkCJKdIlJZtni4afUj9vXSrziapcbIlpgH+PcNNfwzaYLSxcHh7EO5Uv/ sw+zuLlkQ+8zbvAwLEHtkeg2SL9QVM+QOaHK0Q00WTcwcNGRmvvQlgZqaJIp8rnaf+vYh5q5ul0O4 nlKiCjpMVG3PYQ0fu+gSi4mHmMK+qoRr+FSQ2Z0E19yU0s0WRv4UhT1qAWjwKuJpYBw/1wgZOZgNx EQb1NPKr9TVy43D7cKAYwtpxAdYhd8cCVeDuVh1pGugb0piYksXaPs4ZwT6mb2OlQf8J1FKqjioay cb99yvbVGESy4kYaDujA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUu6C-00000000Npx-1X2T; Tue, 30 Jan 2024 19:48:48 +0000 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUu69-00000000NpY-3QWj for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2024 19:48:46 +0000 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a36597a3104so32214166b.2 for ; Tue, 30 Jan 2024 11:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706644124; x=1707248924; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=rJeQzLZeVsfqqVy/IRIzUBnzfv+gRBsQWCb8iOaJluA=; b=PIYqCW/yico8ebWLuDj0gGMp+jAk8j6JtcOI4fqixUmWfgvzCjjrqkD8+4PQ37qlgG vDUgC9GwAKw1pUD8ervUmADEpqpPqr3raA8Qq/fSEIPMYJZ860huLQghjBr8IbM6GXho P9GPWaFMmhA+Vng/z7Mohzx2o8hW2TJx66v2laRoFI9meppz5xV5+MKx0gGB+1dGrbJb muHrA3TgdqTBRwcR603/9C/NEut9/UG1YzrUhBddETOblYq397ZI4J9gXRZjhrl7yY5h 9/Tc2rD1vo+vRB9zqFcHSWshTmHM5IYrmxD1xI559Esd8fumyDbpFCbjIkuYkeAWdtfI /nxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706644124; x=1707248924; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rJeQzLZeVsfqqVy/IRIzUBnzfv+gRBsQWCb8iOaJluA=; b=wTy5FHwrXB0cLiFERpRj6LvuvD20MwOK4FRo/tcrb1cM6EmFf7/7v5p1X34Yeo0/Ov zjdC2EtbhMhxfW+WdP288HCmhVXN/svfb6kAxOq5/HwY6ptMpQb7NInBznfWbxqMuy4G /BFrt9fnmOltoUfjElit7DHnR6TI/7vb33pQi11ozuQOljh3VPSqXgjWGd/gx+zOkZPn 4UeAhzfZeNwLbJe5OTPHyWONBp1/GnIlP9H3k+nE7cIfW3yOmvyez7s/YMhSnnEc5Ic0 mZa7wIQ/RtYeUj0MrfvIkaOhf1YFwS+MildrhEItSAa5vwZb2310mdf+60hyWZ/cdcIS pJQA== X-Gm-Message-State: AOJu0YyRYEIcPEKGxNRIT4FE1f+frIWLz1FWJd5Jf2yBmothcI7vJkPt H3lSQVOsi8jGB//12460npLgcxpwT5EZfDJrAIa/MgN6n/QSnB+B X-Google-Smtp-Source: AGHT+IFf3uIFgKLDiLg9UvZu2Lh1EJ+Gp9y7um4mQ5+zM0LwgiEuvgFwE4KceV9gO1NkGgepHcxJpA== X-Received: by 2002:a17:906:4088:b0:a35:b7e6:e6f1 with SMTP id u8-20020a170906408800b00a35b7e6e6f1mr4382872ejj.1.1706644124332; Tue, 30 Jan 2024 11:48:44 -0800 (PST) Received: from jernej-laptop.localnet (86-58-14-70.dynamic.telemach.net. [86.58.14.70]) by smtp.gmail.com with ESMTPSA id p2-20020a17090628c200b00a311092d2f8sm5378460ejd.169.2024.01.30.11.48.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 11:48:44 -0800 (PST) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Vinod Koul , Chen-Yu Tsai 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: Re: [PATCH v2 0/7] arm64: sun50i-h616: Add DMA and SPDIF controllers Date: Tue, 30 Jan 2024 20:48:42 +0100 Message-ID: <2170768.irdbgypaU6@jernej-laptop> In-Reply-To: <20240127163247.384439-1-wens@kernel.org> References: <20240127163247.384439-1-wens@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240130_114845_895350_EA408D16 X-CRM114-Status: GOOD ( 26.46 ) 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 Dne sobota, 27. januar 2024 ob 17:32:40 CET je Chen-Yu Tsai napisal(a): > From: Chen-Yu Tsai > > Hi everyone, > > This is v2 of my H616/H618 DMA and SPDIF controller series. > > Changes since v1: > - Switch to "contains" for if-properties statement > - Fall back to A100 instead of H6 > - Add DMA channels for r_i2c > > 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 | 12 ++-- > .../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 | 61 +++++++++++++++++++ > sound/soc/sunxi/sun4i-spdif.c | 5 ++ > 7 files changed, 85 insertions(+), 9 deletions(-) > > Applied patches 5-7 to sunxi tree, thanks! Best regards, Jernej _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel