Re: iMX6UL EVK with kernel 4.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Petr,

On Mon, May 2, 2016 at 9:43 AM, Fabio Estevam <festevam@xxxxxxxxx> wrote:

> Ok, managed to unmute these options in alsamixer and now I get audio
> with NXP 3.14 kernel.
>
> Will try with mainline now.

I can get audio with mainline now, but it plays with an incorrect pitch.

Here is a quick hack to allow MCLK to be driven:

--- a/arch/arm/mach-imx/mach-imx6ul.c
+++ b/arch/arm/mach-imx/mach-imx6ul.c
@@ -22,9 +22,12 @@ static void __init imx6ul_enet_clk_init(void)
        struct regmap *gpr;

        gpr = syscon_regmap_lookup_by_compatible("fsl,imx6ul-iomuxc-gpr");
-       if (!IS_ERR(gpr))
+       if (!IS_ERR(gpr)) {
                regmap_update_bits(gpr, IOMUXC_GPR1, IMX6UL_GPR1_ENET_CLK_DIR,
                                   IMX6UL_GPR1_ENET_CLK_OUTPUT);
+               regmap_update_bits(gpr, IOMUXC_GPR1, (1 << 20), (1 << 20));
+
+       }
        else
                pr_err("failed to find fsl,imx6ul-iomux-gpr regmap\n");

As next steps we need:

1. Fix the sound pitch

2. Find a proper way to enable MCLK.

Let me know if you get any progress so that we can upstream audio on this board.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux