From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758811AbcB1Pyh (ORCPT ); Sun, 28 Feb 2016 10:54:37 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:39088 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758663AbcB1PyU (ORCPT ); Sun, 28 Feb 2016 10:54:20 -0500 From: Maarten ter Huurne To: Wenyou Yang Cc: Zubair Lutfullah Kakakhel , Liam Girdwood , Mark Brown , linux-kernel@vger.kernel.org, Maarten ter Huurne Subject: [PATCH 6/7] regulator: act8865: Specify fixed voltage of 3.3V for ACT8600's REG9 Date: Sun, 28 Feb 2016 16:53:28 +0100 Message-Id: <1456674809-16422-6-git-send-email-maarten@treewalker.org> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1456674809-16422-1-git-send-email-maarten@treewalker.org> References: <1456674809-16422-1-git-send-email-maarten@treewalker.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The documentation lists both 1.8V and 3.3V for this regulator output, but 3.3V is mentioned more often and also matches what JZ4770 and JZ4780 expect as an input. Note that the voltage of REG9 is not programmable, so this commit only changes the voltage reported in sysfs and debugfs, not the actual output voltage of the hardware. Signed-off-by: Maarten ter Huurne --- drivers/regulator/act8865-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/act8865-regulator.c b/drivers/regulator/act8865-regulator.c index cdfe082..ac6956d 100644 --- a/drivers/regulator/act8865-regulator.c +++ b/drivers/regulator/act8865-regulator.c @@ -267,7 +267,7 @@ static const struct regulator_desc act8600_regulators[] = { .ops = &act8865_ldo_ops, .type = REGULATOR_VOLTAGE, .n_voltages = 1, - .fixed_uV = 1800000, + .fixed_uV = 3300000, .enable_reg = ACT8600_LDO910_CTRL, .enable_mask = ACT8865_ENA, .owner = THIS_MODULE, -- 2.6.2