From patchwork Mon Apr 15 17:34:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernie Thompson X-Patchwork-Id: 236665 X-Patchwork-Delegate: promsoft@gmail.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 2D8B82C00EF for ; Tue, 16 Apr 2013 04:39:52 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 609424A14F; Mon, 15 Apr 2013 20:39:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 9mk+uW-X8xSD; Mon, 15 Apr 2013 20:39:50 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id C56064A154; Mon, 15 Apr 2013 20:39:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 59EA74A154 for ; Mon, 15 Apr 2013 20:39:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de 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 Qjo8FgBuLsnD for ; Mon, 15 Apr 2013 20:39:44 +0200 (CEST) X-Greylist: delayed 3550 seconds by postgrey-1.27 at theia; Mon, 15 Apr 2013 20:39:42 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-gg0-f201.google.com (mail-gg0-f201.google.com [209.85.161.201]) by theia.denx.de (Postfix) with ESMTPS id 92B994A14F for ; Mon, 15 Apr 2013 20:39:42 +0200 (CEST) Received: by mail-gg0-f201.google.com with SMTP id q6so494570ggc.0 for ; Mon, 15 Apr 2013 11:39:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=JKfzFHSAWths8TZnyM2/GG9lM6QqfyR4fidy9exoH2c=; b=pKUin6qRMFP+PSCxjcReCTDgfPKAGP0Avo73KI+CBARrmhNML6drPeZqMM8M0+rkJm HdP9mjio6QAoi2wkXEqK8Tzeko6okijSXOVz/VQAyGYJAe0kvGDeU+jU9fYS0hI5EHKm ElAsO+jxEFUv06mBE1+krqrxy7w0vkAS93KqtgD+Dij9Cvu+U5jjQYNmgkOdJr2KSPhe ZTsey6qevrY/fTbFolBaefjAbhBSM6FcWb3g49pA3rPeDx151mWC7VkJrgn7t+mDnwrL g/41/Xw6ae/Bz0kb6scGErYSAjd1eiHV2uOfisHCvvlwIholTY5CsChUBu2o1tTd3EXw nZAQ== X-Received: by 10.236.47.136 with SMTP id t8mr11414101yhb.13.1366047278208; Mon, 15 Apr 2013 10:34:38 -0700 (PDT) Received: from corp2gmr1-2.hot.corp.google.com (corp2gmr1-2.hot.corp.google.com [172.24.189.93]) by gmr-mx.google.com with ESMTPS id u58si1115762yhe.2.2013.04.15.10.34.38 (version=TLSv1.1 cipher=AES128-SHA bits=128/128); Mon, 15 Apr 2013 10:34:38 -0700 (PDT) Received: from bernie.mtv.corp.google.com (bernie.mtv.corp.google.com [172.22.76.120]) by corp2gmr1-2.hot.corp.google.com (Postfix) with ESMTP id 138115A41D4; Mon, 15 Apr 2013 10:34:38 -0700 (PDT) Received: by bernie.mtv.corp.google.com (Postfix, from userid 148635) id A9D831606F4; Mon, 15 Apr 2013 10:34:37 -0700 (PDT) From: Bernie Thompson To: U-Boot Mailing List Date: Mon, 15 Apr 2013 10:34:34 -0700 Message-Id: <1366047274-18979-1-git-send-email-bhthompson@chromium.org> X-Mailer: git-send-email 1.8.1.3 X-Gm-Message-State: ALoCoQmYu+JC3niZ+KkR8BB6tmBZpJB6NizviNpfW5p46DG5RqcSRa8roJWsdlks3RTTkqSUulwxhBVTPB0uuTqsHcUzTiM6HLtilbJ6SXsLVKbS1sjeaze/HGxMPiVh2J1U1RiWD9e11ID4CZ8PfxXhUFHLUhOoFpAOm3uYBhu5IN44sPRJdjyplbAtNuf87n3tlpeAjJqX Subject: [U-Boot] [PATCH] exynos: Adjust the starting MIF voltage to 1.05v X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 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 Some Exynos5250 silicon may require 1.05v on the MIF to be stable, so to be safe we can default to 1.05v instead of 1.00v. This can be set optimally later in the boot process by the kernel. The 0x6 value for 1.05v comes from the MAX77686 datasheet. Signed-off-by: Bernie Thompson Acked-by: Simon Glass --- board/samsung/smdk5250/smdk5250.c | 2 +- include/power/max77686_pmic.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/board/samsung/smdk5250/smdk5250.c b/board/samsung/smdk5250/smdk5250.c index 217c6df..2cea844 100644 --- a/board/samsung/smdk5250/smdk5250.c +++ b/board/samsung/smdk5250/smdk5250.c @@ -182,7 +182,7 @@ int power_init_board(void) /* VDD_MIF */ if (pmic_reg_write(p, MAX77686_REG_PMIC_BUCK1OUT, - MAX77686_BUCK1OUT_1V)) { + MAX77686_BUCK1OUT_1_05V)) { debug("%s: PMIC %d register write failed\n", __func__, MAX77686_REG_PMIC_BUCK1OUT); return -1; diff --git a/include/power/max77686_pmic.h b/include/power/max77686_pmic.h index fdc7ca9..1c374a9 100644 --- a/include/power/max77686_pmic.h +++ b/include/power/max77686_pmic.h @@ -157,6 +157,8 @@ enum { /* Buck1 1 volt value */ #define MAX77686_BUCK1OUT_1V 0x5 +/* Buck1 1.05 volt value */ +#define MAX77686_BUCK1OUT_1_05V 0x6 #define MAX77686_BUCK1CTRL_EN (3 << 0) /* Buck2 1.3 volt value */ #define MAX77686_BUCK2DVS1_1_3V 0x38