This patch adds support for rk1808, the pdm controller
is the same as rk3308.

Signed-off-by: Sugar Zhang <sugar.zh...@rock-chips.com>
---

 sound/soc/rockchip/rockchip_pdm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/rockchip/rockchip_pdm.c 
b/sound/soc/rockchip/rockchip_pdm.c
index 4f93a74..3e1c5fd 100644
--- a/sound/soc/rockchip/rockchip_pdm.c
+++ b/sound/soc/rockchip/rockchip_pdm.c
@@ -457,6 +457,8 @@ static const struct of_device_id rockchip_pdm_match[] = {
        { .compatible = "rockchip,pdm", },
        { .compatible = "rockchip,px30-pdm",
          .data = (void *)RK_PDM_RK3308 },
+       { .compatible = "rockchip,rk1808-pdm",
+         .data = (void *)RK_PDM_RK3308 },
        { .compatible = "rockchip,rk3308-pdm",
          .data = (void *)RK_PDM_RK3308 },
        {},
-- 
2.7.4



Reply via email to