From patchwork Fri Mar 27 00:31:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Ziswiler X-Patchwork-Id: 455250 X-Patchwork-Delegate: twarren@nvidia.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 7512814012C for ; Fri, 27 Mar 2015 11:32:41 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4E132A7446; Fri, 27 Mar 2015 01:32:38 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4MAFH_Whlt4; Fri, 27 Mar 2015 01:32:38 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0A68BA7443; Fri, 27 Mar 2015 01:32:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A6D75A7425 for ; Fri, 27 Mar 2015 01:32:28 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uqj5qAZNixQ4 for ; Fri, 27 Mar 2015 01:32:28 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by theia.denx.de (Postfix) with ESMTPS id 31CEDA7420 for ; Fri, 27 Mar 2015 01:32:25 +0100 (CET) Received: from localhost.net ([85.5.121.234]) by mrelay.perfora.net (mreueus003) with ESMTPSA (Nemesis) id 0LdWlw-1ZJfdb0Rc2-00inQV; Fri, 27 Mar 2015 01:32:17 +0100 From: Marcel Ziswiler To: u-boot@lists.denx.de Date: Fri, 27 Mar 2015 01:31:45 +0100 Message-Id: <12133371f47362ea1ef6c11555577a9edf809c5a.1427415542.git.marcel@ziswiler.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: References: X-Provags-ID: V03:K0:RzbZOiILZveG+J+tBN2oRfGPdK4BOYj6yWF/TXETRSNpc+VmCgF wJNVsa1QvROoWcjDAMMmiSPj9Kfv8gNRUExW3bFjaJrqTQUqic/4SqlDzI9OPAecqo9n++U MawBPVD2f21TzZ4yb24LuByJVNya2b22+MhyTkD7WvKrRK77CtGt9OBWW+GefDGnFfgHiEc ijCdlFsZxSN4SnkaKGklw== X-UI-Out-Filterresults: notjunk:1; Cc: Stephen Warren , Tom Rini , Masahiro Yamada , Tom Warren , Marcel Ziswiler Subject: [U-Boot] [PATCH v2 2/2] ARM: tegra: colibri_t20: fix nand pinmux X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" Pingroup ATC seems to come out of reset with config set to NAND, so we need to explicitly configure some other function to this group in order to avoid clashing settings. Signed-off-by: Marcel Ziswiler --- board/toradex/colibri_t20/colibri_t20.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c index 5d8bdec..8ae9ccf 100644 --- a/board/toradex/colibri_t20/colibri_t20.c +++ b/board/toradex/colibri_t20/colibri_t20.c @@ -27,6 +27,12 @@ void pin_mux_mmc(void) void pin_mux_nand(void) { funcmux_select(PERIPH_ID_NDFLASH, FUNCMUX_NDFLASH_KBC_8_BIT); + + /* + * configure pingroup ATC to something unrelated to + * avoid ATC overriding KBC + */ + pinmux_set_func(PMUX_PINGRP_ATC, PMUX_FUNC_GMI); } #endif