So finally tonight I managed to connect up the Audioinjector to the correct
pins on the Orangepi PC2.

It seems to be talking over i2c to the wm8731 OK, but fails to setup using
DMAEngine?

Here's the relevant parts of dmesg:

[    0.000000] Linux version 4.15.0-rc2-gbd0835a69-dirty (chris@sunxi-build)
> (gcc version 7.2.0 (Debian 7.2.0-11)) #5 SMP PREEMPT Mon Dec 11 18:35:03
> GMT 2017
> [    0.000000] Machine model: Xunlong Orange Pi PC 2
> [    2.001533] ALSA device list:
> [    2.004504]   No soundcards found.
> [    7.954144] sun4i-i2s 1c22000.i2s: Could not register PCM
> [    7.972456] sun4i-codec 1c22c00.codec: Failed to register against
> DMAEngine
> [    8.000740] wm8731 0-001a: Assuming static MCLK
> [    8.005336] wm8731 0-001a: 0-001a supply AVDD not found, using dummy
> regulator
> [    8.012660] wm8731 0-001a: 0-001a supply HPVDD not found, using dummy
> regulator
> [    8.020087] wm8731 0-001a: 0-001a supply DCVDD not found, using dummy
> regulator
> [    8.020157] sun4i-i2s 1c22000.i2s: Could not register PCM
> [    8.021684] sun4i-codec 1c22c00.codec: Failed to register against
> DMAEngine
> [    8.039901] wm8731 0-001a: 0-001a supply DBVDD not found, using dummy
> regulator
> [    8.051789] sun4i-i2s 1c22000.i2s: Could not register PCM
> [    8.059306] sun4i-codec 1c22c00.codec: Failed to register against
> DMAEngine
> [    8.697652] sun4i-i2s 1c22000.i2s: Could not register PCM
> [    8.708108] sun4i-codec 1c22c00.codec: Failed to register against
> DMAEngine
> [    8.718261] sun4i-i2s 1c22000.i2s: Could not register PCM


On 12 December 2017 at 06:23, Code Kipper <[email protected]> wrote:

> I don't understand why they changed the header on the newer boards
> away from something that was raspberry pi compatible, the only thing
> in common now is that they are 40 pins. I have a audio injector in the
> post on its way to me; but I'm pretty sure as it generates the clocks
> that there will need to be some work to get it working.
>
> CK
>
> On 11 December 2017 at 20:41, Chris Obbard <[email protected]> wrote:
> > Hi CK,
> >
> > I have added the simple-soundcard node and the other relevant stuff in
> the
> > DTS and all seems to be OK.
> >
> > Looks like the GPIO header on Orange Pi PC2 doesn't have access to
> PCM0_DOUT
> > (or PCM0_MCLK, but that doesn't matter so much), so I'm at a stand-still
> > until I can de-solder the resistor attached to the status LED.
> >
> >
> > I am testing with the AudioInjector Stereo, I was hoping it would be a
> > simple case of just plugging the Pi HAT in, but it never seems to be as
> > simple as that :-).
> >
> >
> > Will keep you updated with progress.
> >
> > Cheers!
> >
> >
> > On 11 December 2017 at 13:16, Code Kipper <[email protected]> wrote:
> >>
> >> Hi Chris.
> >> H5 support went in with the H3 so it should work. You will need to
> >> make dts changes or overlays for the devices that you're using.
> >> CK
> >>
> >> On 11 December 2017 at 12:41, Chris Obbard <[email protected]> wrote:
> >> > Hey
> >> >
> >> > I am looking into the H5 i2s mainline support, can anyone update me on
> >> > the
> >> > status of this, point me to a wip branch or patch?
> >> >
> >> >
> >> > Cheers!
> >> >
> >> > --
> >> > 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.

Reply via email to