ASoC: rockchip: spdif: Add support for rk3568 spdif
authorSugar Zhang <sugar.zhang@rock-chips.com>
Tue, 24 Aug 2021 10:16:01 +0000 (18:16 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 26 Aug 2021 12:56:56 +0000 (13:56 +0100)
This patch adds support for rk3568 spdif which is the same
with rk3366.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Link: https://lore.kernel.org/r/1629800162-12824-4-git-send-email-sugar.zhang@rock-chips.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_spdif.c

index 92b27b6..d027ca4 100644 (file)
@@ -58,6 +58,8 @@ static const struct of_device_id rk_spdif_match[] __maybe_unused = {
          .data = (void *)RK_SPDIF_RK3366 },
        { .compatible = "rockchip,rk3399-spdif",
          .data = (void *)RK_SPDIF_RK3366 },
+       { .compatible = "rockchip,rk3568-spdif",
+         .data = (void *)RK_SPDIF_RK3366 },
        {},
 };
 MODULE_DEVICE_TABLE(of, rk_spdif_match);