Hi Boobwrt, I've also restarted looking at the h3 codec(although I will try and get i2s working on my orange pi 2 first). Looking at the PRCM if you could get something to read and write using syscon that would be the first step...this was an old attempt https://github.com/codekipper/linux-sunxi/blob/a9df3fc65d3a094d3d39ff786555a9236fb6aa6b/sound/soc/sunxi/sun8i-codec.c I'm in the process of splitting this file up into two (one doing traditional regmap calls and the other doing these prcm calls), I think the first thing to do is to get something to confirm reads í.e. reg 0x05 Linein and Gain Control Register(Default Value: 0x30). If you can read this then your access code is correct. Good luck, CK
On 6 July 2016 at 13:16, <[email protected]> wrote: > Thanks for comment. > > I see you have support for audio i2s over hdmi (hdmi audio), but in openwrt > there isn't hdmi support :) > > Anyway i hope the dmaengine is not the problem, it 's look like the dma desc > is made from alsa struct snd_pcm_substream *substream. > I think this is my source of kernel crash because i haven't a good definition > of control of my sound card, mixer, lineout, internal dac ... so i hope this > is my source of Null Pointer, in fact not a dmaengine related issue. > > I try to have a bus based regmap to read/write the special little memory that > store analog setup and update with better and non NULL function for alsa > control. my first step is debug this memory PCMR or PMCR anyway i don't > understand what this name mean :) > > -- > 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]. > For more options, visit https://groups.google.com/d/optout. -- 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]. For more options, visit https://groups.google.com/d/optout.
