]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ASoC: rockchip: pdm: add compatible for rk1808
authorSugar Zhang <sugar.zhang@rock-chips.com>
Thu, 4 Apr 2019 03:54:30 +0000 (11:54 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2019 08:09:51 +0000 (15:09 +0700)
This patch adds support for rk1808, the pdm controller
is the same as rk3308.

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_pdm.c

index 4f93a7454e854ddbde5330d0b3c93010ac758263..3e1c5fd5b32b02c2ce27d5a610f743e1520b0ec3 100644 (file)
@@ -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 },
        {},