From patchwork Tue May 17 04:53:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: masakazu.mochizuki.wd@hitachi.com X-Patchwork-Id: 622858 X-Patchwork-Delegate: iwamatsu@nigauri.org 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 3r84jH2Z9Dz9t4P for ; Tue, 17 May 2016 14:53:38 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 74624A75CC; Tue, 17 May 2016 06:53:34 +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 uT0aUvv2YwnO; Tue, 17 May 2016 06:53:34 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 85AC3A7532; Tue, 17 May 2016 06:53:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A080BA7532 for ; Tue, 17 May 2016 06:53:26 +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 0J4AjHPsY7HX for ; Tue, 17 May 2016 06:53:26 +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 mail7.hitachi.co.jp (mail7.hitachi.co.jp [133.145.228.42]) by theia.denx.de (Postfix) with ESMTPS id 93AC9A7521 for ; Tue, 17 May 2016 06:53:21 +0200 (CEST) Received: from mlsw4.hitachi.co.jp (unknown [133.144.234.166]) by mail7.hitachi.co.jp (Postfix) with ESMTP id F3D4EB1D38F for ; Tue, 17 May 2016 13:53:17 +0900 (JST) Received: from mfilter6.hitachi.co.jp by mlsw4.hitachi.co.jp (8.13.8/8.13.8) id u4H4rH5h002554; Tue, 17 May 2016 13:53:17 +0900 Received: from vshuts01.hitachi.co.jp (vshuts01.hitachi.co.jp [10.201.6.83]) by mfilter6.hitachi.co.jp (Switch-3.3.4/Switch-3.3.4) with ESMTP id u4H4rHnK003095 for ; Tue, 17 May 2016 13:53:17 +0900 Received: from gxml08a.ad.clb.hitachi.co.jp (unknown [158.213.157.91]) by vshuts01.hitachi.co.jp (Postfix) with ESMTP id EC062F2043 for ; Tue, 17 May 2016 13:53:16 +0900 (JST) Received: from [127.0.0.1] by gxml08a.ad.clb.hitachi.co.jp (Switch-3.1.10/Switch-3.1.9) id 84H42HGFU0000F250; Tue, 17 May 2016 13:53:16 +0900 Message-Type: Multiple Part MIME-Version: 1.0 Message-ID: To: From: Date: Tue, 17 May 2016 13:53:03 +0900 Priority: normal Importance: normal X400-Content-Identifier: X573AA3AF00000M X400-MTS-Identifier: [/C=JP/ADMD=GMGROUP/PRMD=GMGROUP/;mta9160517135303R6R] X-TM-AS-GCONF: 00 Subject: [U-Boot] =?iso-2022-jp?b?W1BBVENIXSBhcm06IHJtb2JpbGU6IEZpeCBIRE1J?= =?iso-2022-jp?b?IG91dHB1dCBmb3IgQkxBTkNIRSBib2FyZA==?= 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: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" This commit fixes HDMI output for BLANCHE board Signed-off-by: Masakazu Mochizuki --- board/renesas/blanche/blanche.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/board/renesas/blanche/blanche.c b/board/renesas/blanche/blanche.c index 717c169..b2e2e3b 100644 --- a/board/renesas/blanche/blanche.c +++ b/board/renesas/blanche/blanche.c @@ -36,8 +36,23 @@ struct pin_db { }; #define PMMR 0xE6060000 +#define GPSR0 0xE6060004 +#define GPSR1 0xE6060008 +#define GPSR4 0xE6060014 +#define GPSR5 0xE6060018 +#define GPSR6 0xE606001C +#define GPSR7 0xE6060020 +#define GPSR8 0xE6060024 +#define GPSR9 0xE6060028 #define GPSR10 0xE606002C +#define GPSR11 0xE6060030 +#define IPSR6 0xE6060058 +#define PUPR2 0xE6060108 #define PUPR3 0xE606010C +#define PUPR4 0xE6060110 +#define PUPR5 0xE6060114 +#define PUPR7 0xE606011C +#define PUPR9 0xE6060124 #define PUPR10 0xE6060128 #define PUPR11 0xE606012C @@ -56,11 +71,26 @@ struct pin_db { } struct pin_db pin_guard[] = { + { GPSR0, 0xFFFFFFFF, 0x0BFFFFFF }, + { GPSR1, 0xFFFFFFFF, 0x002FFFFF }, + { GPSR4, 0xFFFFFFFF, 0x00000FFF }, + { GPSR5, 0xFFFFFFFF, 0x00010FFF }, + { GPSR6, 0xFFFFFFFF, 0x00010FFF }, + { GPSR7, 0xFFFFFFFF, 0x00010FFF }, + { GPSR8, 0xFFFFFFFF, 0x00010FFF }, + { GPSR9, 0xFFFFFFFF, 0x00010FFF }, { GPSR10, 0xFFFFFFFF, 0x04006000 }, + { GPSR11, 0xFFFFFFFF, 0x303FEFE0 }, + { IPSR6, 0xFFFFFFFF, 0x0002000E }, }; struct pin_db pin_tbl[] = { + { PUPR2, 0xFFFFFFFF, 0x00000000 }, { PUPR3, 0xFFFFFFFF, 0x0803FF40 }, + { PUPR4, 0xFFFFFFFF, 0x0000FFFF }, + { PUPR5, 0xFFFFFFFF, 0x00010FFF }, + { PUPR7, 0xFFFFFFFF, 0x0001AFFF }, + { PUPR9, 0xFFFFFFFF, 0x0001CFFF }, { PUPR10, 0xFFFFFFFF, 0xC0438001 }, { PUPR11, 0xFFFFFFFF, 0x0FC00007 }, };