Vontar X4 (S905X4): install to eMMC?

@vpeter

actually

if I apply auge_sound section of the ugoos patch and build dtb sc2_s905x4_4g_1gbit

then analog audio does work just fine :grinning:!

#include "sc2_s905x4_2g_1gbit.dts"

/ {
        coreelec-dt-id = "sc2_s905x4_4g_1gbit";

        memory@00000000 {
                linux,usable-memory = <0x0 0x000000 0x0 0xf1000000>;
        };

        auge_sound {
                avout_mute-gpios = <&gpio GPIOD_2 GPIO_ACTIVE_HIGH>;

                aml-audio-card,dai-link@1 {
                        codec {
                                sound-dai = <&amlogic_codec>;
                        };
                };
        };
};

&drm_vpu {
        logo_addr = "0xf0800000";
};

and (note fe01a000.t9015)

VontarX4:~ # dmesg | grep -i auge
[    0.095533@0]  amlogic auge_snd_iomap probe done
[    3.053049@1]  asoc-aml-card auge_sound: IRQ audio_exception64 not found
[    3.259892@1]  asoc-aml-card auge_sound: SPDIF-B <-> SPDIF-B mapping ok
[    3.259981@1]  asoc-aml-card auge_sound: fe01a000.t9015 <-> TDM-B mapping ok
[    3.260058@1]  asoc-aml-card auge_sound: SPDIF <-> SPDIF mapping ok
[    3.260146@1]  asoc-aml-card auge_sound: soc:dummy <-> TDM-C mapping ok
[    3.412992@3]    #0: AML-AUGESOUND
[   16.993387@0]  asoc-aml-card auge_sound: S/PDIF[1] Playback enable
[   16.993517@0]  asoc-aml-card auge_sound: S/PDIF[1] Playback enable
[   89.759163@0]  asoc-aml-card auge_sound: S/PDIF[1] Playback disable
[   89.759216@0]  asoc-aml-card auge_sound: S/PDIF[1] Playback disable
[   89.777041@1]  asoc-aml-card auge_sound: TDM[1] Playback enable

So this fixes problem, but, is it sc2_s905x4 generic or does it need a separate dts?

I am somewhat of a n00b and propose experts find the exact spot to patch CE :slight_smile: