From patchwork Fri Apr 3 23:56:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 458108 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 B8E3B14012F for ; Sat, 4 Apr 2015 10:56:34 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8549D3925; Sat, 4 Apr 2015 01:56:32 +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 y5oi-uqzprsX; Sat, 4 Apr 2015 01:56:32 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id A05084A039; Sat, 4 Apr 2015 01:56:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9FBA94A039 for ; Sat, 4 Apr 2015 01:56:29 +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 hQPj0EKREG5S for ; Sat, 4 Apr 2015 01:56:29 +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-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by theia.denx.de (Postfix) with ESMTPS id 26DD84A036 for ; Sat, 4 Apr 2015 01:56:25 +0200 (CEST) Received: by pddn5 with SMTP id n5so135942670pdd.2 for ; Fri, 03 Apr 2015 16:56:23 -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; bh=c6F6NfK3Vlsmb7bq95+ii5cKEAXEy0dgXJ3oAl9FGWQ=; b=cvDGc/tOAjWlTpAOkcpbqSyTiAH1l3UfOU/sXLiBAewrL0gedJ/XKFrSVu8ASiV4AH pMk92YOfVQfmKbuJlqFNB9VV0eHYSNq7tNUeJdOSQiruSz3iM/T6wg5Bu7BZ9zVaCOKm lCXvq6BQhvE8D4CsvvBLGjvceY2baN5baCmSu4jON8fLlYpM06lvofMN2y1E2QNHMDeU 9vgo26KXRzPSaMs8W2opHLqkL+CIkA8YFWSSZjFsaVvlo7Xw95MvSy9PPwfxVHVg7RDt BaCjdMO+weNizfn0Hvd5tNvkTT50yUxTxllVpj095WC5mincq2u3lNYnGYnzfq3SCdem w0WQ== X-Gm-Message-State: ALoCoQnhqnhbGKA2DEx07e4ewFd7tlSy7ZyEj3TRMbZpluRwYH0wZFEk8tT2SZHMW7u4CbA+HNKS X-Received: by 10.70.101.65 with SMTP id fe1mr8157271pdb.54.1428105383812; Fri, 03 Apr 2015 16:56:23 -0700 (PDT) Received: from tharvey.gw (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by mx.google.com with ESMTPSA id kn5sm9176600pdb.42.2015.04.03.16.56.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Apr 2015 16:56:23 -0700 (PDT) From: Tim Harvey To: Stefano Babic Date: Fri, 3 Apr 2015 16:56:16 -0700 Message-Id: <1428105376-14980-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.9.1 Cc: Fabio Estevam , u-boot@lists.denx.de Subject: [U-Boot] [PATCH] power: pfuze100: fix LDO_EN bit value 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" The LDO_EN is bit 4, not value 4. This is only used on the Ventana boards so we will change it in the header as the other values there are in terms of values and not bit numbers. Signed-off-by: Tim Harvey --- include/power/pfuze100_pmic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/power/pfuze100_pmic.h b/include/power/pfuze100_pmic.h index 07199b4..8e7a22d 100644 --- a/include/power/pfuze100_pmic.h +++ b/include/power/pfuze100_pmic.h @@ -180,7 +180,7 @@ enum { #define LDOB_3_30V 15 #define LDO_VOL_MASK 0xf -#define LDO_EN 4 +#define LDO_EN (1 << 4) /* * Boost Regulator