From patchwork Thu Oct 2 19:16:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eric Nelson X-Patchwork-Id: 396064 X-Patchwork-Delegate: sbabic@denx.de 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 A3340140174 for ; Fri, 3 Oct 2014 05:17:47 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 112FFAB570; Thu, 2 Oct 2014 21:17:31 +0200 (CEST) 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 R218nIwnydyS; Thu, 2 Oct 2014 21:17:30 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 48AA9AB5A8; Thu, 2 Oct 2014 21:17:22 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 2ED78AB579 for ; Thu, 2 Oct 2014 21:17:17 +0200 (CEST) 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 tNK9fzHRGuo0 for ; Thu, 2 Oct 2014 21:17:17 +0200 (CEST) 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 mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by theia.denx.de (Postfix) with ESMTPS id 30FF8AB590 for ; Thu, 2 Oct 2014 21:17:13 +0200 (CEST) Received: by mail-pa0-f43.google.com with SMTP id lf10so3215448pab.16 for ; Thu, 02 Oct 2014 12:17:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=BrXd3L3cid1S6R0skT1NwyabGzHye8f/w9K/0RrrFOI=; b=NvcGGOfPwwePGNS+ZOpYOFXiW6cIVMaEvzQK8byOdnw7OeyX9+yrvYIOwSDxpIYp4X 5OcA1otCrmA0fpf6Hf8p/frdndRkpJxgqc76dT0l6MCZmSyP2sy0Da8tYBZSw/bhgXhJ 3QXr0+4OS/wyt2+vVCZIm91SkFChPrz4CN6lIe9vYKzwOcN5MEAMpWyfPBMV9L6GorRG PqDTJsedagI1svAI1q8bzmVRSYXEwedMNS8VvuOi102AH7jOW7RnYuJmDSQT7F6HAXMr +5y98fFj8xCd+v+yMCJ7drTHo1LiRzOxT9h3Cwir5uTcLwPybZeGyn4hoR8KHPtyxDZA aibw== X-Gm-Message-State: ALoCoQmfF7ilSvg58R2D6iIxFE1d623fBlP5jaFdceRtZxyxiFoRq62bmgzis7FaEVJRfPVyZSVK X-Received: by 10.66.65.130 with SMTP id x2mr1011443pas.79.1412277432496; Thu, 02 Oct 2014 12:17:12 -0700 (PDT) Received: from localhost.localdomain (174-19-208-215.phnx.qwest.net. [174.19.208.215]) by mx.google.com with ESMTPSA id ot8sm4569317pbc.1.2014.10.02.12.17.10 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Oct 2014 12:17:11 -0700 (PDT) From: Eric Nelson To: u-boot@lists.denx.de Date: Thu, 2 Oct 2014 12:16:26 -0700 Message-Id: <1412277413-30271-6-git-send-email-eric.nelson@boundarydevices.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> References: <1412277413-30271-1-git-send-email-eric.nelson@boundarydevices.com> Cc: diego.rondini@kynetics.it Subject: [U-Boot] [PATCH 05/32] nitrogen6x: configure SGTL5000, CSI camera clock outputs X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.13 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Troy Kisky Configure CLKO outputs for SGTL5000, CSI camera. The sys_mclk output for the SGTL500 in particular prevents Windows CE from properly driving audio. Signed-off-by: Troy Kisky Signed-off-by: Eric Nelson --- board/boundary/nitrogen6x/nitrogen6x.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b/board/boundary/nitrogen6x/nitrogen6x.c index 38f0df8..96e2b74 100644 --- a/board/boundary/nitrogen6x/nitrogen6x.c +++ b/board/boundary/nitrogen6x/nitrogen6x.c @@ -622,8 +622,14 @@ static void setup_display(void) } #endif -/* wl1271 pads on nitrogen6x */ static iomux_v3_cfg_t const init_pads[] = { + /* SGTL5000 sys_mclk */ + NEW_PAD_CTRL(MX6_PAD_GPIO_0__CCM_CLKO1, OUTPUT_40OHM), + + /* J5 - Camera MCLK */ + NEW_PAD_CTRL(MX6_PAD_GPIO_3__CCM_CLKO2, OUTPUT_40OHM), + + /* wl1271 pads on nitrogen6x */ /* WL12XX_WL_IRQ_GP */ NEW_PAD_CTRL(MX6_PAD_NANDF_CS1__GPIO6_IO14, WEAK_PULLDOWN), /* WL12XX_WL_ENABLE_GP */