From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcel Ziswiler Date: Tue, 07 Jul 2015 10:54:02 +0200 Subject: [U-Boot] [PATCH 05/13] colibri_t20: add LCD display support In-Reply-To: References: <5ad67d5eeeb894c8dcaea44d9280f39117548928.1436170106.git.marcel.ziswiler@toradex.com> Message-ID: <1436259242.12531.70.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 at 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);