Skip to content

Commit 0adf963

Browse files
wensbroonie
authored andcommitted
ASoC: sunxi: sun4i-spdif: Add support for Allwinner H616
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 <wens@csie.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com> Link: https://msgid.link/r/20240127163247.384439-4-wens@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 7c70825 commit 0adf963

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sound/soc/sunxi/sun4i-spdif.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,11 @@ static const struct of_device_id sun4i_spdif_of_match[] = {
577577
.compatible = "allwinner,sun50i-h6-spdif",
578578
.data = &sun50i_h6_spdif_quirks,
579579
},
580+
{
581+
.compatible = "allwinner,sun50i-h616-spdif",
582+
/* Essentially the same as the H6, but without RX */
583+
.data = &sun50i_h6_spdif_quirks,
584+
},
580585
{ /* sentinel */ }
581586
};
582587
MODULE_DEVICE_TABLE(of, sun4i_spdif_of_match);

0 commit comments

Comments
 (0)