From 8103ff1c223e0248298c02f5cddf43dfa7a8b37d Mon Sep 17 00:00:00 2001 From: Sugar Zhang Date: Fri, 12 May 2017 17:16:26 +0800 Subject: [PATCH] ASoC: rockchip: add support for rk3228 spdif Change-Id: I3f0ae976ef055086f48c2b95b5e45a9eac7487ad 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 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", -- 2.34.1