From patchwork Sat Oct 8 04:25:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 77378 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp501762qge; Fri, 7 Oct 2016 21:26:46 -0700 (PDT) X-Received: by 10.194.105.196 with SMTP id go4mr23372800wjb.60.1475900806701; Fri, 07 Oct 2016 21:26:46 -0700 (PDT) Return-Path: Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id ud2si2945422wjc.0.2016.10.07.21.26.46; Fri, 07 Oct 2016 21:26:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) client-ip=85.214.87.163; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 85.214.87.163 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 11E92A7624; Sat, 8 Oct 2016 06:26:43 +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 soMyBvlGh1UN; Sat, 8 Oct 2016 06:26:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id E5425A7662; Sat, 8 Oct 2016 06:26:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 165D3A7624 for ; Sat, 8 Oct 2016 06:26:24 +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 KNJ3n4vVDDpo for ; Sat, 8 Oct 2016 06:26:23 +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 conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74]) by theia.denx.de (Postfix) with ESMTPS id 2B056A76D8 for ; Sat, 8 Oct 2016 06:25:44 +0200 (CEST) Received: from grover.sesame (FL1-111-169-71-157.osk.mesh.ad.jp [111.169.71.157]) (authenticated) by conuserg-07.nifty.com with ESMTP id u984PXpl027913; Sat, 8 Oct 2016 13:25:38 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com u984PXpl027913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1475900738; bh=5ayOJ7ZT9zpbMaWlA6tCtoAwWHGIlOxuXxfqzfesaUM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0c5vO3JMLH/6SITEICqHVwfNS3vcFbMMKzJKps3/Wlamm4grrl2ok6oGOBRmPzc+E aWh6K4iBIvJJ/IqQcGoqKJ6U+chX5CtAp1IvNAQaiKl7SrewT6TLksmI/hg61gNsWD YbNmxcl1qIK42ywvMh4M9l5zZRjTC9RUFXbqqTmyw1l9hFU/YxvzRkTSFRtANo1x1r nhIegZbbc/+WQJj1TqpEAB4wl4yi7UKuE52KEp4JSDrbDH6qbSUo0ekKhEA5UA8N8z eOfHqbz8MY1OsYLsqRf99KA+j1J5U6ZAR1xl5KUuqB6g3AePXV5ql1LBnRXTujEivI YA5OobKD0ZveA== X-Nifty-SrcIP: [111.169.71.157] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 8 Oct 2016 13:25:25 +0900 Message-Id: <1475900731-10998-4-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> References: <1475900731-10998-1-git-send-email-yamada.masahiro@socionext.com> Cc: Albert Aribaud Subject: [U-Boot] [PATCH 3/9] ARM: uniphier: add work-around for VBO noise problem 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" Raise the VDD09 voltage line to 1.0V to suppress VBO noise. This errata work-around code is needed only for ES1. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_init.c | 7 +++++++ 1 file changed, 7 insertions(+) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot diff --git a/arch/arm/mach-uniphier/board_init.c b/arch/arm/mach-uniphier/board_init.c index b9be52f..8c7864c 100644 --- a/arch/arm/mach-uniphier/board_init.c +++ b/arch/arm/mach-uniphier/board_init.c @@ -134,6 +134,13 @@ int board_init(void) #endif #if defined(CONFIG_ARCH_UNIPHIER_LD20) case SOC_UNIPHIER_LD20: + /* ES1 errata: increase VDD09 supply to suppress VBO noise */ + if (uniphier_get_soc_revision() == 1) { + writel(0x00000003, 0x6184e004); + writel(0x00000100, 0x6184e040); + writel(0x0000b500, 0x6184e024); + writel(0x00000001, 0x6184e000); + } uniphier_nand_pin_init(false); sg_set_pinsel(149, 14, 8, 4); /* XIRQ0 -> XIRQ0 */ sg_set_iectrl(149);