arm64: dts: rockchip: change spdif fallback compatible on rk3308
authorJohan Jonker <jbx6244@gmail.com>
Tue, 18 Aug 2020 14:37:27 +0000 (16:37 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 30 Aug 2020 19:11:25 +0000 (21:11 +0200)
commitbc1f9bff0629a15e3de1ef106ac03cba930227dd
treeec384e423fd2180ad20cb2da42936a9a06a71494
parentbd77d0ad7a698f5e04edf02328d11e808a71d87c
arm64: dts: rockchip: change spdif fallback compatible on 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-2-jbx6244@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3308.dtsi