From 5ac21bd8d823df9705ea183a70a17d16413aad5b Mon Sep 17 00:00:00 2001 From: Sugar Zhang Date: Thu, 30 Mar 2017 11:11:12 +0800 Subject: [PATCH] ASoC: rockchip: add support for rk3328 spdif Change-Id: Ia5eceaafed507e141d0de198839134c8c379d42b Signed-off-by: Sugar Zhang --- Documentation/devicetree/bindings/sound/rockchip-spdif.txt | 1 + sound/soc/rockchip/rockchip_spdif.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt index 11046429a118..5eb5850fd188 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt +++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt @@ -10,6 +10,7 @@ Required properties: - "rockchip,rk3066-spdif" - "rockchip,rk3188-spdif" - "rockchip,rk3288-spdif" + - "rockchip,rk3328-spdif" - "rockchip,rk3366-spdif" - "rockchip,rk3368-spdif" - "rockchip,rk3399-spdif" diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c index 2329c8a60cbf..220b9e1557bb 100644 --- a/sound/soc/rockchip/rockchip_spdif.c +++ b/sound/soc/rockchip/rockchip_spdif.c @@ -51,6 +51,8 @@ static const struct of_device_id rk_spdif_match[] = { .data = (void *)RK_SPDIF_RK3188 }, { .compatible = "rockchip,rk3288-spdif", .data = (void *)RK_SPDIF_RK3288 }, + { .compatible = "rockchip,rk3328-spdif", + .data = (void *)RK_SPDIF_RK3366 }, { .compatible = "rockchip,rk3366-spdif", .data = (void *)RK_SPDIF_RK3366 }, { .compatible = "rockchip,rk3368-spdif", -- 2.34.1