From: Sugar Zhang Date: Thu, 30 Mar 2017 03:11:12 +0000 (+0800) Subject: ASoC: rockchip: add support for rk3328 spdif X-Git-Tag: firefly_0821_release~188 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5ac21bd8d823df9705ea183a70a17d16413aad5b;p=firefly-linux-kernel-4.4.55.git ASoC: rockchip: add support for rk3328 spdif Change-Id: Ia5eceaafed507e141d0de198839134c8c379d42b Signed-off-by: Sugar Zhang --- 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",