From patchwork Tue Mar 21 14:50:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 741621 X-Patchwork-Delegate: sbabic@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3vnbYC3zqQz9s82 for ; Wed, 22 Mar 2017 01:58:39 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gateworks-com.20150623.gappssmtp.com header.i=@gateworks-com.20150623.gappssmtp.com header.b="mclqIPcc"; dkim-atps=neutral Received: by lists.denx.de (Postfix, from userid 105) id 448C2C21D1F; Tue, 21 Mar 2017 14:52:10 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id E8A72C21D87; Tue, 21 Mar 2017 14:52:07 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id A2F19C21D8E; Tue, 21 Mar 2017 14:45:36 +0000 (UTC) Received: from mail-pg0-f45.google.com (mail-pg0-f45.google.com [74.125.83.45]) by lists.denx.de (Postfix) with ESMTPS id 6C5ACC21D61 for ; Tue, 21 Mar 2017 14:45:29 +0000 (UTC) Received: by mail-pg0-f45.google.com with SMTP id g2so94435686pge.3 for ; Tue, 21 Mar 2017 07:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=OtUe/aL655zA18kgXwqexY+6SpqnIhhiXQIfGNrIKFc=; b=mclqIPcciu+U/Jo60Oc/VznAEY5e//6pI8cIcyjWxgO4Ij3lcZke4cBt0FKpBuaziE XOllny3ZnvUWWdNMe6vFPoMgVVFQZuH2PE+5LsiSRidzDXs14eK22rW++FipTmsF9X42 T4HxwuikJnrsLN5uVrxSzFKu4fB+WR9pMHyPhnJngc2EiV6yuMCE/ZAPMo9r+E3Os7UT VPdohA7m7pOtmIzvnL53D1zxx0zOwI/+bRA7G32VdPSGwX+/jHLDpr4lRI0CX+n3Tk8W qxjnl90Psv0LCiruQLNGDuo3f6BauKicZtMMN8vfvlMnxhmOBSY7A+3suEZzDpMtHLlV qPXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OtUe/aL655zA18kgXwqexY+6SpqnIhhiXQIfGNrIKFc=; b=Va6IUtkHTLl4Xi4Au2KWlLRW9WdGK+N8BYUhKwhipMZRos4PzLcp58dOFO99JAiq0u WDoeWiCvi8eab54vUTcCCyApc17oWgFJHuI4VOca7z9SIHXVcEbyTR09WUJTZanGWeRY pj/r+4a0c1BfVr3LVlY9eykJENysjabBIhk5fORV9UF/AL8U6FGJ41OafrNDixsU3ZWe LK9CLOuwioGkCyiyn1meanDy1z2M2bkoDzeWntrk0NpsziPE/osNsyDSqW6kX0zqkX+P oVZv+pv/uBHkrc+19E0AHHw+gbFRpoe1V18UqpboWbtMRm/RqnTLq1oRdvUKiYcV2p7K 2QFg== X-Gm-Message-State: AFeK/H0N9TGCoXbRUoMfrYiq3Em/ZW0bE+LItu130yADAAdbO59/kmfRwuGk9BgYoEk7KA== X-Received: by 10.84.237.22 with SMTP id s22mr48407133plk.145.1490107527879; Tue, 21 Mar 2017 07:45:27 -0700 (PDT) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id c22sm40511568pgn.43.2017.03.21.07.45.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Mar 2017 07:45:27 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Tue, 21 Mar 2017 07:50:13 -0700 Message-Id: <1490107813-15865-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 2.7.4 Cc: u-boot@lists.denx.de Subject: [U-Boot] [PATCH] imx: ventana: fix GW5903 VDD_ARM rail X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 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" Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks/gw_ventana/common.c index ec04060..56a7b3e 100644 --- a/board/gateworks/gw_ventana/common.c +++ b/board/gateworks/gw_ventana/common.c @@ -1325,6 +1325,12 @@ void setup_pmic(void) pmic_reg_write(p, LTC3676_DVB3A, 0x1f); break; case GW5903: + /* mask PGOOD during SW1 transition */ + pmic_reg_write(p, LTC3676_DVB3B, + 0x1f | LTC3676_PGOOD_MASK); + /* set SW3 (VDD_ARM) */ + pmic_reg_write(p, LTC3676_DVB3A, 0x1f); + /* mask PGOOD during SW4 transition */ pmic_reg_write(p, LTC3676_DVB4B, 0x1f | LTC3676_PGOOD_MASK);