How to enable SPDIF on AML-S905X-CC

Do you have a TOSLINK adapter? It should just work with some adjustments to alsamixer.

See spdif_out_ao_6_pins in https://boot.libre.computer/ci/aml-s905x-cc.dts