From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D57B512FF60; Wed, 7 Feb 2024 21:24:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707341050; cv=none; b=RZmuUjJiLnEFrKC+2BEuX1PStvma1KcOhgQNnao3jpKGGwIj9MQU0sYUsFMTWqm5lIVzH/0F8kR4Zl3pqzv0zPuVczVbUoekH613LXNZ8BKiQ0BaAOMpYp+1NZTwzARjxqV1WLfSOJVx+ed1Ay+2THjcF+KYqUIO5SkAwG+KAfg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707341050; c=relaxed/simple; bh=droCsilHD9FvkUxBYds2+zzj71Va/FfGxR2e9G/B7cQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=tameCt+VV/Eorwan7B6+/6bpj21wsgobhRhw4e/GgeG62blzC1GizRqR/5rwtH6tdrcw7l6PUlHPqAxpNSuC8A4gvg7Vdt6hs61b5QTsnUIJPJazBz/41k5XK7K561Yv1CxLrhx+7DiRBXKsaMW6NRDmrHcLz4wiuTjoDJ0DFyw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=H5Ut9bB9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H5Ut9bB9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E4B7C43390; Wed, 7 Feb 2024 21:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707341050; bh=droCsilHD9FvkUxBYds2+zzj71Va/FfGxR2e9G/B7cQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H5Ut9bB9By8kaXmNwEY+Q/vv9Vwyo9+g30+sse5/vV7OQD5FEQweMMQXLAKbdUuZ8 EwJNFEmi2AIOQFxxh26dBfFRkevHoy4gAsp+JuLq2bJtiy7hA4GUxomGwyowWd0kzI UbdOiOq5+QfyUSgiFbnNHNarHrVTklZgYpC5UzWQ/jS8qFnCNThNRSu7hvRByM+32g M3w3fYs9vMCScdt8eVhDdQPNgTyOSGjJ6sKGSQ9cIdiZELYagsrgd3CYcwIlgAEfr4 B9lUYHHm7jpkPLweFMwyUil98WtJrNQ1dr404aojTjZRCTADzZnd0GSd9ZRpDS5qTI K+PMBvqJTdxSA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chen-Yu Tsai , Andre Przywara , Jernej Skrabec , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, samuel@sholland.org, kuninori.morimoto.gx@renesas.com, robh@kernel.org, ckeepax@opensource.cirrus.com, ruanjinjie@huawei.com, u.kleine-koenig@pengutronix.de, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH AUTOSEL 6.6 16/38] ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 Date: Wed, 7 Feb 2024 16:23:02 -0500 Message-ID: <20240207212337.2351-16-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207212337.2351-1-sashal@kernel.org> References: <20240207212337.2351-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.16 Content-Transfer-Encoding: 8bit From: Chen-Yu Tsai [ Upstream commit 0adf963b8463faa44653e22e56ce55f747e68868 ] The SPDIF hardware block found in the H616 SoC has the same layout as the one found in the H6 SoC, except that it is missing the receiver side. Since the driver currently only supports the transmit function, support for the H616 is identical to what is currently done for the H6. Signed-off-by: Chen-Yu Tsai Reviewed-by: Andre Przywara Reviewed-by: Jernej Skrabec Link: https://msgid.link/r/20240127163247.384439-4-wens@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sunxi/sun4i-spdif.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index b849bb7cf58e..2347aeb049bc 100644 --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -578,6 +578,11 @@ static const struct of_device_id sun4i_spdif_of_match[] = { .compatible = "allwinner,sun50i-h6-spdif", .data = &sun50i_h6_spdif_quirks, }, + { + .compatible = "allwinner,sun50i-h616-spdif", + /* Essentially the same as the H6, but without RX */ + .data = &sun50i_h6_spdif_quirks, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sun4i_spdif_of_match); -- 2.43.0 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 D59DAC4828F for ; Wed, 7 Feb 2024 21:24:51 +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=eq1B76mvR50a1GuJArBsfH+TCShWEZrZIfICc08wLJs=; b=1qu2eg60TpbC2c LTNXnVjZ5s6UqrdOTtdG1eUC9mSVE8gEUXG+f6peZO7mEok2vgGn1juVH18wOdM9Z3KqrfRoXUsFO LEAsOdRxa617CWz7L0HX+zoXfRu/rB5wbIBN726j+eFwLYiZB3ccxPC340K0XDKTNk965XyGt7BuI Muc6B00zSyZjh65hrk18cUd0pnZ0Se4F5orFtj1C9B4n3l39dTtNAm5jCGDmkWuOawQ4G8BeyEjfw 0bfqR3EH2r6wnqsT9MXFCcdYzg6aBusYuEQHS1klef8vYoIprHeUd70qLljjFVuZQ53KTxoMmbYMB JkI/0ZRmtSLF0WtQ/5Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXpPM-0000000Brgi-0Pma; Wed, 07 Feb 2024 21:24:40 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXpPK-0000000Brfj-20pj for linux-arm-kernel@bombadil.infradead.org; Wed, 07 Feb 2024 21:24:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=LJWrS7D1dYjb3z6TybelR93eUuXjxTHfHCQgB170Zg4=; b=Ypo2iVfqxn12k0VHEUsevLf2vw CXQcHFYjViI+XqETkIS5q+1qQbM7ow0WI9uUoj0+rz+YCZtMhRU2hOQmvkrj0yyVM1IHzZULuYaHd mMF7IDWqStsTaDO7I/ZE9VgyVMMtJ2hoQScxIanJ040r4ctakFTwaKVpAhZkzq5zz/MeCapvwS9Y4 On3u21AgwokFgW8Wywcyo8Me+Qs0MvOO3FWakjHs2N+iGu6NGM4iJApC1U/dlzmd58hUyBrJo5ALM ngYBypTAzKlNfIPdmj02E6gR6auQUZkls/ACzpE2KKlGrrXiRJyvHFHbbSC6Ps4XxBUy0DpHW7nOY jjPxyUTw==; Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by desiato.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rXpPC-0000000D7pE-1mba for linux-arm-kernel@lists.infradead.org; Wed, 07 Feb 2024 21:24:36 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A2B6CCE149E; Wed, 7 Feb 2024 21:24:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6E4B7C43390; Wed, 7 Feb 2024 21:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707341050; bh=droCsilHD9FvkUxBYds2+zzj71Va/FfGxR2e9G/B7cQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H5Ut9bB9By8kaXmNwEY+Q/vv9Vwyo9+g30+sse5/vV7OQD5FEQweMMQXLAKbdUuZ8 EwJNFEmi2AIOQFxxh26dBfFRkevHoy4gAsp+JuLq2bJtiy7hA4GUxomGwyowWd0kzI UbdOiOq5+QfyUSgiFbnNHNarHrVTklZgYpC5UzWQ/jS8qFnCNThNRSu7hvRByM+32g M3w3fYs9vMCScdt8eVhDdQPNgTyOSGjJ6sKGSQ9cIdiZELYagsrgd3CYcwIlgAEfr4 B9lUYHHm7jpkPLweFMwyUil98WtJrNQ1dr404aojTjZRCTADzZnd0GSd9ZRpDS5qTI K+PMBvqJTdxSA== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chen-Yu Tsai , Andre Przywara , Jernej Skrabec , Mark Brown , Sasha Levin , lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, samuel@sholland.org, kuninori.morimoto.gx@renesas.com, robh@kernel.org, ckeepax@opensource.cirrus.com, ruanjinjie@huawei.com, u.kleine-koenig@pengutronix.de, linux-sound@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev Subject: [PATCH AUTOSEL 6.6 16/38] ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616 Date: Wed, 7 Feb 2024 16:23:02 -0500 Message-ID: <20240207212337.2351-16-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240207212337.2351-1-sashal@kernel.org> References: <20240207212337.2351-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.6.16 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240207_212432_712317_1EB785EC X-CRM114-Status: GOOD ( 13.83 ) 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 [ Upstream commit 0adf963b8463faa44653e22e56ce55f747e68868 ] The SPDIF hardware block found in the H616 SoC has the same layout as the one found in the H6 SoC, except that it is missing the receiver side. Since the driver currently only supports the transmit function, support for the H616 is identical to what is currently done for the H6. Signed-off-by: Chen-Yu Tsai Reviewed-by: Andre Przywara Reviewed-by: Jernej Skrabec Link: https://msgid.link/r/20240127163247.384439-4-wens@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/sunxi/sun4i-spdif.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/sunxi/sun4i-spdif.c b/sound/soc/sunxi/sun4i-spdif.c index b849bb7cf58e..2347aeb049bc 100644 --- a/sound/soc/sunxi/sun4i-spdif.c +++ b/sound/soc/sunxi/sun4i-spdif.c @@ -578,6 +578,11 @@ static const struct of_device_id sun4i_spdif_of_match[] = { .compatible = "allwinner,sun50i-h6-spdif", .data = &sun50i_h6_spdif_quirks, }, + { + .compatible = "allwinner,sun50i-h616-spdif", + /* Essentially the same as the H6, but without RX */ + .data = &sun50i_h6_spdif_quirks, + }, { /* sentinel */ } }; MODULE_DEVICE_TABLE(of, sun4i_spdif_of_match); -- 2.43.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel