Kernel and DT configuration:

&codec {
 status = "okay";
};


&codec_analog {
 cpvdd-supply = <&reg_eldo1>;
 status = "okay";
};


&dai {
 status = "okay";
};


&sound {
 simple-audio-card,aux-devs = <&codec_analog>;
 simple-audio-card,widgets = "Microphone", "Microphone Jack",
     "Headphone", "Headphone Jack";
 simple-audio-card,routing =
 "Left DAC", "AIF1 Slot 0 Left",
 "Right DAC", "AIF1 Slot 0 Right",
 "Headphone Jack", "HP",
 "AIF1 Slot 0 Left ADC", "Left ADC",
 "AIF1 Slot 0 Right ADC", "Right ADC",
 "MIC2", "Microphone Jack";
 status = "okay";
};


CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_PCM_ELD=y
CONFIG_SND_PCM_IEC958=y
CONFIG_SND_DMAENGINE_PCM=y
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_PCM_TIMER=y
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y
CONFIG_SND_DEBUG_VERBOSE=y
CONFIG_SND_PCM_XRUN_DEBUG=y
# CONFIG_SND_CTL_VALIDATION is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
# CONFIG_SND_SEQUENCER_OSS is not set
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
CONFIG_SND_SEQ_VIRMIDI=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
CONFIG_SND_DUMMY=m
CONFIG_SND_ALOOP=m
CONFIG_SND_VIRMIDI=m
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AC97_POWER_SAVE is not set




On Wednesday, July 8, 2020 at 3:50:02 PM UTC-3, @lex wrote:
>
> Post was inncompçlete, here is my configuration:
>
>
> ┌────────────────────────────────────────────────────────────────── 
> AlsaMixer v1.2.2 
> ───────────────────────────────────────────────────────────────────┐
> │ Card: sun50i-a64-audio                                                 
>                                                        F1:  Help         
>       │
> │ Chip:                                                                   
>                                                       F2:  System 
> information │
> │ View: F3:[Playback] F4: Capture  F5: All                               
>                                                        F6:  Select sound 
> card  │
> │ Item: Headphone [dB gain: -7.00]                                       
>                                                        Esc: Exit         
>       │
> │                                                                         
>                                                                             
>   │
> │                                                                         
>                                                                             
>   │
> │        ┌──┐                ┌──┐      ┌──┐                ┌──┐      ┌──┐ 
>      ┌──┐      ┌──┐                                    ┌──┐               
>     │
> │        │  │                │  │      │  │                │  │      │  │ 
>      │  │      │  │                                    │  │               
>     │
> │        │  │                │  │      │  │                │  │      │  │ 
>      │  │      │  │                                    │▒▒│               
>     │
> │        │  │                │▒▒│      │  │                │  │      │  │ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │  │      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        │▒▒│                │▒▒│      │▒▒│                │▒▒│      │▒▒│ 
>      │▒▒│      │▒▒│                                    │▒▒│               
>     │
> │        ├──┤       DAC      ├──┤      ├──┤     Stereo     ├──┤      └──┘ 
>      ├──┤      └──┘      ┌──┐      ┌──┐      ┌──┐      ├──┤      DACL     
>     │
> │        │OO│                │MM│      │OO│                │MM│           
>      │MM│                │MM│      │OO│      │MM│      │MM│               
>     │
> │        └──┘                └──┘      └──┘                └──┘           
>      └──┘                └──┘      └──┘      └──┘      └──┘               
>     │
> │         76                  86        75                  71        74 
>        86        86                                      89               
>      │
> │     <Headphone>Headphone  Line In  Line Out  Line Out    Mic1</
>

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/5d17ed46-b41c-4ffd-951c-5dda28546c56o%40googlegroups.com.

Reply via email to