aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <[email protected]>2025-02-10 17:23:23 +0000
committerMark Brown <[email protected]>2025-02-10 17:23:23 +0000
commitad1212a9cc24b740b2711014933fac6ace32aa2d (patch)
tree0bcc07ffbe53738355ef674d95032d40987c5baf
parentASoC: codecs: wcd93xx-sdw: fix of_property_read_bool() warnings (diff)
parentdt-bindings: ASoC: rockchip: Add compatible for RK3588 SPDIF (diff)
downloadkernel-ad1212a9cc24b740b2711014933fac6ace32aa2d.tar.gz
kernel-ad1212a9cc24b740b2711014933fac6ace32aa2d.zip
arm64: dts: rockchip: Add SPDIF on RK3588
Merge series from Alexey Charkov <[email protected]>: RK3588(s) uses a several SPDIF transmitters which are software compatible with those found in RK3568. This series adds the required device tree nodes in SoC .dtsi and enables the dedicated optical SPDIF output on the H96 Max V58. Note that only SPDIF 0/1 are meant as externally connected outputs, while SPDIF 2/3/4/5 are internally routed to the various display encoders inside the SoC. Thus, using SPDIF 0/1 only requires their device tree nodes to be enabled (provided that the signal is routed somewhere usable on the board itself), while the rest rely on driver support on the display connector side and are therefore not touched here. Signed-off-by: Alexey Charkov <[email protected]> --- Alexey Charkov (3): dt-bindings: ASoC: rockchip: Add compatible for RK3588 SPDIF arm64: dts: rockchip: Add SPDIF nodes to RK3588(s) device trees arm64: dts: rockchip: Enable SPDIF output on H96 Max V58 .../devicetree/bindings/sound/rockchip-spdif.yaml | 4 ++ arch/arm64/boot/dts/rockchip/rk3588-base.dtsi | 64 ++++++++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3588-extra.dtsi | 30 ++++++++++ .../arm64/boot/dts/rockchip/rk3588-h96-max-v58.dts | 24 ++++++++ 4 files changed, 122 insertions(+) --- base-commit: 4ec376748558ba132a2a49513acd3b08774384e3 change-id: 20250109-rk3588-spdif-e49aa49145d3 Best regards, -- Alexey Charkov <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/sound/rockchip-spdif.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
index c3c989ef2a2c..32dea7392e8d 100644
--- a/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
+++ b/Documentation/devicetree/bindings/sound/rockchip-spdif.yaml
@@ -31,6 +31,10 @@ properties:
- rockchip,rk3288-spdif
- rockchip,rk3308-spdif
- const: rockchip,rk3066-spdif
+ - items:
+ - enum:
+ - rockchip,rk3588-spdif
+ - const: rockchip,rk3568-spdif
reg:
maxItems: 1