On 11 January 2018 at 03:34, Kai <kappa8...@gmail.com> wrote:
> Cubieboard2 exposes SPDIF interface on GPIO (pin 64 regarding to the
> diagram).
> On a legacy kernel, to enable it, script.fex is used, however mainline
> kernel uses dts.
> Both using A20, cubietruck exported SPDIF by default, but I cannot use it on
> cb2.
>
> Would someone help providing a SPDIF-enabled dts patch for cubieboard2?

Hi Kai,

you need a patch like this
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?h=next-20180111&id=be0f167a85765e9f559785745d85364022b8395c
and have these
CONFIG_SND_SIMPLE_CARD, CONFIG_SND_SOC_SPDIF, CONFIG_SND_SUN4I_SPDIF
enabled in your config

BR,
CK
> --
> 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 linux-sunxi+unsubscr...@googlegroups.com.
> 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 linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to