From: Sugar Zhang Date: Fri, 12 May 2017 09:16:26 +0000 (+0800) Subject: ASoC: rockchip: add support for rk3228 spdif X-Git-Tag: release-20171130_firefly~4^2~581 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=8103ff1c223e0248298c02f5cddf43dfa7a8b37d;p=firefly-linux-kernel-4.4.55.git ASoC: rockchip: add support for rk3228 spdif Change-Id: I3f0ae976ef055086f48c2b95b5e45a9eac7487ad Signed-off-by: Sugar Zhang --- diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt index 5eb5850fd188..4706b96d450b 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt +++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt @@ -9,6 +9,7 @@ Required properties: - compatible: should be one of the following: - "rockchip,rk3066-spdif" - "rockchip,rk3188-spdif" + - "rockchip,rk3228-spdif" - "rockchip,rk3288-spdif" - "rockchip,rk3328-spdif" - "rockchip,rk3366-spdif" diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c index 220b9e1557bb..44b8c72e6a16 100644 --- a/sound/soc/rockchip/rockchip_spdif.c +++ b/sound/soc/rockchip/rockchip_spdif.c @@ -49,6 +49,8 @@ static const struct of_device_id rk_spdif_match[] = { .data = (void *)RK_SPDIF_RK3066 }, { .compatible = "rockchip,rk3188-spdif", .data = (void *)RK_SPDIF_RK3188 }, + { .compatible = "rockchip,rk3228-spdif", + .data = (void *)RK_SPDIF_RK3366 }, { .compatible = "rockchip,rk3288-spdif", .data = (void *)RK_SPDIF_RK3288 }, { .compatible = "rockchip,rk3328-spdif",