ASoC: rockchip: pdm: Add support for rk3568 pdm
authorSugar Zhang <sugar.zhang@rock-chips.com>
Fri, 3 Sep 2021 13:23:26 +0000 (21:23 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Sep 2021 00:44:08 +0000 (01:44 +0100)
This patch adds compatible for rk3568 which is the same
with rv1126.

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

index 67634d1..f2bf023 100644 (file)
@@ -531,6 +531,8 @@ static const struct of_device_id rockchip_pdm_match[] __maybe_unused = {
          .data = (void *)RK_PDM_RK3308 },
        { .compatible = "rockchip,rk3308-pdm",
          .data = (void *)RK_PDM_RK3308 },
+       { .compatible = "rockchip,rk3568-pdm",
+         .data = (void *)RK_PDM_RV1126 },
        { .compatible = "rockchip,rv1126-pdm",
          .data = (void *)RK_PDM_RV1126 },
        {},