I know how to capture dmesg:
[ 3474.415649@0] meson-remote ff808040.meson-remote: invalid custom:0xd22dfc0d
[ 3474.415661@0] meson-remote ff808040.meson-remote: cur_custom is nulll
[ 3474.415664@0] meson-remote ff808040.meson-remote: no valid key to handle
[ 3490.703326@3] aml_tdm_open
[ 3490.703759@3] audio_ddr_mngr: frddrs[0] registered by device ff660000.audiobus:tdm@1
[ 3490.706633@3] aml_dai_set_tdm_sysclk(), mpll no change, keep clk
[ 3490.706638@3] aml_dai_set_tdm_sysclk(), mclk no change, keep clk
[ 3490.706646@3] set mclk:12288000, mpll:24576000, get mclk:12287994, mpll:24575987
[ 3490.706650@3] asoc aml_dai_set_tdm_fmt, 0x4001, ffffffc0a6642e18, id(1), clksel(1)
[ 3490.706652@3] aml_dai_set_tdm_fmt(), fmt not change
[ 3490.706658@3] dump_pcm_setting(ffffffc0a6642e18)
[ 3490.706659@3] pcm_mode(1)
[ 3490.706661@3] sysclk(12288000)
[ 3490.706662@3] sysclk_bclk_ratio(4)
[ 3490.706663@3] bclk(3072000)
[ 3490.706665@3] bclk_lrclk_ratio(64)
[ 3490.706666@3] lrclk(48000)
[ 3490.706667@3] tx_mask(0x3)
[ 3490.706670@3] rx_mask(0x3)
[ 3490.706671@3] slots(2)
[ 3490.706672@3] slot_width(32)
[ 3490.706673@3] lane_mask_in(0x2)
[ 3490.706674@3] lane_mask_out(0x1)
[ 3490.706675@3] lane_oe_mask_in(0x0)
[ 3490.706676@3] lane_oe_mask_out(0x0)
[ 3490.706678@3] lane_lb_mask_in(0x0)
[ 3490.706680@3] aml_dai_set_tdm_sysclk(), mpll no change, keep clk
[ 3490.706681@3] aml_dai_set_tdm_sysclk(), mclk no change, keep clk
[ 3490.706684@3] set mclk:12288000, mpll:24576000, get mclk:12287994, mpll:24575987
[ 3490.706686@3] aml_dai_set_clkdiv, div 4, clksel(1)
[ 3490.706696@3] aml_dai_set_bclk_ratio, select I2S mode
[ 3490.706705@3] aml_dai_tdm_hw_params(), enable mclk for TDM-B
[ 3490.706822@3] aml_tdm_prepare(), reset fddr
[ 3490.706841@3] spdif_a fifo ctrl, frddr:0 type:4, 24 bits, chmask 0x3, swap 0x10
[ 3490.706845@3] spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
[ 3490.706854@3] hdmitx: audio: aout notify format CT_PCM
[ 3490.706857@3] hdmitx: hw: set audio
[ 3490.706860@3] hdmitx: hw: hdmitx tx_aud_src = 0, audio_param->channel_num = 1, hdev->aud_output_ch = 0
[ 3490.706877@3] hdmitx: fs = 3, cd = 4, tmds_clk = 594000
[ 3490.706880@3] hdmitx: hw: aud_n_para = 6144
[ 3490.706889@3] hdmitx: hw: set channel status
[ 3490.706920@3] hdmitx: audio: Audio Type: PCM
[ 3490.706923@3] hdmitx: audio: set audio param
[ 3490.706926@3] audio_ddr_mngr: frddr_set_sharebuffer_enable sel:1, dst_src:3
[ 3490.707216@3] tdm playback mute: 0, lane_cnt = 8
[ 3490.707276@3] aml_tdm_prepare(), reset fddr
[ 3490.707286@3] spdif_a fifo ctrl, frddr:0 type:4, 24 bits, chmask 0x3, swap 0x10
[ 3490.707290@3] spdif_info: rate: 48000, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x200, ch1_r:0x200
[ 3490.707295@3] audio_ddr_mngr: frddr_set_sharebuffer_enable sel:1, dst_src:3
[ 3490.707457@3] tdm playback mute: 0, lane_cnt = 8
[ 3490.710130@0] asoc-aml-card auge_sound: tdm playback enable
[ 3490.710164@0] spdif_a is set to enable
So it actually redirects to spdif/hdmi. Analog audio pcm selected from options.
BTW, meson throws some errors, but remote works fine. Configuration taken from my old box.