diff options
author | Sugar Zhang <sugar.zhang@rock-chips.com> | 2017-06-09 15:59:32 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-13 21:47:36 +0100 |
commit | 55f42d2e28a42b06907c916c3c71ceb6dfb5afc4 (patch) | |
tree | a40d69f1e1e5843deff2e2de03580ab8c02e259f | |
parent | fc05a5b222530617d99d0e803abb262130fdb0c4 (diff) | |
download | linux-stable-55f42d2e28a42b06907c916c3c71ceb6dfb5afc4.tar.gz linux-stable-55f42d2e28a42b06907c916c3c71ceb6dfb5afc4.tar.bz2 linux-stable-55f42d2e28a42b06907c916c3c71ceb6dfb5afc4.zip |
ASoC: rockchip: add bindings for spdif controller
this patch add compatible for rk3228/rk3328 spdif,
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | Documentation/devicetree/bindings/sound/rockchip-spdif.txt | 2 | ||||
-rw-r--r-- | sound/soc/rockchip/rockchip_spdif.c | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt index 11046429a118..4706b96d450b 100644 --- a/Documentation/devicetree/bindings/sound/rockchip-spdif.txt +++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.txt @@ -9,7 +9,9 @@ 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" - "rockchip,rk3368-spdif" - "rockchip,rk3399-spdif" diff --git a/sound/soc/rockchip/rockchip_spdif.c b/sound/soc/rockchip/rockchip_spdif.c index fa8101d1e16f..ee5055d47d13 100644 --- a/sound/soc/rockchip/rockchip_spdif.c +++ b/sound/soc/rockchip/rockchip_spdif.c @@ -49,8 +49,12 @@ 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", + .data = (void *)RK_SPDIF_RK3366 }, { .compatible = "rockchip,rk3366-spdif", .data = (void *)RK_SPDIF_RK3366 }, { .compatible = "rockchip,rk3368-spdif", |