From patchwork Fri Jun 13 04:42:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 359419 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 72BFE1400EA for ; Fri, 13 Jun 2014 14:43:17 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 8C1334B8E1; Fri, 13 Jun 2014 06:43:15 +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 uktO1saQJt3I; Fri, 13 Jun 2014 06:43:15 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 829814B8E2; Fri, 13 Jun 2014 06:43:11 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 3684A4B8E1 for ; Fri, 13 Jun 2014 06:43:06 +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 l3QlDtxvtHMG for ; Fri, 13 Jun 2014 06:43:01 +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-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by theia.denx.de (Postfix) with ESMTPS id 2C63C4B8DF for ; Fri, 13 Jun 2014 06:42:56 +0200 (CEST) Received: by mail-ve0-f171.google.com with SMTP id jz11so2820272veb.16 for ; Thu, 12 Jun 2014 21:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=305ukyUC7YvLewGm0JK5c4v4BdSlth1au3aGa5rB+HI=; b=Tnrw/lzkMc4LnoETl+FS9o9uW057aBwqET0+dJ/Mips8Zoca0XNumfHj0Ak/pvZGvn pMEO1SkLggYoBxrMBszhzUNbryTFcRnDPbOEh7tz0uc7pyRbWfB/yTXVpXxcuAgd7rm/ iT2JSacBNVnEJ7mfPBZXgDsPDKVIvyHZNop0rStZgVTOqNyIKMnF/QqhyrQqaxRnQYyd 7Jpl3H3jdmJwxu2ohE76RdMsVbBZ1N0QoRx4fzEETr0EK+Nvg2Ab99jMjpfTv6lvO4ul b/NqgSPeGx55c2M/bMWxNt/EE68ZN9WyOYc0b6rUhhAkVYBDvlvQnc3A+Rt2V+Cicgg4 wg1g== X-Received: by 10.58.122.196 with SMTP id lu4mr126556veb.52.1402634575101; Thu, 12 Jun 2014 21:42:55 -0700 (PDT) Received: from localhost.localdomain ([186.207.95.200]) by mx.google.com with ESMTPSA id jq8sm3198955vdb.28.2014.06.12.21.42.53 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 12 Jun 2014 21:42:54 -0700 (PDT) From: Fabio Estevam To: sbabic@denx.de Date: Fri, 13 Jun 2014 01:42:37 -0300 Message-Id: <1402634557-8630-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.8.3.2 Cc: Fabio Estevam , u-boot@lists.denx.de Subject: [U-Boot] [PATCH] mx6: soc: Update the comments of set_ldo_voltage() 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 From: Fabio Estevam Commit 3d622b78 (mx6: soc: Introduce set_ldo_voltage()) introduces set_ldo_voltage() function that can be used to set the voltages of any of the three LDO regulators controlled by the PMU_REG_CORE register. Prior to this commit there was a single set_vddsoc() which only configured the VDDSOC regulator. Update the comments to align with the new set_ldo_voltage() implementation. Signed-off-by: Fabio Estevam --- arch/arm/cpu/armv7/mx6/soc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index 1725279..f20bdeb 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -124,10 +124,9 @@ static void clear_ldo_ramp(void) } /* - * Set the VDDSOC + * Set the PMU_REG_CORE register * - * Mask out the REG_CORE[22:18] bits (REG2_TRIG) and set - * them to the specified millivolt level. + * Set LDO_SOC/PU/ARM regulators to the specified millivolt level. * Possible values are from 0.725V to 1.450V in steps of * 0.025V (25mV). */