aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2020-08-18 16:37:26 +0200
committerMark Brown <broonie@kernel.org>2020-08-18 18:22:18 +0100
commita8535ae7034e3547f4f7a8c7ca03a6ee72097fb0 (patch)
tree9eb62510e85aeecba2cd16dfe0950cacce77cad0 /Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
parentASoC: wm_adsp: Update naming in error handling (diff)
downloadlinux-dev-a8535ae7034e3547f4f7a8c7ca03a6ee72097fb0.tar.xz
linux-dev-a8535ae7034e3547f4f7a8c7ca03a6ee72097fb0.zip
ASoC: rockchip-spdif: add description for rk3308
A test with the command below shows that the compatible string "rockchip,rk3308-spdif", "rockchip,rk3328-spdif" is already in use, but is not added to a document. The current fallback string "rockchip,rk3328-spdif" points to a data set enum RK_SPDIF_RK3366 in rockchip_spdif.c that is not used both in the mainline as in the manufacturer kernel. (Of the enum only RK_SPDIF_RK3288 is used.) So if the properties don't change we might as well use the first SoC in line as fallback string and add the description for rk3308 as: "rockchip,rk3308-spdif", "rockchip,rk3066-spdif" make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/sound/rockchip-spdif.yaml Signed-off-by: Johan Jonker <jbx6244@gmail.com> Link: https://lore.kernel.org/r/20200818143727.5882-1-jbx6244@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/rockchip-spdif.yaml')
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-spdif.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
index 7bad6f16fe60..62a61b68dfef 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
+++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
@@ -27,6 +27,7 @@ properties:
- enum:
- rockchip,rk3188-spdif
- rockchip,rk3288-spdif
+ - rockchip,rk3308-spdif
- const: rockchip,rk3066-spdif
reg: