Hi Simon

On Mon, 2015-07-06 at 10:38 -0600, Simon Glass wrote:

> I wonder why this code doesn't go in funcmux_select()? It has a
> parameter to select the variant.

Yeah, but I believe Tegra 2 aka T20 with its rather special pin group
arrangement has never really been properly converted to using
funcmux_select() other than for DISP, KBC, NDFLASH, SDMMC, SPI and USB.

As a matter of fact even the Tegra video driver uses pinmux_set_func()
which BTW is hard-coded to a specific PWM in there!

[user@host u-boot] $ cat drivers/video/tegra.c | grep PWM
        STAGE_PWM,
                debug("%s: Unable to request PWM channel\n", __func__);
        case STAGE_PWM:
                /* Enable PWM at 15/16 high, 32768 Hz with divider 1 */
                pinmux_set_func(PMUX_PINGRP_GPU, PMUX_FUNC_PWM);

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to